diff --git a/assets/js/binary.js b/assets/js/binary.js index 3a8fb5d..dbc400b 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// 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% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.2.6/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.3.2","target":"arcade","targetVersion":"1.2.6","repo":"jwunderl/arcade-tilemap-a-star"} +// total=1407959 new=13.62% cached=81.26% other=5.11% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -413,7 +413,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P37374(s) { +function _main___P149185(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___22233 = (undefined); - globals._pollEventQueue___22242 = (undefined); - globals.minPriority___19072 = (1); + globals._intervals___134153 = (undefined); + globals._pollEventQueue___134162 = (undefined); + globals.minPriority___130992 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - 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); + r0 = pxsim_Array__push(s.tmp_0, inline__P134165); + globals.listeners___134166 = (s.tmp_0); + globals.globalVolume___134219 = (null); + globals.playToneID___134226 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C132226_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P20309_mk(s); + s.tmp_1 = music_Melody_constructor__P132229_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___20323 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C20306_VT); + globals.wawawawaa___132243 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C132226_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P20309_mk(s); + s.tmp_1 = music_Melody_constructor__P132229_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___20326 = (s.tmp_0); - globals.brightness___20432 = (100); + globals.powerUp___132246 = (s.tmp_0); + globals.brightness___132352 = (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", _hex26607); - globals.font8___20453 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex138531); + globals.font8___132373 = (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", _hex26609); - globals.font12___20454 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex138533); + globals.font12___132374 = (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", _hex32171); - globals.font5___20458 = (s.tmp_0); - globals.__updated___22343 = (false); - r0 = pxsim.control.runInParallel(inline__P22346); - r0 = pxsim_pxtcore.setPalette(_hex22357); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex144095); + globals.font5___132378 = (s.tmp_0); + globals.__updated___134263 = (false); + r0 = pxsim.control.runInParallel(inline__P134266); + r0 = pxsim_pxtcore.setPalette(_hex134277); r0 = pxsim.image.create(160, 120); - globals.screen___20510 = (r0); - s.tmp_0 = control___screen_setupUpdate__P20472_mk(s); - s.tmp_0.arg0 = inline__P22364; + globals.screen___132430 = (r0); + s.tmp_0 = control___screen_setupUpdate__P132392_mk(s); + s.tmp_0.arg0 = inline__P134284; s.callLocIdx = 4; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - 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); + globals.control_EventContext_onStats___131015 = (inline__P134289); + globals.RUN_KEY___134294 = ("#run"); + globals.SCOPE_KEY___134295 = ("#scope"); + s.tmp_0 = settings_initScopes__P134306_mk(s); s.callLocIdx = 5; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C132531_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20617_mk(s); + s.tmp_1 = controller_Button_constructor__P132537_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___20585 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); + globals.A___132505 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C132531_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20617_mk(s); + s.tmp_1 = controller_Button_constructor__P132537_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___20586 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); + globals.B___132506 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C132531_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20617_mk(s); + s.tmp_1 = controller_Button_constructor__P132537_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___20587 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); + globals.left___132507 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C132531_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20617_mk(s); + s.tmp_1 = controller_Button_constructor__P132537_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___20588 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); + globals.up___132508 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C132531_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20617_mk(s); + s.tmp_1 = controller_Button_constructor__P132537_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___20589 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); + globals.right___132509 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C132531_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20617_mk(s); + s.tmp_1 = controller_Button_constructor__P132537_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___20590 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); + globals.down___132510 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C132531_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20617_mk(s); + s.tmp_1 = controller_Button_constructor__P132537_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___20591 = (s.tmp_0); - globals._userEventsEnabled___22413 = (true); - globals.defaultRepeatDelay___22415 = (500); - globals.defaultRepeatInterval___22417 = (30); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C22423_VT); + globals.menu___132511 = (s.tmp_0); + globals._userEventsEnabled___134333 = (true); + globals.defaultRepeatDelay___134335 = (500); + globals.defaultRepeatInterval___134337 = (30); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C134343_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20617_mk(s); + s.tmp_1 = controller_Button_constructor__P132537_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___20665 = (s.tmp_0); - s.tmp_0 = SpriteKind_create__P20835_mk(s); + globals.anyButton___132585 = (s.tmp_0); + s.tmp_0 = SpriteKind_create__P132755_mk(s); s.callLocIdx = 14; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___20836 = (r0); - s.tmp_0 = SpriteKind_create__P20835_mk(s); + globals.Player___132756 = (r0); + s.tmp_0 = SpriteKind_create__P132755_mk(s); s.callLocIdx = 15; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___20838 = (r0); - s.tmp_0 = SpriteKind_create__P20835_mk(s); + globals.Food___132758 = (r0); + s.tmp_0 = SpriteKind_create__P132755_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___20839 = (r0); + globals.Enemy___132759 = (r0); r0 = (100 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MAX_TIME_STEP___20876 = (r0); + globals.MAX_TIME_STEP___132796 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___20878 = (r0); - globals.infoState___22466 = (undefined); - s.tmp_0 = game_addScenePushHandler__P21257_mk(s); - s.tmp_0.arg0 = inline__P22470; + globals.MIN_MOVE_GAP___132798 = (r0); + globals.infoState___134386 = (undefined); + s.tmp_0 = game_addScenePushHandler__P133177_mk(s); + s.tmp_0.arg0 = inline__P134390; s.callLocIdx = 19; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P21259_mk(s); - s.tmp_0.arg0 = inline__P22485; + s.tmp_0 = game_addScenePopHandler__P133179_mk(s); + s.tmp_0.arg0 = inline__P134405; s.callLocIdx = 23; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = pxsim_Array__mk(); - 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); + globals.scene_Scene_initializers___133067 = (r0); + globals.debug___133156 = (false); + globals.stats___133157 = (false); + globals.winEffect___133158 = (undefined); + globals.loseEffect___133159 = (undefined); + globals.loseSound___134501 = (undefined); + globals.winSound___134503 = (undefined); + s.tmp_0 = scene_systemMenu_initVolume__P134770_mk(s); s.callLocIdx = 24; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P22851_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P134771_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___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); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___133067, scene_systemMenu_register__P133261); + r0 = pxsim.image.ofBuffer(_hex134778); + globals.CARD_NORMAL___133266 = (r0); + r0 = pxsim.image.ofBuffer(_hex134780); + globals.CARD_SELECTED___133267 = (r0); + r0 = pxsim.image.ofBuffer(_hex134782); + globals.CARD_ACTIVE___133268 = (r0); + r0 = pxsim.image.ofBuffer(_hex134784); + globals.VOLUME_UP_ICON___133269 = (r0); + r0 = pxsim.image.ofBuffer(_hex134786); + globals.BRIGHTNESS_DOWN_ICON___133270 = (r0); + r0 = pxsim.image.ofBuffer(_hex134788); + globals.CLOSE_MENU_ICON___133271 = (r0); + r0 = pxsim.image.ofBuffer(_hex134790); + globals.VOLUME_DOWN_ICON___133272 = (r0); + r0 = pxsim.image.ofBuffer(_hex134792); + globals.SLEEP_ICON___133273 = (r0); + r0 = pxsim.image.ofBuffer(_hex134794); + globals.CONSOLE_ICON___133274 = (r0); + r0 = pxsim.image.ofBuffer(_hex134796); + globals.BRIGHTNESS_UP_ICON___133275 = (r0); + r0 = pxsim.image.ofBuffer(_hex134798); + globals.STATS_ICON___133276 = (r0); + globals.consoleColor___134801 = (1); + globals.tabSize___134804 = (8); + globals.consoleFont___134810 = (globals.font5___132378); + r0 = pxsim_ImageMethods.height(globals.screen___132430); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___22890; + s.tmp_5.arg0 = globals.consoleFont___134810; 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___22895 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___20510); + globals.consoleLines___134815 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___132430); 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___22890; + s.tmp_4.arg0 = globals.consoleFont___134810; 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___22905 = (r0); - s.tmp_0 = console_addListener__P19080_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P22917; + globals.consoleColumns___134825 = (r0); + s.tmp_0 = console_addListener__P131000_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P134837; 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__P22921; + s.tmp_0.argL = inline__P134841; 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___22919 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C21426_VT); + globals.MAX_SOURCES___134839 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C133346_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P21427_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P133347_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -711,179 +711,179 @@ switch (step) { s.callLocIdx = 31; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - globals.defaultFactory___21406 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21294_VT); + globals.defaultFactory___133326 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C133214_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P21296_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P133216_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___22954 = (s.tmp_0); - globals.angleSlice___22962 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C21501_VT); + globals.galois___134874 = (s.tmp_0); + globals.angleSlice___134882 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C133421_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P21502_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P133422_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__P28462; + s.tmp_1.arg4 = inline__P140386; s.callLocIdx = 38; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.confetti___21509 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C21497_VT); + globals.confetti___133429 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C133417_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ParticleEffect_constructor__P21498_mk(s); + s.tmp_1 = effects_ParticleEffect_constructor__P133418_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 60; s.tmp_1.arg2 = 2000; - s.tmp_1.arg3 = inline__P27350; + s.tmp_1.arg3 = inline__P139274; s.callLocIdx = 42; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.ashes___21517 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C21524_VT); + globals.ashes___133437 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C133444_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P21525_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P133445_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P30446; + s.tmp_1.arg2 = inline__P142370; s.callLocIdx = 48; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.dissolve___21529 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C21524_VT); + globals.dissolve___133449 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C133444_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P21525_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P133445_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P28354; + s.tmp_1.arg2 = inline__P140278; s.callLocIdx = 51; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.melt___21530 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C21539_VT); + globals.melt___133450 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C133459_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P21541_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P133461_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P23013; + s.tmp_1.arg1 = inline__P134933; s.callLocIdx = 52; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.shake___21542 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C21539_VT); + globals.shake___133462 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C133459_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P21541_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P133461_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P23026; + s.tmp_1.arg1 = inline__P134946; s.callLocIdx = 62; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - 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; + globals.wave___133463 = (s.tmp_0); + r0 = pxsim.image.ofBuffer(_hex135249); + globals.tileGrass1___133632 = (r0); + r0 = pxsim.image.ofBuffer(_hex135253); + globals.tilePath5___133634 = (r0); + s.tmp_0 = game_setWaitAnyButton__P133161_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P132581; s.callLocIdx = 63; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = game_eventContext__P21243_mk(s); + s.tmp_0 = game_eventContext__P133163_mk(s); s.callLocIdx = 64; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - 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; + globals.PATH_FOLLOW_KEY___136652 = ("A_STAR_PATH_FOLLOW"); + globals.PATH_COMPLETION_KEY___136654 = ("A_STAR_PATH_COMPLETION_HANDLER"); + r0 = pxsim.image.ofBuffer(_hex137245); + globals.transparency16___134101 = (r0); + s.tmp_0 = helpers_registerTilemapFactory__P132985_mk(s); + s.tmp_0.arg0 = inline__P137253; + s.callLocIdx = 211; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = game_consoleOverlay_setVisible__P21361_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P133281_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = 2; - s.callLocIdx = 210; s.pc = 35; return s.tmp_0; + s.callLocIdx = 212; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = tiles_setTilemap__P21049_mk(s); - s.tmp_1 = helpers_getTilemapByName__P21066_mk(s); + s.tmp_0 = tiles_setTilemap__P132969_mk(s); + s.tmp_1 = helpers_getTilemapByName__P132986_mk(s); s.tmp_1.arg0 = "level"; - s.callLocIdx = 211; s.pc = 37; return s.tmp_1; + s.callLocIdx = 213; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; s.tmp_0.arg0 = r0; - s.callLocIdx = 212; s.pc = 36; return s.tmp_0; + s.callLocIdx = 214; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = sprites_create__P20682_mk(s); - r0 = pxsim.image.ofBuffer(_hex25350); + s.tmp_0 = sprites_create__P132602_mk(s); + r0 = pxsim.image.ofBuffer(_hex137274); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; - s.callLocIdx = 213; s.pc = 38; return s.tmp_0; + s.callLocIdx = 215; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - globals.mySprite___22183 = (r0); - s.tmp_0 = controller_moveSprite__P20660_mk(s); - s.tmp_0.arg0 = globals.mySprite___22183; + globals.mySprite___134103 = (r0); + s.tmp_0 = controller_moveSprite__P132580_mk(s); + s.tmp_0.arg0 = globals.mySprite___134103; s.tmp_0.arg1 = 100; s.tmp_0.arg2 = 100; - s.callLocIdx = 214; s.pc = 39; return s.tmp_0; + s.callLocIdx = 216; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - 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; + s.tmp_0 = scene_cameraFollowSprite__P133092_mk(s); + s.tmp_0.arg0 = globals.mySprite___134103; + s.callLocIdx = 217; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P20618_mk(s); - s.tmp_0.arg0 = globals.A___20585; + s.tmp_0 = controller_Button_onEvent__P132538_mk(s); + s.tmp_0.arg0 = globals.A___132505; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P25363; - s.callLocIdx = 224; s.pc = 41; return s.tmp_0; + s.tmp_0.arg2 = inline__P137287; + s.callLocIdx = 226; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P20787_mk(s); - s.tmp_0.arg0 = globals.mySprite___22183; + s.tmp_0 = Sprite_setFlag__P132707_mk(s); + s.tmp_0.arg0 = globals.mySprite___134103; s.tmp_0.arg1 = 32; s.tmp_0.arg2 = false; - s.callLocIdx = 225; s.pc = 42; return s.tmp_0; + s.callLocIdx = 227; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - 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; + s.tmp_0 = scene_onPathCompletion__P134096_mk(s); + s.tmp_0.arg0 = globals.Enemy___132759; + s.tmp_0.arg1 = inline__P137314; + s.callLocIdx = 229; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P20618_mk(s); - s.tmp_0.arg0 = globals.B___20586; + s.tmp_0 = controller_Button_onEvent__P132538_mk(s); + s.tmp_0.arg0 = globals.B___132506; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = inline__P25400; - s.callLocIdx = 233; s.pc = 44; return s.tmp_0; + s.tmp_0.arg2 = inline__P137324; + s.callLocIdx = 235; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.tmp_0 = game_onUpdate__P21251_mk(s); - s.tmp_0.arg0 = inline__P25418; - s.callLocIdx = 238; s.pc = 45; return s.tmp_0; + s.tmp_0 = game_onUpdate__P133171_mk(s); + s.tmp_0.arg0 = inline__P137342; + s.callLocIdx = 240; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -_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 = [ ] +_main___P149185.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/pxt-heap/main.ts","functionName":"
","argumentNames":[]} +_main___P149185.continuations = [ ] -function _main___P37374_mk(s) { +function _main___P149185_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P37374, depth: s.depth + 1, + parent: s, fn: _main___P149185, 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___P37374_mk(s) { tmp_5: undefined, } } -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") +const _hex138531 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex138533 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex144095 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex134277 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex134778 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex134780 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex134782 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex134784 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex134786 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex134788 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex134790 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex134792 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex134794 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex134796 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex134798 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex135249 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777677777777777757657777777777777755767777557677557777777777777757757777777777777757757777777777775576777777777777657777777777777777777777777777777777777777777777777777777777777777576577777777777777777777577777777777777777777777777777777777") +const _hex135253 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddd1dd1dddddddddddd1dd1dddddddbdddddddddd1dd1dddddddddddd1dd1dddddddddddddddddddddbdddddddddddddddddd1dddddddddddddddddddddddddddddddddddddddbbddddddddddddddbbdddddddddddddddddddddddddddddddddddddddbddbdddddddddddddddddddddddddddddbddddddddddddddddd") +const _hex137245 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex137274 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000f00f00000000f0fffffb000000f03fb3bbebee0000bf33b3bbeff40ff03ee3fffeffbc0f5fe4b3bf41bfddf14f4533fe4fdebdfd5445e3ee44deddb15445e3ee44debdbd4f4533fe4fdeddf15fe4b3bf41bfbdfdf03ee3fffeffbc0f00bf33b3bbeff40f00f03fb3bbebee000000f0fffffb000000000000f00f0000") -function inline__P22346(s) { +function inline__P134266(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___22343 = (false); - s.tmp_0 = pause__P19110_mk(s); + globals.__updated___134263 = (false); + s.tmp_0 = pause__P131030_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___22343); + r0 = pxsim_numops_toBoolDecr(globals.__updated___134263); 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__P20471_mk(s); + s.tmp_2 = control___screen_update__P132391_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___22343 = (true); + globals.__updated___134263 = (true); case 2: case 3: { step = 1; continue; } @@ -954,12 +954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22346.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P134266.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function inline__P22346_mk(s) { +function inline__P134266_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22346, depth: s.depth + 1, + parent: s, fn: inline__P134266, 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__P22346_mk(s) { -function inline__P22364(s) { +function inline__P134284(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___20510); + r0 = pxsim_pxtcore.updateScreen(globals.screen___132430); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P22364.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P134284.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function inline__P22364_mk(s) { +function inline__P134284_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22364, depth: s.depth + 1, + parent: s, fn: inline__P134284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -998,7 +998,7 @@ function inline__P22364_mk(s) { -function inline__P22369(s) { +function inline__P134289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1017,12 +1017,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P134289.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__P22369_mk(s) { +function inline__P134289_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22369, depth: s.depth + 1, + parent: s, fn: inline__P134289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1031,7 +1031,7 @@ function inline__P22369_mk(s) { -function inline__P22470(s) { +function inline__P134390(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___22466); + r0 = pxsim_numops_toBoolDecr(globals.infoState___134386); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___22468); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___134388); 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___22468 = (r0); + globals.infoStateStack___134388 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___22466); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___134386); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___22468, s.tmp_0); - globals.infoState___22466 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___134388, s.tmp_0); + globals.infoState___134386 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +inline__P134390.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__P22470_mk(s) { +function inline__P134390_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22470, depth: s.depth + 1, + parent: s, fn: inline__P134390, 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__P22470_mk(s) { -function inline__P22485(s) { +function inline__P134405(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___22486 = undefined; - s.nextState___22495 = undefined; - s.tmp_0 = game_currentScene__P21240_mk(s); + s.scene___134406 = undefined; + s.nextState___134415 = undefined; + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 20; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___22486 = (r0); - globals.infoState___22466 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___22468; + s.scene___134406 = (r0); + globals.infoState___134386 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___134388; 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___22468); + r0 = pxsim_Array__length(globals.infoStateStack___134388); 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___22468); - s.nextState___22495 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___134388); + s.nextState___134415 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___22495; + s.tmp_2.arg0 = s.nextState___134415; 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___22486); + r0 = (s.tmp_1 == s.scene___134406); 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___22495; + s.tmp_3.arg0 = s.nextState___134415; 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___22466 = (r0); + globals.infoState___134386 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___22468, s.nextState___22495); + r0 = pxsim_Array__push(globals.infoStateStack___134388, s.nextState___134415); case 4: case 5: case 6: @@ -1157,26 +1157,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P22485.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P134405.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P22485_mk(s) { +function inline__P134405_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22485, depth: s.depth + 1, + parent: s, fn: inline__P134405, 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___22486: undefined, - nextState___22495: undefined, + scene___134406: undefined, + nextState___134415: undefined, } } -function inline__P22921(s) { +function inline__P134841(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___22922 = undefined; - s.tmp_0 = control_ramSize__P19043_mk(s); + s.sz___134842 = undefined; + s.tmp_0 = control_ramSize__P130963_mk(s); s.callLocIdx = 29; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___22922 = (r0); - r0 = (s.sz___22922 <= 102400); + s.sz___134842 = (r0); + r0 = (s.sz___134842 <= 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___22922 <= 204800); + r0 = (s.sz___134842 <= 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__P22921.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P134841.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function inline__P22921_mk(s) { +function inline__P134841_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22921, depth: s.depth + 1, + parent: s, fn: inline__P134841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___22922: undefined, + sz___134842: undefined, } } -function inline__P23013(s) { +function inline__P134933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1263,12 +1263,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P23013.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P134933.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -function inline__P23013_mk(s) { +function inline__P134933_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23013, depth: s.depth + 1, + parent: s, fn: inline__P134933, 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__P23013_mk(s) { -function inline__P23026(s) { +function inline__P134946(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__P18832_mk(s); + s.tmp_7 = Math_sign__P130752_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__P18831_mk(s); + s.tmp_2 = Math_abs__P130751_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__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"]} +inline__P134946.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__P23026_mk(s) { +function inline__P134946_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P23026, depth: s.depth + 1, + parent: s, fn: inline__P134946, 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__P23026_mk(s) { -function inline__P25329(s) { +function inline__P137253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1488,9 +1488,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P18826_mk(s); + s.tmp_1 = helpers_stringTrim__P130746_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 207; s.pc = 4; return s.tmp_1; + s.callLocIdx = 209; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0; @@ -1501,16 +1501,16 @@ switch (step) { case 1: r0 = pxsim_Array__mk(); s.tmp_2 = r0; - 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); + r0 = pxsim_Array__push(s.tmp_2, globals.transparency16___134101); + r0 = pxsim_Array__push(s.tmp_2, globals.tilePath5___133634); + r0 = pxsim_Array__push(s.tmp_2, globals.tileGrass1___133632); + s.tmp_3 = tiles_createTilemap__P132968_mk(s); + s.tmp_3.arg0 = _hex137260; + r0 = pxsim.image.ofBuffer(_hex137262); s.tmp_3.arg1 = r0; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = 4; - s.callLocIdx = 208; s.pc = 5; return s.tmp_3; + s.callLocIdx = 210; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; { step = 3; continue; } @@ -1520,12 +1520,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25329.info = {"start":306,"length":1316,"line":7,"column":35,"endLine":29,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} +inline__P137253.info = {"start":306,"length":1316,"line":7,"column":35,"endLine":29,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} -function inline__P25329_mk(s) { +function inline__P137253_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25329, depth: s.depth + 1, + parent: s, fn: inline__P137253, 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__P25329_mk(s) { arg0: undefined, } } -const _hex25336 = pxsim.BufferMethods.createBufferFromHex("1000100002020202020202020202020202020202020202020202020202020202020202020202020201020202020202020202020201010101010101010101010202020202020202020202020202020101020202020202020202020201020202010102020202020202020202010202020201020202020202020202020102020202010202020202020101010101020202010102020202020202020102020202010102020202020202020201020202010102020202020101010101010101010102020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202") -const _hex25338 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex137260 = pxsim.BufferMethods.createBufferFromHex("1000100002020202020202020202020202020202020202020202020202020202020202020202020201020202020202020202020201010101010101010101010202020202020202020202020202020101020202020202020202020201020202010102020202020202020202010202020201020202020202020202020102020202010202020202020101010101020202010102020202020202020102020202010102020202020202020201020202010102020202020101010101010101010102020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202") +const _hex137262 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function inline__P25363(s) { +function inline__P137287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1550,84 +1550,84 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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.res___137288 = undefined; + s.enemy___137294 = undefined; + s.tmp_0 = scene_aStar__P134089_mk(s); + s.tmp_1 = tiles_getTileLocation__P132972_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 11; - s.callLocIdx = 216; s.pc = 2; return s.tmp_1; + s.callLocIdx = 218; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_2 = tiles_getTileLocation__P21052_mk(s); + s.tmp_2 = tiles_getTileLocation__P132972_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 3; - s.callLocIdx = 217; s.pc = 3; return s.tmp_2; + s.callLocIdx = 219; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = globals.tilePath5___21714; - s.callLocIdx = 218; s.pc = 1; return s.tmp_0; + s.tmp_0.arg2 = globals.tilePath5___133634; + s.callLocIdx = 220; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.res___25364 = (r0); - s.tmp_0 = sprites_create__P20682_mk(s); - r0 = pxsim.image.ofBuffer(_hex25374); + s.res___137288 = (r0); + s.tmp_0 = sprites_create__P132602_mk(s); + r0 = pxsim.image.ofBuffer(_hex137298); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.Enemy___20839; - s.callLocIdx = 219; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = globals.Enemy___132759; + s.callLocIdx = 221; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - 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; + s.enemy___137294 = (r0); + s.tmp_0 = Sprite_setPosition__P132700_mk(s); + s.tmp_0.arg0 = s.enemy___137294; + s.tmp_1 = Sprite_x__P132653_mk(s); + s.tmp_1.arg0 = globals.mySprite___134103; + s.callLocIdx = 222; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - 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; + s.tmp_2 = Sprite_y__P132655_mk(s); + s.tmp_2.arg0 = globals.mySprite___134103; + s.callLocIdx = 223; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_0.arg2 = r0; - s.callLocIdx = 222; s.pc = 5; return s.tmp_0; + s.callLocIdx = 224; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - 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 = scene_followPath__P134093_mk(s); + s.tmp_0.arg0 = s.enemy___137294; + s.tmp_0.arg1 = s.res___137288; s.tmp_0.arg2 = 50; - s.callLocIdx = 223; s.pc = 8; return s.tmp_0; + s.callLocIdx = 225; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P25363.info = {"start":835,"length":905,"line":26,"column":52,"endLine":48,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} +inline__P137287.info = {"start":835,"length":905,"line":26,"column":52,"endLine":48,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} -function inline__P25363_mk(s) { +function inline__P137287_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25363, depth: s.depth + 1, + parent: s, fn: inline__P137287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___25364: undefined, - enemy___25370: undefined, + res___137288: undefined, + enemy___137294: undefined, } } -const _hex25374 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000666600000000007677866600000070777777880600007677777787680000767787887768006076778888888806606588886686880660658868666688066066886866668806006611686666680000661165668668000060565566680600000066666666000000000066660000000000000000000000") +const _hex137298 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000666600000000007677866600000070777777880600007677777787680000767787887768006076778888888806606588886686880660658868666688066066886866668806006611686666680000661165668668000060565566680600000066666666000000000066660000000000000000000000") -function inline__P25390(s) { +function inline__P137314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1642,23 +1642,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_destroy__P20795_mk(s); + s.tmp_0 = Sprite_destroy__P132715_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.ashes___21517; + s.tmp_0.arg1 = globals.ashes___133437; s.tmp_0.arg2 = undefined; - s.callLocIdx = 226; s.pc = 1; return s.tmp_0; + s.callLocIdx = 228; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P25390.info = {"start":1833,"length":90,"line":50,"column":41,"endLine":52,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":["sprite","location"]} +inline__P137314.info = {"start":1833,"length":90,"line":50,"column":41,"endLine":52,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":["sprite","location"]} -function inline__P25390_mk(s) { +function inline__P137314_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25390, depth: s.depth + 1, + parent: s, fn: inline__P137314, 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__P25390_mk(s) { -function inline__P25400(s) { +function inline__P137324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1679,39 +1679,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.pfs___137325 = undefined; + s.tmp_0 = sprites_allOfKind__P132603_mk(s); + s.tmp_0.arg0 = globals.Enemy___132759; + s.callLocIdx = 230; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - 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; + s.pfs___137325 = (r0); + s.tmp_0 = helpers_arrayForEach__P130735_mk(s); + s.tmp_0.arg0 = s.pfs___137325; + s.tmp_0.arg1 = inline__P137331; + s.callLocIdx = 234; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P25400.info = {"start":1979,"length":164,"line":54,"column":52,"endLine":61,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} +inline__P137324.info = {"start":1979,"length":164,"line":54,"column":52,"endLine":61,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} -function inline__P25400_mk(s) { +function inline__P137324_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25400, depth: s.depth + 1, + parent: s, fn: inline__P137324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - pfs___25401: undefined, + pfs___137325: undefined, } } -function inline__P25407(s) { +function inline__P137331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1725,35 +1725,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_followPath__P22173_mk(s); + s.tmp_0 = scene_followPath__P134093_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; + s.callLocIdx = 231; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_vx__P20738_mk(s); + s.tmp_0 = Sprite_vx__P132658_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 230; s.pc = 2; return s.tmp_0; + s.callLocIdx = 232; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P20740_mk(s); + s.tmp_0 = Sprite_vy__P132660_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 231; s.pc = 3; return s.tmp_0; + s.callLocIdx = 233; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P25407.info = {"start":2056,"length":83,"line":56,"column":16,"endLine":60,"endColumn":5,"fileName":"test.ts","functionName":"inline","argumentNames":["s"]} +inline__P137331.info = {"start":2056,"length":83,"line":56,"column":16,"endLine":60,"endColumn":5,"fileName":"test.ts","functionName":"inline","argumentNames":["s"]} -function inline__P25407_mk(s) { +function inline__P137331_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25407, depth: s.depth + 1, + parent: s, fn: inline__P137331, 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__P25407_mk(s) { -function inline__P25418(s) { +function inline__P137342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1775,15 +1775,15 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 1; continue; } - 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; + s.tmp_0 = helpers_arrayForEach__P130735_mk(s); + s.tmp_1 = sprites_allOfKind__P132603_mk(s); + s.tmp_1.arg0 = globals.Enemy___132759; + s.callLocIdx = 236; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P25423; - s.callLocIdx = 237; s.pc = 3; return s.tmp_0; + s.tmp_0.arg1 = inline__P137347; + s.callLocIdx = 239; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: @@ -1792,12 +1792,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25418.info = {"start":2179,"length":168,"line":64,"column":14,"endLine":69,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} +inline__P137342.info = {"start":2179,"length":168,"line":64,"column":14,"endLine":69,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} -function inline__P25418_mk(s) { +function inline__P137342_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25418, depth: s.depth + 1, + parent: s, fn: inline__P137342, 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__P25418_mk(s) { -function inline__P25423(s) { +function inline__P137347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1821,11 +1821,11 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_say__P20782_mk(s); + s.tmp_0 = Sprite_say__P132702_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_3 = scene_spritePercentPathCompleted__P22175_mk(s); + s.tmp_3 = scene_spritePercentPathCompleted__P134095_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 235; s.pc = 2; return s.tmp_3; + s.callLocIdx = 237; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -1836,19 +1836,19 @@ switch (step) { s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = 15; s.tmp_0.arg4 = 1; - s.callLocIdx = 236; s.pc = 1; return s.tmp_0; + s.callLocIdx = 238; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P25423.info = {"start":2267,"length":70,"line":67,"column":21,"endLine":67,"endColumn":91,"fileName":"test.ts","functionName":"inline","argumentNames":["s"]} +inline__P137347.info = {"start":2267,"length":70,"line":67,"column":21,"endLine":67,"endColumn":91,"fileName":"test.ts","functionName":"inline","argumentNames":["s"]} -function inline__P25423_mk(s) { +function inline__P137347_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25423, depth: s.depth + 1, + parent: s, fn: inline__P137347, 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__P25423_mk(s) { -function scene_spritePercentPathCompleted__P22175(s) { +function scene_spritePercentPathCompleted__P134095(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1871,30 +1871,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pfs___25091 = undefined; + s.pfs___137015 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_init__P24750_mk(s); - s.callLocIdx = 179; s.pc = 4; return s.tmp_0; + s.tmp_0 = scene_init__P136670_mk(s); + s.callLocIdx = 181; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P25093); + r0 = pxsim_pxtcore_mkAction(1, inline__P137017); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - 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; + s.tmp_1 = helpers_arrayFind__P130737_mk(s); + s.tmp_2 = scene_getPathFollowingSprites__P136691_mk(s); + s.callLocIdx = 182; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 181; s.pc = 5; return s.tmp_1; + s.callLocIdx = 183; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.pfs___25091 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pfs___25091); + s.pfs___137015 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pfs___137015); 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___25091.fields["path"]; + r0 = s.pfs___137015.fields["path"]; s.tmp_6 = r0; r0 = pxsim_Array__length(s.tmp_6); s.tmp_5 = r0; - r0 = s.pfs___25091.fields["index"]; + r0 = s.pfs___137015.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___25091.fields["path"]; + r0 = s.pfs___137015.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__P22175.info = {"start":7133,"length":372,"line":184,"column":4,"endLine":191,"endColumn":5,"fileName":"path-following.ts","functionName":"spritePercentPathCompleted","argumentNames":["sprite"]} +scene_spritePercentPathCompleted__P134095.info = {"start":7211,"length":372,"line":186,"column":4,"endLine":193,"endColumn":5,"fileName":"path-following.ts","functionName":"spritePercentPathCompleted","argumentNames":["sprite"]} -function scene_spritePercentPathCompleted__P22175_mk(s) { +function scene_spritePercentPathCompleted__P134095_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_spritePercentPathCompleted__P22175, depth: s.depth + 1, + parent: s, fn: scene_spritePercentPathCompleted__P134095, 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__P22175_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pfs___25091: undefined, + pfs___137015: undefined, arg0: undefined, } } @@ -1950,7 +1950,7 @@ function scene_spritePercentPathCompleted__P22175_mk(s) { -function inline__P25093(s) { +function inline__P137017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1970,12 +1970,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25093.info = {"start":7269,"length":28,"line":186,"column":51,"endLine":186,"endColumn":79,"fileName":"path-following.ts","functionName":"inline","argumentNames":["pfs"]} +inline__P137017.info = {"start":7347,"length":28,"line":188,"column":51,"endLine":188,"endColumn":79,"fileName":"path-following.ts","functionName":"inline","argumentNames":["pfs"]} -function inline__P25093_mk(s) { +function inline__P137017_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25093, depth: s.depth + 1, + parent: s, fn: inline__P137017, 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__P25093_mk(s) { -function scene_getPathFollowingSprites__P24771(s) { +function scene_getPathFollowingSprites__P136691(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__P21240_mk(s); - s.callLocIdx = 190; s.pc = 1; return s.tmp_2; + s.tmp_2 = game_currentScene__P133160_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_FOLLOW_KEY___24732); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_0, globals.PATH_FOLLOW_KEY___136652); return leave(s, r0) default: oops() } } } -scene_getPathFollowingSprites__P24771.info = {"start":9849,"length":148,"line":272,"column":4,"endLine":274,"endColumn":5,"fileName":"path-following.ts","functionName":"getPathFollowingSprites","argumentNames":[]} +scene_getPathFollowingSprites__P136691.info = {"start":9927,"length":148,"line":274,"column":4,"endLine":276,"endColumn":5,"fileName":"path-following.ts","functionName":"getPathFollowingSprites","argumentNames":[]} -function scene_getPathFollowingSprites__P24771_mk(s) { +function scene_getPathFollowingSprites__P136691_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_getPathFollowingSprites__P24771, depth: s.depth + 1, + parent: s, fn: scene_getPathFollowingSprites__P136691, 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__P24771_mk(s) { -function scene_Scene_data__P21150(s) { +function scene_Scene_data__P133070(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__C21127_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C133047_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -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; +scene_Scene_data__P133070.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__P133070.isGetter = true; -function scene_Scene_data__P21150_mk(s) { +function scene_Scene_data__P133070_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P21150, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P133070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -2057,7 +2057,7 @@ function scene_Scene_data__P21150_mk(s) { -function helpers_arrayFind__P18817(s) { +function helpers_arrayFind__P130737(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___31494 = undefined; - s.i___31497 = undefined; - s.v___31502 = undefined; + s.len___143418 = undefined; + s.i___143421 = undefined; + s.v___143426 = 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___31494 = (r0); - s.i___31497 = (0); + s.len___143418 = (r0); + s.i___143421 = (0); case 1: - r0 = (s.i___31497 < s.len___31494); + r0 = (s.i___143421 < s.len___143418); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___31497); - s.v___31502 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___143421); + s.v___143426 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___31502; - s.tmp_1.arg1 = s.i___31497; + s.tmp_1.arg0 = s.v___143426; + s.tmp_1.arg1 = s.i___143421; 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___31502; + r0 = s.v___143426; { step = 5; continue; } case 2: case 3: - r0 = (s.i___31497 + 1); - s.i___31497 = (r0); + r0 = (s.i___143421 + 1); + s.i___143421 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -2109,18 +2109,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayFind__P130737.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__P18817_mk(s) { +function helpers_arrayFind__P130737_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFind__P18817, depth: s.depth + 1, + parent: s, fn: helpers_arrayFind__P130737, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___31494: undefined, - i___31497: undefined, - v___31502: undefined, + len___143418: undefined, + i___143421: undefined, + v___143426: undefined, arg0: undefined, arg1: undefined, } } @@ -2129,7 +2129,7 @@ function helpers_arrayFind__P18817_mk(s) { -function scene_init__P24750(s) { +function scene_init__P136670(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__P21240_mk(s); + s.tmp_5 = game_currentScene__P133160_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___24732); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_3, globals.PATH_FOLLOW_KEY___136652); 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__P21240_mk(s); + s.tmp_8 = game_currentScene__P133160_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___24732; + s.tmp_9 = r0 = globals.PATH_FOLLOW_KEY___136652; 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__P21240_mk(s); + s.tmp_2 = game_currentScene__P133160_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___24734; + s.tmp_3 = r0 = globals.PATH_COMPLETION_KEY___136654; 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__P21251_mk(s); - s.tmp_0.arg0 = inline__P24767; + s.tmp_0 = game_onUpdate__P133171_mk(s); + s.tmp_0.arg0 = inline__P136687; 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__P24750.info = {"start":619,"length":2301,"line":24,"column":4,"endLine":72,"endColumn":5,"fileName":"path-following.ts","functionName":"init","argumentNames":[]} +scene_init__P136670.info = {"start":619,"length":2301,"line":24,"column":4,"endLine":72,"endColumn":5,"fileName":"path-following.ts","functionName":"init","argumentNames":[]} -function scene_init__P24750_mk(s) { +function scene_init__P136670_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_init__P24750, depth: s.depth + 1, + parent: s, fn: scene_init__P136670, 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__P24750_mk(s) { -function inline__P24767(s) { +function inline__P136687(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___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.store___136688 = undefined; + s.handlers___136692 = undefined; + s.i___136696 = undefined; + s.pfs___136703 = undefined; + s.sprite___136708 = undefined; + s.index___136709 = undefined; + s.path___136710 = undefined; + s.speed___136711 = undefined; + s.target___136712 = undefined; + s.x___136717 = undefined; + s.y___136718 = undefined; + s.vx___136719 = undefined; + s.vy___136720 = undefined; + s.pastTargetHorizontally___136721 = undefined; + s.pastTargetVertically___136740 = undefined; + s.newTarget___136765 = undefined; + s.tmp_0 = scene_getPathFollowingSprites__P136691_mk(s); s.callLocIdx = 129; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.store___24768 = (r0); - s.tmp_0 = scene_getPathCompletionEvents__P24775_mk(s); + s.store___136688 = (r0); + s.tmp_0 = scene_getPathCompletionEvents__P136695_mk(s); s.callLocIdx = 130; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.handlers___24772 = (r0); - r0 = pxsim_Array__length(s.store___24768); + s.handlers___136692 = (r0); + r0 = pxsim_Array__length(s.store___136688); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.i___24776 = (r0); + s.i___136696 = (r0); case 1: - r0 = (s.i___24776 >= 0); + r0 = (s.i___136696 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - r0 = pxsim_Array__getAt(s.store___24768, s.i___24776); - s.pfs___24783 = (r0); + r0 = pxsim_Array__getAt(s.store___136688, s.i___136696); + s.pfs___136703 = (r0); s.tmp_0 = if_sprite_1_mk(s); - s.tmp_1 = r0 = s.pfs___24783; + s.tmp_1 = r0 = s.pfs___136703; 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___24788 = (r0); + s.sprite___136708 = (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___24789 = (r0); + s.index___136709 = (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___24790 = (r0); + s.path___136710 = (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___24791 = (r0); - r0 = pxsim_Array__getAt(s.path___24790, s.index___24789); - s.target___24792 = (r0); + s.speed___136711 = (r0); + r0 = pxsim_Array__getAt(s.path___136710, s.index___136709); + s.target___136712 = (r0); s.tmp_0 = if_x_1_mk(s); - s.tmp_1 = r0 = s.sprite___24788; + s.tmp_1 = r0 = s.sprite___136708; 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___24797 = (r0); + s.x___136717 = (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___24798 = (r0); + s.y___136718 = (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___24799 = (r0); + s.vx___136719 = (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___24800 = (r0); - r0 = pxsim_numops_toBoolDecr(s.vx___24799); + s.vy___136720 = (r0); + r0 = pxsim_numops_toBoolDecr(s.vx___136719); 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___24799 < 0); + r0 = (s.vx___136719 < 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___24797; - s.tmp_5 = tiles_Location_x__P21001_mk(s); - s.tmp_5.arg0 = s.target___24792; + s.tmp_3 = r0 = s.x___136717; + s.tmp_5 = tiles_Location_x__P132921_mk(s); + s.tmp_5.arg0 = s.target___136712; 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___24799 > 0); + r0 = (s.vx___136719 > 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___24797; - s.tmp_11 = tiles_Location_x__P21001_mk(s); - s.tmp_11.arg0 = s.target___24792; + s.tmp_9 = r0 = s.x___136717; + s.tmp_11 = tiles_Location_x__P132921_mk(s); + s.tmp_11.arg0 = s.target___136712; 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___24801 = (s.tmp_13); - r0 = pxsim_numops_toBoolDecr(s.vy___24800); + s.pastTargetHorizontally___136721 = (s.tmp_13); + r0 = pxsim_numops_toBoolDecr(s.vy___136720); 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___24800 < 0); + r0 = (s.vy___136720 < 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___24798; - s.tmp_5 = tiles_Location_y__P21002_mk(s); - s.tmp_5.arg0 = s.target___24792; + s.tmp_3 = r0 = s.y___136718; + s.tmp_5 = tiles_Location_y__P132922_mk(s); + s.tmp_5.arg0 = s.target___136712; 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___24800 > 0); + r0 = (s.vy___136720 > 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___24798; - s.tmp_11 = tiles_Location_y__P21002_mk(s); - s.tmp_11.arg0 = s.target___24792; + s.tmp_9 = r0 = s.y___136718; + s.tmp_11 = tiles_Location_y__P132922_mk(s); + s.tmp_11.arg0 = s.target___136712; 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___24820 = (s.tmp_13); - s.tmp_0 = r0 = s.pastTargetHorizontally___24801; + s.pastTargetVertically___136740 = (s.tmp_13); + s.tmp_0 = r0 = s.pastTargetHorizontally___136721; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 18; continue; } r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.pastTargetVertically___24820; + r0 = s.pastTargetVertically___136740; 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___24783; + s.tmp_2 = r0 = s.pfs___136703; 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___24783.fields["index"]; + r0 = s.pfs___136703.fields["index"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.path___24790, s.tmp_0); - s.newTarget___24845 = (r0); - r0 = pxsim_numops_toBoolDecr(s.newTarget___24845); + r0 = pxsim_Array__getAt(s.path___136710, s.tmp_0); + s.newTarget___136765 = (r0); + r0 = pxsim_numops_toBoolDecr(s.newTarget___136765); 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__P20781_mk(s); - s.tmp_2.arg0 = s.sprite___24788; + s.tmp_2 = Sprite_setVelocity__P132701_mk(s); + s.tmp_2.arg0 = s.sprite___136708; 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__P21004_mk(s); - s.tmp_0.arg0 = s.target___24792; - s.tmp_0.arg1 = s.sprite___24788; + s.tmp_0 = tiles_Location_place__P132924_mk(s); + s.tmp_0.arg0 = s.target___136712; + s.tmp_0.arg1 = s.sprite___136708; s.callLocIdx = 144; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.store___24768, s.i___24776); - r0 = s.pfs___24783.fields["onEndHandler"]; + r0 = pxsim_Array_.removeAt(s.store___136688, s.i___136696); + r0 = s.pfs___136703.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___24783; + s.tmp_1.arg0 = s.pfs___136703; 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__P24868); + r0 = pxsim_pxtcore_mkAction(3, inline__P136788); s.tmp_0 = r0; - 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; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.sprite___136708); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.path___136710); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.pfs___136703); + s.tmp_1 = helpers_arrayForEach__P130735_mk(s); + s.tmp_1.arg0 = s.handlers___136692; 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__P21004_mk(s); - s.tmp_0.arg0 = s.target___24792; - s.tmp_0.arg1 = s.sprite___24788; + s.tmp_0 = tiles_Location_place__P132924_mk(s); + s.tmp_0.arg0 = s.target___136712; + s.tmp_0.arg1 = s.sprite___136708; s.callLocIdx = 149; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - 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.tmp_0 = scene_setVelocityTowards__P136806_mk(s); + s.tmp_0.arg0 = s.sprite___136708; + s.tmp_0.arg1 = s.newTarget___136765; + s.tmp_0.arg2 = s.speed___136711; s.callLocIdx = 150; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; case 23: case 24: case 25: - r0 = (s.i___24776 - 1); - s.i___24776 = (r0); + r0 = (s.i___136696 - 1); + s.i___136696 = (r0); { step = 1; continue; } case 26: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P24767.info = {"start":896,"length":2006,"line":29,"column":26,"endLine":70,"endColumn":13,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} +inline__P136687.info = {"start":896,"length":2006,"line":29,"column":26,"endLine":70,"endColumn":13,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} -function inline__P24767_mk(s) { +function inline__P136687_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24767, depth: s.depth + 1, + parent: s, fn: inline__P136687, 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__P24767_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: 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, + store___136688: undefined, + handlers___136692: undefined, + i___136696: undefined, + pfs___136703: undefined, + sprite___136708: undefined, + index___136709: undefined, + path___136710: undefined, + speed___136711: undefined, + target___136712: undefined, + x___136717: undefined, + y___136718: undefined, + vx___136719: undefined, + vy___136720: undefined, + pastTargetHorizontally___136721: undefined, + pastTargetVertically___136740: undefined, + newTarget___136765: undefined, } } -function inline__P24868(s) { +function inline__P136788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2675,12 +2675,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24868.info = {"start":2359,"length":274,"line":58,"column":49,"endLine":62,"endColumn":33,"fileName":"path-following.ts","functionName":"inline","argumentNames":["completionHandler"]} +inline__P136788.info = {"start":2359,"length":274,"line":58,"column":49,"endLine":62,"endColumn":33,"fileName":"path-following.ts","functionName":"inline","argumentNames":["completionHandler"]} -function inline__P24868_mk(s) { +function inline__P136788_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24868, depth: s.depth + 1, + parent: s, fn: inline__P136788, 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__P24868_mk(s) { -function scene_setVelocityTowards__P24886(s) { +function scene_setVelocityTowards__P136806(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___24895 = undefined; - s.dy___24901 = undefined; - s.dist___24907 = undefined; + s.dx___136815 = undefined; + s.dy___136821 = undefined; + s.dist___136827 = 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__P21001_mk(s); + s.tmp_1 = tiles_Location_x__P132921_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__P20733_mk(s); + s.tmp_3 = Sprite_x__P132653_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___24895 = (r0); - s.tmp_1 = tiles_Location_y__P21002_mk(s); + s.dx___136815 = (r0); + s.tmp_1 = tiles_Location_y__P132922_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__P20735_mk(s); + s.tmp_3 = Sprite_y__P132655_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___24901 = (r0); - r0 = (s.dx___24895 * s.dx___24895); + s.dy___136821 = (r0); + r0 = (s.dx___136815 * s.dx___136815); s.tmp_2 = r0; - r0 = (s.dy___24901 * s.dy___24901); + r0 = (s.dy___136821 * s.dy___136821); 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___24907 = (s.tmp_4); - s.tmp_0 = Sprite_vx__P20738_mk(s); + s.dist___136827 = (s.tmp_4); + s.tmp_0 = Sprite_vx__P132658_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.dx___24895 / s.dist___24907); + r0 = (s.dx___136815 / s.dist___136827); 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__P20740_mk(s); + s.tmp_0 = Sprite_vy__P132660_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.dy___24901 / s.dist___24907); + r0 = (s.dy___136821 / s.dist___136827); 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__P24886.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__P136806.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__P24886_mk(s) { +function scene_setVelocityTowards__P136806_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setVelocityTowards__P24886, depth: s.depth + 1, + parent: s, fn: scene_setVelocityTowards__P136806, 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___24895: undefined, - dy___24901: undefined, - dist___24907: undefined, + dx___136815: undefined, + dy___136821: undefined, + dist___136827: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2807,7 +2807,7 @@ function scene_setVelocityTowards__P24886_mk(s) { -function Sprite_kind__P20778(s) { +function Sprite_kind__P132698(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -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"]} +Sprite_kind__P132698.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__P20778_mk(s) { +function Sprite_kind__P132698_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P20778, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P132698, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -2841,7 +2841,7 @@ function Sprite_kind__P20778_mk(s) { -function tiles_Location_place__P21004(s) { +function tiles_Location_place__P132924(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__C20997_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C132917_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__P20780_mk(s); + s.tmp_2 = Sprite_setPosition__P132700_mk(s); s.tmp_2.arg0 = s.arg1; - s.tmp_3 = tiles_Location_x__P21001_mk(s); + s.tmp_3 = tiles_Location_x__P132921_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__P21002_mk(s); + s.tmp_4 = tiles_Location_y__P132922_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__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"]} +tiles_Location_place__P132924.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__P21004_mk(s) { +function tiles_Location_place__P132924_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_place__P21004, depth: s.depth + 1, + parent: s, fn: tiles_Location_place__P132924, 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__P21004_mk(s) { -function Sprite_setVelocity__P20781(s) { +function Sprite_setVelocity__P132701(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__C20724_VT)) failedCast(r0); - s.tmp_0 = Sprite_vx__P20738_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = Sprite_vx__P132658_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__P20740_mk(s); + s.tmp_0 = Sprite_vy__P132660_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__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"]} +Sprite_setVelocity__P132701.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__P20781_mk(s) { +function Sprite_setVelocity__P132701_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setVelocity__P20781, depth: s.depth + 1, + parent: s, fn: Sprite_setVelocity__P132701, 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__P20781_mk(s) { -function tiles_Location_y__P21002(s) { +function tiles_Location_y__P132922(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___32014 = undefined; + s.scale___143938 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C132917_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___32014 = (r0); + s.scale___143938 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___32014); + r0 = (s.tmp_1 << s.scale___143938); s.tmp_0 = r0; - r0 = (s.scale___32014 - 1); + r0 = (s.scale___143938 - 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__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; +tiles_Location_y__P132922.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__P132922.isGetter = true; -function tiles_Location_y__P21002_mk(s) { +function tiles_Location_y__P132922_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P21002, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P132922, 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___32014: undefined, + scale___143938: undefined, arg0: undefined, } } @@ -3013,7 +3013,7 @@ function tiles_Location_y__P21002_mk(s) { -function tiles_TileMap_scale__P21027(s) { +function tiles_TileMap_scale__P132947(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__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -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; +tiles_TileMap_scale__P132947.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__P132947.isGetter = true; -function tiles_TileMap_scale__P21027_mk(s) { +function tiles_TileMap_scale__P132947_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P21027, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P132947, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -3048,7 +3048,7 @@ function tiles_TileMap_scale__P21027_mk(s) { -function tiles_Location_x__P21001(s) { +function tiles_Location_x__P132921(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___32031 = undefined; + s.scale___143955 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C132917_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___32031 = (r0); + s.scale___143955 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___32031); + r0 = (s.tmp_1 << s.scale___143955); s.tmp_0 = r0; - r0 = (s.scale___32031 - 1); + r0 = (s.scale___143955 - 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__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; +tiles_Location_x__P132921.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__P132921.isGetter = true; -function tiles_Location_x__P21001_mk(s) { +function tiles_Location_x__P132921_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P21001, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P132921, 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___32031: undefined, + scale___143955: undefined, arg0: undefined, } } @@ -3101,7 +3101,7 @@ function tiles_Location_x__P21001_mk(s) { -function scene_getPathCompletionEvents__P24775(s) { +function scene_getPathCompletionEvents__P136695(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__P21240_mk(s); - s.callLocIdx = 192; s.pc = 1; return s.tmp_2; + s.tmp_2 = game_currentScene__P133160_mk(s); + s.callLocIdx = 194; 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___24734); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_0, globals.PATH_COMPLETION_KEY___136654); return leave(s, r0) default: oops() } } } -scene_getPathCompletionEvents__P24775.info = {"start":10003,"length":152,"line":276,"column":4,"endLine":278,"endColumn":5,"fileName":"path-following.ts","functionName":"getPathCompletionEvents","argumentNames":[]} +scene_getPathCompletionEvents__P136695.info = {"start":10081,"length":152,"line":278,"column":4,"endLine":280,"endColumn":5,"fileName":"path-following.ts","functionName":"getPathCompletionEvents","argumentNames":[]} -function scene_getPathCompletionEvents__P24775_mk(s) { +function scene_getPathCompletionEvents__P136695_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_getPathCompletionEvents__P24775, depth: s.depth + 1, + parent: s, fn: scene_getPathCompletionEvents__P136695, 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__P24775_mk(s) { -function Sprite_say__P20782(s) { +function Sprite_say__P132702(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___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; + s.textToDisplay___137388 = undefined; + s.SAYKEY___137396 = undefined; + s.key___137398 = undefined; + s.pixelsOffset___137420 = undefined; + s.holdTextSeconds___137421 = undefined; + s.bubblePadding___137422 = undefined; + s.maxTextWidth___137423 = undefined; + s.font___137424 = undefined; + s.startX___137427 = undefined; + s.startY___137428 = undefined; + s.bubbleWidth___137429 = undefined; + s.maxOffset___137437 = undefined; + s.bubbleOffset___137445 = undefined; + s.needsRedraw___137450 = undefined; + s.speed___137451 = undefined; + s.currentScene___137452 = undefined; + s.imgh___137499 = undefined; + s.sayImg___137521 = 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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__P20795_mk(s); + s.tmp_1 = Sprite_destroy__P132715_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__P18809_mk(s); - s.tmp_1 = helpers_stringSplit__P18825_mk(s); - s.tmp_2 = console_inspect__P19079_mk(s); + s.tmp_0 = helpers_arrayJoin__P130729_mk(s); + s.tmp_1 = helpers_stringSplit__P130745_mk(s); + s.tmp_2 = console_inspect__P130999_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___25464 = (r0); - s.SAYKEY___25472 = ("__saykey"); + s.textToDisplay___137388 = (r0); + s.SAYKEY___137396 = ("__saykey"); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___25464); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "text", s.textToDisplay___137388); 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__P19084_mk(s); + s.tmp_1 = JSON_stringify__P131004_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___25474 = (r0); + s.key___137398 = (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__P20749_mk(s); + s.tmp_5 = Sprite_data__P132669_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___25472); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_4, s.SAYKEY___137396); s.tmp_3 = r0; - r0 = (s.tmp_3 == s.key___25474); + r0 = (s.tmp_3 == s.key___137398); 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___25496 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___25496, 0); + s.pixelsOffset___137420 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pixelsOffset___137420, 0); r0 = pxsim_pxtrt.mklocRef(); - 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.holdTextSeconds___137421 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.holdTextSeconds___137421, 1.5); + s.bubblePadding___137422 = (4); + s.maxTextWidth___137423 = (100); + s.tmp_0 = image_getFontForText__P132375_mk(s); + s.tmp_0.arg0 = s.textToDisplay___137388; s.callLocIdx = 321; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.font___25500 = (r0); - s.startX___25503 = (2); - s.startY___25504 = (2); + s.font___137424 = (r0); + s.startX___137427 = (2); + s.startY___137428 = (2); r0 = pxsim_pxtrt.mklocRef(); - s.bubbleWidth___25505 = (r0); - s.tmp_0 = r0 = s.bubbleWidth___25505; - r0 = pxsim_String_.length(s.textToDisplay___25464); + s.bubbleWidth___137429 = (r0); + s.tmp_0 = r0 = s.bubbleWidth___137429; + r0 = pxsim_String_.length(s.textToDisplay___137388); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___25500; + s.tmp_5.arg0 = s.font___137424; 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___25498); + r0 = (s.tmp_2 + s.bubblePadding___137422); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.maxOffset___25513 = (r0); - s.tmp_0 = r0 = s.maxOffset___25513; - r0 = pxsim_String_.length(s.textToDisplay___25464); + s.maxOffset___137437 = (r0); + s.tmp_0 = r0 = s.maxOffset___137437; + r0 = pxsim_String_.length(s.textToDisplay___137388); s.tmp_3 = r0; s.tmp_5 = if_charWidth_1_mk(s); - s.tmp_5.arg0 = s.font___25500; + s.tmp_5.arg0 = s.font___137424; 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___25499); + r0 = (s.tmp_2 - s.maxTextWidth___137423); 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___25521 = (r0); + s.bubbleOffset___137445 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.needsRedraw___25526 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___25526, true); + s.needsRedraw___137450 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.needsRedraw___137450, true); r0 = pxsim_pxtrt.mklocRef(); - s.speed___25527 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.speed___25527, 45); - s.tmp_0 = game_currentScene__P21240_mk(s); + s.speed___137451 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.speed___137451, 45); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 325; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.currentScene___25528 = (r0); + s.currentScene___137452 = (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___25513); + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___137437); 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___25527; - r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___25513); + s.tmp_3 = r0 = s.speed___137451; + r0 = pxsim_pxtrt_ldlocRef(s.maxOffset___137437); s.tmp_6 = r0; - r0 = (2 * s.maxTextWidth___25499); + r0 = (2 * s.maxTextWidth___137423); 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___25527; - s.tmp_2 = Math_max__P18833_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.speed___25527); + s.tmp_0 = r0 = s.speed___137451; + s.tmp_2 = Math_max__P130753_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.speed___137451); 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___25497; - s.tmp_2 = r0 = s.maxTextWidth___25499; - r0 = pxsim_pxtrt_ldlocRef(s.speed___25527); + s.tmp_0 = r0 = s.holdTextSeconds___137421; + s.tmp_2 = r0 = s.maxTextWidth___137423; + r0 = pxsim_pxtrt_ldlocRef(s.speed___137451); 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___25497; - s.tmp_2 = Math_min__P18834_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___25497); + s.tmp_0 = r0 = s.holdTextSeconds___137421; + s.tmp_2 = Math_min__P130754_mk(s); + r0 = pxsim_pxtrt_ldlocRef(s.holdTextSeconds___137421); 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___25528.fields["_millis"]; + r0 = s.currentScene___137452.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___25505); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___137429); s.tmp_1 = r0; - r0 = (s.maxTextWidth___25499 + s.bubblePadding___25498); + r0 = (s.maxTextWidth___137423 + s.bubblePadding___137422); 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___25505; - r0 = (s.maxTextWidth___25499 + s.bubblePadding___25498); + s.tmp_3 = r0 = s.bubbleWidth___137429; + r0 = (s.maxTextWidth___137423 + s.bubblePadding___137422); 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___25513, -1); + r0 = pxsim_pxtrt_stlocRef(s.maxOffset___137437, -1); case 22: s.tmp_1 = if_charHeight_1_mk(s); - s.tmp_1.arg0 = s.font___25500; + s.tmp_1.arg0 = s.font___137424; 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___25498); - s.imgh___25575 = (r0); + r0 = (s.tmp_0 + s.bubblePadding___137422); + s.imgh___137499 = (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___25505); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___137429); 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___25575); + r0 = (s.tmp_8 != s.imgh___137499); 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___25505); + r0 = pxsim_pxtrt_ldlocRef(s.bubbleWidth___137429); s.tmp_12 = r0; - r0 = pxsim.image.create(s.tmp_12, s.imgh___25575); - s.sayImg___25597 = (r0); + r0 = pxsim.image.create(s.tmp_12, s.imgh___137499); + s.sayImg___137521 = (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__P20764_mk(s); + s.tmp_1 = Sprite_setImage__P132684_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.sayImg___25597; + s.tmp_1.arg1 = s.sayImg___137521; 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__P20682_mk(s); - s.tmp_2.arg0 = s.sayImg___25597; + s.tmp_2 = sprites_create__P132602_mk(s); + s.tmp_2.arg0 = s.sayImg___137521; 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__P20787_mk(s); + s.tmp_0 = Sprite_setFlag__P132707_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__P20787_mk(s); + s.tmp_0 = Sprite_setFlag__P132707_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__P20749_mk(s); + s.tmp_1 = Sprite_data__P132669_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___25472, s.key___25474); - r0 = pxsim_pxtcore_mkAction(18, inline__P25637); + r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, s.SAYKEY___137396, s.key___137398); + r0 = pxsim_pxtcore_mkAction(18, inline__P137561); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - 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, 1, s.bubbleOffset___137445); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.font___137424); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.bubblePadding___137422); r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.arg2); - 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, 5, s.currentScene___137452); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.holdTextSeconds___137421); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.pixelsOffset___137420); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.maxTextWidth___137423); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.speed___137451); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.needsRedraw___137450); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.maxOffset___137437); r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.arg4); - 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, 13, s.textToDisplay___137388); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 14, s.startX___137427); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 15, s.startY___137428); r0 = pxsim_pxtrt_stclo(s.tmp_0, 16, s.arg3); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___25505); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 17, s.bubbleWidth___137429); 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___25528.fields["camera"]; + r0 = s.currentScene___137452.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__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"]} +Sprite_say__P132702.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__P20782_mk(s) { +function Sprite_say__P132702_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_say__P20782, depth: s.depth + 1, + parent: s, fn: Sprite_say__P132702, 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__P20782_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: 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, + textToDisplay___137388: undefined, + SAYKEY___137396: undefined, + key___137398: undefined, + pixelsOffset___137420: undefined, + holdTextSeconds___137421: undefined, + bubblePadding___137422: undefined, + maxTextWidth___137423: undefined, + font___137424: undefined, + startX___137427: undefined, + startY___137428: undefined, + bubbleWidth___137429: undefined, + maxOffset___137437: undefined, + bubbleOffset___137445: undefined, + needsRedraw___137450: undefined, + speed___137451: undefined, + currentScene___137452: undefined, + imgh___137499: undefined, + sayImg___137521: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3672,7 +3672,7 @@ function Sprite_say__P20782_mk(s) { -function inline__P25637(s) { +function inline__P137561(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___25675 = undefined; - s.oy___25678 = undefined; + s.ox___137599 = undefined; + s.oy___137602 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_y__P20736_mk(s); + s.tmp_0 = Sprite_y__P132656_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; - s.tmp_4 = Sprite_top__P20774_mk(s); + s.tmp_4 = Sprite_top__P132694_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__P20734_mk(s); + s.tmp_0 = Sprite_x__P132654_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P20733_mk(s); + s.tmp_1 = Sprite_x__P132653_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__P20784_mk(s); + s.tmp_9 = Sprite_isOutOfScreen__P132704_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___25675 = (r0); + s.ox___137599 = (r0); r0 = s.arg1.fields["_offsetY"]; - s.oy___25678 = (r0); - s.tmp_3 = Sprite_left__P20770_mk(s); + s.oy___137602 = (r0); + s.tmp_3 = Sprite_left__P132690_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___25675); + r0 = (s.tmp_2 - s.ox___137599); 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__P20771_mk(s); + s.tmp_4 = Sprite_left__P132691_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__P20772_mk(s); + s.tmp_3 = Sprite_right__P132692_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___25675); + r0 = (s.tmp_2 - s.ox___137599); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); 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__P20773_mk(s); + s.tmp_5 = Sprite_right__P132693_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_5.arg0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); 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__P20774_mk(s); + s.tmp_3 = Sprite_top__P132694_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___25678); + r0 = (s.tmp_2 - s.oy___137602); 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__P20736_mk(s); + s.tmp_4 = Sprite_y__P132656_mk(s); r0 = s.caps[0].fields["sayBubbleSprite"]; s.tmp_4.arg0 = r0; - s.tmp_7 = Sprite_y__P20735_mk(s); + s.tmp_7 = Sprite_y__P132655_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__P20735_mk(s); + s.tmp_10 = Sprite_y__P132655_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__P21243_mk(s); + s.tmp_7 = game_eventContext__P133163_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__P20468_mk(s); + s.tmp_2 = helpers_imagePrint__P132388_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__P20468_mk(s); + s.tmp_0 = helpers_imagePrint__P132388_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__P20436_mk(s); + s.tmp_0 = helpers_imageFillRect__P132356_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__P20436_mk(s); + s.tmp_0 = helpers_imageFillRect__P132356_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__P20795_mk(s); + s.tmp_0 = Sprite_destroy__P132715_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__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"]} +inline__P137561.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__P25637_mk(s) { +function inline__P137561_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25637, depth: s.depth + 1, + parent: s, fn: inline__P137561, 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__P25637_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - ox___25675: undefined, - oy___25678: undefined, + ox___137599: undefined, + oy___137602: undefined, arg0: undefined, arg1: undefined, } } @@ -4197,7 +4197,7 @@ function inline__P25637_mk(s) { -function scene_Scene_millis__P21151(s) { +function scene_Scene_millis__P133071(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__C21127_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C133047_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -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"]} +scene_Scene_millis__P133071.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__P21151_mk(s) { +function scene_Scene_millis__P133071_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P21151, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P133071, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4231,7 +4231,7 @@ function scene_Scene_millis__P21151_mk(s) { -function scene_Camera_offsetY__P21075(s) { +function scene_Camera_offsetY__P132995(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__C21068_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C132988_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -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; +scene_Camera_offsetY__P132995.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__P132995.isGetter = true; -function scene_Camera_offsetY__P21075_mk(s) { +function scene_Camera_offsetY__P132995_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P21075, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P132995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4266,7 +4266,7 @@ function scene_Camera_offsetY__P21075_mk(s) { -function scene_Camera_offsetX__P21073(s) { +function scene_Camera_offsetX__P132993(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__C21068_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C132988_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -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; +scene_Camera_offsetX__P132993.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__P132993.isGetter = true; -function scene_Camera_offsetX__P21073_mk(s) { +function scene_Camera_offsetX__P132993_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P21073, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P132993, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4301,7 +4301,7 @@ function scene_Camera_offsetX__P21073_mk(s) { -function Sprite_isOutOfScreen__P20784(s) { +function Sprite_isOutOfScreen__P132704(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___26262 = undefined; - s.oy___26270 = undefined; + s.ox___138186 = undefined; + s.oy___138194 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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___26262 = (s.tmp_2); + s.ox___138186 = (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___26270 = (s.tmp_2); - s.tmp_3 = Sprite_right__P20772_mk(s); + s.oy___138194 = (s.tmp_2); + s.tmp_3 = Sprite_right__P132692_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___26262); + r0 = (s.tmp_2 - s.ox___138186); 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__P20776_mk(s); + s.tmp_6 = Sprite_bottom__P132696_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___26270); + r0 = (s.tmp_5 - s.oy___138194); 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__P20770_mk(s); + s.tmp_10 = Sprite_left__P132690_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___26262); + r0 = (s.tmp_9 - s.ox___138186); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); 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__P20774_mk(s); + s.tmp_15 = Sprite_top__P132694_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___26270); + r0 = (s.tmp_14 - s.oy___138194); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); 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__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"]} +Sprite_isOutOfScreen__P132704.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__P20784_mk(s) { +function Sprite_isOutOfScreen__P132704_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P20784, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P132704, 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__P20784_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___26262: undefined, - oy___26270: undefined, + ox___138186: undefined, + oy___138194: undefined, arg0: undefined, arg1: undefined, } } @@ -4452,7 +4452,7 @@ function Sprite_isOutOfScreen__P20784_mk(s) { -function Sprite_bottom__P20776(s) { +function Sprite_bottom__P132696(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__C20724_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P20774_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P132694_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__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; +Sprite_bottom__P132696.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__P132696.isGetter = true; -function Sprite_bottom__P20776_mk(s) { +function Sprite_bottom__P132696_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P20776, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P132696, 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__P20776_mk(s) { -function Sprite_height__P20769(s) { +function Sprite_height__P132689(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_height__P132689.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__P132689.isGetter = true; -function Sprite_height__P20769_mk(s) { +function Sprite_height__P132689_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P20769, depth: s.depth + 1, + parent: s, fn: Sprite_height__P132689, 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__P20769_mk(s) { -function Sprite_top__P20774(s) { +function Sprite_top__P132694(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_top__P132694.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__P132694.isGetter = true; -function Sprite_top__P20774_mk(s) { +function Sprite_top__P132694_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P20774, depth: s.depth + 1, + parent: s, fn: Sprite_top__P132694, 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__P20774_mk(s) { -function Fx_toFloat__P18874(s) { +function Fx_toFloat__P130794(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__P18874.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__P130794.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__P18874_mk(s) { +function Fx_toFloat__P130794_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P18874, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P130794, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4609,7 +4609,7 @@ function Fx_toFloat__P18874_mk(s) { -function Sprite_right__P20773(s) { +function Sprite_right__P132693(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__C20724_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P20771_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P132691_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__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"]} +Sprite_right__P132693.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__P20773_mk(s) { +function Sprite_right__P132693_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P20773, depth: s.depth + 1, + parent: s, fn: Sprite_right__P132693, 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__P20773_mk(s) { -function Sprite_width__P20768(s) { +function Sprite_width__P132688(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_width__P132688.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__P132688.isGetter = true; -function Sprite_width__P20768_mk(s) { +function Sprite_width__P132688_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P20768, depth: s.depth + 1, + parent: s, fn: Sprite_width__P132688, 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__P20768_mk(s) { -function Sprite_right__P20772(s) { +function Sprite_right__P132692(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__C20724_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P20770_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P132690_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__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; +Sprite_right__P132692.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__P132692.isGetter = true; -function Sprite_right__P20772_mk(s) { +function Sprite_right__P132692_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P20772, depth: s.depth + 1, + parent: s, fn: Sprite_right__P132692, 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__P20772_mk(s) { -function Sprite_left__P20771(s) { +function Sprite_left__P132691(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___26222 = undefined; + s.physics___138146 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21240_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 288; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___26222 = (r0); - s.tmp_0 = PhysicsEngine__C20867_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___26222; + s.physics___138146 = (r0); + s.tmp_0 = PhysicsEngine__C132787_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___138146; 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__C20867_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C132787_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__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"]} +Sprite_left__P132691.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__P20771_mk(s) { +function Sprite_left__P132691_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P20771, depth: s.depth + 1, + parent: s, fn: Sprite_left__P132691, 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___26222: undefined, + physics___138146: undefined, arg0: undefined, arg1: undefined, } } @@ -4813,7 +4813,7 @@ function Sprite_left__P20771_mk(s) { -function PhysicsEngine_moveSprite__P20871(s) { +function PhysicsEngine_moveSprite__P132791(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__C20867_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C132787_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +PhysicsEngine_moveSprite__P132791.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__P20871_mk(s) { +function PhysicsEngine_moveSprite__P132791_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P20871, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P132791, 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__P20871_mk(s) { -function Fx_sub__P18862(s) { +function Fx_sub__P130782(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__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"]} +Fx_sub__P130782.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__P18862_mk(s) { +function Fx_sub__P130782_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P18862, depth: s.depth + 1, + parent: s, fn: Fx_sub__P130782, 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__P18862_mk(s) { -function Sprite_left__P20770(s) { +function Sprite_left__P132690(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_left__P132690.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__P132690.isGetter = true; -function Sprite_left__P20770_mk(s) { +function Sprite_left__P132690_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P20770, depth: s.depth + 1, + parent: s, fn: Sprite_left__P132690, 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__P20770_mk(s) { -function Sprite_setImage__P20764(s) { +function Sprite_setImage__P132684(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__P20765_mk(s); + s.tmp_0 = Sprite_setHitbox__P132685_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__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"]} +Sprite_setImage__P132684.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__P20764_mk(s) { +function Sprite_setImage__P132684_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P20764, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P132684, 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__P20764_mk(s) { -function Sprite_setHitbox__P20765(s) { +function Sprite_setHitbox__P132685(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___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; + s.newHitBox___138278 = undefined; + s.oMinX___138286 = undefined; + s.oMinY___138290 = undefined; + s.oMaxX___138294 = undefined; + s.oMaxY___138301 = undefined; + s.nMinX___138308 = undefined; + s.nMinY___138311 = undefined; + s.nMaxX___138314 = undefined; + s.nMaxY___138320 = undefined; + s.xDiff___138326 = undefined; + s.yDiff___138337 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); - s.tmp_0 = game_calculateHitBox__P20678_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = game_calculateHitBox__P132598_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___26354 = (r0); + s.newHitBox___138278 = (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___26354); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___138278); { step = 7; continue; } case 1: case 2: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___26362 = (r0); + s.oMinX___138286 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___26366 = (r0); + s.oMinY___138290 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___26362 + s.tmp_0); - s.oMaxX___26370 = (r0); + r0 = (s.oMinX___138286 + s.tmp_0); + s.oMaxX___138294 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - 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); + r0 = (s.oMinY___138290 + s.tmp_0); + s.oMaxY___138301 = (r0); + r0 = s.newHitBox___138278.fields["ox"]; + s.nMinX___138308 = (r0); + r0 = s.newHitBox___138278.fields["oy"]; + s.nMinY___138311 = (r0); + r0 = s.newHitBox___138278.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___138308 + s.tmp_0); + s.nMaxX___138314 = (r0); + r0 = s.newHitBox___138278.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___138311 + s.tmp_0); + s.nMaxY___138320 = (r0); + s.tmp_1 = Fx_abs__P130788_mk(s); + r0 = (s.oMinX___138286 - s.nMinX___138308); 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__P18868_mk(s); - r0 = (s.oMaxX___26370 - s.nMaxX___26390); + s.tmp_3 = Fx_abs__P130788_mk(s); + r0 = (s.oMaxX___138294 - s.nMaxX___138314); 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___26402 = (r0); - s.tmp_1 = Fx_abs__P18868_mk(s); - r0 = (s.oMinY___26366 - s.nMinY___26387); + s.xDiff___138326 = (r0); + s.tmp_1 = Fx_abs__P130788_mk(s); + r0 = (s.oMinY___138290 - s.nMinY___138311); 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__P18868_mk(s); - r0 = (s.oMaxY___26377 - s.nMaxY___26396); + s.tmp_3 = Fx_abs__P130788_mk(s); + r0 = (s.oMaxY___138301 - s.nMaxY___138320); 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___26413 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___26354); - r0 = (s.xDiff___26402 <= 512); + s.yDiff___138337 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___138278); + r0 = (s.xDiff___138326 <= 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___26362); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___138286); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___26370 - s.oMinX___26362); + r0 = (s.oMaxX___138294 - s.oMinX___138286); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 3: case 4: - r0 = (s.yDiff___26413 <= 512); + r0 = (s.yDiff___138337 <= 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___26366); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___138290); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___26377 - s.oMinY___26366); + r0 = (s.oMaxY___138301 - s.oMinY___138290); 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__P20765.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__P132685.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__P20765_mk(s) { +function Sprite_setHitbox__P132685_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P20765, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P132685, 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___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, + newHitBox___138278: undefined, + oMinX___138286: undefined, + oMinY___138290: undefined, + oMaxX___138294: undefined, + oMaxY___138301: undefined, + nMinX___138308: undefined, + nMinY___138311: undefined, + nMaxX___138314: undefined, + nMaxY___138320: undefined, + xDiff___138326: undefined, + yDiff___138337: undefined, arg0: undefined, } } @@ -5147,7 +5147,7 @@ function Sprite_setHitbox__P20765_mk(s) { -function game_calculateHitBox__P20678(s) { +function game_calculateHitBox__P132598(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___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; + s.i___138393 = undefined; + s.minX___138396 = undefined; + s.minY___138399 = undefined; + s.maxX___138402 = undefined; + s.maxY___138403 = undefined; + s.c___138404 = undefined; + s.r___138410 = undefined; + s.width___138441 = undefined; + s.height___138447 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - 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.i___138393 = (r0); + r0 = pxsim_ImageMethods.width(s.i___138393); + s.minX___138396 = (r0); + r0 = pxsim_ImageMethods.height(s.i___138393); + s.minY___138399 = (r0); + s.maxX___138402 = (0); + s.maxY___138403 = (0); + s.c___138404 = (0); + case 1: + s.tmp_1 = r0 = s.c___138404; + r0 = pxsim_ImageMethods.width(s.i___138393); 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___26486 = (0); + s.r___138410 = (0); case 2: - s.tmp_1 = r0 = s.r___26486; - r0 = pxsim_ImageMethods.height(s.i___26469); + s.tmp_1 = r0 = s.r___138410; + r0 = pxsim_ImageMethods.height(s.i___138393); 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___26469, s.c___26480, s.r___26486); + r0 = pxsim_ImageMethods.getPixel(s.i___138393, s.c___138404, s.r___138410); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Math_min__P18834_mk(s); - s.tmp_4.arg0 = s.minX___26472; - s.tmp_4.arg1 = s.c___26480; + s.tmp_4 = Math_min__P130754_mk(s); + s.tmp_4.arg0 = s.minX___138396; + s.tmp_4.arg1 = s.c___138404; s.callLocIdx = 227; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - 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.minX___138396 = (r0); + s.tmp_0 = Math_min__P130754_mk(s); + s.tmp_0.arg0 = s.minY___138399; + s.tmp_0.arg1 = s.r___138410; s.callLocIdx = 228; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - 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.minY___138399 = (r0); + s.tmp_0 = Math_max__P130753_mk(s); + s.tmp_0.arg0 = s.maxX___138402; + s.tmp_0.arg1 = s.c___138404; s.callLocIdx = 229; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - 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.maxX___138402 = (r0); + s.tmp_0 = Math_max__P130753_mk(s); + s.tmp_0.arg0 = s.maxY___138403; + s.tmp_0.arg1 = s.r___138410; s.callLocIdx = 230; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___26479 = (r0); + s.maxY___138403 = (r0); case 3: case 4: - r0 = (s.r___26486 + 1); - s.r___26486 = (r0); + r0 = (s.r___138410 + 1); + s.r___138410 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___26480 + 1); - s.c___26480 = (r0); + r0 = (s.c___138404 + 1); + s.c___138404 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___26478 - s.minX___26472); + r0 = (s.maxX___138402 - s.minX___138396); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___26517 = (r0); - r0 = (s.maxY___26479 - s.minY___26475); + s.width___138441 = (r0); + r0 = (s.maxY___138403 - s.minY___138399); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___26523 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C20667_VT); + s.height___138447 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C132587_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P20673_mk(s); + s.tmp_1 = game_Hitbox_constructor__P132593_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - 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.tmp_1.arg2 = s.width___138441; + s.tmp_1.arg3 = s.height___138447; + s.tmp_1.arg4 = s.minX___138396; + s.tmp_1.arg5 = s.minY___138399; 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__P20678.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__P132598.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__P20678_mk(s) { +function game_calculateHitBox__P132598_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P20678, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P132598, 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___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, + i___138393: undefined, + minX___138396: undefined, + minY___138399: undefined, + maxX___138402: undefined, + maxY___138403: undefined, + c___138404: undefined, + r___138410: undefined, + width___138441: undefined, + height___138447: undefined, arg0: undefined, } } @@ -5290,7 +5290,7 @@ function game_calculateHitBox__P20678_mk(s) { -function game_Hitbox_constructor__P20673(s) { +function game_Hitbox_constructor__P132593(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__C20667_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C132587_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__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"]} +game_Hitbox_constructor__P132593.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__P20673_mk(s) { +function game_Hitbox_constructor__P132593_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P20673, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P132593, 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__P20673_mk(s) { -function Fx_abs__P18868(s) { +function Fx_abs__P130788(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__P18868.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__P130788.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__P18868_mk(s) { +function Fx_abs__P130788_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P18868, depth: s.depth + 1, + parent: s, fn: Fx_abs__P130788, 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__P18868_mk(s) { -function Fx_add__P18860(s) { +function Fx_add__P130780(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__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"]} +Fx_add__P130780.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__P18860_mk(s) { +function Fx_add__P130780_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P18860, depth: s.depth + 1, + parent: s, fn: Fx_add__P130780, 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__P18860_mk(s) { -function Sprite_image__P20763(s) { +function Sprite_image__P132683(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -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; +Sprite_image__P132683.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__P132683.isGetter = true; -function Sprite_image__P20763_mk(s) { +function Sprite_image__P132683_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P20763, depth: s.depth + 1, + parent: s, fn: Sprite_image__P132683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5476,7 +5476,7 @@ function Sprite_image__P20763_mk(s) { -function Sprite_data__P20749(s) { +function Sprite_data__P132669(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_data__P132669.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__P132669.isGetter = true; -function Sprite_data__P20749_mk(s) { +function Sprite_data__P132669_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P20749, depth: s.depth + 1, + parent: s, fn: Sprite_data__P132669, 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__P20749_mk(s) { -function Sprite_y__P20736(s) { +function Sprite_y__P132656(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__C20724_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P20775_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P132695_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__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"]} +Sprite_y__P132656.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__P20736_mk(s) { +function Sprite_y__P132656_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P20736, depth: s.depth + 1, + parent: s, fn: Sprite_y__P132656, 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__P20736_mk(s) { -function Sprite_top__P20775(s) { +function Sprite_top__P132695(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___26333 = undefined; + s.physics___138257 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21240_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 296; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___26333 = (r0); - s.tmp_0 = PhysicsEngine__C20867_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___26333; + s.physics___138257 = (r0); + s.tmp_0 = PhysicsEngine__C132787_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___138257; 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__C20867_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C132787_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__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"]} +Sprite_top__P132695.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__P20775_mk(s) { +function Sprite_top__P132695_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P20775, depth: s.depth + 1, + parent: s, fn: Sprite_top__P132695, 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___26333: undefined, + physics___138257: undefined, arg0: undefined, arg1: undefined, } } @@ -5650,7 +5650,7 @@ function Sprite_top__P20775_mk(s) { -function Sprite_x__P20734(s) { +function Sprite_x__P132654(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__C20724_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P20771_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P132691_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__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"]} +Sprite_x__P132654.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__P20734_mk(s) { +function Sprite_x__P132654_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P20734, depth: s.depth + 1, + parent: s, fn: Sprite_x__P132654, 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__P20734_mk(s) { -function helpers_imagePrint__P20468(s) { +function helpers_imagePrint__P132388(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___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; + s.x0___137850 = undefined; + s.cp___137852 = undefined; + s.mult___137853 = undefined; + s.dataW___137858 = undefined; + s.dataH___137864 = undefined; + s.byteHeight___137870 = undefined; + s.charSize___137876 = undefined; + s.dataSize___137880 = undefined; + s.fontdata___137884 = undefined; + s.lastchar___137887 = undefined; + s.imgBuf___137894 = undefined; + s.xOffset___137918 = undefined; + s.yOffset___137919 = undefined; + s.ch___137934 = undefined; + s.l___137953 = undefined; + s.r___137954 = undefined; + s.off___137956 = undefined; + s.guess___137957 = undefined; + s.m___137976 = undefined; + s.v___137985 = undefined; + s.i___138041 = undefined; + s.j___138046 = undefined; + s.mask___138047 = undefined; + s.c___138048 = undefined; + s.n___138065 = 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__P20455_mk(s); + s.tmp_2 = image_getFontForText__P132375_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___25926 = (s.arg2); - s.cp___25928 = (0); + s.x0___137850 = (s.arg2); + s.cp___137852 = (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___25929 = (s.tmp_3); + s.mult___137853 = (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___25929); - s.dataW___25934 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___137853); + s.dataW___137858 = (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___25929); - s.dataH___25940 = (r0); - r0 = (s.dataH___25940 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___137853); + s.dataH___137864 = (r0); + r0 = (s.dataH___137864 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - 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.byteHeight___137870 = (r0); + r0 = (s.byteHeight___137870 * s.dataW___137858); + s.charSize___137876 = (r0); + r0 = (2 + s.charSize___137876); + s.dataSize___137880 = (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___25960 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___25960); + s.fontdata___137884 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___137884); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___25956); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___137880); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___25963 = (r0); - r0 = (s.mult___25929 == 1); + s.lastchar___137887 = (r0); + r0 = (s.mult___137853 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___25952); + r0 = (8 + s.charSize___137876); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - 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); + s.imgBuf___137894 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___137894, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___137894, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___137894, 2, s.dataW___137858); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___137894, 4, s.dataH___137864); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___25928; + s.tmp_1 = r0 = s.cp___137852; 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___25994 = (0); - s.yOffset___25995 = (0); + s.xOffset___137918 = (0); + s.yOffset___137919 = (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___25928; + s.tmp_1 = r0 = s.cp___137852; 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___25928); + r0 = pxsim_Array__getAt(s.arg6, s.cp___137852); 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___25994 = (r0); + s.xOffset___137918 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___25928); + r0 = pxsim_Array__getAt(s.arg6, s.cp___137852); 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___25995 = (r0); + s.yOffset___137919 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___25928; + s.tmp_0 = r0 = s.cp___137852; r0 = (s.tmp_0 + 1); - s.cp___25928 = (r0); + s.cp___137852 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___26010 = (r0); - r0 = (s.ch___26010 == 10); + s.ch___137934 = (r0); + r0 = (s.ch___137934 == 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___25926); + s.arg2 = (s.x0___137850); case 14: case 15: - r0 = (s.ch___26010 < 32); + r0 = (s.ch___137934 < 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___26029 = (0); - s.r___26030 = (s.lastchar___25963); - s.off___26032 = (0); - r0 = (s.ch___26010 - 32); + s.l___137953 = (0); + s.r___137954 = (s.lastchar___137887); + s.off___137956 = (0); + r0 = (s.ch___137934 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___25956); - s.guess___26033 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___25960, 4, s.guess___26033); + r0 = (s.tmp_0 * s.dataSize___137880); + s.guess___137957 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___137884, 4, s.guess___137957); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___26010); + r0 = (s.tmp_1 == s.ch___137934); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___26032 = (s.guess___26033); + s.off___137956 = (s.guess___137957); { step = 25; continue; } case 18: case 19: - r0 = (s.l___26029 <= s.r___26030); + r0 = (s.l___137953 <= s.r___137954); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___26029; - r0 = (s.r___26030 - s.l___26029); + s.tmp_1 = r0 = s.l___137953; + r0 = (s.r___137954 - s.l___137953); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___26052 = (r0); - s.tmp_0 = r0 = s.fontdata___25960; - r0 = (s.m___26052 * s.dataSize___25956); + s.m___137976 = (r0); + s.tmp_0 = r0 = s.fontdata___137884; + r0 = (s.m___137976 * s.dataSize___137880); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___26061 = (r0); - r0 = (s.v___26061 == s.ch___26010); + s.v___137985 = (r0); + r0 = (s.v___137985 == s.ch___137934); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___26052 * s.dataSize___25956); - s.off___26032 = (r0); + r0 = (s.m___137976 * s.dataSize___137880); + s.off___137956 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___26061 < s.ch___26010); + r0 = (s.v___137985 < s.ch___137934); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___26052 + 1); - s.l___26029 = (r0); + r0 = (s.m___137976 + 1); + s.l___137953 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___26052 - 1); - s.r___26030 = (r0); + r0 = (s.m___137976 - 1); + s.r___137954 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___25929 == 1); + r0 = (s.mult___137853 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___25970; - s.tmp_3 = r0 = s.fontdata___25960; - r0 = (s.off___26032 + 2); + s.tmp_1 = r0 = s.imgBuf___137894; + s.tmp_3 = r0 = s.fontdata___137884; + r0 = (s.off___137956 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___25952); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___137876); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P20435_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P132355_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___25970; - r0 = (s.arg2 + s.xOffset___25994); + s.tmp_0.arg1 = s.imgBuf___137894; + r0 = (s.arg2 + s.xOffset___137918); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___25995); + r0 = (s.arg3 + s.yOffset___137919); 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___26032 + 2); - s.off___26032 = (r0); - s.i___26117 = (0); + r0 = (s.off___137956 + 2); + s.off___137956 = (r0); + s.i___138041 = (0); case 27: - r0 = (s.i___26117 < s.dataW___25934); + r0 = (s.i___138041 < s.dataW___137858); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___26122 = (0); - s.mask___26123 = (1); - s.tmp_0 = r0 = s.off___26032; + s.j___138046 = (0); + s.mask___138047 = (1); + s.tmp_0 = r0 = s.off___137956; r0 = (s.tmp_0 + 1); - s.off___26032 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___25960, s.tmp_0); - s.c___26124 = (r0); + s.off___137956 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___137884, s.tmp_0); + s.c___138048 = (r0); case 28: - r0 = (s.j___26122 < s.dataH___25940); + r0 = (s.j___138046 < s.dataH___137864); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___26123 == 256); + r0 = (s.mask___138047 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___26032; + s.tmp_2 = r0 = s.off___137956; r0 = (s.tmp_2 + 1); - s.off___26032 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___25960, s.tmp_2); - s.c___26124 = (r0); - s.mask___26123 = (1); + s.off___137956 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___137884, s.tmp_2); + s.c___138048 = (r0); + s.mask___138047 = (1); case 29: case 30: - s.n___26141 = (0); + s.n___138065 = (0); case 31: - r0 = (s.c___26124 & s.mask___26123); + r0 = (s.c___138048 & s.mask___138047); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___26141 + 1); - s.n___26141 = (r0); - r0 = (s.mask___26123 << 1); - s.mask___26123 = (r0); + r0 = (s.n___138065 + 1); + s.n___138065 = (r0); + r0 = (s.mask___138047 << 1); + s.mask___138047 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___26141); + r0 = pxsim_numops_toBoolDecr(s.n___138065); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P20436_mk(s); + s.tmp_0 = helpers_imageFillRect__P132356_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___25994 * s.mult___25929); + r0 = (s.xOffset___137918 * s.mult___137853); 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___26122 + s.yOffset___25995); + r0 = (s.j___138046 + s.yOffset___137919); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___25929); + r0 = (s.tmp_5 * s.mult___137853); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___25929; - r0 = (s.mult___25929 * s.n___26141); + s.tmp_0.arg3 = s.mult___137853; + r0 = (s.mult___137853 * s.n___138065); 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___26122 + s.n___26141); - s.j___26122 = (r0); + r0 = (s.j___138046 + s.n___138065); + s.j___138046 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___26123 << 1); - s.mask___26123 = (r0); - r0 = (s.j___26122 + 1); - s.j___26122 = (r0); + r0 = (s.mask___138047 << 1); + s.mask___138047 = (r0); + r0 = (s.j___138046 + 1); + s.j___138046 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___25929); + r0 = (s.arg2 + s.mult___137853); s.arg2 = (r0); - r0 = (s.i___26117 + 1); - s.i___26117 = (r0); + r0 = (s.i___138041 + 1); + s.i___138041 = (r0); { step = 27; continue; } case 36: case 37: @@ -6163,12 +6163,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_imagePrint__P132388.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__P20468_mk(s) { +function helpers_imagePrint__P132388_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P20468, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P132388, 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__P20468_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: 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, + x0___137850: undefined, + cp___137852: undefined, + mult___137853: undefined, + dataW___137858: undefined, + dataH___137864: undefined, + byteHeight___137870: undefined, + charSize___137876: undefined, + dataSize___137880: undefined, + fontdata___137884: undefined, + lastchar___137887: undefined, + imgBuf___137894: undefined, + xOffset___137918: undefined, + yOffset___137919: undefined, + ch___137934: undefined, + l___137953: undefined, + r___137954: undefined, + off___137956: undefined, + guess___137957: undefined, + m___137976: undefined, + v___137985: undefined, + i___138041: undefined, + j___138046: undefined, + mask___138047: undefined, + c___138048: undefined, + n___138065: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6214,7 +6214,7 @@ function helpers_imagePrint__P20468_mk(s) { -function helpers_imageDrawIcon__P20435(s) { +function helpers_imageDrawIcon__P132355(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__P22336_mk(s); + s.tmp_3 = helpers_pack__P134256_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__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"]} +helpers_imageDrawIcon__P132355.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__P20435_mk(s) { +function helpers_imageDrawIcon__P132355_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P20435, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P132355, 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__P20435_mk(s) { -function helpers_pack__P22336(s) { +function helpers_pack__P134256(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__P18830_mk(s); + s.tmp_2 = Math_clamp__P130750_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__P18830_mk(s); + s.tmp_5 = Math_clamp__P130750_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__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"]} +helpers_pack__P134256.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__P22336_mk(s) { +function helpers_pack__P134256_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P22336, depth: s.depth + 1, + parent: s, fn: helpers_pack__P134256, 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__P22336_mk(s) { -function Math_clamp__P18830(s) { +function Math_clamp__P130750(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__P18834_mk(s); + s.tmp_0 = Math_min__P130754_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P18833_mk(s); + s.tmp_1 = Math_max__P130753_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__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"]} +Math_clamp__P130750.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__P18830_mk(s) { +function Math_clamp__P130750_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P18830, depth: s.depth + 1, + parent: s, fn: Math_clamp__P130750, 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__P18830_mk(s) { -function image_getFontForText__P20455(s) { +function image_getFontForText__P132375(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___26590 = undefined; + s.i___138514 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___26590 = (0); + s.i___138514 = (0); case 1: - s.tmp_1 = r0 = s.i___26590; + s.tmp_1 = r0 = s.i___138514; 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___26590); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___138514); 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___20454; + r0 = globals.font12___132374; { step = 5; continue; } case 2: case 3: - r0 = (s.i___26590 + 1); - s.i___26590 = (r0); + r0 = (s.i___138514 + 1); + s.i___138514 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___20453; + r0 = globals.font8___132373; case 5: return leave(s, r0) default: oops() } } } -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"]} +image_getFontForText__P132375.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__P20455_mk(s) { +function image_getFontForText__P132375_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P20455, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P132375, 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___26590: undefined, + i___138514: undefined, arg0: undefined, } } @@ -6442,7 +6442,7 @@ function image_getFontForText__P20455_mk(s) { -function helpers_imageFillRect__P20436(s) { +function helpers_imageFillRect__P132356(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__P22336_mk(s); + s.tmp_2 = helpers_pack__P134256_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__P22336_mk(s); + s.tmp_4 = helpers_pack__P134256_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__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"]} +helpers_imageFillRect__P132356.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__P20436_mk(s) { +function helpers_imageFillRect__P132356_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P20436, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P132356, 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__P20436_mk(s) { -function control_EventContext_deltaTime__P19097(s) { +function control_EventContext_deltaTime__P131017(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__C19092_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C131012_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__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; +control_EventContext_deltaTime__P131017.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__P131017.isGetter = true; -function control_EventContext_deltaTime__P19097_mk(s) { +function control_EventContext_deltaTime__P131017_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P19097, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P131017, 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__P19097_mk(s) { -function JSON_stringify__P19084(s) { +function JSON_stringify__P131004(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___26622 = undefined; + s.ss___138546 = 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__C22257_VT); - s.ss___26622 = (r0); - s.tmp_0 = r0 = s.ss___26622; + r0 = pxsim_pxtcore_mkClassInstance(JSON_Stringifier__C134177_VT); + s.ss___138546 = (r0); + s.tmp_0 = r0 = s.ss___138546; 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___26622; + s.tmp_0 = r0 = s.ss___138546; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["indentStep"] = (s.tmp_1); - s.tmp_0 = r0 = s.ss___26622; + s.tmp_0 = r0 = s.ss___138546; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); - r0 = (s.ss___26622).fields["indent"] = (s.arg2); + r0 = (s.ss___138546).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___26622; + s.tmp_2 = r0 = s.ss___138546; 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__P22259_mk(s); - s.tmp_0.arg0 = s.ss___26622; + s.tmp_0 = JSON_Stringifier_go__P134179_mk(s); + s.tmp_0.arg0 = s.ss___138546; 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__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"]} +JSON_stringify__P131004.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__P19084_mk(s) { +function JSON_stringify__P131004_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_stringify__P19084, depth: s.depth + 1, + parent: s, fn: JSON_stringify__P131004, 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__P19084_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ss___26622: undefined, + ss___138546: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6648,7 +6648,7 @@ function JSON_stringify__P19084_mk(s) { -function JSON_Stringifier_go__P22259(s) { +function JSON_Stringifier_go__P134179(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___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; + s.t___138587 = undefined; + s.arr___138611 = undefined; + s.r___138617 = undefined; + s.i___138634 = undefined; + s.keys___138698 = undefined; + s.r___138705 = undefined; + s.i___138722 = undefined; + s.k___138728 = 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__C22257_VT)) failedCast(r0); + if (!checkSubtype(r0, JSON_Stringifier__C134177_VT)) failedCast(r0); r0 = pxsim_pxtcore.typeOf(s.arg1); - s.t___26663 = (r0); - r0 = (s.t___26663 == "string"); + s.t___138587 = (r0); + r0 = (s.t___138587 == "string"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = JSON_Stringifier_doString__P22258_mk(s); + s.tmp_1 = JSON_Stringifier_doString__P134178_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___26663 == "boolean"); + r0 = (s.t___138587 == "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___26663 == "number"); + r0 = (s.t___138587 == "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___26687 = (s.arg1); - r0 = pxsim_Array__length(s.arr___26687); + s.arr___138611 = (s.arg1); + r0 = pxsim_Array__length(s.arr___138611); 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___26693 = ("["); + s.r___138617 = ("["); 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___26693) && (s.r___26693).vtable) { + if ((s.r___138617) && (s.r___138617).vtable) { setupResume(s, 42); - pxsim_String__stringConv(s.r___26693); + pxsim_String__stringConv(s.r___138617); checkResumeConsumed(); return; - } else { s.retval = (s.r___26693) + ""; } + } else { s.retval = (s.r___138617) + ""; } case 42: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___26693 = (r0); + s.r___138617 = (r0); case 8: case 9: - s.i___26710 = (0); + s.i___138634 = (0); case 10: - s.tmp_1 = r0 = s.i___26710; - r0 = pxsim_Array__length(s.arr___26687); + s.tmp_1 = r0 = s.i___138634; + r0 = pxsim_Array__length(s.arr___138611); 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___26693) && (s.r___26693).vtable) { + if ((s.r___138617) && (s.r___138617).vtable) { setupResume(s, 43); - pxsim_String__stringConv(s.r___26693); + pxsim_String__stringConv(s.r___138617); checkResumeConsumed(); return; - } else { s.retval = (s.r___26693) + ""; } + } else { s.retval = (s.r___138617) + ""; } 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__P22259_mk(s); + s.tmp_10 = JSON_Stringifier_go__P134179_mk(s); s.tmp_10.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.arr___26687, s.i___26710); + r0 = pxsim_Array__getAt(s.arr___138611, s.i___138634); 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___26693 = (r0); - s.tmp_1 = r0 = s.i___26710; - r0 = pxsim_Array__length(s.arr___26687); + s.r___138617 = (r0); + s.tmp_1 = r0 = s.i___138634; + r0 = pxsim_Array__length(s.arr___138611); 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___26693) && (s.r___26693).vtable) { + if ((s.r___138617) && (s.r___138617).vtable) { setupResume(s, 48); - pxsim_String__stringConv(s.r___26693); + pxsim_String__stringConv(s.r___138617); checkResumeConsumed(); return; - } else { s.retval = (s.r___26693) + ""; } + } else { s.retval = (s.r___138617) + ""; } case 48: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___26693 = (r0); + s.r___138617 = (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___26693) && (s.r___26693).vtable) { + if ((s.r___138617) && (s.r___138617).vtable) { setupResume(s, 49); - pxsim_String__stringConv(s.r___26693); + pxsim_String__stringConv(s.r___138617); checkResumeConsumed(); return; - } else { s.retval = (s.r___26693) + ""; } + } else { s.retval = (s.r___138617) + ""; } case 49: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___26693 = (r0); + s.r___138617 = (r0); case 13: case 14: - r0 = (s.i___26710 + 1); - s.i___26710 = (r0); + r0 = (s.i___138634 + 1); + s.i___138634 = (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__P18823_mk(s); + s.tmp_3 = helpers_stringSlice__P130743_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___26693) && (s.r___26693).vtable) { + if ((s.r___138617) && (s.r___138617).vtable) { setupResume(s, 51); - pxsim_String__stringConv(s.r___26693); + pxsim_String__stringConv(s.r___138617); checkResumeConsumed(); return; - } else { s.retval = (s.r___26693) + ""; } + } else { s.retval = (s.r___138617) + ""; } 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___26693 = (r0); - r0 = s.r___26693; + s.r___138617 = (r0); + r0 = s.r___138617; { step = 37; continue; } case 18: { step = 34; continue; } case 19: r0 = pxsim_pxtrt.keysOf(s.arg1); - s.keys___26774 = (r0); - r0 = pxsim_Array__length(s.keys___26774); + s.keys___138698 = (r0); + r0 = pxsim_Array__length(s.keys___138698); 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___26781 = ("{"); + s.r___138705 = ("{"); 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___26781) && (s.r___26781).vtable) { + if ((s.r___138705) && (s.r___138705).vtable) { setupResume(s, 56); - pxsim_String__stringConv(s.r___26781); + pxsim_String__stringConv(s.r___138705); checkResumeConsumed(); return; - } else { s.retval = (s.r___26781) + ""; } + } else { s.retval = (s.r___138705) + ""; } case 56: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___26781 = (r0); + s.r___138705 = (r0); case 22: case 23: - s.i___26798 = (0); + s.i___138722 = (0); case 24: - s.tmp_1 = r0 = s.i___26798; - r0 = pxsim_Array__length(s.keys___26774); + s.tmp_1 = r0 = s.i___138722; + r0 = pxsim_Array__length(s.keys___138698); 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___26774, s.i___26798); - s.k___26804 = (r0); - if ((s.r___26781) && (s.r___26781).vtable) { + r0 = pxsim_Array__getAt(s.keys___138698, s.i___138722); + s.k___138728 = (r0); + if ((s.r___138705) && (s.r___138705).vtable) { setupResume(s, 57); - pxsim_String__stringConv(s.r___26781); + pxsim_String__stringConv(s.r___138705); checkResumeConsumed(); return; - } else { s.retval = (s.r___26781) + ""; } + } else { s.retval = (s.r___138705) + ""; } 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__P22258_mk(s); + s.tmp_7 = JSON_Stringifier_doString__P134178_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.k___26804; + s.tmp_7.arg1 = s.k___138728; 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___26781 = (r0); + s.r___138705 = (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___26781) && (s.r___26781).vtable) { + if ((s.r___138705) && (s.r___138705).vtable) { setupResume(s, 62); - pxsim_String__stringConv(s.r___26781); + pxsim_String__stringConv(s.r___138705); checkResumeConsumed(); return; - } else { s.retval = (s.r___26781) + ""; } + } else { s.retval = (s.r___138705) + ""; } case 62: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, ": "); - s.r___26781 = (r0); + s.r___138705 = (r0); { step = 26; continue; } case 25: - if ((s.r___26781) && (s.r___26781).vtable) { + if ((s.r___138705) && (s.r___138705).vtable) { setupResume(s, 63); - pxsim_String__stringConv(s.r___26781); + pxsim_String__stringConv(s.r___138705); checkResumeConsumed(); return; - } else { s.retval = (s.r___26781) + ""; } + } else { s.retval = (s.r___138705) + ""; } case 63: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, ":"); - s.r___26781 = (r0); + s.r___138705 = (r0); case 26: - if ((s.r___26781) && (s.r___26781).vtable) { + if ((s.r___138705) && (s.r___138705).vtable) { setupResume(s, 64); - pxsim_String__stringConv(s.r___26781); + pxsim_String__stringConv(s.r___138705); checkResumeConsumed(); return; - } else { s.retval = (s.r___26781) + ""; } + } else { s.retval = (s.r___138705) + ""; } case 64: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = JSON_Stringifier_go__P22259_mk(s); + s.tmp_3 = JSON_Stringifier_go__P134179_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___26804); + r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___138728); 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___26781 = (r0); - s.tmp_1 = r0 = s.i___26798; - r0 = pxsim_Array__length(s.keys___26774); + s.r___138705 = (r0); + s.tmp_1 = r0 = s.i___138722; + r0 = pxsim_Array__length(s.keys___138698); 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___26781) && (s.r___26781).vtable) { + if ((s.r___138705) && (s.r___138705).vtable) { setupResume(s, 67); - pxsim_String__stringConv(s.r___26781); + pxsim_String__stringConv(s.r___138705); checkResumeConsumed(); return; - } else { s.retval = (s.r___26781) + ""; } + } else { s.retval = (s.r___138705) + ""; } case 67: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___26781 = (r0); + s.r___138705 = (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___26781) && (s.r___26781).vtable) { + if ((s.r___138705) && (s.r___138705).vtable) { setupResume(s, 68); - pxsim_String__stringConv(s.r___26781); + pxsim_String__stringConv(s.r___138705); checkResumeConsumed(); return; - } else { s.retval = (s.r___26781) + ""; } + } else { s.retval = (s.r___138705) + ""; } case 68: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___26781 = (r0); + s.r___138705 = (r0); case 29: case 30: - r0 = (s.i___26798 + 1); - s.i___26798 = (r0); + r0 = (s.i___138722 + 1); + s.i___138722 = (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__P18823_mk(s); + s.tmp_3 = helpers_stringSlice__P130743_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___26781) && (s.r___26781).vtable) { + if ((s.r___138705) && (s.r___138705).vtable) { setupResume(s, 70); - pxsim_String__stringConv(s.r___26781); + pxsim_String__stringConv(s.r___138705); checkResumeConsumed(); return; - } else { s.retval = (s.r___26781) + ""; } + } else { s.retval = (s.r___138705) + ""; } 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___26781 = (r0); - r0 = s.r___26781; + s.r___138705 = (r0); + r0 = s.r___138705; { step = 37; continue; } case 34: case 35: @@ -7219,12 +7219,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +JSON_Stringifier_go__P134179.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__P22259_mk(s) { +function JSON_Stringifier_go__P134179_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_go__P22259, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_go__P134179, 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__P22259_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: 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, + t___138587: undefined, + arr___138611: undefined, + r___138617: undefined, + i___138634: undefined, + keys___138698: undefined, + r___138705: undefined, + i___138722: undefined, + k___138728: undefined, arg0: undefined, arg1: undefined, } } @@ -7253,7 +7253,7 @@ function JSON_Stringifier_go__P22259_mk(s) { -function JSON_Stringifier_doString__P22258(s) { +function JSON_Stringifier_doString__P134178(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___26921 = undefined; - s.i___26922 = undefined; - s.c___26928 = undefined; + s.r___138845 = undefined; + s.i___138846 = undefined; + s.c___138852 = 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__C22257_VT)) failedCast(r0); - s.r___26921 = ("\""); - s.i___26922 = (0); + if (!checkSubtype(r0, JSON_Stringifier__C134177_VT)) failedCast(r0); + s.r___138845 = ("\""); + s.i___138846 = (0); case 1: - s.tmp_1 = r0 = s.i___26922; + s.tmp_1 = r0 = s.i___138846; 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___26922); - s.c___26928 = (r0); - r0 = (s.c___26928 == "\n"); + r0 = pxsim_String_.charAt(s.arg1, s.i___138846); + s.c___138852 = (r0); + r0 = (s.c___138852 == "\n"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.c___26928 = ("\\n"); + s.c___138852 = ("\\n"); { step = 13; continue; } case 2: - r0 = (s.c___26928 == "\r"); + r0 = (s.c___138852 == "\r"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.c___26928 = ("\\r"); + s.c___138852 = ("\\r"); { step = 12; continue; } case 3: - r0 = (s.c___26928 == "\t"); + r0 = (s.c___138852 == "\t"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.c___26928 = ("\\t"); + s.c___138852 = ("\\t"); { step = 11; continue; } case 4: - r0 = (s.c___26928 == "\b"); + r0 = (s.c___138852 == "\b"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.c___26928 = ("\\b"); + s.c___138852 = ("\\b"); { step = 10; continue; } case 5: - r0 = (s.c___26928 == "\\"); + r0 = (s.c___138852 == "\\"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.c___26928 = ("\\\\"); + s.c___138852 = ("\\\\"); { step = 9; continue; } case 6: - r0 = (s.c___26928 == "\""); + r0 = (s.c___138852 == "\""); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.c___26928 = ("\\\""); + s.c___138852 = ("\\\""); case 7: case 8: case 9: @@ -7332,36 +7332,36 @@ switch (step) { case 11: case 12: case 13: - if ((s.r___26921) && (s.r___26921).vtable) { + if ((s.r___138845) && (s.r___138845).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___26921); + pxsim_String__stringConv(s.r___138845); checkResumeConsumed(); return; - } else { s.retval = (s.r___26921) + ""; } + } else { s.retval = (s.r___138845) + ""; } case 15: r0 = s.retval; s.tmp_0 = r0; - if ((s.c___26928) && (s.c___26928).vtable) { + if ((s.c___138852) && (s.c___138852).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.c___26928); + pxsim_String__stringConv(s.c___138852); checkResumeConsumed(); return; - } else { s.retval = (s.c___26928) + ""; } + } else { s.retval = (s.c___138852) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___26921 = (r0); - r0 = (s.i___26922 + 1); - s.i___26922 = (r0); + s.r___138845 = (r0); + r0 = (s.i___138846 + 1); + s.i___138846 = (r0); { step = 1; continue; } case 14: - if ((s.r___26921) && (s.r___26921).vtable) { + if ((s.r___138845) && (s.r___138845).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___26921); + pxsim_String__stringConv(s.r___138845); checkResumeConsumed(); return; - } else { s.retval = (s.r___26921) + ""; } + } else { s.retval = (s.r___138845) + ""; } case 17: r0 = s.retval; s.tmp_0 = r0; @@ -7369,19 +7369,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +JSON_Stringifier_doString__P134178.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__P22258_mk(s) { +function JSON_Stringifier_doString__P134178_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_doString__P22258, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_doString__P134178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - r___26921: undefined, - i___26922: undefined, - c___26928: undefined, + r___138845: undefined, + i___138846: undefined, + c___138852: undefined, arg0: undefined, arg1: undefined, } } @@ -7390,7 +7390,7 @@ function JSON_Stringifier_doString__P22258_mk(s) { -function helpers_stringSlice__P18823(s) { +function helpers_stringSlice__P130743(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___26891 = undefined; + s.len___138815 = 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___26891 = (r0); + s.len___138815 = (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__P18833_mk(s); - r0 = (s.len___26891 + s.arg1); + s.tmp_1 = Math_max__P130753_mk(s); + r0 = (s.len___138815 + 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___26891); + s.arg2 = (s.len___138815); 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___26891 + s.arg2); + r0 = (s.len___138815 + s.arg2); s.arg2 = (r0); case 5: case 6: @@ -7446,17 +7446,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_stringSlice__P130743.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__P18823_mk(s) { +function helpers_stringSlice__P130743_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P18823, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P130743, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___26891: undefined, + len___138815: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7466,7 +7466,7 @@ function helpers_stringSlice__P18823_mk(s) { -function console_inspect__P19079(s) { +function console_inspect__P130999(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___26980 = undefined; - s.asString___26998 = undefined; - s.keys___27010 = undefined; - s.snipped___27014 = undefined; + s.asArr___138904 = undefined; + s.asString___138922 = undefined; + s.keys___138934 = undefined; + s.snipped___138938 = 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___26980 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___26980); + s.asArr___138904 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___138904); 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__P18809_mk(s); - s.tmp_2.arg0 = s.asArr___26980; + s.tmp_2 = helpers_arrayJoin__P130729_mk(s); + s.tmp_2.arg0 = s.asArr___138904; 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__P18809_mk(s); - s.tmp_8 = helpers_arraySlice__P18820_mk(s); - s.tmp_8.arg0 = s.asArr___26980; + s.tmp_7 = helpers_arrayJoin__P130729_mk(s); + s.tmp_8 = helpers_arraySlice__P130740_mk(s); + s.tmp_8.arg0 = s.asArr___138904; 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___26998 = (r0); - r0 = (s.asString___26998 != "[object Object]"); + s.asString___138922 = (r0); + r0 = (s.asString___138922 != "[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___26998 != "[Object]"); + r0 = (s.asString___138922 != "[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___26998; + r0 = s.asString___138922; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___27010 = (r0); - r0 = pxsim_Array__length(s.keys___27010); + s.keys___138934 = (r0); + r0 = pxsim_Array__length(s.keys___138934); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___27014 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___27014); + s.snipped___138938 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___138938); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P18820_mk(s); - s.tmp_0.arg0 = s.keys___27010; + s.tmp_0 = helpers_arraySlice__P130740_mk(s); + s.tmp_0.arg0 = s.keys___138934; 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___27010 = (r0); + s.keys___138934 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P27031); + r0 = pxsim_pxtcore_mkAction(1, inline__P138955); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___27014); + r0 = pxsim_numops_toBoolDecr(s.snipped___138938); 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__P18818_mk(s); - s.tmp_7.arg0 = s.keys___27010; + s.tmp_7 = helpers_arrayReduce__P130738_mk(s); + s.tmp_7.arg0 = s.keys___138934; 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__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"]} +console_inspect__P130999.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__P19079_mk(s) { +function console_inspect__P130999_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P19079, depth: s.depth + 1, + parent: s, fn: console_inspect__P130999, 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__P19079_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___26980: undefined, - asString___26998: undefined, - keys___27010: undefined, - snipped___27014: undefined, + asArr___138904: undefined, + asString___138922: undefined, + keys___138934: undefined, + snipped___138938: undefined, arg0: undefined, arg1: undefined, } } @@ -7708,7 +7708,7 @@ function console_inspect__P19079_mk(s) { -function inline__P27031(s) { +function inline__P138955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7771,12 +7771,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P138955.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__P27031_mk(s) { +function inline__P138955_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27031, depth: s.depth + 1, + parent: s, fn: inline__P138955, 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__P27031_mk(s) { -function helpers_arraySlice__P18820(s) { +function helpers_arraySlice__P130740(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___27079 = undefined; - s.len___27081 = undefined; - s.i___27115 = undefined; + s.res___139003 = undefined; + s.len___139005 = undefined; + s.i___139039 = 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___27079 = (r0); + s.res___139003 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___27081 = (r0); + s.len___139005 = (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__P18833_mk(s); - r0 = (s.len___27081 + s.arg1); + s.tmp_1 = Math_max__P130753_mk(s); + r0 = (s.len___139005 + 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___27081); + r0 = (s.arg1 > s.len___139005); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___27079; + r0 = s.res___139003; { 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___27081); + s.arg2 = (s.len___139005); { 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___27081 + s.arg2); + r0 = (s.len___139005 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___27081); + r0 = (s.arg2 > s.len___139005); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___27081); + s.arg2 = (s.len___139005); case 11: case 12: - s.i___27115 = (s.arg1); + s.i___139039 = (s.arg1); case 13: - r0 = (s.i___27115 < s.arg2); + r0 = (s.i___139039 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___27079; - r0 = pxsim_Array__getAt(s.arg0, s.i___27115); + s.tmp_1 = r0 = s.res___139003; + r0 = pxsim_Array__getAt(s.arg0, s.i___139039); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___27115 + 1); - s.i___27115 = (r0); + r0 = (s.i___139039 + 1); + s.i___139039 = (r0); { step = 13; continue; } case 14: - r0 = s.res___27079; + r0 = s.res___139003; case 15: return leave(s, r0) default: oops() } } } -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"]} +helpers_arraySlice__P130740.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__P18820_mk(s) { +function helpers_arraySlice__P130740_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P18820, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P130740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___27079: undefined, - len___27081: undefined, - i___27115: undefined, + res___139003: undefined, + len___139005: undefined, + i___139039: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7911,7 +7911,7 @@ function helpers_arraySlice__P18820_mk(s) { -function helpers_arrayReduce__P18818(s) { +function helpers_arrayReduce__P130738(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___27058 = undefined; - s.i___27061 = undefined; + s.len___138982 = undefined; + s.i___138985 = 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___27058 = (r0); - s.i___27061 = (0); + s.len___138982 = (r0); + s.i___138985 = (0); case 1: - r0 = (s.i___27061 < s.len___27058); + r0 = (s.i___138985 < s.len___138982); 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___27061); + r0 = pxsim_Array__getAt(s.arg0, s.i___138985); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___27061; + s.tmp_1.arg2 = s.i___138985; 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___27061 + 1); - s.i___27061 = (r0); + r0 = (s.i___138985 + 1); + s.i___138985 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayReduce__P130738.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__P18818_mk(s) { +function helpers_arrayReduce__P130738_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P18818, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P130738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___27058: undefined, - i___27061: undefined, + len___138982: undefined, + i___138985: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7976,7 +7976,7 @@ function helpers_arrayReduce__P18818_mk(s) { -function Fx_toInt__P18873(s) { +function Fx_toInt__P130793(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__P18873.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__P130793.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__P18873_mk(s) { +function Fx_toInt__P130793_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P18873, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P130793, 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__P18873_mk(s) { -function Math_min__P18834(s) { +function Math_min__P130754(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__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"]} +Math_min__P130754.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__P18834_mk(s) { +function Math_min__P130754_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P18834, depth: s.depth + 1, + parent: s, fn: Math_min__P130754, 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__P18834_mk(s) { -function Math_max__P18833(s) { +function Math_max__P130753(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__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"]} +Math_max__P130753.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__P18833_mk(s) { +function Math_max__P130753_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P18833, depth: s.depth + 1, + parent: s, fn: Math_max__P130753, 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__P18833_mk(s) { -function helpers_stringSplit__P18825(s) { +function helpers_stringSplit__P130745(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___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; + s.A___139057 = undefined; + s.lim___139059 = undefined; + s.s___139075 = undefined; + s.p___139078 = undefined; + s.R___139079 = undefined; + s.z___139093 = undefined; + s.T___139106 = undefined; + s.q___139107 = undefined; + s.e___139113 = 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___27133 = (r0); - s.lim___27135 = (0); + s.A___139057 = (r0); + s.lim___139059 = (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___27135 = (r0); + s.lim___139059 = (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___27135 = (0); + s.lim___139059 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___27135 = (r0); + s.lim___139059 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___27151 = (r0); - s.p___27154 = (0); - s.R___27155 = (s.arg1); - r0 = (s.lim___27135 == 0); + s.s___139075 = (r0); + s.p___139078 = (0); + s.R___139079 = (s.arg1); + r0 = (s.lim___139059 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___27133; + r0 = s.A___139057; { 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___27133, 0, s.arg0); - r0 = s.A___27133; + r0 = pxsim_Array_.setAt(s.A___139057, 0, s.arg0); + r0 = s.A___139057; { step = 21; continue; } case 7: case 8: - r0 = (s.s___27151 == 0); + r0 = (s.s___139075 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P22195_mk(s); + s.tmp_1 = helpers_splitMatch__P134115_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___27155; + s.tmp_1.arg2 = s.R___139079; s.callLocIdx = 11; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___27169 = (r0); - r0 = (s.z___27169 > -1); + s.z___139093 = (r0); + r0 = (s.z___139093 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___27133; + r0 = s.A___139057; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___27133, 0, s.arg0); - r0 = s.A___27133; + r0 = pxsim_Array_.setAt(s.A___139057, 0, s.arg0); + r0 = s.A___139057; { step = 21; continue; } case 11: case 12: - s.q___27183 = (s.p___27154); + s.q___139107 = (s.p___139078); case 13: - r0 = (s.q___27183 != s.s___27151); + r0 = (s.q___139107 != s.s___139075); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P22195_mk(s); + s.tmp_1 = helpers_splitMatch__P134115_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___27183; - s.tmp_1.arg2 = s.R___27155; + s.tmp_1.arg1 = s.q___139107; + s.tmp_1.arg2 = s.R___139079; s.callLocIdx = 12; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___27189 = (r0); - r0 = (s.e___27189 < 0); + s.e___139113 = (r0); + r0 = (s.e___139113 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___27183 + 1); - s.q___27183 = (r0); + r0 = (s.q___139107 + 1); + s.q___139107 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___27189 == s.p___27154); + r0 = (s.e___139113 == s.p___139078); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___27183 + 1); - s.q___27183 = (r0); + r0 = (s.q___139107 + 1); + s.q___139107 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P18823_mk(s); + s.tmp_0 = helpers_stringSlice__P130743_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___27154; - s.tmp_0.arg2 = s.q___27183; + s.tmp_0.arg1 = s.p___139078; + s.tmp_0.arg2 = s.q___139107; s.callLocIdx = 13; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___27182 = (r0); - r0 = pxsim_Array__push(s.A___27133, s.T___27182); - r0 = pxsim_Array__length(s.A___27133); + s.T___139106 = (r0); + r0 = pxsim_Array__push(s.A___139057, s.T___139106); + r0 = pxsim_Array__length(s.A___139057); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___27135); + r0 = (s.tmp_1 == s.lim___139059); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___27133; + r0 = s.A___139057; { step = 21; continue; } case 16: case 17: - s.p___27154 = (s.e___27189); - s.q___27183 = (s.p___27154); + s.p___139078 = (s.e___139113); + s.q___139107 = (s.p___139078); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P18823_mk(s); + s.tmp_0 = helpers_stringSlice__P130743_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___27154; - s.tmp_0.arg2 = s.q___27183; + s.tmp_0.arg1 = s.p___139078; + s.tmp_0.arg2 = s.q___139107; s.callLocIdx = 14; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___27182 = (r0); - r0 = pxsim_Array__push(s.A___27133, s.T___27182); - r0 = s.A___27133; + s.T___139106 = (r0); + r0 = pxsim_Array__push(s.A___139057, s.T___139106); + r0 = s.A___139057; case 21: return leave(s, r0) default: oops() } } } -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"]} +helpers_stringSplit__P130745.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__P18825_mk(s) { +function helpers_stringSplit__P130745_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P18825, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P130745, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: 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, + A___139057: undefined, + lim___139059: undefined, + s___139075: undefined, + p___139078: undefined, + R___139079: undefined, + z___139093: undefined, + T___139106: undefined, + q___139107: undefined, + e___139113: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8288,7 +8288,7 @@ function helpers_stringSplit__P18825_mk(s) { -function helpers_splitMatch__P22195(s) { +function helpers_splitMatch__P134115(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___27234 = undefined; - s.s___27237 = undefined; - s.i___27247 = undefined; + s.r___139158 = undefined; + s.s___139161 = undefined; + s.i___139171 = 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___27234 = (r0); + s.r___139158 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___27237 = (r0); - r0 = (s.arg1 + s.r___27234); + s.s___139161 = (r0); + r0 = (s.arg1 + s.r___139158); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___27237); + r0 = (s.tmp_1 > s.s___139161); 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___27247 = (0); + s.i___139171 = (0); case 3: - r0 = (s.i___27247 < s.r___27234); + r0 = (s.i___139171 < s.r___139158); 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___27247); + r0 = (s.arg1 + s.i___139171); 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___27247); + r0 = pxsim_String_.charAt(s.arg2, s.i___139171); 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___27247 + 1); - s.i___27247 = (r0); + r0 = (s.i___139171 + 1); + s.i___139171 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___27234); + r0 = (s.arg1 + s.r___139158); case 7: return leave(s, r0) default: oops() } } } -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"]} +helpers_splitMatch__P134115.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__P22195_mk(s) { +function helpers_splitMatch__P134115_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P22195, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P134115, 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__P22195_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___27234: undefined, - s___27237: undefined, - i___27247: undefined, + r___139158: undefined, + s___139161: undefined, + i___139171: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8376,7 +8376,7 @@ function helpers_splitMatch__P22195_mk(s) { -function helpers_arrayJoin__P18809(s) { +function helpers_arrayJoin__P130729(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___27278 = undefined; - s.len___27279 = undefined; - s.i___27282 = undefined; + s.r___139202 = undefined; + s.len___139203 = undefined; + s.i___139206 = 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___27278 = (r0); + s.r___139202 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___27279 = (r0); - s.i___27282 = (0); + s.len___139203 = (r0); + s.i___139206 = (0); case 5: - r0 = (s.i___27282 < s.len___27279); + r0 = (s.i___139206 < s.len___139203); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___27282 > 0); + r0 = (s.i___139206 > 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___27278) && (s.r___27278).vtable) { + if ((s.r___139202) && (s.r___139202).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___27278); + pxsim_String__stringConv(s.r___139202); checkResumeConsumed(); return; - } else { s.retval = (s.r___27278) + ""; } + } else { s.retval = (s.r___139202) + ""; } 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___27278 = (r0); + s.r___139202 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___27282); + r0 = pxsim_Array__getAt(s.arg0, s.i___139206); 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___27282); + r0 = pxsim_Array__getAt(s.arg0, s.i___139206); 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___27282); + r0 = pxsim_Array__getAt(s.arg0, s.i___139206); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___27278) && (s.r___27278).vtable) { + if ((s.r___139202) && (s.r___139202).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___27278); + pxsim_String__stringConv(s.r___139202); checkResumeConsumed(); return; - } else { s.retval = (s.r___27278) + ""; } + } else { s.retval = (s.r___139202) + ""; } 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___27278 = (r0); - r0 = (s.i___27282 + 1); - s.i___27282 = (r0); + s.r___139202 = (r0); + r0 = (s.i___139206 + 1); + s.i___139206 = (r0); { step = 5; continue; } case 14: - r0 = s.r___27278; + r0 = s.r___139202; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayJoin__P130729.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__P18809_mk(s) { +function helpers_arrayJoin__P130729_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P18809, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P130729, 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__P18809_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___27278: undefined, - len___27279: undefined, - i___27282: undefined, + r___139202: undefined, + len___139203: undefined, + i___139206: undefined, arg0: undefined, arg1: undefined, } } @@ -8532,7 +8532,7 @@ function helpers_arrayJoin__P18809_mk(s) { -function game_onUpdate__P21251(s) { +function game_onUpdate__P133171(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__P22592_mk(s); + s.tmp_0 = game_init__P134512_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__P19100_mk(s); - s.tmp_3 = game_eventContext__P21243_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P131020_mk(s); + s.tmp_3 = game_eventContext__P133163_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__P21251.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__P133171.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__P21251_mk(s) { +function game_onUpdate__P133171_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P21251, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P133171, 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__P21251_mk(s) { -function game_init__P22592(s) { +function game_init__P134512(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___22584); + r0 = pxsim_numops_toBoolDecr(globals._scene___134504); 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__C21127_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C133047_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P21148_mk(s); + s.tmp_4 = scene_Scene_constructor__P133068_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P19106_mk(s); + s.tmp_5 = control_pushEventContext__P131026_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___22584; + s.tmp_4.arg2 = globals._scene___134504; s.callLocIdx = 920; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___22584 = (s.tmp_3); + globals._scene___134504 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P21149_mk(s); - s.tmp_0.arg0 = globals._scene___22584; + s.tmp_0 = scene_Scene_init__P133069_mk(s); + s.tmp_0.arg0 = globals._scene___134504; s.callLocIdx = 921; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___21238); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___133158); 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___21238 = (globals.confetti___21509); + globals.winEffect___133158 = (globals.confetti___133429); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___21239); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___133159); 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___21239 = (globals.melt___21530); + globals.loseEffect___133159 = (globals.melt___133450); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___22583); + r0 = pxsim_numops_toBoolDecr(globals.winSound___134503); 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___22583 = (globals.powerUp___20326); + globals.winSound___134503 = (globals.powerUp___132246); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___22581); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___134501); 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___22581 = (globals.wawawawaa___20323); + globals.loseSound___134501 = (globals.wawawawaa___132243); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +game_init__P134512.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__P22592_mk(s) { +function game_init__P134512_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P22592, depth: s.depth + 1, + parent: s, fn: game_init__P134512, 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__P22592_mk(s) { -function inline__P28354(s) { +function inline__P140278(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___28357 = undefined; - s.j___28365 = undefined; - s.x___28370 = undefined; - s.y___28376 = undefined; - s.c___28382 = undefined; + s.rounds___140281 = undefined; + s.j___140289 = undefined; + s.x___140294 = undefined; + s.y___140300 = undefined; + s.c___140306 = 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___28357 = (r0); - s.j___28365 = (0); + s.rounds___140281 = (r0); + s.j___140289 = (0); case 1: - r0 = (s.j___28365 < s.rounds___28357); + r0 = (s.j___140289 < s.rounds___140281); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P21298_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P133218_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___28370 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21298_mk(s); + s.x___140294 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P133218_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___28376 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___28370, s.y___28376); - s.c___28382 = (r0); + s.y___140300 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___140294, s.y___140300); + s.c___140306 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___28370; - r0 = (s.y___28376 + 1); + s.tmp_1 = r0 = s.x___140294; + r0 = (s.y___140300 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___28382); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___140306); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___28370; - r0 = (s.y___28376 + 2); + s.tmp_1 = r0 = s.x___140294; + r0 = (s.y___140300 + 2); s.tmp_2 = 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); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___140306); + r0 = (s.j___140289 + 1); + s.j___140289 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +inline__P140278.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__P28354_mk(s) { +function inline__P140278_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28354, depth: s.depth + 1, + parent: s, fn: inline__P140278, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___28357: undefined, - j___28365: undefined, - x___28370: undefined, - y___28376: undefined, - c___28382: undefined, + rounds___140281: undefined, + j___140289: undefined, + x___140294: undefined, + y___140300: undefined, + c___140306: undefined, arg0: undefined, arg1: undefined, } } @@ -8803,7 +8803,7 @@ function inline__P28354_mk(s) { -function Math_FastRandom_randomRange__P21298(s) { +function Math_FastRandom_randomRange__P133218(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__C21294_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C133214_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__P21297_mk(s); + s.tmp_2 = Math_FastRandom_next__P133217_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__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"]} +Math_FastRandom_randomRange__P133218.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__P21298_mk(s) { +function Math_FastRandom_randomRange__P133218_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P21298, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P133218, 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__P21298_mk(s) { -function Math_FastRandom_next__P21297(s) { +function Math_FastRandom_next__P133217(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__C21294_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C133214_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__P21297.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__P133217.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__P21297_mk(s) { +function Math_FastRandom_next__P133217_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P21297, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P133217, 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__P21297_mk(s) { -function effects_ImageEffect_constructor__P21525(s) { +function effects_ImageEffect_constructor__P133445(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__C21524_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C133444_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21294_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C133214_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P21296_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P133216_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__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"]} +effects_ImageEffect_constructor__P133445.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__P21525_mk(s) { +function effects_ImageEffect_constructor__P133445_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P21525, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P133445, 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__P21525_mk(s) { -function inline__P28462(s) { +function inline__P140386(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___28465 = undefined; + s.factory___140389 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C21453_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C133373_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__P21454_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P133374_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___28465 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P21430_mk(s); - s.tmp_0.arg0 = s.factory___28465; + s.factory___140389 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P133350_mk(s); + s.tmp_0.arg0 = s.factory___140389; 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__C21386_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C133306_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P21391_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P133311_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___28465; + s.tmp_1.arg3 = s.factory___140389; 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__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"]} +inline__P140386.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__P28462_mk(s) { +function inline__P140386_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28462, depth: s.depth + 1, + parent: s, fn: inline__P140386, 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__P28462_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___28465: undefined, + factory___140389: undefined, arg0: undefined, arg1: undefined, } } @@ -9079,7 +9079,7 @@ function inline__P28462_mk(s) { -function particles_ParticleSource_constructor__P21391(s) { +function particles_ParticleSource_constructor__P133311(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___27387 = undefined; - s.removedSource___27396 = undefined; + s.sources___139311 = undefined; + s.removedSource___139320 = 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__C21386_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P20568_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C133306_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P132488_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__P22942_mk(s); + s.tmp_0 = particles_init__P134862_mk(s); s.callLocIdx = 1116; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P22948_mk(s); + s.tmp_0 = particles_particleSources__P134868_mk(s); s.callLocIdx = 1117; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___27387 = (r0); - r0 = pxsim_Array__length(s.sources___27387); + s.sources___139311 = (r0); + r0 = pxsim_Array__length(s.sources___139311); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___22919); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___134839); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P22945_mk(s); - s.tmp_2.arg0 = s.sources___27387; + s.tmp_2 = particles_sortSources__P134865_mk(s); + s.tmp_2.arg0 = s.sources___139311; s.callLocIdx = 1118; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - 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; + r0 = pxsim_Array_.removeAt(s.sources___139311, 0); + s.removedSource___139320 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P133321_mk(s); + s.tmp_0.arg0 = s.removedSource___139320; s.callLocIdx = 1120; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P21400_mk(s); - s.tmp_0.arg0 = s.removedSource___27396; + s.tmp_0 = particles_ParticleSource_destroy__P133320_mk(s); + s.tmp_0.arg0 = s.removedSource___139320; 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__P21403_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P133323_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__P21395_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P133315_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__P21402_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P133322_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___21406; + r0 = globals.defaultFactory___133326; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P21405_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P133325_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___27387, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P21399_mk(s); + r0 = pxsim_Array__push(s.sources___139311, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P133319_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__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"]} +particles_ParticleSource_constructor__P133311.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__P21391_mk(s) { +function particles_ParticleSource_constructor__P133311_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P21391, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P133311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___27387: undefined, - removedSource___27396: undefined, + sources___139311: undefined, + removedSource___139320: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9212,7 +9212,7 @@ function particles_ParticleSource_constructor__P21391_mk(s) { -function particles_particleSources__P22948(s) { +function particles_particleSources__P134868(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___27818 = undefined; - s.tmp_0 = game_currentScene__P21240_mk(s); + s.sources___139742 = undefined; + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 1177; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___27818 = (r0); - r0 = s.sources___27818; + s.sources___139742 = (r0); + r0 = s.sources___139742; return leave(s, r0) default: oops() } } } -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":[]} +particles_particleSources__P134868.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__P22948_mk(s) { +function particles_particleSources__P134868_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P22948, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P134868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___27818: undefined, + sources___139742: undefined, } } -function particles_sortSources__P22945(s) { +function particles_sortSources__P134865(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__P18811_mk(s); + s.tmp_0 = helpers_arraySort__P130731_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P27688; + s.tmp_0.arg1 = inline__P139612; 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__P22945.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__P134865.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__P22945_mk(s) { +function particles_sortSources__P134865_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P22945, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P134865, 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__P22945_mk(s) { -function inline__P27688(s) { +function inline__P139612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9325,12 +9325,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P139612.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__P27688_mk(s) { +function inline__P139612_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27688, depth: s.depth + 1, + parent: s, fn: inline__P139612, 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__P27688_mk(s) { -function helpers_arraySort__P18811(s) { +function helpers_arraySort__P130731(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__P27711); + s.arg1 = (inline__P139635); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P22194_mk(s); + s.tmp_0 = helpers_sortHelper__P134114_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__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"]} +helpers_arraySort__P130731.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__P18811_mk(s) { +function helpers_arraySort__P130731_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P18811, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P130731, 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__P18811_mk(s) { -function inline__P27711(s) { +function inline__P139635(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___27714 = undefined; - s.bIsUndef___27718 = undefined; - s.aIsNull___27729 = undefined; - s.bIsNull___27733 = undefined; + s.aIsUndef___139638 = undefined; + s.bIsUndef___139642 = undefined; + s.aIsNull___139653 = undefined; + s.bIsNull___139657 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___27714 = (r0); + s.aIsUndef___139638 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___27718 = (r0); - s.tmp_0 = r0 = s.aIsUndef___27714; + s.bIsUndef___139642 = (r0); + s.tmp_0 = r0 = s.aIsUndef___139638; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___27718; + r0 = s.bIsUndef___139642; 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___27714); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___139638); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___27718); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___139642); 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___27729 = (r0); + s.aIsNull___139653 = (r0); r0 = (s.arg1 === null); - s.bIsNull___27733 = (r0); - s.tmp_0 = r0 = s.aIsNull___27729; + s.bIsNull___139657 = (r0); + s.tmp_0 = r0 = s.aIsNull___139653; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___27733; + r0 = s.bIsNull___139657; 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___27729); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___139653); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___27733); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___139657); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -9527,12 +9527,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P139635.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__P27711_mk(s) { +function inline__P139635_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27711, depth: s.depth + 1, + parent: s, fn: inline__P139635, 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__P27711_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___27714: undefined, - bIsUndef___27718: undefined, - aIsNull___27729: undefined, - bIsNull___27733: undefined, + aIsUndef___139638: undefined, + bIsUndef___139642: undefined, + aIsNull___139653: undefined, + bIsNull___139657: undefined, arg0: undefined, arg1: undefined, } } @@ -9554,7 +9554,7 @@ function inline__P27711_mk(s) { -function helpers_sortHelper__P22194(s) { +function helpers_sortHelper__P134114(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___27768 = undefined; - s.i___27771 = undefined; - s.j___27777 = undefined; + s.len___139692 = undefined; + s.i___139695 = undefined; + s.j___139701 = 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___27768 = (r0); - s.i___27771 = (0); + s.len___139692 = (r0); + s.i___139695 = (0); case 5: - s.tmp_1 = r0 = s.i___27771; - r0 = (s.len___27768 - 1); + s.tmp_1 = r0 = s.i___139695; + r0 = (s.len___139692 - 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___27771 + 1); - s.j___27777 = (r0); + r0 = (s.i___139695 + 1); + s.j___139701 = (r0); case 6: - r0 = (s.j___27777 < s.len___27768); + r0 = (s.j___139701 < s.len___139692); 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___27771); + r0 = pxsim_Array__getAt(s.arg0, s.i___139695); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___27777); + r0 = pxsim_Array__getAt(s.arg0, s.j___139701); 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__P22193_mk(s); + s.tmp_4 = helpers_swap__P134113_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___27771; - s.tmp_4.arg2 = s.j___27777; + s.tmp_4.arg1 = s.i___139695; + s.tmp_4.arg2 = s.j___139701; s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___27777 + 1); - s.j___27777 = (r0); + r0 = (s.j___139701 + 1); + s.j___139701 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___27771 + 1); - s.i___27771 = (r0); + r0 = (s.i___139695 + 1); + s.i___139695 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -9648,21 +9648,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_sortHelper__P134114.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__P22194_mk(s) { +function helpers_sortHelper__P134114_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P22194, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P134114, 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___27768: undefined, - i___27771: undefined, - j___27777: undefined, + len___139692: undefined, + i___139695: undefined, + j___139701: undefined, arg0: undefined, arg1: undefined, } } @@ -9671,7 +9671,7 @@ function helpers_sortHelper__P22194_mk(s) { -function helpers_swap__P22193(s) { +function helpers_swap__P134113(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___27806 = undefined; + s.temp___139730 = 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___27806 = (r0); + s.temp___139730 = (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___27806); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___139730); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +helpers_swap__P134113.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__P22193_mk(s) { +function helpers_swap__P134113_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P22193, depth: s.depth + 1, + parent: s, fn: helpers_swap__P134113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___27806: undefined, + temp___139730: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9720,7 +9720,7 @@ function helpers_swap__P22193_mk(s) { -function particles_init__P22942(s) { +function particles_init__P134862(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___27823 = undefined; - s.tmp_0 = game_currentScene__P21240_mk(s); + s.scene___139747 = undefined; + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 1154; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___27823 = (r0); - r0 = s.scene___27823.fields["particleSources"]; + s.scene___139747 = (r0); + r0 = s.scene___139747.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___27823; + s.tmp_1 = r0 = s.scene___139747; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___22937 = (r0); - s.tmp_0 = game_onUpdate__P21251_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P22943; + globals.lastUpdate___134857 = (r0); + s.tmp_0 = game_onUpdate__P133171_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P134863; s.callLocIdx = 1155; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P21252_mk(s); + s.tmp_0 = game_onUpdateInterval__P133172_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P22944; + s.tmp_0.arg1 = particles_pruneParticles__P134864; 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__P22942.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P134862.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__P22942_mk(s) { +function particles_init__P134862_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P22942, depth: s.depth + 1, + parent: s, fn: particles_init__P134862, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___27823: undefined, + scene___139747: undefined, } } -function particles_pruneParticles__P22944(s) { +function particles_pruneParticles__P134864(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___27838 = undefined; - s.tmp_0 = particles_particleSources__P22948_mk(s); + s.sources___139762 = undefined; + s.tmp_0 = particles_particleSources__P134868_mk(s); s.callLocIdx = 1160; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___27838 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___27838); + s.sources___139762 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___139762); if (!r0) { step = 1; continue; } - 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_0 = helpers_arrayForEach__P130735_mk(s); + s.tmp_1 = helpers_arraySlice__P130740_mk(s); + s.tmp_1.arg0 = s.sources___139762; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___27838); + r0 = pxsim_Array__length(s.sources___139762); 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__P27847; + s.tmp_0.arg1 = inline__P139771; 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__P22944.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P134864.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__P22944_mk(s) { +function particles_pruneParticles__P134864_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P22944, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P134864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___27838: undefined, + sources___139762: undefined, } } -function inline__P27847(s) { +function inline__P139771(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__P21394_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P133314_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__P27847.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P139771.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__P27847_mk(s) { +function inline__P139771_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27847, depth: s.depth + 1, + parent: s, fn: inline__P139771, 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__P27847_mk(s) { -function particles_ParticleSource__prune__P21394(s) { +function particles_ParticleSource__prune__P133314(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___27635 = undefined; - s.sources___27643 = undefined; - s.current___27657 = undefined; + s.scene___139559 = undefined; + s.sources___139567 = undefined; + s.current___139581 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_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__P21240_mk(s); + s.tmp_5 = game_currentScene__P133160_mk(s); s.callLocIdx = 1135; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___27635 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___27635); + s.scene___139559 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___139559); if (!r0) { step = 7; continue; } - r0 = s.scene___27635.fields["allSprites"]; + r0 = s.scene___139559.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P22948_mk(s); + s.tmp_0 = particles_particleSources__P134868_mk(s); s.callLocIdx = 1136; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___27643 = (r0); - s.tmp_0 = r0 = s.sources___27643; + s.sources___139567 = (r0); + s.tmp_0 = r0 = s.sources___139567; 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___27643); + r0 = pxsim_Array__length(s.sources___139567); 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___27643, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___139567, 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___27657 = (r0); + s.current___139581 = (r0); case 15: - s.tmp_0 = r0 = s.current___27657; + s.tmp_0 = r0 = s.current___139581; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___27657.fields["next"]; + r0 = s.current___139581.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___27657.fields["next"]; + r0 = s.current___139581.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___27657.fields["next"]; + r0 = s.current___139581.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___27657).fields["next"] = (s.tmp_4); + r0 = (s.current___139581).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___27657.fields["next"]; - s.current___27657 = (r0); + r0 = s.current___139581.fields["next"]; + s.current___139581 = (r0); case 19: { step = 15; continue; } case 20: @@ -10009,12 +10009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +particles_ParticleSource__prune__P133314.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__P21394_mk(s) { +function particles_ParticleSource__prune__P133314_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P21394, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P133314, 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__P21394_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___27635: undefined, - sources___27643: undefined, - current___27657: undefined, + scene___139559: undefined, + sources___139567: undefined, + current___139581: undefined, arg0: undefined, } } @@ -10032,7 +10032,7 @@ function particles_ParticleSource__prune__P21394_mk(s) { -function particles_updateParticles__P22943(s) { +function particles_updateParticles__P134863(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___29926 = undefined; - s.time___29933 = undefined; - s.dt___29936 = undefined; - s.i___29942 = undefined; - s.tmp_0 = particles_particleSources__P22948_mk(s); + s.sources___141850 = undefined; + s.time___141857 = undefined; + s.dt___141860 = undefined; + s.i___141866 = undefined; + s.tmp_0 = particles_particleSources__P134868_mk(s); s.callLocIdx = 1157; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___29926 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___29926); + s.sources___141850 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___141850); 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__P22945_mk(s); - s.tmp_2.arg0 = s.sources___29926; + s.tmp_2 = particles_sortSources__P134865_mk(s); + s.tmp_2.arg0 = s.sources___141850; s.callLocIdx = 1158; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - 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); + s.time___141857 = (r0); + r0 = (s.time___141857 - globals.lastUpdate___134857); + s.dt___141860 = (r0); + globals.lastUpdate___134857 = (s.time___141857); + s.i___141866 = (0); case 3: - s.tmp_1 = r0 = s.i___29942; - r0 = pxsim_Array__length(s.sources___29926); + s.tmp_1 = r0 = s.i___141866; + r0 = pxsim_Array__length(s.sources___141850); 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__P21393_mk(s); - r0 = pxsim_Array__getAt(s.sources___29926, s.i___29942); + s.tmp_3 = particles_ParticleSource__update__P133313_mk(s); + r0 = pxsim_Array__getAt(s.sources___141850, s.i___141866); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___29936; + s.tmp_3.arg1 = s.dt___141860; s.callLocIdx = 1159; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___29942 + 1); - s.i___29942 = (r0); + r0 = (s.i___141866 + 1); + s.i___141866 = (r0); { step = 3; continue; } case 4: case 5: @@ -10095,28 +10095,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +particles_updateParticles__P134863.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__P22943_mk(s) { +function particles_updateParticles__P134863_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P22943, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P134863, 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___29926: undefined, - time___29933: undefined, - dt___29936: undefined, - i___29942: undefined, + sources___141850: undefined, + time___141857: undefined, + dt___141860: undefined, + i___141866: undefined, } } -function particles_ParticleSource__update__P21393(s) { +function particles_ParticleSource__update__P133313(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___30005 = undefined; - s.current___30024 = undefined; - s.fixedDt___30032 = undefined; + s.p___141929 = undefined; + s.current___141948 = undefined; + s.fixedDt___141956 = 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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_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__P21400_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P133320_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__P21398_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P133318_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__C21422_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C133342_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__C21422_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C133342_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___30005 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___30005); + s.p___141929 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___141929); 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___30005).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___30005); + r0 = (s.p___141929).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___141929); { 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___30024 = (r0); + s.current___141948 = (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___30032 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___30032); + s.fixedDt___141956 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___141956); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___30024.fields["lifespan"]; + r0 = s.current___141948.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___30024; + s.tmp_2 = r0 = s.current___141948; 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__C21386_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C133306_v4_3_mk(s); s.tmp_0.arg0 = s.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.arg1 = s.current___141948; + s.tmp_0.arg2 = s.fixedDt___141956; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C133306_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___30024.fields["next"]; + r0 = s.current___141948.fields["next"]; s.tmp_0 = r0; - s.current___30024 = (r0); + s.current___141948 = (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___30024; + s.tmp_0 = r0 = s.current___141948; 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___30024.fields["next"]; + r0 = s.current___141948.fields["next"]; s.tmp_0 = r0; - s.current___30024 = (r0); + s.current___141948 = (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__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"]} +particles_ParticleSource__update__P133313.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__P21393_mk(s) { +function particles_ParticleSource__update__P133313_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P21393, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P133313, 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__P21393_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___30005: undefined, - current___30024: undefined, - fixedDt___30032: undefined, + p___141929: undefined, + current___141948: undefined, + fixedDt___141956: undefined, arg0: undefined, arg1: undefined, } } @@ -10385,7 +10385,7 @@ function particles_ParticleSource__update__P21393_mk(s) { -function particles_ParticleSource_updateParticle__P22939(s) { +function particles_ParticleSource_updateParticle__P134859(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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_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__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"]} +particles_ParticleSource_updateParticle__P134859.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__P22939_mk(s) { +function particles_ParticleSource_updateParticle__P134859_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P22939, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P134859, 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__P22939_mk(s) { -function Fx_rightShift__P18872(s) { +function Fx_rightShift__P130792(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__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"]} +Fx_rightShift__P130792.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__P18872_mk(s) { +function Fx_rightShift__P130792_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P18872, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P130792, 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__P18872_mk(s) { -function Fx_mul__P18863(s) { +function Fx_mul__P130783(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__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"]} +Fx_mul__P130783.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__P18863_mk(s) { +function Fx_mul__P130783_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P18863, depth: s.depth + 1, + parent: s, fn: Fx_mul__P130783, 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__P18863_mk(s) { -function particles_ParticleFactory_createParticle__P21424(s) { +function particles_ParticleFactory_createParticle__P133344(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___30122 = undefined; + s.p___142046 = 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__C21422_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C21367_VT); - s.p___30122 = (r0); - s.tmp_0 = r0 = s.p___30122; + if (!checkSubtype(r0, particles_ParticleFactory__C133342_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C133287_VT); + s.p___142046 = (r0); + s.tmp_0 = r0 = s.p___142046; 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___30122; + s.tmp_0 = r0 = s.p___142046; 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___30122).fields["vx"] = (0); - r0 = (s.p___30122).fields["vy"] = (0); - r0 = (s.p___30122).fields["lifespan"] = (500); - r0 = s.p___30122; + r0 = (s.p___142046).fields["vx"] = (0); + r0 = (s.p___142046).fields["vy"] = (0); + r0 = (s.p___142046).fields["lifespan"] = (500); + r0 = s.p___142046; return leave(s, r0) default: oops() } } } -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"]} +particles_ParticleFactory_createParticle__P133344.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__P21424_mk(s) { +function particles_ParticleFactory_createParticle__P133344_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P21424, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P133344, 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___30122: undefined, + p___142046: undefined, arg0: undefined, arg1: undefined, } } @@ -10636,7 +10636,7 @@ function particles_ParticleFactory_createParticle__P21424_mk(s) { -function game_onUpdateInterval__P21252(s) { +function game_onUpdateInterval__P133172(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___27860 = undefined; + s.timer___139784 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P22592_mk(s); + s.tmp_0 = game_init__P134512_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___27860 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___27860, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P27864); + s.timer___139784 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___139784, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P139788); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___27860); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___139784); 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__P19100_mk(s); - s.tmp_2 = game_eventContext__P21243_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P131020_mk(s); + s.tmp_2 = game_eventContext__P133163_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__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"]} +game_onUpdateInterval__P133172.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__P21252_mk(s) { +function game_onUpdateInterval__P133172_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P21252, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P133172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___27860: undefined, + timer___139784: undefined, arg0: undefined, arg1: undefined, } } @@ -10718,7 +10718,7 @@ function game_onUpdateInterval__P21252_mk(s) { -function inline__P27864(s) { +function inline__P139788(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___27865 = undefined; - s.tmp_1 = game_currentScene__P21240_mk(s); + s.time___139789 = undefined; + s.tmp_1 = game_currentScene__P133160_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___27865 = (r0); + s.time___139789 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___27865); + r0 = (s.tmp_1 <= s.time___139789); 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___27865 + s.caps[1]); + r0 = (s.time___139789 + 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__P27864.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P139788.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P27864_mk(s) { +function inline__P139788_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27864, depth: s.depth + 1, + parent: s, fn: inline__P139788, 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___27865: undefined, + time___139789: undefined, } } -function particles_SprayFactory_constructor__P21427(s) { +function particles_SprayFactory_constructor__P133347(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__C21426_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C133346_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P22963_mk(s); + s.tmp_0 = particles_initTrig__P134883_mk(s); s.callLocIdx = 1191; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P21430_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P133350_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__P21431_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P133351_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__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"]} +particles_SprayFactory_constructor__P133347.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__P21427_mk(s) { +function particles_SprayFactory_constructor__P133347_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P21427, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P133347, 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__P21427_mk(s) { -function particles_initTrig__P22963(s) { +function particles_initTrig__P134883(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___22949); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___134869); 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__P21420_mk(s); + s.tmp_2 = particles_cacheSin__P133340_mk(s); s.tmp_2.arg0 = 100; s.callLocIdx = 1179; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___22949 = (r0); - s.tmp_0 = particles_cacheCos__P21421_mk(s); + globals.cachedSin___134869 = (r0); + s.tmp_0 = particles_cacheCos__P133341_mk(s); s.tmp_0.arg0 = 100; s.callLocIdx = 1180; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___22950 = (r0); + globals.cachedCos___134870 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +particles_initTrig__P134883.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__P22963_mk(s) { +function particles_initTrig__P134883_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P22963, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P134883, 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__P22963_mk(s) { -function particles_cacheCos__P21421(s) { +function particles_cacheCos__P133341(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___27526 = undefined; - s.anglePerSlice___27528 = undefined; - s.i___27534 = undefined; + s.cos___139450 = undefined; + s.anglePerSlice___139452 = undefined; + s.i___139458 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___27526 = (r0); + s.cos___139450 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___27528 = (r0); - s.i___27534 = (0); + s.anglePerSlice___139452 = (r0); + s.i___139458 = (0); case 1: - r0 = (s.i___27534 < s.arg0); + r0 = (s.i___139458 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___27526; - r0 = (s.i___27534 * s.anglePerSlice___27528); + s.tmp_1 = r0 = s.cos___139450; + r0 = (s.i___139458 * s.anglePerSlice___139452); 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___27534 + 1); - s.i___27534 = (r0); + r0 = (s.i___139458 + 1); + s.i___139458 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___27526; + r0 = s.cos___139450; return leave(s, r0) default: oops() } } } -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"]} +particles_cacheCos__P133341.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__P21421_mk(s) { +function particles_cacheCos__P133341_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P21421, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P133341, 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__P21421_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___27526: undefined, - anglePerSlice___27528: undefined, - i___27534: undefined, + cos___139450: undefined, + anglePerSlice___139452: undefined, + i___139458: undefined, arg0: undefined, } } @@ -10953,7 +10953,7 @@ function particles_cacheCos__P21421_mk(s) { -function particles_cacheSin__P21420(s) { +function particles_cacheSin__P133340(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___27552 = undefined; - s.anglePerSlice___27554 = undefined; - s.i___27560 = undefined; + s.sin___139476 = undefined; + s.anglePerSlice___139478 = undefined; + s.i___139484 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___27552 = (r0); + s.sin___139476 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___27554 = (r0); - s.i___27560 = (0); + s.anglePerSlice___139478 = (r0); + s.i___139484 = (0); case 1: - r0 = (s.i___27560 < s.arg0); + r0 = (s.i___139484 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___27552; - r0 = (s.i___27560 * s.anglePerSlice___27554); + s.tmp_1 = r0 = s.sin___139476; + r0 = (s.i___139484 * s.anglePerSlice___139478); 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___27560 + 1); - s.i___27560 = (r0); + r0 = (s.i___139484 + 1); + s.i___139484 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___27552; + r0 = s.sin___139476; return leave(s, r0) default: oops() } } } -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"]} +particles_cacheSin__P133340.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__P21420_mk(s) { +function particles_cacheSin__P133340_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P21420, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P133340, 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__P21420_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___27552: undefined, - anglePerSlice___27554: undefined, - i___27560: undefined, + sin___139476: undefined, + anglePerSlice___139478: undefined, + i___139484: undefined, arg0: undefined, } } @@ -11021,7 +11021,7 @@ function particles_cacheSin__P21420_mk(s) { -function particles_SprayFactory_setDirection__P21431(s) { +function particles_SprayFactory_setDirection__P133351(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__C21426_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C133346_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P22968_mk(s); + s.tmp_4 = particles_toRadians__P134888_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___22962); + r0 = (s.tmp_3 / globals.angleSlice___134882); 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__P22968_mk(s); + s.tmp_4 = particles_toRadians__P134888_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___22962); + r0 = (s.tmp_3 / globals.angleSlice___134882); 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__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"]} +particles_SprayFactory_setDirection__P133351.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__P21431_mk(s) { +function particles_SprayFactory_setDirection__P133351_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P21431, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P133351, 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__P21431_mk(s) { -function particles_toRadians__P22968(s) { +function particles_toRadians__P134888(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__P18831_mk(s); + s.tmp_3 = Math_abs__P130751_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__P22968.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__P134888.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__P22968_mk(s) { +function particles_toRadians__P134888_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P22968, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P134888, 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__P22968_mk(s) { -function particles_ParticleFactory_constructor__P21423(s) { +function particles_ParticleFactory_constructor__P133343(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__C21422_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C133342_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +particles_ParticleFactory_constructor__P133343.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__P21423_mk(s) { +function particles_ParticleFactory_constructor__P133343_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P21423, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P133343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11183,7 +11183,7 @@ function particles_ParticleFactory_constructor__P21423_mk(s) { -function particles_ParticleSource_setFactory__P21405(s) { +function particles_ParticleSource_setFactory__P133325(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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_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__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"]} +particles_ParticleSource_setFactory__P133325.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__P21405_mk(s) { +function particles_ParticleSource_setFactory__P133325_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P21405, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P133325, 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__P21405_mk(s) { -function particles_ParticleSource_setRate__P21403(s) { +function particles_ParticleSource_setRate__P133323(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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_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__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"]} +particles_ParticleSource_setRate__P133323.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__P21403_mk(s) { +function particles_ParticleSource_setRate__P133323_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P21403, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P133323, 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__P21403_mk(s) { -function particles_ParticleSource_setAnchor__P21402(s) { +function particles_ParticleSource_setAnchor__P133322(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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +particles_ParticleSource_setAnchor__P133322.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__P21402_mk(s) { +function particles_ParticleSource_setAnchor__P133322_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P21402, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P133322, 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__P21402_mk(s) { -function particles_ParticleSource_clear__P21401(s) { +function particles_ParticleSource_clear__P133321(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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +particles_ParticleSource_clear__P133321.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__P21401_mk(s) { +function particles_ParticleSource_clear__P133321_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P21401, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P133321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11342,7 +11342,7 @@ function particles_ParticleSource_clear__P21401_mk(s) { -function particles_ParticleSource_destroy__P21400(s) { +function particles_ParticleSource_destroy__P133320(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__C21386_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P21399_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C133306_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P133319_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__P21394_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P133314_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__P21400.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__P133320.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__P21400_mk(s) { +function particles_ParticleSource_destroy__P133320_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P21400, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P133320, 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__P21400_mk(s) { -function particles_ParticleSource_enabled__P21399(s) { +function particles_ParticleSource_enabled__P133319(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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P21398_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P133318_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__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"]} +particles_ParticleSource_enabled__P133319.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__P21399_mk(s) { +function particles_ParticleSource_enabled__P133319_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P21399, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P133319, 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__P21399_mk(s) { -function particles_ParticleSource_enabled__P21398(s) { +function particles_ParticleSource_enabled__P133318(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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_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__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; +particles_ParticleSource_enabled__P133318.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__P133318.isGetter = true; -function particles_ParticleSource_enabled__P21398_mk(s) { +function particles_ParticleSource_enabled__P133318_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P21398, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P133318, 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__P21398_mk(s) { -function particles_ParticleSource_setAcceleration__P21395(s) { +function particles_ParticleSource_setAcceleration__P133315(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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_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__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"]} +particles_ParticleSource_setAcceleration__P133315.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__P21395_mk(s) { +function particles_ParticleSource_setAcceleration__P133315_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P21395, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P133315, 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__P21395_mk(s) { -function sprites_BaseSprite_constructor__P20568(s) { +function sprites_BaseSprite_constructor__P132488(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__C20566_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P20571_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C132486_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P132491_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__P21152_mk(s); - s.tmp_1 = game_currentScene__P21240_mk(s); + s.tmp_0 = scene_Scene_addSprite__P133072_mk(s); + s.tmp_1 = game_currentScene__P133160_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__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"]} +sprites_BaseSprite_constructor__P132488.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__P20568_mk(s) { +function sprites_BaseSprite_constructor__P132488_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P20568, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P132488, 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__P20568_mk(s) { -function scene_Scene_addSprite__P21152(s) { +function scene_Scene_addSprite__P133072(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__C21127_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C133047_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__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"]} +scene_Scene_addSprite__P133072.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__P21152_mk(s) { +function scene_Scene_addSprite__P133072_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P21152, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P133072, 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__P21152_mk(s) { -function sprites_BaseSprite_z__P20571(s) { +function sprites_BaseSprite_z__P132491(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__C20566_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C132486_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__P21240_mk(s); + s.tmp_1 = game_currentScene__P133160_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__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"]} +sprites_BaseSprite_z__P132491.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__P20571_mk(s) { +function sprites_BaseSprite_z__P132491_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P20571, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P132491, 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__P20571_mk(s) { -function sprites_BaseSprite_z__P20570(s) { +function sprites_BaseSprite_z__P132490(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__C20566_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C132486_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -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; +sprites_BaseSprite_z__P132490.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__P132490.isGetter = true; -function sprites_BaseSprite_z__P20570_mk(s) { +function sprites_BaseSprite_z__P132490_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P20570, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P132490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11780,7 +11780,7 @@ function sprites_BaseSprite_z__P20570_mk(s) { -function helpers_arrayShift__P18808(s) { +function helpers_arrayShift__P130728(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__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"]} +helpers_arrayShift__P130728.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__P18808_mk(s) { +function helpers_arrayShift__P130728_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P18808, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P130728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11812,7 +11812,7 @@ function helpers_arrayShift__P18808_mk(s) { -function particles_SprayFactory_setSpeed__P21430(s) { +function particles_SprayFactory_setSpeed__P133350(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__C21426_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C133346_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__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"]} +particles_SprayFactory_setSpeed__P133350.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__P21430_mk(s) { +function particles_SprayFactory_setSpeed__P133350_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P21430, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P133350, 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__P21430_mk(s) { -function particles_ConfettiFactory_constructor__P21454(s) { +function particles_ConfettiFactory_constructor__P133374(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___28482 = undefined; - s.i___28498 = undefined; + s.confetti___140406 = undefined; + s.i___140422 = 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__C21453_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C133373_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex28485); + r0 = pxsim.image.ofBuffer(_hex140409); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex28487); + r0 = pxsim.image.ofBuffer(_hex140411); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex28489); + r0 = pxsim.image.ofBuffer(_hex140413); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex28491); + r0 = pxsim.image.ofBuffer(_hex140415); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex28493); + r0 = pxsim.image.ofBuffer(_hex140417); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___28482 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P21449_mk(s); + s.confetti___140406 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P133369_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___28482, 0); + r0 = pxsim_Array__getAt(s.confetti___140406, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1225; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___28498 = (1); + s.i___140422 = (1); case 1: - s.tmp_1 = r0 = s.i___28498; - r0 = pxsim_Array__length(s.confetti___28482); + s.tmp_1 = r0 = s.i___140422; + r0 = pxsim_Array__length(s.confetti___140406); 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__P21450_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P133370_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___28482, s.i___28498); + r0 = pxsim_Array__getAt(s.confetti___140406, s.i___140422); s.tmp_3.arg1 = r0; s.callLocIdx = 1226; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___28498 + 1); - s.i___28498 = (r0); + r0 = (s.i___140422 + 1); + s.i___140422 = (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__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"]} +particles_ConfettiFactory_constructor__P133374.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__P21454_mk(s) { +function particles_ConfettiFactory_constructor__P133374_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P21454, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P133374, 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__P21454_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___28482: undefined, - i___28498: undefined, + confetti___140406: undefined, + i___140422: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -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") +const _hex140409 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex140411 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex140413 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex140415 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex140417 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P21450(s) { +function particles_ShapeFactory_addShape__P133370(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__C21448_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C133368_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__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"]} +particles_ShapeFactory_addShape__P133370.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__P21450_mk(s) { +function particles_ShapeFactory_addShape__P133370_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P21450, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P133370, 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__P21450_mk(s) { -function particles_ShapeFactory_constructor__P21449(s) { +function particles_ShapeFactory_constructor__P133369(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__C21448_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P21437_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C133368_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P133357_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__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"]} +particles_ShapeFactory_constructor__P133369.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__P21449_mk(s) { +function particles_ShapeFactory_constructor__P133369_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P21449, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P133369, 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__P21449_mk(s) { -function particles_AreaFactory_constructor__P21437(s) { +function particles_AreaFactory_constructor__P133357(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__C21432_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P21427_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C133352_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P133347_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__C21294_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C133214_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P21296_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P133216_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__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"]} +particles_AreaFactory_constructor__P133357.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__P21437_mk(s) { +function particles_AreaFactory_constructor__P133357_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P21437, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P133357, 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__P21437_mk(s) { -function effects_ScreenEffect_constructor__P21502(s) { +function effects_ScreenEffect_constructor__P133422(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__C21501_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P21498_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C133421_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P133418_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__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"]} +effects_ScreenEffect_constructor__P133422.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__P21502_mk(s) { +function effects_ScreenEffect_constructor__P133422_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P21502, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P133422, 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__P21502_mk(s) { -function effects_ParticleEffect_constructor__P21498(s) { +function effects_ParticleEffect_constructor__P133418(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__C21497_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C133417_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__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"]} +effects_ParticleEffect_constructor__P133418.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__P21498_mk(s) { +function effects_ParticleEffect_constructor__P133418_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P21498, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P133418, 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__P21498_mk(s) { -function scene_Scene_init__P21149(s) { +function scene_Scene_init__P133069(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__C21127_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C133047_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__P20413_mk(s); + s.tmp_1 = power_poke__P132333_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__P28602); + r0 = pxsim_pxtcore_mkAction(1, inline__P140526); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P131020_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__P19100_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P131020_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P20630; + s.tmp_0.arg2 = controller__moveSprites__P132550; s.callLocIdx = 886; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P28625); + r0 = pxsim_pxtcore_mkAction(1, inline__P140549); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P131020_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__P28638); + r0 = pxsim_pxtcore_mkAction(1, inline__P140562); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P131020_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__P28659); + r0 = pxsim_pxtcore_mkAction(1, inline__P140583); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P131020_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__P28667); + r0 = pxsim_pxtcore_mkAction(1, inline__P140591); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P19100_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P131020_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__P19100_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P131020_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P20471; + s.tmp_0.arg2 = control___screen_update__P132391; s.callLocIdx = 899; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P28696); + r0 = pxsim_pxtcore_mkAction(1, inline__P140620); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P18815_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___21147; + s.tmp_1 = helpers_arrayForEach__P130735_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___133067; 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__P21149.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__P133069.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__P21149_mk(s) { +function scene_Scene_init__P133069_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P21149, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P133069, 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__P21149_mk(s) { -function inline__P28602(s) { +function inline__P140526(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__P20658_mk(s); + s.tmp_0 = controller___update__P132578_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__P28602.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P140526.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28602_mk(s) { +function inline__P140526_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28602, depth: s.depth + 1, + parent: s, fn: inline__P140526, 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__P28602_mk(s) { -function inline__P28625(s) { +function inline__P140549(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__C20867_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C132787_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__C20867_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C132787_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__P28625.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P140549.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28625_mk(s) { +function inline__P140549_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28625, depth: s.depth + 1, + parent: s, fn: inline__P140549, 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__P28625_mk(s) { -function inline__P28638(s) { +function inline__P140562(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___28639 = undefined; - s.s___28647 = undefined; - s.unnamed266___U2 = undefined; - s.unnamed267___U3 = undefined; + s.dt___140563 = undefined; + s.s___140571 = undefined; + s.unnamed1134___U2 = undefined; + s.unnamed1135___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___28639 = (r0); - s.tmp_0 = scene_Camera_update__P21084_mk(s); + s.dt___140563 = (r0); + s.tmp_0 = scene_Camera_update__P133004_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___28647 = (undefined); + s.s___140571 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed266___U2 = (r0); - s.unnamed267___U3 = (0); + s.unnamed1134___U2 = (r0); + s.unnamed1135___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed267___U3; - r0 = pxsim_Array__length(s.unnamed266___U2); + s.tmp_0 = r0 = s.unnamed1135___U3; + r0 = pxsim_Array__length(s.unnamed1134___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed266___U2, s.unnamed267___U3); - s.s___28647 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1134___U2, s.unnamed1135___U3); + s.s___140571 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___28647; + s.tmp_2.arg0 = s.s___140571; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___28639; + s.tmp_2.arg2 = s.dt___140563; 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.unnamed267___U3 + 1); - s.unnamed267___U3 = (r0); + r0 = (s.unnamed1135___U3 + 1); + s.unnamed1135___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed266___U2 = (undefined); + s.unnamed1134___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P28638.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P140562.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28638_mk(s) { +function inline__P140562_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28638, depth: s.depth + 1, + parent: s, fn: inline__P140562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___28639: undefined, - s___28647: undefined, - unnamed266___U2: undefined, - unnamed267___U3: undefined, + dt___140563: undefined, + s___140571: undefined, + unnamed1134___U2: undefined, + unnamed1135___U3: undefined, } } -function inline__P28659(s) { +function inline__P140583(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__P21154_mk(s); + s.tmp_0 = scene_Scene_render__P133074_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__P28659.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P140583.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28659_mk(s) { +function inline__P140583_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28659, depth: s.depth + 1, + parent: s, fn: inline__P140583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -12602,7 +12602,7 @@ function inline__P28659_mk(s) { -function inline__P28667(s) { +function inline__P140591(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___21237; + s.tmp_0 = r0 = globals.stats___133157; 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___19095; + r0 = globals.control_EventContext_onStats___131015; 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___19095; - if ((globals.control_EventContext_lastStats___19094) && (globals.control_EventContext_lastStats___19094).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___131015; + if ((globals.control_EventContext_lastStats___131014) && (globals.control_EventContext_lastStats___131014).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___19094); + pxsim_String__stringConv(globals.control_EventContext_lastStats___131014); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___19094) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___131014) + ""; } 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___21236); + r0 = pxsim_numops_toBoolDecr(globals.debug___133156); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C20867_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C132787_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C132787_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__P21362_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P133282_mk(s); s.callLocIdx = 896; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P20414_mk(s); + s.tmp_0 = power_checkDeepSleep__P132334_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__P28667.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P140591.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P28667_mk(s) { +function inline__P140591_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28667, depth: s.depth + 1, + parent: s, fn: inline__P140591, 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__P28667_mk(s) { -function inline__P28696(s) { +function inline__P140620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12738,12 +12738,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P140620.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__P28696_mk(s) { +function inline__P140620_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28696, depth: s.depth + 1, + parent: s, fn: inline__P140620, 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__P28696_mk(s) { -function game_consoleOverlay_draw__P21362(s) { +function game_consoleOverlay_draw__P133282(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___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.height___140669 = undefined; + s.top___140674 = undefined; + s.i___140680 = undefined; + s.t___140693 = undefined; + s.tOff___140700 = undefined; + s.tab___140702 = undefined; + s.unnamed1138___U6 = undefined; + s.unnamed1139___U7 = undefined; + s.padding___140704 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___134802); 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___22836); + r0 = pxsim_numops_toBoolDecr(globals.instance___134756); 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___22890; + s.tmp_7.arg0 = globals.consoleFont___134810; 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___28745 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___21237); + s.height___140669 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___133157); if (!r0) { step = 5; continue; } - r0 = s.height___28745; + r0 = s.height___140669; { 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___28750 = (r0); - s.i___28756 = (0); + s.top___140674 = (r0); + s.i___140680 = (0); case 7: - s.tmp_1 = r0 = s.i___28756; - r0 = pxsim_Array__length(globals.consoleStrings___22882); + s.tmp_1 = r0 = s.i___140680; + r0 = pxsim_Array__length(globals.consoleStrings___134802); 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___22882, s.i___28756); + r0 = pxsim_Array__getAt(globals.consoleStrings___134802, s.i___140680); 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__P18825_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___22882, s.i___28756); + s.tmp_6 = helpers_stringSplit__P130745_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___134802, s.i___140680); 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___28769 = (r0); - s.tOff___28776 = (0); - s.tab___28778 = (undefined); - s.unnamed270___U6 = (s.t___28769); - s.unnamed271___U7 = (0); + s.t___140693 = (r0); + s.tOff___140700 = (0); + s.tab___140702 = (undefined); + s.unnamed1138___U6 = (s.t___140693); + s.unnamed1139___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed271___U7; - r0 = pxsim_Array__length(s.unnamed270___U6); + s.tmp_0 = r0 = s.unnamed1139___U7; + r0 = pxsim_Array__length(s.unnamed1138___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - 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); + r0 = pxsim_Array__getAt(s.unnamed1138___U6, s.unnamed1139___U7); + s.tab___140702 = (r0); + s.tmp_2 = r0 = globals.tabSize___134804; + s.tmp_5 = r0 = s.tOff___140700; + r0 = pxsim_String_.length(s.tab___140702); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___22884); + r0 = (s.tmp_4 % globals.tabSize___134804); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - 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.padding___140704 = (r0); + s.tmp_0 = helpers_imagePrint__P132388_mk(s); + s.tmp_0.arg0 = globals.screen___132430; + s.tmp_0.arg1 = s.tab___140702; + s.tmp_2 = r0 = s.tOff___140700; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___22890; + s.tmp_4.arg0 = globals.consoleFont___134810; 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___28750; - r0 = (s.i___28756 * s.height___28745); + s.tmp_5 = r0 = s.top___140674; + r0 = (s.i___140680 * s.height___140669); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___22881; - s.tmp_0.arg5 = globals.consoleFont___22890; + s.tmp_0.arg4 = globals.consoleColor___134801; + s.tmp_0.arg5 = globals.consoleFont___134810; 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___28776; - r0 = pxsim_String_.length(s.tab___28778); + s.tmp_0 = r0 = s.tOff___140700; + r0 = pxsim_String_.length(s.tab___140702); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___28780); + r0 = (s.tmp_2 + s.padding___140704); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___28776 = (r0); - r0 = (s.unnamed271___U7 + 1); - s.unnamed271___U7 = (r0); + s.tOff___140700 = (r0); + r0 = (s.unnamed1139___U7 + 1); + s.unnamed1139___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed270___U6 = (undefined); + s.unnamed1138___U6 = (undefined); { step = 11; continue; } case 10: - 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 = helpers_imagePrint__P132388_mk(s); + s.tmp_0.arg0 = globals.screen___132430; + r0 = pxsim_Array__getAt(globals.consoleStrings___134802, s.i___140680); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___28750; - r0 = (s.i___28756 * s.height___28745); + s.tmp_1 = r0 = s.top___140674; + r0 = (s.i___140680 * s.height___140669); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___22881; - s.tmp_0.arg5 = globals.consoleFont___22890; + s.tmp_0.arg4 = globals.consoleColor___134801; + s.tmp_0.arg5 = globals.consoleFont___134810; 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___28756 + 1); - s.i___28756 = (r0); + r0 = (s.i___140680 + 1); + s.i___140680 = (r0); { step = 7; continue; } case 12: case 13: @@ -12942,12 +12942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +game_consoleOverlay_draw__P133282.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__P21362_mk(s) { +function game_consoleOverlay_draw__P133282_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P21362, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P133282, 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__P21362_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: 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, + height___140669: undefined, + top___140674: undefined, + i___140680: undefined, + t___140693: undefined, + tOff___140700: undefined, + tab___140702: undefined, + unnamed1138___U6: undefined, + unnamed1139___U7: undefined, + padding___140704: undefined, } } -function scene_systemMenu_isVisible__P21343(s) { +function scene_systemMenu_isVisible__P133263(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___22836); + r0 = pxsim_numops_toBoolDecr(globals.instance___134756); 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__P21343.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__P133263.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__P21343_mk(s) { +function scene_systemMenu_isVisible__P133263_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P21343, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P133263, 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__P21343_mk(s) { -function scene_Scene_render__P21154(s) { +function scene_Scene_render__P133074(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___28894 = undefined; - s.unnamed268___U1 = undefined; - s.unnamed269___U2 = undefined; + s.s___140818 = undefined; + s.unnamed1136___U1 = undefined; + s.unnamed1137___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C21127_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C133047_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__P21154_mk(s); + s.tmp_3 = scene_Scene_render__P133074_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__P20982_mk(s); + s.tmp_0 = scene_Background_draw__P132902_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__P18811_mk(s); + s.tmp_2 = helpers_arraySort__P130731_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P28871; + s.tmp_2.arg1 = inline__P140795; 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___28894 = (undefined); + s.s___140818 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed268___U1 = (r0); - s.unnamed269___U2 = (0); + s.unnamed1136___U1 = (r0); + s.unnamed1137___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed269___U2; - r0 = pxsim_Array__length(s.unnamed268___U1); + s.tmp_0 = r0 = s.unnamed1137___U2; + r0 = pxsim_Array__length(s.unnamed1136___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed268___U1, s.unnamed269___U2); - s.s___28894 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1136___U1, s.unnamed1137___U2); + s.s___140818 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___28894; + s.tmp_2.arg0 = s.s___140818; 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.unnamed269___U2 + 1); - s.unnamed269___U2 = (r0); + r0 = (s.unnamed1137___U2 + 1); + s.unnamed1137___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed268___U1 = (undefined); + s.unnamed1136___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__P21154.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__P133074.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__P21154_mk(s) { +function scene_Scene_render__P133074_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P21154, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P133074, 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___28894: undefined, - unnamed268___U1: undefined, - unnamed269___U2: undefined, + s___140818: undefined, + unnamed1136___U1: undefined, + unnamed1137___U2: undefined, arg0: undefined, } } @@ -13158,7 +13158,7 @@ function scene_Scene_render__P21154_mk(s) { -function inline__P28871(s) { +function inline__P140795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13240,12 +13240,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P140795.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__P28871_mk(s) { +function inline__P140795_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28871, depth: s.depth + 1, + parent: s, fn: inline__P140795, 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__P28871_mk(s) { -function scene_Background_draw__P20982(s) { +function scene_Background_draw__P132902(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__C20973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C132893_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___20510, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___132430, 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___20510, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___132430, 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__P28926); + r0 = pxsim_pxtcore_mkAction(1, inline__P140850); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P18815_mk(s); + s.tmp_2 = helpers_arrayForEach__P130735_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__P20982.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__P132902.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__P20982_mk(s) { +function scene_Background_draw__P132902_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P20982, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P132902, 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__P20982_mk(s) { -function inline__P28926(s) { +function inline__P140850(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___28928 = undefined; - s.oy___28939 = undefined; + s.ox___140852 = undefined; + s.oy___140863 = 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___28928 = (r0); + s.ox___140852 = (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___28939 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P20991_mk(s); + s.oy___140863 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P132911_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___28928; - s.tmp_0.arg2 = s.oy___28939; + s.tmp_0.arg1 = s.ox___140852; + s.tmp_0.arg2 = s.oy___140863; 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__P28926.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P140850.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__P28926_mk(s) { +function inline__P140850_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28926, depth: s.depth + 1, + parent: s, fn: inline__P140850, 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___28928: undefined, - oy___28939: undefined, + ox___140852: undefined, + oy___140863: undefined, arg0: undefined, } } @@ -13399,7 +13399,7 @@ function inline__P28926_mk(s) { -function scene_BackgroundLayer_draw__P20991(s) { +function scene_BackgroundLayer_draw__P132911(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___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; + s.w___140881 = undefined; + s.h___140884 = undefined; + s.pw___140887 = undefined; + s.ph___140891 = undefined; + s.rx___140900 = undefined; + s.ry___140903 = undefined; + s.y___140972 = undefined; + s.py___140973 = undefined; + s.dh___140982 = undefined; + s.x___140990 = undefined; + s.rxl___140991 = undefined; + s.px___140997 = undefined; + s.dw___141001 = 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__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); + if (!checkSubtype(r0, scene_BackgroundLayer__C132903_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___132430); + s.w___140881 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___132430); + s.h___140884 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___28963 = (r0); + s.pw___140887 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___28967 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___28963); + s.ph___140891 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___140887); 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___28967); + r0 = pxsim_numops_toBoolDecr(s.ph___140891); 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___28976 = (r0); + s.rx___140900 = (r0); r0 = (0 - s.arg2); - s.ry___28979 = (r0); + s.ry___140903 = (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___28976; - r0 = (s.w___28957 + s.pw___28963); + s.tmp_1 = r0 = s.rx___140900; + r0 = (s.w___140881 + s.pw___140887); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___28976 = (r0); + s.rx___140900 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___28976; - r0 = (s.w___28957 + s.pw___28963); + s.tmp_0 = r0 = s.rx___140900; + r0 = (s.w___140881 + s.pw___140887); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___28976 = (r0); + s.rx___140900 = (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___28979; - r0 = (s.h___28960 + s.ph___28967); + s.tmp_1 = r0 = s.ry___140903; + r0 = (s.h___140884 + s.ph___140891); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___28979 = (r0); + s.ry___140903 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___28979; - r0 = (s.h___28960 + s.ph___28967); + s.tmp_0 = r0 = s.ry___140903; + r0 = (s.h___140884 + s.ph___140891); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___28979 = (r0); + s.ry___140903 = (r0); case 10: - r0 = (s.rx___28976 % s.w___28957); - s.rx___28976 = (r0); - r0 = (s.rx___28976 < 0); + r0 = (s.rx___140900 % s.w___140881); + s.rx___140900 = (r0); + r0 = (s.rx___140900 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___28976 + s.w___28957); - s.rx___28976 = (r0); + r0 = (s.rx___140900 + s.w___140881); + s.rx___140900 = (r0); case 11: case 12: - r0 = (s.ry___28979 % s.h___28960); - s.ry___28979 = (r0); - r0 = (s.ry___28979 < 0); + r0 = (s.ry___140903 % s.h___140884); + s.ry___140903 = (r0); + r0 = (s.ry___140903 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___28979 + s.h___28960); - s.ry___28979 = (r0); + r0 = (s.ry___140903 + s.h___140884); + s.ry___140903 = (r0); case 13: case 14: - 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); + r0 = pxsim.Math_.floor(s.rx___140900); + s.rx___140900 = (r0); + r0 = pxsim.Math_.floor(s.ry___140903); + s.ry___140903 = (r0); + s.y___140972 = (0); + s.py___140973 = (0); case 15: - r0 = (s.y___29048 < s.h___28960); + r0 = (s.y___140972 < s.h___140884); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - 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); + r0 = (s.y___140972 % s.ph___140891); + s.py___140973 = (r0); + s.tmp_0 = Math_min__P130754_mk(s); + r0 = (s.ph___140891 - s.py___140973); s.tmp_0.arg0 = r0; - r0 = (s.h___28960 - s.ry___28979); + r0 = (s.h___140884 - s.ry___140903); s.tmp_0.arg1 = r0; s.callLocIdx = 772; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___29058 = (r0); - s.x___29066 = (0); - s.rxl___29067 = (s.rx___28976); + s.dh___140982 = (r0); + s.x___140990 = (0); + s.rxl___140991 = (s.rx___140900); case 16: - r0 = (s.x___29066 < s.w___28957); + r0 = (s.x___140990 < s.w___140881); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - 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); + r0 = (s.x___140990 % s.pw___140887); + s.px___140997 = (r0); + s.tmp_0 = Math_min__P130754_mk(s); + r0 = (s.pw___140887 - s.px___140997); s.tmp_0.arg0 = r0; - r0 = (s.w___28957 - s.rxl___29067); + r0 = (s.w___140881 - s.rxl___140991); s.tmp_0.arg1 = r0; s.callLocIdx = 773; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___29077 = (r0); + s.dw___141001 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___20510, s.tmp_0, s.rxl___29067, s.ry___28979); - r0 = (s.rxl___29067 + s.dw___29077); + r0 = pxsim_ImageMethods.drawImage(globals.screen___132430, s.tmp_0, s.rxl___140991, s.ry___140903); + r0 = (s.rxl___140991 + s.dw___141001); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___28957); - s.rxl___29067 = (r0); + r0 = (s.tmp_0 % s.w___140881); + s.rxl___140991 = (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___29077; + r0 = s.dw___141001; { step = 18; continue; } case 17: - r0 = s.w___28957; + r0 = s.w___140881; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___29066 + s.tmp_1); - s.x___29066 = (r0); + r0 = (s.x___140990 + s.tmp_1); + s.x___140990 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___28979 + s.dh___29058); + r0 = (s.ry___140903 + s.dh___140982); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___28960); - s.ry___28979 = (r0); + r0 = (s.tmp_0 % s.h___140884); + s.ry___140903 = (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___29058; + r0 = s.dh___140982; { step = 21; continue; } case 20: - r0 = s.h___28960; + r0 = s.h___140884; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___29048 + s.tmp_1); - s.y___29048 = (r0); + r0 = (s.y___140972 + s.tmp_1); + s.y___140972 = (r0); { step = 15; continue; } case 22: case 23: @@ -13620,30 +13620,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_BackgroundLayer_draw__P132911.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__P20991_mk(s) { +function scene_BackgroundLayer_draw__P132911_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P20991, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P132911, 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___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, + w___140881: undefined, + h___140884: undefined, + pw___140887: undefined, + ph___140891: undefined, + rx___140900: undefined, + ry___140903: undefined, + y___140972: undefined, + py___140973: undefined, + dh___140982: undefined, + x___140990: undefined, + rxl___140991: undefined, + px___140997: undefined, + dw___141001: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13653,7 +13653,7 @@ function scene_BackgroundLayer_draw__P20991_mk(s) { -function scene_Camera_update__P21084(s) { +function scene_Camera_update__P133004(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___29158 = undefined; - s.percentComplete___29172 = undefined; - s.damp___29179 = undefined; - s.f___29188 = undefined; - s.x___29194 = undefined; - s.y___29201 = undefined; + s.elapsed___141082 = undefined; + s.percentComplete___141096 = undefined; + s.damp___141103 = undefined; + s.f___141112 = undefined; + s.x___141118 = undefined; + s.y___141125 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C132988_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__P21074_mk(s); + s.tmp_1 = scene_Camera_offsetX__P132994_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P20733_mk(s); + s.tmp_3 = Sprite_x__P132653_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___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); 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__P21076_mk(s); + s.tmp_0 = scene_Camera_offsetY__P132996_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P20735_mk(s); + s.tmp_2 = Sprite_y__P132655_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___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); 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__P21074_mk(s); + s.tmp_0 = scene_Camera_offsetX__P132994_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__P21076_mk(s); + s.tmp_0 = scene_Camera_offsetY__P132996_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___29158 = (r0); + s.elapsed___141082 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___29158 >= s.tmp_1); + r0 = (s.elapsed___141082 >= 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___29158 / s.tmp_0); - s.percentComplete___29172 = (r0); - s.damp___29179 = (1); - r0 = (s.percentComplete___29172 >= 0.75); + r0 = (s.elapsed___141082 / s.tmp_0); + s.percentComplete___141096 = (r0); + s.damp___141103 = (1); + r0 = (s.percentComplete___141096 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P18833_mk(s); + s.tmp_1 = Math_max__P130753_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___29172); + r0 = (1 - s.percentComplete___141096); s.tmp_1.arg1 = r0; s.callLocIdx = 874; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___29179 = (r0); + s.damp___141103 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___29179); - s.f___29188 = (r0); + r0 = (s.tmp_0 * s.damp___141103); + s.f___141112 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___29188); + r0 = (s.tmp_1 * s.f___141112); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___29194 = (r0); + s.x___141118 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___29188); + r0 = (s.tmp_1 * s.f___141112); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___29201 = (r0); + s.y___141125 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___29194); + r0 = (s.tmp_2 + s.x___141118); 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___29201); + r0 = (s.tmp_2 + s.y___141125); 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__P21084.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__P133004.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__P21084_mk(s) { +function scene_Camera_update__P133004_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P21084, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P133004, 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__P21084_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___29158: undefined, - percentComplete___29172: undefined, - damp___29179: undefined, - f___29188: undefined, - x___29194: undefined, - y___29201: undefined, + elapsed___141082: undefined, + percentComplete___141096: undefined, + damp___141103: undefined, + f___141112: undefined, + x___141118: undefined, + y___141125: undefined, arg0: undefined, } } @@ -13846,7 +13846,7 @@ function scene_Camera_update__P21084_mk(s) { -function scene_Camera_offsetY__P21076(s) { +function scene_Camera_offsetY__P132996(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___29220 = undefined; + s.scene___141144 = 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__C21068_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21240_mk(s); + if (!checkSubtype(r0, scene_Camera__C132988_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 861; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___29220 = (r0); - r0 = s.scene___29220.fields["tileMap"]; + s.scene___141144 = (r0); + r0 = s.scene___141144.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___29220.fields["tileMap"]; + r0 = s.scene___141144.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__P21030_mk(s); - r0 = s.scene___29220.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P132950_mk(s); + r0 = s.scene___141144.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__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"]} +scene_Camera_offsetY__P132996.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__P21076_mk(s) { +function scene_Camera_offsetY__P132996_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P21076, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P132996, 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__P21076_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___29220: undefined, + scene___141144: undefined, arg0: undefined, arg1: undefined, } } @@ -13936,7 +13936,7 @@ function scene_Camera_offsetY__P21076_mk(s) { -function tiles_TileMap_enabled__P21035(s) { +function tiles_TileMap_enabled__P132955(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__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_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__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; +tiles_TileMap_enabled__P132955.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__P132955.isGetter = true; -function tiles_TileMap_enabled__P21035_mk(s) { +function tiles_TileMap_enabled__P132955_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P21035, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P132955, 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__P21035_mk(s) { -function tiles_TileMap_offsetY__P21030(s) { +function tiles_TileMap_offsetY__P132950(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__C21025_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P18830_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P130750_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P18833_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P21032_mk(s); + s.tmp_1 = Math_max__P130753_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P132952_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___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); 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__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"]} +tiles_TileMap_offsetY__P132950.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__P21030_mk(s) { +function tiles_TileMap_offsetY__P132950_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P21030, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P132950, 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__P21030_mk(s) { -function tiles_TileMap_areaHeight__P21032(s) { +function tiles_TileMap_areaHeight__P132952(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__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_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__P21032.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__P132952.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__P21032_mk(s) { +function tiles_TileMap_areaHeight__P132952_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P21032, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P132952, 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__P21032_mk(s) { -function tiles_TileMapData_height__P21015(s) { +function tiles_TileMapData_height__P132935(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__C21012_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C132932_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -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; +tiles_TileMapData_height__P132935.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__P132935.isGetter = true; -function tiles_TileMapData_height__P21015_mk(s) { +function tiles_TileMapData_height__P132935_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P21015, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P132935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14136,7 +14136,7 @@ function tiles_TileMapData_height__P21015_mk(s) { -function scene_Camera_offsetX__P21074(s) { +function scene_Camera_offsetX__P132994(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___29268 = undefined; + s.scene___141192 = 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__C21068_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21240_mk(s); + if (!checkSubtype(r0, scene_Camera__C132988_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 858; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___29268 = (r0); - r0 = s.scene___29268.fields["tileMap"]; + s.scene___141192 = (r0); + r0 = s.scene___141192.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___29268.fields["tileMap"]; + r0 = s.scene___141192.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__P21029_mk(s); - r0 = s.scene___29268.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P132949_mk(s); + r0 = s.scene___141192.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__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"]} +scene_Camera_offsetX__P132994.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__P21074_mk(s) { +function scene_Camera_offsetX__P132994_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P21074, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P132994, 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__P21074_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___29268: undefined, + scene___141192: undefined, arg0: undefined, arg1: undefined, } } @@ -14226,7 +14226,7 @@ function scene_Camera_offsetX__P21074_mk(s) { -function tiles_TileMap_offsetX__P21029(s) { +function tiles_TileMap_offsetX__P132949(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__C21025_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P18830_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P130750_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P18833_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P21031_mk(s); + s.tmp_1 = Math_max__P130753_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P132951_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___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); 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__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"]} +tiles_TileMap_offsetX__P132949.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__P21029_mk(s) { +function tiles_TileMap_offsetX__P132949_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P21029, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P132949, 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__P21029_mk(s) { -function tiles_TileMap_areaWidth__P21031(s) { +function tiles_TileMap_areaWidth__P132951(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__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_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__P21031.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__P132951.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__P21031_mk(s) { +function tiles_TileMap_areaWidth__P132951_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P21031, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P132951, 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__P21031_mk(s) { -function tiles_TileMapData_width__P21014(s) { +function tiles_TileMapData_width__P132934(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__C21012_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C132932_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -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; +tiles_TileMapData_width__P132934.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__P132934.isGetter = true; -function tiles_TileMapData_width__P21014_mk(s) { +function tiles_TileMapData_width__P132934_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P21014, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P132934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14379,7 +14379,7 @@ function tiles_TileMapData_width__P21014_mk(s) { -function PhysicsEngine_move__P20873(s) { +function PhysicsEngine_move__P132793(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__C20867_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C132787_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +PhysicsEngine_move__P132793.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__P20873_mk(s) { +function PhysicsEngine_move__P132793_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P20873, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P132793, 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__P20873_mk(s) { -function PhysicsEngine_draw__P20872(s) { +function PhysicsEngine_draw__P132792(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__C20867_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C132787_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +PhysicsEngine_draw__P132792.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__P20872_mk(s) { +function PhysicsEngine_draw__P132792_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P20872, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P132792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14449,7 +14449,7 @@ function PhysicsEngine_draw__P20872_mk(s) { -function controller___update__P20658(s) { +function controller___update__P132578(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___29632 = undefined; + s.dtms___141556 = 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___29632 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P29639); + s.dtms___141556 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P141563); s.tmp_0 = r0; - 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); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___141556); + s.tmp_1 = helpers_arrayForEach__P130735_mk(s); + s.tmp_2 = controller_players__P132546_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__P20658.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__P132578.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__P20658_mk(s) { +function controller___update__P132578_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P20658, depth: s.depth + 1, + parent: s, fn: controller___update__P132578, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___29632: undefined, + dtms___141556: undefined, arg0: undefined, } } @@ -14503,7 +14503,7 @@ function controller___update__P20658_mk(s) { -function inline__P29639(s) { +function inline__P141563(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__P20656_mk(s); + s.tmp_0 = controller_Controller___update__P132576_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__P29639.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P141563.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__P29639_mk(s) { +function inline__P141563_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29639, depth: s.depth + 1, + parent: s, fn: inline__P141563, 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__P29639_mk(s) { -function controller_Controller___update__P20656(s) { +function controller_Controller___update__P132576(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__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_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__P29652); + r0 = pxsim_pxtcore_mkAction(1, inline__P141576); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P18815_mk(s); + s.tmp_1 = helpers_arrayForEach__P130735_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__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"]} +controller_Controller___update__P132576.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__P20656_mk(s) { +function controller_Controller___update__P132576_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P20656, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P132576, 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__P20656_mk(s) { -function inline__P29652(s) { +function inline__P141576(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__P20623_mk(s); + s.tmp_0 = controller_Button___update__P132543_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__P29652.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P141576.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__P29652_mk(s) { +function inline__P141576_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29652, depth: s.depth + 1, + parent: s, fn: inline__P141576, 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__P29652_mk(s) { -function controller_Button___update__P20623(s) { +function controller_Button___update__P132543(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___29668 = undefined; - s.interval___29677 = undefined; - s.count___29690 = undefined; + s.delay___141592 = undefined; + s.interval___141601 = undefined; + s.count___141614 = 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__C20611_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C132531_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___22415; + r0 = globals.defaultRepeatDelay___134335; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___29668 = (s.tmp_2); + s.delay___141592 = (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___22417; + r0 = globals.defaultRepeatInterval___134337; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___29677 = (s.tmp_2); + s.interval___141601 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___29668); + r0 = (s.tmp_1 < s.delay___141592); 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___29668); + r0 = (s.tmp_5 - s.delay___141592); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___29677); + r0 = (s.tmp_4 - s.interval___141601); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___29677); + r0 = (s.tmp_3 / s.interval___141601); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___29690 = (r0); + s.count___141614 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___29690 != s.tmp_1); + r0 = (s.count___141614 != 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__P22422_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P134342_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___29690); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___141614); case 9: case 10: case 11: @@ -14745,12 +14745,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_Button___update__P132543.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__P20623_mk(s) { +function controller_Button___update__P132543_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P20623, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P132543, 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__P20623_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___29668: undefined, - interval___29677: undefined, - count___29690: undefined, + delay___141592: undefined, + interval___141601: undefined, + count___141614: undefined, arg0: undefined, arg1: undefined, } } @@ -14769,7 +14769,7 @@ function controller_Button___update__P20623_mk(s) { -function controller_Button_raiseButtonRepeat__P22422(s) { +function controller_Button_raiseButtonRepeat__P134342(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__C20611_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22413); + if (!checkSubtype(r0, controller_Button__C132531_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___134333); 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__P22422.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__P134342.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__P22422_mk(s) { +function controller_Button_raiseButtonRepeat__P134342_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P22422, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P134342, 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__P22422_mk(s) { -function controller_players__P20626(s) { +function controller_players__P132546(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__P20625_mk(s); + s.tmp_0 = controller__player1__P132545_mk(s); s.callLocIdx = 159; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P18816_mk(s); - s.tmp_0.arg0 = globals._players___22426; - s.tmp_0.arg1 = inline__P29519; + s.tmp_0 = helpers_arrayFilter__P130736_mk(s); + s.tmp_0.arg0 = globals._players___134346; + s.tmp_0.arg1 = inline__P141443; s.callLocIdx = 160; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -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":[]} +controller_players__P132546.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__P20626_mk(s) { +function controller_players__P132546_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P20626, depth: s.depth + 1, + parent: s, fn: controller_players__P132546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14852,7 +14852,7 @@ function controller_players__P20626_mk(s) { -function inline__P29519(s) { +function inline__P141443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14876,12 +14876,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P141443.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__P29519_mk(s) { +function inline__P141443_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29519, depth: s.depth + 1, + parent: s, fn: inline__P141443, 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__P29519_mk(s) { -function controller__player1__P20625(s) { +function controller__player1__P132545(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___22426); + r0 = pxsim_numops_toBoolDecr(globals._players___134346); 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___22426, 0); + r0 = pxsim_Array__getAt(globals._players___134346, 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__C20631_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C132551_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - 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); + r0 = pxsim_Array__push(s.tmp_6, globals.left___132507); + r0 = pxsim_Array__push(s.tmp_6, globals.up___132508); + r0 = pxsim_Array__push(s.tmp_6, globals.right___132509); + r0 = pxsim_Array__push(s.tmp_6, globals.down___132510); + r0 = pxsim_Array__push(s.tmp_6, globals.A___132505); + r0 = pxsim_Array__push(s.tmp_6, globals.B___132506); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___132511); + s.tmp_7 = controller_Controller_constructor__P132555_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___22426, 0); + r0 = pxsim_Array__getAt(globals._players___134346, 0); return leave(s, r0) default: oops() } } } -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":[]} +controller__player1__P132545.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__P20625_mk(s) { +function controller__player1__P132545_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P20625, depth: s.depth + 1, + parent: s, fn: controller__player1__P132545, 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__P20625_mk(s) { -function controller_Controller_constructor__P20635(s) { +function controller_Controller_constructor__P132555(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___29578 = undefined; - s.i___29586 = undefined; - s.i___29604 = undefined; + s.leftId___141502 = undefined; + s.i___141510 = undefined; + s.i___141528 = 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__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_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___29578 = (r0); - s.i___29586 = (0); + s.leftId___141502 = (r0); + s.i___141510 = (0); case 2: - r0 = (s.i___29586 < 7); + r0 = (s.i___141510 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20611_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C132531_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P20617_mk(s); + s.tmp_2 = controller_Button_constructor__P132537_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___29578 + s.i___29586); + r0 = (s.leftId___141502 + s.i___141510); 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___29586 + 1); - s.i___29586 = (r0); + r0 = (s.i___141510 + 1); + s.i___141510 = (r0); { step = 2; continue; } case 3: case 4: - s.i___29604 = (0); + s.i___141528 = (0); case 5: - s.tmp_1 = r0 = s.i___29604; + s.tmp_1 = r0 = s.i___141528; 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___29604); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___141528); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___29604 + 1); - s.i___29604 = (r0); + r0 = (s.i___141528 + 1); + s.i___141528 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P22427_mk(s); + s.tmp_0 = controller_addController__P134347_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__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"]} +controller_Controller_constructor__P132555.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__P20635_mk(s) { +function controller_Controller_constructor__P132555_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P20635, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P132555, 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__P20635_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___29578: undefined, - i___29586: undefined, - i___29604: undefined, + leftId___141502: undefined, + i___141510: undefined, + i___141528: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15090,7 +15090,7 @@ function controller_Controller_constructor__P20635_mk(s) { -function controller_addController__P22427(s) { +function controller_addController__P134347(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___22426); + r0 = pxsim_numops_toBoolDecr(globals._players___134346); 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___22426 = (r0); + globals._players___134346 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___22426; + s.tmp_0 = r0 = globals._players___134346; 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__P22427.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__P134347.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__P22427_mk(s) { +function controller_addController__P134347_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P22427, depth: s.depth + 1, + parent: s, fn: controller_addController__P134347, 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__P22427_mk(s) { -function helpers_arrayFilter__P18816(s) { +function helpers_arrayFilter__P130736(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___31465 = undefined; - s.len___31467 = undefined; - s.i___31470 = undefined; - s.v___31475 = undefined; + s.res___143389 = undefined; + s.len___143391 = undefined; + s.i___143394 = undefined; + s.v___143399 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___31465 = (r0); + s.res___143389 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___31467 = (r0); - s.i___31470 = (0); + s.len___143391 = (r0); + s.i___143394 = (0); case 1: - r0 = (s.i___31470 < s.len___31467); + r0 = (s.i___143394 < s.len___143391); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___31470); - s.v___31475 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___143394); + s.v___143399 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___31475; - s.tmp_1.arg1 = s.i___31470; + s.tmp_1.arg0 = s.v___143399; + s.tmp_1.arg1 = s.i___143394; 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___31465, s.v___31475); + r0 = pxsim_Array__push(s.res___143389, s.v___143399); case 2: case 3: - r0 = (s.i___31470 + 1); - s.i___31470 = (r0); + r0 = (s.i___143394 + 1); + s.i___143394 = (r0); { step = 1; continue; } case 4: - r0 = s.res___31465; + r0 = s.res___143389; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayFilter__P130736.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__P18816_mk(s) { +function helpers_arrayFilter__P130736_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P18816, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P130736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___31465: undefined, - len___31467: undefined, - i___31470: undefined, - v___31475: undefined, + res___143389: undefined, + len___143391: undefined, + i___143394: undefined, + v___143399: undefined, arg0: undefined, arg1: undefined, } } @@ -15215,7 +15215,7 @@ function helpers_arrayFilter__P18816_mk(s) { -function controller__moveSprites__P20630(s) { +function controller__moveSprites__P132550(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__P18815_mk(s); - s.tmp_1 = controller_players__P20626_mk(s); + s.tmp_0 = helpers_arrayForEach__P130735_mk(s); + s.tmp_1 = controller_players__P132546_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__P29314; + s.tmp_0.arg1 = inline__P141238; 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__P20630.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P132550.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__P20630_mk(s) { +function controller__moveSprites__P132550_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P20630, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P132550, 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__P20630_mk(s) { -function inline__P29314(s) { +function inline__P141238(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__P20655_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P132575_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__P29314.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P141238.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__P29314_mk(s) { +function inline__P141238_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29314, depth: s.depth + 1, + parent: s, fn: inline__P141238, 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__P29314_mk(s) { -function controller_Controller___preUpdate__P20655(s) { +function controller_Controller___preUpdate__P132575(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___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; + s.deadSprites___141245 = undefined; + s.svx___141246 = undefined; + s.svy___141247 = undefined; + s.svxInCricle___141282 = undefined; + s.svyInCircle___141284 = undefined; + s.sq___141286 = undefined; + s.scale___141301 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P20636_mk(s); + if (!checkSubtype(r0, controller_Controller__C132551_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P132556_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___29321 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___29321, false); + s.deadSprites___141245 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___141245, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___29322 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___29322, 0); + s.svx___141246 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___141246, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___29323 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___29323, 0); + s.svy___141247 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___141247, 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___29322; - s.tmp_5 = controller_Button_pressureLevel__P20621_mk(s); - s.tmp_6 = controller_Controller_right__P20641_mk(s); + s.tmp_1 = r0 = s.svx___141246; + s.tmp_5 = controller_Button_pressureLevel__P132541_mk(s); + s.tmp_6 = controller_Controller_right__P132561_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__P20621_mk(s); - s.tmp_9 = controller_Controller_left__P20640_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P132541_mk(s); + s.tmp_9 = controller_Controller_left__P132560_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___29323; - s.tmp_4 = controller_Button_pressureLevel__P20621_mk(s); - s.tmp_5 = controller_Controller_down__P20643_mk(s); + s.tmp_0 = r0 = s.svy___141247; + s.tmp_4 = controller_Button_pressureLevel__P132541_mk(s); + s.tmp_5 = controller_Controller_down__P132563_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__P20621_mk(s); - s.tmp_8 = controller_Controller_up__P20642_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P132541_mk(s); + s.tmp_8 = controller_Controller_up__P132562_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__C20611_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P20641_mk(s); + s.tmp_1 = controller_Button__C132531_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P132561_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__C20611_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C132531_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__C20611_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P20640_mk(s); + s.tmp_5 = controller_Button__C132531_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P132560_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__C20611_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C132531_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___29322; + s.tmp_8 = r0 = s.svx___141246; 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__C20611_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P20643_mk(s); + s.tmp_1 = controller_Button__C132531_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P132563_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__C20611_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C132531_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__C20611_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P20642_mk(s); + s.tmp_5 = controller_Button__C132531_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P132562_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__C20611_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C132531_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___29323; + s.tmp_8 = r0 = s.svy___141247; 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___29358 = (r0); - s.tmp_0 = r0 = s.svxInCricle___29358; - r0 = pxsim_pxtrt_ldlocRef(s.svx___29322); + s.svxInCricle___141282 = (r0); + s.tmp_0 = r0 = s.svxInCricle___141282; + r0 = pxsim_pxtrt_ldlocRef(s.svx___141246); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___29360 = (r0); - s.tmp_0 = r0 = s.svyInCircle___29360; - r0 = pxsim_pxtrt_ldlocRef(s.svy___29323); + s.svyInCircle___141284 = (r0); + s.tmp_0 = r0 = s.svyInCircle___141284; + r0 = pxsim_pxtrt_ldlocRef(s.svy___141247); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___29322); + r0 = pxsim_pxtrt_ldlocRef(s.svx___141246); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___29322); + r0 = pxsim_pxtrt_ldlocRef(s.svx___141246); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___29323); + r0 = pxsim_pxtrt_ldlocRef(s.svy___141247); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___29323); + r0 = pxsim_pxtrt_ldlocRef(s.svy___141247); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___29362 = (r0); - r0 = (s.sq___29362 > 65536); + s.sq___141286 = (r0); + r0 = (s.sq___141286 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___29362); + r0 = (65536 / s.sq___141286); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - 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.scale___141301 = (r0); + s.tmp_0 = r0 = s.svxInCricle___141282; + s.tmp_3 = r0 = s.scale___141301; + r0 = pxsim_pxtrt_ldlocRef(s.svx___141246); 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___29360; - s.tmp_3 = r0 = s.scale___29377; - r0 = pxsim_pxtrt_ldlocRef(s.svy___29323); + s.tmp_0 = r0 = s.svyInCircle___141284; + s.tmp_3 = r0 = s.scale___141301; + r0 = pxsim_pxtrt_ldlocRef(s.svy___141247); 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__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); + r0 = pxsim_pxtcore_mkAction(5, inline__P141319); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___141245); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___141246); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___141247); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___141282); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___141284); + s.tmp_1 = helpers_arrayForEach__P130735_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P132556_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___29321); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___141245); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P20637_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P132557_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P18816_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P20636_mk(s); + s.tmp_2 = helpers_arrayFilter__P130736_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P132556_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__P29452; + s.tmp_2.arg1 = inline__P141376; 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__P20655.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__P132575.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__P20655_mk(s) { +function controller_Controller___preUpdate__P132575_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P20655, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P132575, 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__P20655_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___29321: undefined, - svx___29322: undefined, - svy___29323: undefined, - svxInCricle___29358: undefined, - svyInCircle___29360: undefined, - sq___29362: undefined, - scale___29377: undefined, + deadSprites___141245: undefined, + svx___141246: undefined, + svy___141247: undefined, + svxInCricle___141282: undefined, + svyInCircle___141284: undefined, + sq___141286: undefined, + scale___141301: undefined, arg0: undefined, } } @@ -15629,7 +15629,7 @@ function controller_Controller___preUpdate__P20655_mk(s) { -function inline__P29395(s) { +function inline__P141319(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___29398 = undefined; - s.vx___29399 = undefined; - s.vy___29400 = undefined; + s.s___141322 = undefined; + s.vx___141323 = undefined; + s.vy___141324 = 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___29398 = (r0); + s.s___141322 = (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___29399 = (r0); + s.vx___141323 = (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___29400 = (r0); - r0 = s.s___29398.fields["flags"]; + s.vy___141324 = (r0); + r0 = s.s___141322.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___29399); + r0 = pxsim_numops_toBoolDecr(s.vx___141323); if (!r0) { step = 3; continue; } - r0 = (s.s___29398).fields["_vx"] = (0); + r0 = (s.s___141322).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___29400); + r0 = pxsim_numops_toBoolDecr(s.vy___141324); if (!r0) { step = 5; continue; } - r0 = (s.s___29398).fields["_vy"] = (0); + r0 = (s.s___141322).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___29399; + s.tmp_2 = r0 = s.vx___141323; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___29400; + r0 = s.vy___141324; 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___29398; + s.tmp_4 = r0 = s.s___141322; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___29399); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___141323); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___29398; + s.tmp_0 = r0 = s.s___141322; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___29400); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___141324); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___29399); + r0 = pxsim_numops_toBoolDecr(s.vx___141323); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___29398; + s.tmp_0 = r0 = s.s___141322; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___29399); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___141323); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___29400); + r0 = pxsim_numops_toBoolDecr(s.vy___141324); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___29398; + s.tmp_0 = r0 = s.s___141322; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___29400); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___141324); 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__P29395.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P141319.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__P29395_mk(s) { +function inline__P141319_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29395, depth: s.depth + 1, + parent: s, fn: inline__P141319, 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__P29395_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___29398: undefined, - vx___29399: undefined, - vy___29400: undefined, + s___141322: undefined, + vx___141323: undefined, + vy___141324: undefined, arg0: undefined, } } @@ -15807,7 +15807,7 @@ function inline__P29395_mk(s) { -function inline__P29452(s) { +function inline__P141376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15832,12 +15832,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P141376.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__P29452_mk(s) { +function inline__P141376_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P29452, depth: s.depth + 1, + parent: s, fn: inline__P141376, 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__P29452_mk(s) { -function controller_Controller_down__P20643(s) { +function controller_Controller_down__P132563(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__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_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__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; +controller_Controller_down__P132563.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__P132563.isGetter = true; -function controller_Controller_down__P20643_mk(s) { +function controller_Controller_down__P132563_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P20643, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P132563, 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__P20643_mk(s) { -function controller_Controller_button__P22428(s) { +function controller_Controller_button__P134348(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__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_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__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"]} +controller_Controller_button__P134348.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__P22428_mk(s) { +function controller_Controller_button__P134348_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P22428, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P134348, 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__P22428_mk(s) { -function controller_Controller_up__P20642(s) { +function controller_Controller_up__P132562(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__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_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__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; +controller_Controller_up__P132562.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__P132562.isGetter = true; -function controller_Controller_up__P20642_mk(s) { +function controller_Controller_up__P132562_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P20642, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P132562, 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__P20642_mk(s) { -function controller_Controller_right__P20641(s) { +function controller_Controller_right__P132561(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__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_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__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; +controller_Controller_right__P132561.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__P132561.isGetter = true; -function controller_Controller_right__P20641_mk(s) { +function controller_Controller_right__P132561_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P20641, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P132561, 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__P20641_mk(s) { -function controller_Controller_left__P20640(s) { +function controller_Controller_left__P132560(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__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_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__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; +controller_Controller_left__P132560.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__P132560.isGetter = true; -function controller_Controller_left__P20640_mk(s) { +function controller_Controller_left__P132560_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P20640, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P132560, 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__P20640_mk(s) { -function controller_Controller__controlledSprites__P20637(s) { +function controller_Controller__controlledSprites__P132557(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__C20631_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P21240_mk(s); + if (!checkSubtype(r0, controller_Controller__C132551_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P133160_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__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"]} +controller_Controller__controlledSprites__P132557.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__P20637_mk(s) { +function controller_Controller__controlledSprites__P132557_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P20637, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P132557, 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__P20637_mk(s) { -function controller_Controller__controlledSprites__P20636(s) { +function controller_Controller__controlledSprites__P132556(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__C20631_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P21240_mk(s); + if (!checkSubtype(r0, controller_Controller__C132551_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P133160_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__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; +controller_Controller__controlledSprites__P132556.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__P132556.isGetter = true; -function controller_Controller__controlledSprites__P20636_mk(s) { +function controller_Controller__controlledSprites__P132556_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P20636, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P132556, 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__P20636_mk(s) { -function controller_Button_pressureLevel__P20621(s) { +function controller_Button_pressureLevel__P132541(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__C20611_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C132531_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__C20611_v0_1_mk(s); + s.tmp_3 = controller_Button__C132531_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C20611_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C132531_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__P20621.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__P132541.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__P20621_mk(s) { +function controller_Button_pressureLevel__P132541_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P20621, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P132541, 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__P20621_mk(s) { -function controller_Button_isPressed__P20620(s) { +function controller_Button_isPressed__P132540(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__C20611_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C132531_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -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"]} +controller_Button_isPressed__P132540.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__P20620_mk(s) { +function controller_Button_isPressed__P132540_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P20620, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P132540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16256,7 +16256,7 @@ function controller_Button_isPressed__P20620_mk(s) { -function Fx_imul__P18864(s) { +function Fx_imul__P130784(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__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"]} +Fx_imul__P130784.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__P18864_mk(s) { +function Fx_imul__P130784_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P18864, depth: s.depth + 1, + parent: s, fn: Fx_imul__P130784, 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__P18864_mk(s) { -function power_checkDeepSleep__P20414(s) { +function power_checkDeepSleep__P132334(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___28700 = undefined; - s.to___28703 = undefined; - s.tmp_0 = power_init__P22327_mk(s); + s.p___140624 = undefined; + s.to___140627 = undefined; + s.tmp_0 = power_init__P134247_mk(s); s.callLocIdx = 85; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___22325; + s.tmp_0 = r0 = globals._poked___134245; 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___28700 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___22326; + s.p___140624 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___134246; 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___28703 = (s.tmp_1); - r0 = (s.to___28703 > 0); + s.to___140627 = (s.tmp_1); + r0 = (s.to___140627 > 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___28700); + r0 = (s.tmp_2 - s.p___140624); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___28703); + r0 = (s.tmp_1 > s.to___140627); 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__P20414.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P132334.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__P20414_mk(s) { +function power_checkDeepSleep__P132334_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P20414, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P132334, 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__P20414_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___28700: undefined, - to___28703: undefined, + p___140624: undefined, + to___140627: undefined, } } -function power_init__P22327(s) { +function power_init__P134247(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___22326 !== undefined); + r0 = (globals._timeout___134246 !== 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___22326 = (r0); - r0 = (globals._timeout___22326 > 0); + globals._timeout___134246 = (r0); + r0 = (globals._timeout___134246 > 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___22326 < 300000); + r0 = (globals._timeout___134246 < 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___22326 = (300000); + globals._timeout___134246 = (300000); case 5: case 6: case 7: @@ -16429,12 +16429,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +power_init__P134247.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__P22327_mk(s) { +function power_init__P134247_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P22327, depth: s.depth + 1, + parent: s, fn: power_init__P134247, 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__P22327_mk(s) { -function power_poke__P20413(s) { +function power_poke__P132333(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__P22327_mk(s); + s.tmp_0 = power_init__P134247_mk(s); s.callLocIdx = 84; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___22325 = (r0); + globals._poked___134245 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +power_poke__P132333.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__P20413_mk(s) { +function power_poke__P132333_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P20413, depth: s.depth + 1, + parent: s, fn: power_poke__P132333, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16478,7 +16478,7 @@ function power_poke__P20413_mk(s) { -function scene_Scene_constructor__P21148(s) { +function scene_Scene_constructor__P133068(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__C21127_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C133047_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__C20881_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C132801_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P20882_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P132802_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__C21068_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C132988_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P21072_mk(s); + s.tmp_1 = scene_Camera_constructor__P132992_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__C20973_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C132893_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P20977_mk(s); + s.tmp_1 = scene_Background_constructor__P132897_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__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"]} +scene_Scene_constructor__P133068.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__P21148_mk(s) { +function scene_Scene_constructor__P133068_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P21148, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P133068, 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__P21148_mk(s) { -function scene_Camera_constructor__P21072(s) { +function scene_Camera_constructor__P132992(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__C21068_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C132988_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__P21072.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__P132992.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__P21072_mk(s) { +function scene_Camera_constructor__P132992_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P21072, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P132992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16633,7 +16633,7 @@ function scene_Camera_constructor__P21072_mk(s) { -function scene_Background_constructor__P20977(s) { +function scene_Background_constructor__P132897(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__C20973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C132893_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__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"]} +scene_Background_constructor__P132897.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__P20977_mk(s) { +function scene_Background_constructor__P132897_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P20977, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P132897, 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__P20977_mk(s) { -function ArcadePhysicsEngine_constructor__P20882(s) { +function ArcadePhysicsEngine_constructor__P132802(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__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_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__C20802_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C132722_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P20803_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P132723_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__P20884_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P132804_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__P20888_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P132808_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__P20886_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P132806_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__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"]} +ArcadePhysicsEngine_constructor__P132802.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__P20882_mk(s) { +function ArcadePhysicsEngine_constructor__P132802_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P20882, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P132802, 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__P20882_mk(s) { -function ArcadePhysicsEngine_maxStep__P20888(s) { +function ArcadePhysicsEngine_maxStep__P132808(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__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_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__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"]} +ArcadePhysicsEngine_maxStep__P132808.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__P20888_mk(s) { +function ArcadePhysicsEngine_maxStep__P132808_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P20888, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P132808, 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__P20888_mk(s) { -function ArcadePhysicsEngine_maxStep__P20887(s) { +function ArcadePhysicsEngine_maxStep__P132807(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__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_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__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; +ArcadePhysicsEngine_maxStep__P132807.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__P132807.isGetter = true; -function ArcadePhysicsEngine_maxStep__P20887_mk(s) { +function ArcadePhysicsEngine_maxStep__P132807_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P20887, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P132807, 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__P20887_mk(s) { -function ArcadePhysicsEngine_minStep__P20886(s) { +function ArcadePhysicsEngine_minStep__P132806(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__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_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__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"]} +ArcadePhysicsEngine_minStep__P132806.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__P20886_mk(s) { +function ArcadePhysicsEngine_minStep__P132806_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P20886, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P132806, 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__P20886_mk(s) { -function ArcadePhysicsEngine_minStep__P20885(s) { +function ArcadePhysicsEngine_minStep__P132805(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__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_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__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; +ArcadePhysicsEngine_minStep__P132805.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__P132805.isGetter = true; -function ArcadePhysicsEngine_minStep__P20885_mk(s) { +function ArcadePhysicsEngine_minStep__P132805_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P20885, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P132805, 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__P20885_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P20884(s) { +function ArcadePhysicsEngine_maxSpeed__P132804(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__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_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__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"]} +ArcadePhysicsEngine_maxSpeed__P132804.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__P20884_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P132804_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P20884, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P132804, 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__P20884_mk(s) { -function Fx_neg__P18858(s) { +function Fx_neg__P130778(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__P18858.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__P130778.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__P18858_mk(s) { +function Fx_neg__P130778_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P18858, depth: s.depth + 1, + parent: s, fn: Fx_neg__P130778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17005,7 +17005,7 @@ function Fx_neg__P18858_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P20883(s) { +function ArcadePhysicsEngine_maxSpeed__P132803(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__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_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__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; +ArcadePhysicsEngine_maxSpeed__P132803.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__P132803.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P20883_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P132803_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P20883, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P132803, 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__P20883_mk(s) { -function PhysicsEngine_constructor__P20868(s) { +function PhysicsEngine_constructor__P132788(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__C20867_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C132787_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +PhysicsEngine_constructor__P132788.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__P20868_mk(s) { +function PhysicsEngine_constructor__P132788_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P20868, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P132788, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17080,7 +17080,7 @@ function PhysicsEngine_constructor__P20868_mk(s) { -function sprites_SpriteMap_constructor__P20803(s) { +function sprites_SpriteMap_constructor__P132723(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__C20802_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_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__P20803.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__P132723.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__P20803_mk(s) { +function sprites_SpriteMap_constructor__P132723_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P20803, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P132723, 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__P20803_mk(s) { -function music_Melody_constructor__P20309(s) { +function music_Melody_constructor__P132229(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__C20306_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C132226_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +music_Melody_constructor__P132229.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__P20309_mk(s) { +function music_Melody_constructor__P132229_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P20309, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P132229, 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__P20309_mk(s) { -function control_pushEventContext__P19106(s) { +function control_pushEventContext__P131026(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___29731 = undefined; - s.n___29737 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22268); + s.ctx___141655 = undefined; + s.n___141661 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___134188); 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___22268 = (r0); + globals.eventContexts___134188 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P19105_mk(s); + s.tmp_0 = control_eventContext__P131025_mk(s); s.callLocIdx = 65; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___29731 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___29731); + s.ctx___141655 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___141655); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P19099_mk(s); - s.tmp_0.arg0 = s.ctx___29731; + s.tmp_0 = control_EventContext_unregister__P131019_mk(s); + s.tmp_0.arg0 = s.ctx___141655; 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__C19092_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C131012_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P19096_mk(s); + s.tmp_1 = control_EventContext_constructor__P131016_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___29737 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___22268, s.n___29737); - r0 = s.n___29737; + s.n___141661 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___134188, s.n___141661); + r0 = s.n___141661; return leave(s, r0) default: oops() } } } -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":[]} +control_pushEventContext__P131026.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__P19106_mk(s) { +function control_pushEventContext__P131026_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P19106, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P131026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___29731: undefined, - n___29737: undefined, + ctx___141655: undefined, + n___141661: undefined, } } -function control_eventContext__P19105(s) { +function control_eventContext__P131025(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___22268); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___134188); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___22268; - r0 = pxsim_Array__length(globals.eventContexts___22268); + s.tmp_0 = r0 = globals.eventContexts___134188; + r0 = pxsim_Array__length(globals.eventContexts___134188); 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__P19105.info = {"start":6907,"length":136,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P131025.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__P19105_mk(s) { +function control_eventContext__P131025_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P19105, depth: s.depth + 1, + parent: s, fn: control_eventContext__P131025, 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__P19105_mk(s) { -function control_EventContext_unregister__P19099(s) { +function control_EventContext_unregister__P131019(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___29766 = undefined; - s.unnamed242___U1 = undefined; - s.unnamed243___U2 = undefined; + s.h___141690 = undefined; + s.unnamed1110___U1 = undefined; + s.unnamed1111___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); - s.h___29766 = (undefined); + if (!checkSubtype(r0, control_EventContext__C131012_VT)) failedCast(r0); + s.h___141690 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed242___U1 = (r0); - s.unnamed243___U2 = (0); + s.unnamed1110___U1 = (r0); + s.unnamed1111___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed243___U2; - r0 = pxsim_Array__length(s.unnamed242___U1); + s.tmp_0 = r0 = s.unnamed1111___U2; + r0 = pxsim_Array__length(s.unnamed1110___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - 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; + r0 = pxsim_Array__getAt(s.unnamed1110___U1, s.unnamed1111___U2); + s.h___141690 = (r0); + s.tmp_2 = control_EventHandler_unregister__P134182_mk(s); + s.tmp_2.arg0 = s.h___141690; s.callLocIdx = 61; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed243___U2 + 1); - s.unnamed243___U2 = (r0); + r0 = (s.unnamed1111___U2 + 1); + s.unnamed1111___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed242___U1 = (undefined); + s.unnamed1110___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__P19099.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__P131019.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__P19099_mk(s) { +function control_EventContext_unregister__P131019_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P19099, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P131019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___29766: undefined, - unnamed242___U1: undefined, - unnamed243___U2: undefined, + h___141690: undefined, + unnamed1110___U1: undefined, + unnamed1111___U2: undefined, arg0: undefined, } } @@ -17339,7 +17339,7 @@ function control_EventContext_unregister__P19099_mk(s) { -function control_EventHandler_unregister__P22262(s) { +function control_EventHandler_unregister__P134182(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__C22260_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C134180_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__P22264, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P134184, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +control_EventHandler_unregister__P134182.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__P22262_mk(s) { +function control_EventHandler_unregister__P134182_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P22262, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P134182, 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__P22262_mk(s) { -function control_doNothing__P22264(s) { +function control_doNothing__P134184(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__P22264.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P134184.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__P22264_mk(s) { +function control_doNothing__P134184_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P22264, depth: s.depth + 1, + parent: s, fn: control_doNothing__P134184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -17410,7 +17410,7 @@ function control_doNothing__P22264_mk(s) { -function control_EventContext_constructor__P19096(s) { +function control_EventContext_constructor__P131016(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__C19092_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C131012_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___19094); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___131014); 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___19094 = (r0); + globals.control_EventContext_lastStats___131014 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +control_EventContext_constructor__P131016.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__P19096_mk(s) { +function control_EventContext_constructor__P131016_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P19096, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P131016, 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__P19096_mk(s) { -function control_EventContext_registerFrameHandler__P19100(s) { +function control_EventContext_registerFrameHandler__P131020(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___27888 = undefined; - s.i___27897 = undefined; + s.fn___139812 = undefined; + s.i___139821 = 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__C19092_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C131012_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__P22266_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P134186_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__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); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C131009_VT); + s.fn___139812 = (r0); + r0 = (s.fn___139812).fields["order"] = (s.arg1); + r0 = (s.fn___139812).fields["handler"] = (s.arg2); + s.i___139821 = (0); case 3: - s.tmp_1 = r0 = s.i___27897; + s.tmp_1 = r0 = s.i___139821; 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___27897); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___139821); 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___27897, s.fn___27888); - r0 = s.fn___27888; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___139821, s.fn___139812); + r0 = s.fn___139812; { step = 7; continue; } case 4: case 5: - r0 = (s.i___27897 + 1); - s.i___27897 = (r0); + r0 = (s.i___139821 + 1); + s.i___139821 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___27888); - r0 = s.fn___27888; + r0 = pxsim_Array__push(s.tmp_0, s.fn___139812); + r0 = s.fn___139812; case 7: return leave(s, r0) default: oops() } } } -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"]} +control_EventContext_registerFrameHandler__P131020.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__P19100_mk(s) { +function control_EventContext_registerFrameHandler__P131020_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P19100, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P131020, 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__P19100_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___27888: undefined, - i___27897: undefined, + fn___139812: undefined, + i___139821: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17573,7 +17573,7 @@ function control_EventContext_registerFrameHandler__P19100_mk(s) { -function control_EventContext_registerFrameCallbacks__P22266(s) { +function control_EventContext_registerFrameCallbacks__P134186(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___27931 = undefined; + s.worker___139855 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C131012_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___27931 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P27937); + s.worker___139855 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P139861); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___27931); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___139855); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +control_EventContext_registerFrameCallbacks__P134186.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__P22266_mk(s) { +function control_EventContext_registerFrameCallbacks__P134186_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P22266, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P134186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___27931: undefined, + worker___139855: undefined, arg0: undefined, } } @@ -17631,7 +17631,7 @@ function control_EventContext_registerFrameCallbacks__P22266_mk(s) { -function inline__P27937(s) { +function inline__P139861(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___27967 = undefined; + s.delay___139891 = 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__P27943); + r0 = pxsim_pxtcore_mkAction(1, inline__P139867); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P19064_mk(s); + s.tmp_2 = pauseUntil__P130984_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__P22265_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P134185_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___27967 = (r0); - s.tmp_0 = pause__P19110_mk(s); - s.tmp_0.arg0 = s.delay___27967; + s.delay___139891 = (r0); + s.tmp_0 = pause__P131030_mk(s); + s.tmp_0.arg0 = s.delay___139891; 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__P27937.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P139861.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P27937_mk(s) { +function inline__P139861_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27937, depth: s.depth + 1, + parent: s, fn: inline__P139861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___27967: undefined, + delay___139891: undefined, } } -function inline__P27943(s) { +function inline__P139867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17725,12 +17725,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P27943.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P139867.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P27943_mk(s) { +function inline__P139867_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27943, depth: s.depth + 1, + parent: s, fn: inline__P139867, 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__P27943_mk(s) { -function control_EventContext_runCallbacks__P22265(s) { +function control_EventContext_runCallbacks__P134185(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___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; + s.loopStart___139900 = undefined; + s.f___139913 = undefined; + s.unnamed1106___U2 = undefined; + s.unnamed1107___U3 = undefined; + s.runtime___139918 = undefined; + s.fps___139938 = undefined; + s.delay___140000 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C131012_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___27976 = (r0); + s.loopStart___139900 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___27976 - s.tmp_2); + r0 = (s.loopStart___139900 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___27976); - s.f___27989 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___139900); + s.f___139913 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed238___U2 = (r0); - s.unnamed239___U3 = (0); + s.unnamed1106___U2 = (r0); + s.unnamed1107___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed239___U3; - r0 = pxsim_Array__length(s.unnamed238___U2); + s.tmp_0 = r0 = s.unnamed1107___U3; + r0 = pxsim_Array__length(s.unnamed1106___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed238___U2, s.unnamed239___U3); - s.f___27989 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1106___U2, s.unnamed1107___U3); + s.f___139913 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___27989; + s.tmp_2.arg0 = s.f___139913; 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.unnamed239___U3 + 1); - s.unnamed239___U3 = (r0); + r0 = (s.unnamed1107___U3 + 1); + s.unnamed1107___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed238___U2 = (undefined); + s.unnamed1106___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___27976); - s.runtime___27994 = (r0); + r0 = (s.tmp_0 - s.loopStart___139900); + s.runtime___139918 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___27994); + r0 = (s.tmp_2 + s.runtime___139918); 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___28014 = (r0); - r0 = pxsim.Math_.round(s.fps___28014); + s.fps___139938 = (r0); + r0 = pxsim.Math_.round(s.fps___139938); 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___19094 = (r0); - r0 = (s.fps___28014 < 99); + globals.control_EventContext_lastStats___131014 = (r0); + r0 = (s.fps___139938 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___19094) && (globals.control_EventContext_lastStats___19094).vtable) { + if ((globals.control_EventContext_lastStats___131014) && (globals.control_EventContext_lastStats___131014).vtable) { setupResume(s, 15); - pxsim_String__stringConv(globals.control_EventContext_lastStats___19094); + pxsim_String__stringConv(globals.control_EventContext_lastStats___131014); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___19094) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___131014) + ""; } case 15: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___28014 * 10); + r0 = (s.fps___139938 * 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___19094 = (r0); + globals.control_EventContext_lastStats___131014 = (r0); case 5: case 6: - s.tmp_2 = control_ramSize__P19043_mk(s); + s.tmp_2 = control_ramSize__P130963_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___28014 * 100); + r0 = (s.fps___139938 * 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__P18833_mk(s); + s.tmp_0 = Math_max__P130753_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___27994); + r0 = (20 - s.runtime___139918); s.tmp_0.arg1 = r0; s.callLocIdx = 55; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.delay___28076 = (r0); - r0 = s.delay___28076; + s.delay___140000 = (r0); + r0 = s.delay___140000; return leave(s, r0) default: oops() } } } -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"]} +control_EventContext_runCallbacks__P134185.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__P22265_mk(s) { +function control_EventContext_runCallbacks__P134185_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P22265, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P134185, 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__P22265_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - loopStart___27976: undefined, - f___27989: undefined, - unnamed238___U2: undefined, - unnamed239___U3: undefined, - runtime___27994: undefined, - fps___28014: undefined, - delay___28076: undefined, + loopStart___139900: undefined, + f___139913: undefined, + unnamed1106___U2: undefined, + unnamed1107___U3: undefined, + runtime___139918: undefined, + fps___139938: undefined, + delay___140000: undefined, arg0: undefined, } } @@ -18007,7 +18007,7 @@ function control_EventContext_runCallbacks__P22265_mk(s) { -function pauseUntil__P19064(s) { +function pauseUntil__P130984(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__P19063_mk(s); + s.tmp_0 = control___queuePollEvent__P130983_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__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"]} +pauseUntil__P130984.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__P19064_mk(s) { +function pauseUntil__P130984_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P19064, depth: s.depth + 1, + parent: s, fn: pauseUntil__P130984, 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__P19064_mk(s) { -function control___queuePollEvent__P19063(s) { +function control___queuePollEvent__P130983(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___28098 = undefined; + s.ev___140022 = 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__C22239_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C134159_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P22240_mk(s); + s.tmp_1 = control_PollEvent_constructor__P134160_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___28098 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___22242); + s.ev___140022 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___134162); 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___28098); - globals._pollEventQueue___22242 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P22243); + r0 = pxsim_Array__push(s.tmp_2, s.ev___140022); + globals._pollEventQueue___134162 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P134163); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___22242, s.ev___28098); + r0 = pxsim_Array__push(globals._pollEventQueue___134162, s.ev___140022); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P19088_mk(s); - r0 = s.ev___28098.fields["eid"]; + s.tmp_0 = control_onEvent__P131008_mk(s); + r0 = s.ev___140022.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___28098.fields["vid"]; + r0 = s.ev___140022.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___28098.fields["eid"]; + r0 = s.ev___140022.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___28098.fields["vid"]; + r0 = s.ev___140022.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__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"]} +control___queuePollEvent__P130983.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__P19063_mk(s) { +function control___queuePollEvent__P130983_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P19063, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P130983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___28098: undefined, + ev___140022: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18187,7 +18187,7 @@ function control___queuePollEvent__P19063_mk(s) { -function control_pollEvents__P22243(s) { +function control_pollEvents__P134163(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___28224 = undefined; - s.i___28227 = undefined; - s.ev___28233 = undefined; + s.now___140148 = undefined; + s.i___140151 = undefined; + s.ev___140157 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___22242); + r0 = pxsim_Array__length(globals._pollEventQueue___134162); 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___28224 = (r0); - s.i___28227 = (0); + s.now___140148 = (r0); + s.i___140151 = (0); case 2: - s.tmp_1 = r0 = s.i___28227; - r0 = pxsim_Array__length(globals._pollEventQueue___22242); + s.tmp_1 = r0 = s.i___140151; + r0 = pxsim_Array__length(globals._pollEventQueue___134162); 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___22242, s.i___28227); - s.ev___28233 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___134162, s.i___140151); + s.ev___140157 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___28233; + s.tmp_1.arg0 = s.ev___140157; 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___28233.fields["timeOut"]; + r0 = s.ev___140157.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___28233.fields["start"]; + r0 = s.ev___140157.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___28224 - s.tmp_5); + r0 = (s.now___140148 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___28233.fields["timeOut"]; + r0 = s.ev___140157.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___28233.fields["eid"]; + r0 = s.ev___140157.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___28233.fields["vid"]; + r0 = s.ev___140157.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___28233.fields["once"]; + r0 = s.ev___140157.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - 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 = helpers_arraySplice__P130726_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___134162; + s.tmp_1.arg1 = s.i___140151; s.tmp_1.arg2 = 1; s.callLocIdx = 29; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___28227 - 1); - s.i___28227 = (r0); + r0 = (s.i___140151 - 1); + s.i___140151 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___28227 + 1); - s.i___28227 = (r0); + r0 = (s.i___140151 + 1); + s.i___140151 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P19110_mk(s); + s.tmp_0 = pause__P131030_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___22242 = (undefined); + globals._pollEventQueue___134162 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +control_pollEvents__P134163.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__P22243_mk(s) { +function control_pollEvents__P134163_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P22243, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P134163, 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__P22243_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___28224: undefined, - i___28227: undefined, - ev___28233: undefined, + now___140148: undefined, + i___140151: undefined, + ev___140157: undefined, } } -function helpers_arraySplice__P18806(s) { +function helpers_arraySplice__P130726(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___28281 = undefined; + s.i___140205 = 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___28281 = (0); + s.i___140205 = (0); case 3: - r0 = (s.i___28281 < s.arg2); + r0 = (s.i___140205 < 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___28281 + 1); - s.i___28281 = (r0); + r0 = (s.i___140205 + 1); + s.i___140205 = (r0); { step = 3; continue; } case 4: case 5: @@ -18369,15 +18369,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_arraySplice__P130726.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__P18806_mk(s) { +function helpers_arraySplice__P130726_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P18806, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P130726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___28281: undefined, + i___140205: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18387,7 +18387,7 @@ function helpers_arraySplice__P18806_mk(s) { -function control_PollEvent_constructor__P22240(s) { +function control_PollEvent_constructor__P134160(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__C22239_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C134159_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__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"]} +control_PollEvent_constructor__P134160.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__P22240_mk(s) { +function control_PollEvent_constructor__P134160_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P22240, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P134160, 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__P22240_mk(s) { -function control_onEvent__P19088(s) { +function control_onEvent__P131008(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___28140 = undefined; + s.ctx___140064 = 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__P19105_mk(s); + s.tmp_0 = control_eventContext__P131025_mk(s); s.callLocIdx = 50; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___28140 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___28140); + s.ctx___140064 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___140064); 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__P19102_mk(s); - s.tmp_0.arg0 = s.ctx___28140; + s.tmp_0 = control_EventContext_registerHandler__P131022_mk(s); + s.tmp_0.arg0 = s.ctx___140064; 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__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"]} +control_onEvent__P131008.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__P19088_mk(s) { +function control_onEvent__P131008_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P19088, depth: s.depth + 1, + parent: s, fn: control_onEvent__P131008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___28140: undefined, + ctx___140064: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18505,7 +18505,7 @@ function control_onEvent__P19088_mk(s) { -function control_EventContext_registerHandler__P19102(s) { +function control_EventContext_registerHandler__P131022(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___28163 = undefined; - s.unnamed244___U1 = undefined; - s.unnamed245___U2 = undefined; - s.hn___28186 = undefined; + s.h___140087 = undefined; + s.unnamed1112___U1 = undefined; + s.unnamed1113___U2 = undefined; + s.hn___140110 = 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__C19092_VT)) failedCast(r0); - s.h___28163 = (undefined); + if (!checkSubtype(r0, control_EventContext__C131012_VT)) failedCast(r0); + s.h___140087 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed244___U1 = (r0); - s.unnamed245___U2 = (0); + s.unnamed1112___U1 = (r0); + s.unnamed1113___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed245___U2; - r0 = pxsim_Array__length(s.unnamed244___U1); + s.tmp_0 = r0 = s.unnamed1113___U2; + r0 = pxsim_Array__length(s.unnamed1112___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed244___U1, s.unnamed245___U2); - s.h___28163 = (r0); - r0 = s.h___28163.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed1112___U1, s.unnamed1113___U2); + s.h___140087 = (r0); + r0 = s.h___140087.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___28163.fields["value"]; + r0 = s.h___140087.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___28163).fields["flags"] = (s.arg4); - r0 = (s.h___28163).fields["handler"] = (s.arg3); + r0 = (s.h___140087).fields["flags"] = (s.arg4); + r0 = (s.h___140087).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed245___U2 + 1); - s.unnamed245___U2 = (r0); + r0 = (s.unnamed1113___U2 + 1); + s.unnamed1113___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed244___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C22260_VT); + s.unnamed1112___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C134180_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P22263_mk(s); + s.tmp_1 = control_EventHandler_constructor__P134183_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___28186 = (s.tmp_0); + s.hn___140110 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - 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; + r0 = pxsim_Array__push(s.tmp_0, s.hn___140110); + s.tmp_0 = control_EventHandler_register__P134181_mk(s); + s.tmp_0.arg0 = s.hn___140110; 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__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"]} +control_EventContext_registerHandler__P131022.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__P19102_mk(s) { +function control_EventContext_registerHandler__P131022_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P19102, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P131022, 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__P19102_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___28163: undefined, - unnamed244___U1: undefined, - unnamed245___U2: undefined, - hn___28186: undefined, + h___140087: undefined, + unnamed1112___U1: undefined, + unnamed1113___U2: undefined, + hn___140110: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18621,7 +18621,7 @@ function control_EventContext_registerHandler__P19102_mk(s) { -function control_EventHandler_constructor__P22263(s) { +function control_EventHandler_constructor__P134183(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__C22260_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C134180_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__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"]} +control_EventHandler_constructor__P134183.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__P22263_mk(s) { +function control_EventHandler_constructor__P134183_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P22263, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P134183, 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__P22263_mk(s) { -function control_EventHandler_register__P22261(s) { +function control_EventHandler_register__P134181(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__C22260_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P28207); + if (!checkSubtype(r0, control_EventHandler__C134180_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P140131); 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__P22261.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__P134181.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__P22261_mk(s) { +function control_EventHandler_register__P134181_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P22261, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P134181, 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__P22261_mk(s) { -function inline__P28207(s) { +function inline__P140131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18748,12 +18748,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P28207.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P140131.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P28207_mk(s) { +function inline__P140131_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P28207, depth: s.depth + 1, + parent: s, fn: inline__P140131, 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__P28207_mk(s) { -function Sprite_vy__P20740(s) { +function Sprite_vy__P132660(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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"]} +Sprite_vy__P132660.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__P20740_mk(s) { +function Sprite_vy__P132660_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P20740, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P132660, 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__P20740_mk(s) { -function Sprite_vy__P20739(s) { +function Sprite_vy__P132659(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_vy__P132659.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__P132659.isGetter = true; -function Sprite_vy__P20739_mk(s) { +function Sprite_vy__P132659_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P20739, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P132659, 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__P20739_mk(s) { -function Sprite_vx__P20738(s) { +function Sprite_vx__P132658(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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"]} +Sprite_vx__P132658.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__P20738_mk(s) { +function Sprite_vx__P132658_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P20738, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P132658, 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__P20738_mk(s) { -function Sprite_vx__P20737(s) { +function Sprite_vx__P132657(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_vx__P132657.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__P132657.isGetter = true; -function Sprite_vx__P20737_mk(s) { +function Sprite_vx__P132657_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P20737, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P132657, 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__P20737_mk(s) { -function helpers_arrayForEach__P18815(s) { +function helpers_arrayForEach__P130735(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___31663 = undefined; - s.i___31666 = undefined; + s.len___143587 = undefined; + s.i___143590 = 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___31663 = (r0); - s.i___31666 = (0); + s.len___143587 = (r0); + s.i___143590 = (0); case 1: - r0 = (s.i___31666 < s.len___31663); + r0 = (s.i___143590 < s.len___143587); 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___31666); + r0 = pxsim_Array__getAt(s.arg0, s.i___143590); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___31666; + s.tmp_1.arg1 = s.i___143590; 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___31666 + 1); - s.i___31666 = (r0); + r0 = (s.i___143590 + 1); + s.i___143590 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayForEach__P130735.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__P18815_mk(s) { +function helpers_arrayForEach__P130735_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P18815, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P130735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___31663: undefined, - i___31666: undefined, + len___143587: undefined, + i___143590: undefined, arg0: undefined, arg1: undefined, } } @@ -18990,7 +18990,7 @@ function helpers_arrayForEach__P18815_mk(s) { -function sprites_allOfKind__P20683(s) { +function sprites_allOfKind__P132603(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___27321 = undefined; + s.spritesByKind___139245 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 238; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___27321 = (r0); + s.spritesByKind___139245 = (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___27321, s.arg0); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___139245, 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__P20823_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___27321, s.arg0); + s.tmp_6 = sprites_SpriteSet_sprites__P132743_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___139245, 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__P20683.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__P132603.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__P20683_mk(s) { +function sprites_allOfKind__P132603_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_allOfKind__P20683, depth: s.depth + 1, + parent: s, fn: sprites_allOfKind__P132603, 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__P20683_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - spritesByKind___27321: undefined, + spritesByKind___139245: undefined, arg0: undefined, } } @@ -19071,7 +19071,7 @@ function sprites_allOfKind__P20683_mk(s) { -function sprites_SpriteSet_sprites__P20823(s) { +function sprites_SpriteSet_sprites__P132743(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__C20819_VT)) failedCast(r0); - s.tmp_0 = helpers_arraySlice__P18820_mk(s); + if (!checkSubtype(r0, sprites_SpriteSet__C132739_VT)) failedCast(r0); + s.tmp_0 = helpers_arraySlice__P130740_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__P20823.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__P132743.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__P20823_mk(s) { +function sprites_SpriteSet_sprites__P132743_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_sprites__P20823, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_sprites__P132743, 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__P20823_mk(s) { -function inline__P27350(s) { +function inline__P139274(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___27353 = undefined; - s.src___27358 = undefined; + s.factory___139277 = undefined; + s.src___139282 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_AshFactory__C21466_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_AshFactory__C133386_VT); s.tmp_0 = r0; - s.tmp_1 = particles_AshFactory_constructor__P21467_mk(s); + s.tmp_1 = particles_AshFactory_constructor__P133387_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___27353 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C21386_VT); + s.factory___139277 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C133306_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P21391_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P133311_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___27353; + s.tmp_1.arg3 = s.factory___139277; s.callLocIdx = 40; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.src___27358 = (s.tmp_0); - s.tmp_0 = particles_ParticleSource_setAcceleration__P21395_mk(s); - s.tmp_0.arg0 = s.src___27358; + s.src___139282 = (s.tmp_0); + s.tmp_0 = particles_ParticleSource_setAcceleration__P133315_mk(s); + s.tmp_0.arg0 = s.src___139282; 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___27358; + r0 = s.src___139282; return leave(s, r0) default: oops() } } } -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"]} +inline__P139274.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__P27350_mk(s) { +function inline__P139274_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P27350, depth: s.depth + 1, + parent: s, fn: inline__P139274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - factory___27353: undefined, - src___27358: undefined, + factory___139277: undefined, + src___139282: undefined, arg0: undefined, arg1: undefined, } } @@ -19186,7 +19186,7 @@ function inline__P27350_mk(s) { -function particles_AshFactory_constructor__P21467(s) { +function particles_AshFactory_constructor__P133387(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___30204 = undefined; - s.i___30206 = undefined; - s.result___30215 = undefined; - s.x___30220 = undefined; - s.y___30226 = undefined; - s.c___30232 = undefined; + s.counts___142128 = undefined; + s.i___142130 = undefined; + s.result___142139 = undefined; + s.x___142144 = undefined; + s.y___142150 = undefined; + s.c___142156 = 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__C21466_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AshFactory__C133386_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__P21437_mk(s); + s.tmp_9 = particles_AreaFactory_constructor__P133357_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__C22976_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C134896_VT); s.tmp_4 = r0; - s.tmp_5 = particles_ColorCount_constructor__P22977_mk(s); + s.tmp_5 = particles_ColorCount_constructor__P134897_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___30204 = (r0); - s.i___30206 = (0); + s.counts___142128 = (r0); + s.i___142130 = (0); case 7: - r0 = (s.i___30206 <= 15); + r0 = (s.i___142130 <= 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = pxsim_Array_.setAt(s.counts___30204, s.i___30206, 0); - r0 = (s.i___30206 + 1); - s.i___30206 = (r0); + r0 = pxsim_Array_.setAt(s.counts___142128, s.i___142130, 0); + r0 = (s.i___142130 + 1); + s.i___142130 = (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___30215 = (r0); - s.x___30220 = (0); + s.result___142139 = (r0); + s.x___142144 = (0); case 9: - s.tmp_1 = r0 = s.x___30220; - r0 = pxsim_ImageMethods.width(s.result___30215); + s.tmp_1 = r0 = s.x___142144; + r0 = pxsim_ImageMethods.width(s.result___142139); 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___30226 = (0); + s.y___142150 = (0); case 10: - s.tmp_1 = r0 = s.y___30226; - r0 = pxsim_ImageMethods.height(s.result___30215); + s.tmp_1 = r0 = s.y___142150; + r0 = pxsim_ImageMethods.height(s.result___142139); 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___30215, s.x___30220, s.y___30226); - s.c___30232 = (r0); - s.tmp_0 = r0 = s.c___30232; + r0 = pxsim_ImageMethods.getPixel(s.result___142139, s.x___142144, s.y___142150); + s.c___142156 = (r0); + s.tmp_0 = r0 = s.c___142156; 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__P21301_mk(s); + s.tmp_1 = Math_FastRandom_percentChance__P133221_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___30204; - s.tmp_4 = r0 = s.c___30232; - r0 = pxsim_Array__getAt(s.tmp_3, s.c___30232); + s.tmp_3 = r0 = s.counts___142128; + s.tmp_4 = r0 = s.c___142156; + r0 = pxsim_Array__getAt(s.tmp_3, s.c___142156); 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___30215, s.x___30220, s.y___30226, 0); + r0 = pxsim_ImageMethods.setPixel(s.result___142139, s.x___142144, s.y___142150, 0); case 13: case 14: - r0 = (s.y___30226 + 1); - s.y___30226 = (r0); + r0 = (s.y___142150 + 1); + s.y___142150 = (r0); { step = 10; continue; } case 15: - r0 = (s.x___30220 + 1); - s.x___30220 = (r0); + r0 = (s.x___142144 + 1); + s.x___142144 = (r0); { step = 9; continue; } case 16: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 17; continue; } - s.tmp_0 = Sprite_setImage__P20764_mk(s); + s.tmp_0 = Sprite_setImage__P132684_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.result___30215; + s.tmp_0.arg1 = s.result___142139; 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__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.tmp_2 = helpers_arrayFilter__P130736_mk(s); + s.tmp_3 = helpers_arrayMap__P130732_mk(s); + s.tmp_3.arg0 = s.counts___142128; + s.tmp_3.arg1 = inline__P142190; 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__P30273; + s.tmp_2.arg1 = inline__P142197; 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__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"]} +particles_AshFactory_constructor__P133387.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__P21467_mk(s) { +function particles_AshFactory_constructor__P133387_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_constructor__P21467, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_constructor__P133387, 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__P21467_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - counts___30204: undefined, - i___30206: undefined, - result___30215: undefined, - x___30220: undefined, - y___30226: undefined, - c___30232: undefined, + counts___142128: undefined, + i___142130: undefined, + result___142139: undefined, + x___142144: undefined, + y___142150: undefined, + c___142156: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19471,7 +19471,7 @@ function particles_AshFactory_constructor__P21467_mk(s) { -function inline__P30266(s) { +function inline__P142190(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__C22976_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C134896_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ColorCount_constructor__P22977_mk(s); + s.tmp_1 = particles_ColorCount_constructor__P134897_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__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"]} +inline__P142190.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__P30266_mk(s) { +function inline__P142190_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30266, depth: s.depth + 1, + parent: s, fn: inline__P142190, 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__P30266_mk(s) { -function inline__P30273(s) { +function inline__P142197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19536,12 +19536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P142197.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__P30273_mk(s) { +function inline__P142197_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30273, depth: s.depth + 1, + parent: s, fn: inline__P142197, 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__P30273_mk(s) { -function particles_ColorCount_constructor__P22977(s) { +function particles_ColorCount_constructor__P134897(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__C22976_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ColorCount__C134896_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__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"]} +particles_ColorCount_constructor__P134897.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__P22977_mk(s) { +function particles_ColorCount_constructor__P134897_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ColorCount_constructor__P22977, depth: s.depth + 1, + parent: s, fn: particles_ColorCount_constructor__P134897, 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__P22977_mk(s) { -function Math_FastRandom_percentChance__P21301(s) { +function Math_FastRandom_percentChance__P133221(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__C21294_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_randomRange__P21298_mk(s); + if (!checkSubtype(r0, Math_FastRandom__C133214_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_randomRange__P133218_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__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"]} +Math_FastRandom_percentChance__P133221.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__P21301_mk(s) { +function Math_FastRandom_percentChance__P133221_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_percentChance__P21301, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_percentChance__P133221, 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__P21301_mk(s) { -function helpers_arrayMap__P18812(s) { +function helpers_arrayMap__P130732(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___30281 = undefined; - s.len___30283 = undefined; - s.i___30286 = undefined; + s.res___142205 = undefined; + s.len___142207 = undefined; + s.i___142210 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___30281 = (r0); + s.res___142205 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___30283 = (r0); - s.i___30286 = (0); + s.len___142207 = (r0); + s.i___142210 = (0); case 1: - r0 = (s.i___30286 < s.len___30283); + r0 = (s.i___142210 < s.len___142207); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___30281; + s.tmp_1 = r0 = s.res___142205; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___30286); + r0 = pxsim_Array__getAt(s.arg0, s.i___142210); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___30286; + s.tmp_3.arg1 = s.i___142210; 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___30286 + 1); - s.i___30286 = (r0); + r0 = (s.i___142210 + 1); + s.i___142210 = (r0); { step = 1; continue; } case 2: - r0 = s.res___30281; + r0 = s.res___142205; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayMap__P130732.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__P18812_mk(s) { +function helpers_arrayMap__P130732_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P18812, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P130732, 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___30281: undefined, - len___30283: undefined, - i___30286: undefined, + res___142205: undefined, + len___142207: undefined, + i___142210: undefined, arg0: undefined, arg1: undefined, } } @@ -19707,7 +19707,7 @@ function helpers_arrayMap__P18812_mk(s) { -function Sprite_destroy__P20795(s) { +function Sprite_destroy__P132715(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__P21500_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P133420_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__P20796_mk(s); + s.tmp_0 = Sprite__destroyCore__P132716_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__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"]} +Sprite_destroy__P132715.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__P20795_mk(s) { +function Sprite_destroy__P132715_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P20795, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P132715, 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__P20795_mk(s) { -function effects_ParticleEffect_destroy__P21500(s) { +function effects_ParticleEffect_destroy__P133420(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__C21497_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P20787_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C133417_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P132707_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__P21499_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P133419_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__P21526_mk(s); - s.tmp_0.arg0 = globals.dissolve___21529; + s.tmp_0 = effects_ImageEffect_applyTo__P133446_mk(s); + s.tmp_0.arg0 = globals.dissolve___133449; 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__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"]} +effects_ParticleEffect_destroy__P133420.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__P21500_mk(s) { +function effects_ParticleEffect_destroy__P133420_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P21500, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P133420, 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__P21500_mk(s) { -function inline__P30446(s) { +function inline__P142370(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___30449 = undefined; - s.x___30460 = undefined; - s.y___30466 = undefined; - s.w___30472 = undefined; - s.h___30476 = undefined; + s.i___142373 = undefined; + s.x___142384 = undefined; + s.y___142390 = undefined; + s.w___142396 = undefined; + s.h___142400 = 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___30449 = (r0); + s.i___142373 = (r0); case 1: - r0 = (s.i___30449 > 0); + r0 = (s.i___142373 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P21298_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P133218_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___30460 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21298_mk(s); + s.x___142384 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P133218_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___30466 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21298_mk(s); + s.y___142390 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P133218_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___30472 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21298_mk(s); + s.w___142396 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P133218_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___30476 = (r0); - s.tmp_0 = helpers_imageDrawRect__P20439_mk(s); + s.h___142400 = (r0); + s.tmp_0 = helpers_imageDrawRect__P132359_mk(s); s.tmp_0.arg0 = s.arg0; - 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.arg1 = s.x___142384; + s.tmp_0.arg2 = s.y___142390; + s.tmp_0.arg3 = s.w___142396; + s.tmp_0.arg4 = s.h___142400; s.tmp_0.arg5 = 0; s.callLocIdx = 47; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___30449 - 1); - s.i___30449 = (r0); + r0 = (s.i___142373 - 1); + s.i___142373 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +inline__P142370.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__P30446_mk(s) { +function inline__P142370_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30446, depth: s.depth + 1, + parent: s, fn: inline__P142370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___30449: undefined, - x___30460: undefined, - y___30466: undefined, - w___30472: undefined, - h___30476: undefined, + i___142373: undefined, + x___142384: undefined, + y___142390: undefined, + w___142396: undefined, + h___142400: undefined, arg0: undefined, arg1: undefined, } } @@ -19983,7 +19983,7 @@ function inline__P30446_mk(s) { -function helpers_imageDrawRect__P20439(s) { +function helpers_imageDrawRect__P132359(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__P20438_mk(s); + s.tmp_0 = helpers_imageDrawLine__P132358_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__P20438_mk(s); + s.tmp_0 = helpers_imageDrawLine__P132358_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__P20438_mk(s); + s.tmp_0 = helpers_imageDrawLine__P132358_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__P20438_mk(s); + s.tmp_0 = helpers_imageDrawLine__P132358_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__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"]} +helpers_imageDrawRect__P132359.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__P20439_mk(s) { +function helpers_imageDrawRect__P132359_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P20439, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P132359, 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__P20439_mk(s) { -function helpers_imageDrawLine__P20438(s) { +function helpers_imageDrawLine__P132358(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__P22336_mk(s); + s.tmp_2 = helpers_pack__P134256_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__P22336_mk(s); + s.tmp_4 = helpers_pack__P134256_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__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"]} +helpers_imageDrawLine__P132358.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__P20438_mk(s) { +function helpers_imageDrawLine__P132358_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P20438, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P132358, 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__P20438_mk(s) { -function effects_ImageEffect_applyTo__P21526(s) { +function effects_ImageEffect_applyTo__P133446(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___30572 = undefined; + s.clonedImage___142496 = 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__C21524_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C133444_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___30572 = (r0); - s.tmp_0 = effects_ImageEffect_change__P21527_mk(s); + s.clonedImage___142496 = (r0); + s.tmp_0 = effects_ImageEffect_change__P133447_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___30572; + s.tmp_0.arg1 = s.clonedImage___142496; s.callLocIdx = 1271; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P20764_mk(s); + s.tmp_0 = Sprite_setImage__P132684_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___30572; + s.tmp_0.arg1 = s.clonedImage___142496; 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__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"]} +effects_ImageEffect_applyTo__P133446.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__P21526_mk(s) { +function effects_ImageEffect_applyTo__P133446_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P21526, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P133446, 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__P21526_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___30572: undefined, + clonedImage___142496: undefined, arg0: undefined, arg1: undefined, } } @@ -20242,7 +20242,7 @@ function effects_ImageEffect_applyTo__P21526_mk(s) { -function effects_ImageEffect_change__P21527(s) { +function effects_ImageEffect_change__P133447(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__C21524_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C133444_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__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"]} +effects_ImageEffect_change__P133447.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__P21527_mk(s) { +function effects_ImageEffect_change__P133447_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P21527, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P133447, 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__P21527_mk(s) { -function effects_ParticleEffect_start__P21499(s) { +function effects_ParticleEffect_start__P133419(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___30596 = undefined; + s.src___142520 = 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__C21497_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C133417_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___30596 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P21397_mk(s); - s.tmp_0.arg0 = s.src___30596; + s.src___142520 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P133317_mk(s); + s.tmp_0.arg0 = s.src___142520; 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___30596).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___142520).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__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"]} +effects_ParticleEffect_start__P133419.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__P21499_mk(s) { +function effects_ParticleEffect_start__P133419_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P21499, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P133419, 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___30596: undefined, + src___142520: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20410,7 +20410,7 @@ function effects_ParticleEffect_start__P21499_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P21397(s) { +function particles_ParticleSource_setRelativeToCamera__P133317(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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_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__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"]} +particles_ParticleSource_setRelativeToCamera__P133317.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__P21397_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P133317_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P21397, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P133317, 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__P21397_mk(s) { -function Sprite__destroyCore__P20796(s) { +function Sprite__destroyCore__P132716(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___30350 = undefined; + s.scene___142274 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 461; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___30350 = (r0); + s.scene___142274 = (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__P20795_mk(s); + s.tmp_1 = Sprite_destroy__P132715_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___30350.fields["allSprites"]; + r0 = s.scene___142274.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___30350.fields["spritesByKind"]; + r0 = s.scene___142274.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__P20826_mk(s); - r0 = s.scene___30350.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P132746_mk(s); + r0 = s.scene___142274.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__C20867_v1_2_mk(s); - r0 = s.scene___30350.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C132787_v1_2_mk(s); + r0 = s.scene___142274.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C132787_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__P30386); + r0 = pxsim_pxtcore_mkAction(1, inline__P142310); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P30393); + r0 = pxsim_pxtcore_mkAction(1, inline__P142317); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P18815_mk(s); - s.tmp_3 = helpers_arrayFilter__P18816_mk(s); - r0 = s.scene___30350.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P130735_mk(s); + s.tmp_3 = helpers_arrayFilter__P130736_mk(s); + r0 = s.scene___142274.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__P20796.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__P132716.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__P20796_mk(s) { +function Sprite__destroyCore__P132716_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P20796, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P132716, 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__P20796_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___30350: undefined, + scene___142274: undefined, arg0: undefined, } } @@ -20623,7 +20623,7 @@ function Sprite__destroyCore__P20796_mk(s) { -function inline__P30386(s) { +function inline__P142310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20645,12 +20645,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P142310.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__P30386_mk(s) { +function inline__P142310_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30386, depth: s.depth + 1, + parent: s, fn: inline__P142310, 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__P30386_mk(s) { -function inline__P30393(s) { +function inline__P142317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20693,12 +20693,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P142317.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__P30393_mk(s) { +function inline__P142317_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30393, depth: s.depth + 1, + parent: s, fn: inline__P142317, 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__P30393_mk(s) { -function PhysicsEngine_removeSprite__P20870(s) { +function PhysicsEngine_removeSprite__P132790(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__C20867_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C132787_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +PhysicsEngine_removeSprite__P132790.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__P20870_mk(s) { +function PhysicsEngine_removeSprite__P132790_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P20870, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P132790, 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__P20870_mk(s) { -function sprites_SpriteSet_remove__P20826(s) { +function sprites_SpriteSet_remove__P132746(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___30402 = undefined; + s.i___142326 = 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__C20819_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C132739_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___30402 = (r0); - r0 = (s.i___30402 > -1); + s.i___142326 = (r0); + r0 = (s.i___142326 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P18806_mk(s); + s.tmp_1 = helpers_arraySplice__P130726_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___30402; + s.tmp_1.arg1 = s.i___142326; 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__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"]} +sprites_SpriteSet_remove__P132746.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__P20826_mk(s) { +function sprites_SpriteSet_remove__P132746_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P20826, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P132746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___30402: undefined, + i___142326: undefined, arg0: undefined, arg1: undefined, } } @@ -20805,7 +20805,7 @@ function sprites_SpriteSet_remove__P20826_mk(s) { -function scene_onPathCompletion__P22176(s) { +function scene_onPathCompletion__P134096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20820,8 +20820,8 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_init__P24750_mk(s); - s.callLocIdx = 182; s.pc = 6; return s.tmp_0; + s.tmp_0 = scene_init__P136670_mk(s); + s.callLocIdx = 184; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = (s.arg0 == null); @@ -20842,17 +20842,17 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_PathCompletionEvent__C24745_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_PathCompletionEvent__C136665_VT); s.tmp_3 = r0; - s.tmp_4 = scene_PathCompletionEvent_constructor__P24746_mk(s); + s.tmp_4 = scene_PathCompletionEvent_constructor__P136666_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; + s.callLocIdx = 186; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.tmp_6 = scene_getPathCompletionEvents__P24775_mk(s); - s.callLocIdx = 183; s.pc = 8; return s.tmp_6; + s.tmp_6 = scene_getPathCompletionEvents__P136695_mk(s); + s.callLocIdx = 185; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5 = r0; @@ -20862,12 +20862,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_onPathCompletion__P134096.info = {"start":7894,"length":313,"line":203,"column":4,"endLine":213,"endColumn":5,"fileName":"path-following.ts","functionName":"onPathCompletion","argumentNames":["kind","handler"]} -function scene_onPathCompletion__P22176_mk(s) { +function scene_onPathCompletion__P134096_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_onPathCompletion__P22176, depth: s.depth + 1, + parent: s, fn: scene_onPathCompletion__P134096, 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__P22176_mk(s) { -function scene_PathCompletionEvent_constructor__P24746(s) { +function scene_PathCompletionEvent_constructor__P136666(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__C24745_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_PathCompletionEvent__C136665_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__P24746.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__P136666.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__P24746_mk(s) { +function scene_PathCompletionEvent_constructor__P136666_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_PathCompletionEvent_constructor__P24746, depth: s.depth + 1, + parent: s, fn: scene_PathCompletionEvent_constructor__P136666, 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__P24746_mk(s) { -function Sprite_setFlag__P20787(s) { +function Sprite_setFlag__P132707(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__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__P20787_mk(s); + s.tmp_2 = Sprite_setFlag__P132707_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__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"]} +Sprite_setFlag__P132707.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__P20787_mk(s) { +function Sprite_setFlag__P132707_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P20787, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P132707, 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__P20787_mk(s) { -function scene_followPath__P22173(s) { +function scene_followPath__P134093(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___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; + s.pathFollowingSprites___136868 = undefined; + s.i___136872 = undefined; + s.pfs___136879 = undefined; + s.tm___136897 = undefined; + s.nearestTile___136906 = undefined; + s.minDistSquared___136908 = undefined; + s.p___136910 = undefined; + s.unnamed1176___U7 = undefined; + s.unnamed1177___U8 = undefined; + s.distSqrd___136912 = undefined; + s.remainingPath___136938 = undefined; + s.remainingPath___136949 = undefined; + s.currentLocation___136960 = undefined; + s.pathToNearest___136965 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21080,35 +21080,47 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 13; continue; } - s.tmp_9 = scene_getPathFollowingSprites__P24771_mk(s); + s.tmp_9 = scene_getPathFollowingSprites__P136691_mk(s); s.callLocIdx = 158; s.pc = 26; return s.tmp_9; case 26: r0 = s.retval; - s.pathFollowingSprites___24948 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pathFollowingSprites___24948); + s.pathFollowingSprites___136868 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pathFollowingSprites___136868); if (!r0) { step = 11; continue; } - r0 = pxsim_Array__length(s.pathFollowingSprites___24948); + r0 = pxsim_Array__length(s.pathFollowingSprites___136868); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.i___24952 = (r0); + s.i___136872 = (r0); case 7: - r0 = (s.i___24952 >= 0); + r0 = (s.i___136872 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.pathFollowingSprites___24948, s.i___24952); - s.pfs___24959 = (r0); - r0 = s.pfs___24959.fields["sprite"]; + r0 = pxsim_Array__getAt(s.pathFollowingSprites___136868, s.i___136872); + s.pfs___136879 = (r0); + r0 = s.pfs___136879.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___24948, s.i___24952); + s.tmp_2 = Sprite_vx__P132658_mk(s); + s.tmp_2.arg0 = s.arg0; + s.tmp_2.arg1 = 0; + s.callLocIdx = 159; s.pc = 27; return s.tmp_2; + case 27: + r0 = s.retval; + s.tmp_0 = Sprite_vy__P132660_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = 0; + s.callLocIdx = 160; s.pc = 28; return s.tmp_0; + case 28: + r0 = s.retval; + r0 = pxsim_Array_.removeAt(s.pathFollowingSprites___136868, s.i___136872); case 8: case 9: - r0 = (s.i___24952 - 1); - s.i___24952 = (r0); + r0 = (s.i___136872 - 1); + s.i___136872 = (r0); { step = 7; continue; } case 10: case 11: @@ -21116,13 +21128,13 @@ switch (step) { { step = 25; continue; } case 13: case 14: - s.tmp_0 = game_currentScene__P21240_mk(s); - s.callLocIdx = 159; s.pc = 27; return s.tmp_0; - case 27: + s.tmp_0 = game_currentScene__P133160_mk(s); + s.callLocIdx = 161; s.pc = 29; return s.tmp_0; + case 29: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___24973 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tm___24973); + s.tm___136897 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tm___136897); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -21131,55 +21143,55 @@ switch (step) { { step = 25; continue; } case 15: case 16: - s.tmp_3 = tiles_TileMap_isOnWall__P21046_mk(s); - s.tmp_3.arg0 = s.tm___24973; + s.tmp_3 = tiles_TileMap_isOnWall__P132966_mk(s); + s.tmp_3.arg0 = s.tm___136897; s.tmp_3.arg1 = s.arg0; - s.callLocIdx = 160; s.pc = 28; return s.tmp_3; - case 28: + s.callLocIdx = 162; s.pc = 30; return s.tmp_3; + case 30: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 21; continue; } r0 = pxsim_Array__getAt(s.arg1, 0); - s.nearestTile___24982 = (r0); - s.minDistSquared___24984 = (999999); - s.p___24986 = (undefined); - s.unnamed356___U7 = (s.arg1); - s.unnamed357___U8 = (0); + s.nearestTile___136906 = (r0); + s.minDistSquared___136908 = (999999); + s.p___136910 = (undefined); + s.unnamed1176___U7 = (s.arg1); + s.unnamed1177___U8 = (0); case 17: - s.tmp_0 = r0 = s.unnamed357___U8; - r0 = pxsim_Array__length(s.unnamed356___U7); + s.tmp_0 = r0 = s.unnamed1177___U8; + r0 = pxsim_Array__length(s.unnamed1176___U7); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - 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 = pxsim_Array__getAt(s.unnamed1176___U7, s.unnamed1177___U8); + s.p___136910 = (r0); + s.tmp_5 = tiles_Location_x__P132921_mk(s); + s.tmp_5.arg0 = s.p___136910; + s.callLocIdx = 163; s.pc = 31; return s.tmp_5; + case 31: r0 = s.retval; s.tmp_4 = r0; - s.tmp_7 = Sprite_x__P20733_mk(s); + s.tmp_7 = Sprite_x__P132653_mk(s); s.tmp_7.arg0 = s.arg0; - s.callLocIdx = 162; s.pc = 30; return s.tmp_7; - case 30: + s.callLocIdx = 164; s.pc = 32; return s.tmp_7; + case 32: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_4 - s.tmp_6); s.tmp_3 = r0; r0 = pxsim.Math_.pow(s.tmp_3, 2); s.tmp_2 = r0; - 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: + s.tmp_11 = tiles_Location_y__P132922_mk(s); + s.tmp_11.arg0 = s.p___136910; + s.callLocIdx = 165; s.pc = 33; return s.tmp_11; + case 33: r0 = s.retval; s.tmp_10 = r0; - s.tmp_13 = Sprite_y__P20735_mk(s); + s.tmp_13 = Sprite_y__P132655_mk(s); s.tmp_13.arg0 = s.arg0; - s.callLocIdx = 164; s.pc = 32; return s.tmp_13; - case 32: + s.callLocIdx = 166; s.pc = 34; return s.tmp_13; + case 34: r0 = s.retval; s.tmp_12 = r0; r0 = (s.tmp_10 - s.tmp_12); @@ -21187,107 +21199,107 @@ switch (step) { r0 = pxsim.Math_.pow(s.tmp_9, 2); s.tmp_8 = r0; r0 = (s.tmp_2 + s.tmp_8); - s.distSqrd___24988 = (r0); - r0 = (s.distSqrd___24988 < s.minDistSquared___24984); + s.distSqrd___136912 = (r0); + r0 = (s.distSqrd___136912 < s.minDistSquared___136908); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.nearestTile___24982 = (s.p___24986); - s.minDistSquared___24984 = (s.distSqrd___24988); + s.nearestTile___136906 = (s.p___136910); + s.minDistSquared___136908 = (s.distSqrd___136912); case 18: case 19: - r0 = (s.unnamed357___U8 + 1); - s.unnamed357___U8 = (r0); + r0 = (s.unnamed1177___U8 + 1); + s.unnamed1177___U8 = (r0); { step = 17; continue; } case 20: - s.unnamed356___U7 = (undefined); - s.tmp_0 = tiles_Location_place__P21004_mk(s); - s.tmp_0.arg0 = s.nearestTile___24982; + s.unnamed1176___U7 = (undefined); + s.tmp_0 = tiles_Location_place__P132924_mk(s); + s.tmp_0.arg0 = s.nearestTile___136906; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 165; s.pc = 33; return s.tmp_0; - case 33: + s.callLocIdx = 167; s.pc = 35; return s.tmp_0; + case 35: r0 = s.retval; - s.tmp_0 = scene_getRemainingPath__P25017_mk(s); + s.tmp_0 = scene_getRemainingPath__P136941_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: + s.callLocIdx = 168; s.pc = 36; return s.tmp_0; + case 36: r0 = s.retval; - s.remainingPath___25014 = (r0); - s.tmp_0 = scene__followPath__P22178_mk(s); + s.remainingPath___136938 = (r0); + s.tmp_0 = scene__followPath__P134098_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.remainingPath___25014; + s.tmp_0.arg1 = s.remainingPath___136938; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; - s.callLocIdx = 167; s.pc = 35; return s.tmp_0; - case 35: + s.callLocIdx = 169; s.pc = 37; return s.tmp_0; + case 37: r0 = s.retval; { step = 25; continue; } case 21: case 22: - s.tmp_0 = scene_getRemainingPath__P25017_mk(s); + s.tmp_0 = scene_getRemainingPath__P136941_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: + s.callLocIdx = 170; s.pc = 38; return s.tmp_0; + case 38: r0 = s.retval; - s.remainingPath___25025 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainingPath___25025); + s.remainingPath___136949 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainingPath___136949); if (!r0) { step = 23; continue; } - s.tmp_0 = scene__followPath__P22178_mk(s); + s.tmp_0 = scene__followPath__P134098_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.remainingPath___25025; + s.tmp_0.arg1 = s.remainingPath___136949; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; - s.callLocIdx = 169; s.pc = 37; return s.tmp_0; - case 37: + s.callLocIdx = 171; s.pc = 39; return s.tmp_0; + case 39: r0 = s.retval; { step = 25; continue; } case 23: case 24: - s.tmp_0 = scene_locationOfSprite__P25040_mk(s); + s.tmp_0 = scene_locationOfSprite__P136964_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 170; s.pc = 38; return s.tmp_0; - case 38: + s.callLocIdx = 172; s.pc = 40; return s.tmp_0; + case 40: r0 = s.retval; - s.currentLocation___25036 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P25048); + s.currentLocation___136960 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P136972); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - 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 = scene_generalAStar__P134091_mk(s); + s.tmp_1.arg0 = s.tm___136897; + s.tmp_1.arg1 = s.currentLocation___136960; s.tmp_1.arg2 = null; - s.tmp_1.arg3 = inline__P25047; + s.tmp_1.arg3 = inline__P136971; s.tmp_1.arg4 = s.tmp_0; - s.callLocIdx = 175; s.pc = 39; return s.tmp_1; - case 39: + s.callLocIdx = 177; s.pc = 41; return s.tmp_1; + case 41: r0 = s.retval; - s.pathToNearest___25041 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P25068); + s.pathToNearest___136965 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P136992); 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__P22178_mk(s); + s.tmp_1 = scene__followPath__P134098_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.pathToNearest___25041; + s.tmp_1.arg1 = s.pathToNearest___136965; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.tmp_0; - s.callLocIdx = 178; s.pc = 40; return s.tmp_1; - case 40: + s.callLocIdx = 180; s.pc = 42; return s.tmp_1; + case 42: r0 = s.retval; case 25: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +scene_followPath__P134093.info = {"start":3834,"length":2414,"line":97,"column":4,"endLine":160,"endColumn":5,"fileName":"path-following.ts","functionName":"followPath","argumentNames":["sprite","path","speed"]} -function scene_followPath__P22173_mk(s) { +function scene_followPath__P134093_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_followPath__P22173, depth: s.depth + 1, + parent: s, fn: scene_followPath__P134093, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21303,20 +21315,20 @@ function scene_followPath__P22173_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: 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, + pathFollowingSprites___136868: undefined, + i___136872: undefined, + pfs___136879: undefined, + tm___136897: undefined, + nearestTile___136906: undefined, + minDistSquared___136908: undefined, + p___136910: undefined, + unnamed1176___U7: undefined, + unnamed1177___U8: undefined, + distSqrd___136912: undefined, + remainingPath___136938: undefined, + remainingPath___136949: undefined, + currentLocation___136960: undefined, + pathToNearest___136965: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21326,7 +21338,7 @@ function scene_followPath__P22173_mk(s) { -function inline__P25047(s) { +function inline__P136971(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21340,12 +21352,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25047.info = {"start":5688,"length":7,"line":144,"column":70,"endLine":144,"endColumn":77,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} +inline__P136971.info = {"start":5766,"length":7,"line":146,"column":70,"endLine":146,"endColumn":77,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} -function inline__P25047_mk(s) { +function inline__P136971_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25047, depth: s.depth + 1, + parent: s, fn: inline__P136971, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -21353,7 +21365,7 @@ function inline__P25047_mk(s) { -function inline__P25048(s) { +function inline__P136972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21363,33 +21375,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pathTile___25051 = undefined; - s.unnamed358___U1 = undefined; - s.unnamed359___U2 = undefined; + s.pathTile___136975 = undefined; + s.unnamed1178___U1 = undefined; + s.unnamed1179___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.pathTile___25051 = (undefined); - s.unnamed358___U1 = (s.caps[0]); - s.unnamed359___U2 = (0); + s.pathTile___136975 = (undefined); + s.unnamed1178___U1 = (s.caps[0]); + s.unnamed1179___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed359___U2; - r0 = pxsim_Array__length(s.unnamed358___U1); + s.tmp_0 = r0 = s.unnamed1179___U2; + r0 = pxsim_Array__length(s.unnamed1178___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed358___U1, s.unnamed359___U2); - s.pathTile___25051 = (r0); - s.tmp_4 = tiles_Location_x__P21001_mk(s); + r0 = pxsim_Array__getAt(s.unnamed1178___U1, s.unnamed1179___U2); + s.pathTile___136975 = (r0); + s.tmp_4 = tiles_Location_x__P132921_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 171; s.pc = 8; return s.tmp_4; + s.callLocIdx = 173; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; - 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; + s.tmp_6 = tiles_Location_x__P132921_mk(s); + s.tmp_6.arg0 = s.pathTile___136975; + s.callLocIdx = 174; s.pc = 9; return s.tmp_6; case 9: r0 = s.retval; s.tmp_5 = r0; @@ -21400,15 +21412,15 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - s.tmp_8 = tiles_Location_y__P21002_mk(s); + s.tmp_8 = tiles_Location_y__P132922_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 173; s.pc = 10; return s.tmp_8; + s.callLocIdx = 175; s.pc = 10; return s.tmp_8; case 10: r0 = s.retval; s.tmp_7 = r0; - 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; + s.tmp_10 = tiles_Location_y__P132922_mk(s); + s.tmp_10.arg0 = s.pathTile___136975; + s.callLocIdx = 176; s.pc = 11; return s.tmp_10; case 11: r0 = s.retval; s.tmp_9 = r0; @@ -21422,22 +21434,22 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed359___U2 + 1); - s.unnamed359___U2 = (r0); + r0 = (s.unnamed1179___U2 + 1); + s.unnamed1179___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed358___U1 = (undefined); + s.unnamed1178___U1 = (undefined); r0 = false; case 7: return leave(s, r0) default: oops() } } } -inline__P25048.info = {"start":5697,"length":221,"line":144,"column":79,"endLine":151,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":["tile"]} +inline__P136972.info = {"start":5775,"length":221,"line":146,"column":79,"endLine":153,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":["tile"]} -function inline__P25048_mk(s) { +function inline__P136972_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25048, depth: s.depth + 1, + parent: s, fn: inline__P136972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21451,9 +21463,9 @@ function inline__P25048_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - pathTile___25051: undefined, - unnamed358___U1: undefined, - unnamed359___U2: undefined, + pathTile___136975: undefined, + unnamed1178___U1: undefined, + unnamed1179___U2: undefined, arg0: undefined, } } @@ -21461,7 +21473,7 @@ function inline__P25048_mk(s) { -function inline__P25068(s) { +function inline__P136992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21471,42 +21483,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.remainingPath___25069 = undefined; - s.tmp_0 = scene_getRemainingPath__P25017_mk(s); + s.remainingPath___136993 = undefined; + s.tmp_0 = scene_getRemainingPath__P136941_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; + s.callLocIdx = 178; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.remainingPath___25069 = (r0); - s.tmp_0 = scene__followPath__P22178_mk(s); + s.remainingPath___136993 = (r0); + s.tmp_0 = scene__followPath__P134098_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_0.arg1 = s.remainingPath___25069; + s.tmp_0.arg1 = s.remainingPath___136993; s.tmp_0.arg2 = s.caps[2]; s.tmp_0.arg3 = undefined; - s.callLocIdx = 177; s.pc = 2; return s.tmp_0; + s.callLocIdx = 179; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P25068.info = {"start":5972,"length":191,"line":153,"column":50,"endLine":157,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} +inline__P136992.info = {"start":6050,"length":191,"line":155,"column":50,"endLine":159,"endColumn":9,"fileName":"path-following.ts","functionName":"inline","argumentNames":[]} -function inline__P25068_mk(s) { +function inline__P136992_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25068, depth: s.depth + 1, + parent: s, fn: inline__P136992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - remainingPath___25069: undefined, + remainingPath___136993: undefined, } } -function scene_generalAStar__P22171(s) { +function scene_generalAStar__P134091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21516,40 +21528,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.consideredTiles___136227 = undefined; + s.encountedLocations___136247 = undefined; + s.updateOrFillLocation___136250 = undefined; + s.end___136319 = undefined; + s.currLocation___136325 = undefined; + s.row___136335 = undefined; + s.col___136340 = undefined; + s.dataForCurrLocation___136345 = undefined; + s.neighbors___136357 = undefined; + s.corners___136359 = undefined; + s.left___136361 = undefined; + s.right___136367 = undefined; + s.top___136374 = undefined; + s.bottom___136380 = undefined; + s.leftIsWall___136387 = undefined; + s.rightIsWall___136394 = undefined; + s.topIsWall___136401 = undefined; + s.bottomIsWall___136408 = undefined; + s.topLeft___136423 = undefined; + s.bottomLeft___136442 = undefined; + s.topRight___136467 = undefined; + s.bottomRight___136486 = undefined; + s.neighborCost___136516 = undefined; + s.node___136522 = undefined; + s.unnamed1172___U24 = undefined; + s.unnamed1173___U25 = undefined; + s.cornerCost___136532 = undefined; + s.corner___136538 = undefined; + s.unnamed1174___U28 = undefined; + s.unnamed1175___U29 = undefined; + s.endCol___136544 = undefined; + s.endDataNode___136551 = undefined; + s.curr___136564 = undefined; + s.output___136566 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21558,7 +21570,7 @@ switch (step) { s.arg4 = (s.lambdaArgs[4]); s.lambdaArgs = null; } - s.tmp_3 = scene_isWalkable__P24237_mk(s); + s.tmp_3 = scene_isWalkable__P136157_mk(s); s.tmp_3.arg0 = s.arg1; s.tmp_3.arg1 = s.arg2; s.tmp_3.arg2 = s.arg0; @@ -21576,30 +21588,30 @@ switch (step) { { step = 51; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(Heap__C22160_VT); + r0 = pxsim_pxtcore_mkClassInstance(Heap__C134080_VT); s.tmp_4 = r0; - s.tmp_5 = Heap_constructor__P22161_mk(s); + s.tmp_5 = Heap_constructor__P134081_mk(s); s.tmp_5.arg0 = s.tmp_4; - s.tmp_5.arg1 = inline__P24310; + s.tmp_5.arg1 = inline__P136230; s.callLocIdx = 74; s.pc = 53; return s.tmp_5; case 53: r0 = s.retval; - s.consideredTiles___24307 = (s.tmp_4); + s.consideredTiles___136227 = (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___24327 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(4, updateOrFillLocation__P24330); + s.encountedLocations___136247 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(4, updateOrFillLocation__P136250); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.encountedLocations___24327); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.encountedLocations___136247); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg3); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.consideredTiles___24307); - s.updateOrFillLocation___24330 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.consideredTiles___136227); + s.updateOrFillLocation___136250 = (s.tmp_0); s.tmp_1 = lambda_4_mk(s); - s.tmp_1.argL = s.updateOrFillLocation___24330; + s.tmp_1.argL = s.updateOrFillLocation___136250; s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = null; s.tmp_1.arg2 = 0; @@ -21607,9 +21619,9 @@ switch (step) { s.callLocIdx = 82; s.pc = 54; return s.tmp_1; case 54: r0 = s.retval; - s.end___24399 = (null); + s.end___136319 = (null); case 3: - r0 = s.consideredTiles___24307.fields["store"]; + r0 = s.consideredTiles___136227.fields["store"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -21617,15 +21629,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 40; continue; } - s.tmp_3 = Heap_pop__P22163_mk(s); - s.tmp_3.arg0 = s.consideredTiles___24307; + s.tmp_3 = Heap_pop__P134083_mk(s); + s.tmp_3.arg0 = s.consideredTiles___136227; s.callLocIdx = 84; s.pc = 55; return s.tmp_3; case 55: r0 = s.retval; - s.currLocation___24405 = (r0); + s.currLocation___136325 = (r0); s.tmp_1 = lambda_2_mk(s); s.tmp_1.argL = s.arg4; - r0 = s.currLocation___24405.fields["loc"]; + r0 = s.currLocation___136325.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 +21646,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.currLocation___24405.fields["loc"]; - s.end___24399 = (r0); + r0 = s.currLocation___136325.fields["loc"]; + s.end___136319 = (r0); { step = 40; continue; } case 4: case 5: - s.tmp_0 = scene_locationRow__P24338_mk(s); - r0 = s.currLocation___24405.fields["loc"]; + s.tmp_0 = scene_locationRow__P136258_mk(s); + r0 = s.currLocation___136325.fields["loc"]; s.tmp_0.arg0 = r0; s.callLocIdx = 86; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.row___24415 = (r0); - s.tmp_0 = scene_locationCol__P24343_mk(s); - r0 = s.currLocation___24405.fields["loc"]; + s.row___136335 = (r0); + s.tmp_0 = scene_locationCol__P136263_mk(s); + r0 = s.currLocation___136325.fields["loc"]; s.tmp_0.arg0 = r0; s.callLocIdx = 87; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.col___24420 = (r0); - r0 = pxsim_Array__getAt(s.encountedLocations___24327, s.col___24420); + s.col___136340 = (r0); + r0 = pxsim_Array__getAt(s.encountedLocations___136247, s.col___136340); s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.row___24415); - s.dataForCurrLocation___24425 = (r0); - s.tmp_0 = r0 = s.dataForCurrLocation___24425; + r0 = pxsim_Array__getAt(s.tmp_0, s.row___136335); + s.dataForCurrLocation___136345 = (r0); + s.tmp_0 = r0 = s.dataForCurrLocation___136345; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.dataForCurrLocation___24425.fields["visited"]; + r0 = s.dataForCurrLocation___136345.fields["visited"]; case 7: // jmp value (already in r0) s.tmp_1 = r0; @@ -21672,45 +21684,45 @@ switch (step) { { step = 3; continue; } case 8: case 9: - r0 = (s.dataForCurrLocation___24425).fields["visited"] = (true); + r0 = (s.dataForCurrLocation___136345).fields["visited"] = (true); r0 = pxsim_Array__mk(); - s.neighbors___24437 = (r0); + s.neighbors___136357 = (r0); r0 = pxsim_Array__mk(); - s.corners___24439 = (r0); - s.tmp_0 = tiles_getTileLocation__P21052_mk(s); - r0 = (s.col___24420 - 1); + s.corners___136359 = (r0); + s.tmp_0 = tiles_getTileLocation__P132972_mk(s); + r0 = (s.col___136340 - 1); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.row___24415; + s.tmp_0.arg1 = s.row___136335; s.callLocIdx = 88; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.left___24441 = (r0); - s.tmp_0 = tiles_getTileLocation__P21052_mk(s); - r0 = (s.col___24420 + 1); + s.left___136361 = (r0); + s.tmp_0 = tiles_getTileLocation__P132972_mk(s); + r0 = (s.col___136340 + 1); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.row___24415; + s.tmp_0.arg1 = s.row___136335; s.callLocIdx = 89; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; - 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.right___136367 = (r0); + s.tmp_0 = tiles_getTileLocation__P132972_mk(s); + s.tmp_0.arg0 = s.col___136340; + r0 = (s.row___136335 - 1); s.tmp_0.arg1 = r0; s.callLocIdx = 90; s.pc = 61; return s.tmp_0; case 61: r0 = s.retval; - 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.top___136374 = (r0); + s.tmp_0 = tiles_getTileLocation__P132972_mk(s); + s.tmp_0.arg0 = s.col___136340; + r0 = (s.row___136335 + 1); s.tmp_0.arg1 = r0; s.callLocIdx = 91; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.bottom___24460 = (r0); - s.tmp_2 = scene_isWalkable__P24237_mk(s); - s.tmp_2.arg0 = s.left___24441; + s.bottom___136380 = (r0); + s.tmp_2 = scene_isWalkable__P136157_mk(s); + s.tmp_2.arg0 = s.left___136361; s.tmp_2.arg1 = s.arg2; s.tmp_2.arg2 = s.arg0; s.callLocIdx = 92; s.pc = 63; return s.tmp_2; @@ -21720,9 +21732,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.leftIsWall___24467 = (r0); - s.tmp_2 = scene_isWalkable__P24237_mk(s); - s.tmp_2.arg0 = s.right___24447; + s.leftIsWall___136387 = (r0); + s.tmp_2 = scene_isWalkable__P136157_mk(s); + s.tmp_2.arg0 = s.right___136367; s.tmp_2.arg1 = s.arg2; s.tmp_2.arg2 = s.arg0; s.callLocIdx = 93; s.pc = 64; return s.tmp_2; @@ -21732,9 +21744,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.rightIsWall___24474 = (r0); - s.tmp_2 = scene_isWalkable__P24237_mk(s); - s.tmp_2.arg0 = s.top___24454; + s.rightIsWall___136394 = (r0); + s.tmp_2 = scene_isWalkable__P136157_mk(s); + s.tmp_2.arg0 = s.top___136374; s.tmp_2.arg1 = s.arg2; s.tmp_2.arg2 = s.arg0; s.callLocIdx = 94; s.pc = 65; return s.tmp_2; @@ -21744,9 +21756,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.topIsWall___24481 = (r0); - s.tmp_2 = scene_isWalkable__P24237_mk(s); - s.tmp_2.arg0 = s.bottom___24460; + s.topIsWall___136401 = (r0); + s.tmp_2 = scene_isWalkable__P136157_mk(s); + s.tmp_2.arg0 = s.bottom___136380; s.tmp_2.arg1 = s.arg2; s.tmp_2.arg2 = s.arg0; s.callLocIdx = 95; s.pc = 66; return s.tmp_2; @@ -21756,31 +21768,31 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.bottomIsWall___24488 = (r0); - r0 = pxsim_numops_toBoolDecr(s.leftIsWall___24467); + s.bottomIsWall___136408 = (r0); + r0 = pxsim_numops_toBoolDecr(s.leftIsWall___136387); 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___24437, s.left___24441); - r0 = pxsim_numops_toBoolDecr(s.topIsWall___24481); + r0 = pxsim_Array__push(s.neighbors___136357, s.left___136361); + r0 = pxsim_numops_toBoolDecr(s.topIsWall___136401); 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__P21052_mk(s); - r0 = (s.col___24420 - 1); + s.tmp_2 = tiles_getTileLocation__P132972_mk(s); + r0 = (s.col___136340 - 1); s.tmp_2.arg0 = r0; - r0 = (s.row___24415 - 1); + r0 = (s.row___136335 - 1); s.tmp_2.arg1 = r0; s.callLocIdx = 96; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; - s.topLeft___24503 = (r0); - s.tmp_3 = scene_isWall__P24513_mk(s); - s.tmp_3.arg0 = s.topLeft___24503; + s.topLeft___136423 = (r0); + s.tmp_3 = scene_isWall__P136433_mk(s); + s.tmp_3.arg0 = s.topLeft___136423; s.tmp_3.arg1 = s.arg0; s.callLocIdx = 97; s.pc = 68; return s.tmp_3; case 68: @@ -21792,28 +21804,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___24439, s.topLeft___24503); + r0 = pxsim_Array__push(s.corners___136359, s.topLeft___136423); case 10: case 11: case 12: case 13: - r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___24488); + r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___136408); 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__P21052_mk(s); - r0 = (s.col___24420 - 1); + s.tmp_2 = tiles_getTileLocation__P132972_mk(s); + r0 = (s.col___136340 - 1); s.tmp_2.arg0 = r0; - r0 = (s.row___24415 + 1); + r0 = (s.row___136335 + 1); s.tmp_2.arg1 = r0; s.callLocIdx = 98; s.pc = 69; return s.tmp_2; case 69: r0 = s.retval; - s.bottomLeft___24522 = (r0); - s.tmp_3 = scene_isWall__P24513_mk(s); - s.tmp_3.arg0 = s.bottomLeft___24522; + s.bottomLeft___136442 = (r0); + s.tmp_3 = scene_isWall__P136433_mk(s); + s.tmp_3.arg0 = s.bottomLeft___136442; s.tmp_3.arg1 = s.arg0; s.callLocIdx = 99; s.pc = 70; return s.tmp_3; case 70: @@ -21825,37 +21837,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___24439, s.bottomLeft___24522); + r0 = pxsim_Array__push(s.corners___136359, s.bottomLeft___136442); case 14: case 15: case 16: case 17: case 18: case 19: - r0 = pxsim_numops_toBoolDecr(s.rightIsWall___24474); + r0 = pxsim_numops_toBoolDecr(s.rightIsWall___136394); 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___24437, s.right___24447); - r0 = pxsim_numops_toBoolDecr(s.topIsWall___24481); + r0 = pxsim_Array__push(s.neighbors___136357, s.right___136367); + r0 = pxsim_numops_toBoolDecr(s.topIsWall___136401); 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__P21052_mk(s); - r0 = (s.col___24420 + 1); + s.tmp_2 = tiles_getTileLocation__P132972_mk(s); + r0 = (s.col___136340 + 1); s.tmp_2.arg0 = r0; - r0 = (s.row___24415 - 1); + r0 = (s.row___136335 - 1); s.tmp_2.arg1 = r0; s.callLocIdx = 100; s.pc = 71; return s.tmp_2; case 71: r0 = s.retval; - s.topRight___24547 = (r0); - s.tmp_3 = scene_isWall__P24513_mk(s); - s.tmp_3.arg0 = s.topRight___24547; + s.topRight___136467 = (r0); + s.tmp_3 = scene_isWall__P136433_mk(s); + s.tmp_3.arg0 = s.topRight___136467; s.tmp_3.arg1 = s.arg0; s.callLocIdx = 101; s.pc = 72; return s.tmp_3; case 72: @@ -21867,28 +21879,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___24439, s.topRight___24547); + r0 = pxsim_Array__push(s.corners___136359, s.topRight___136467); case 20: case 21: case 22: case 23: - r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___24488); + r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___136408); 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__P21052_mk(s); - r0 = (s.col___24420 + 1); + s.tmp_2 = tiles_getTileLocation__P132972_mk(s); + r0 = (s.col___136340 + 1); s.tmp_2.arg0 = r0; - r0 = (s.row___24415 + 1); + r0 = (s.row___136335 + 1); s.tmp_2.arg1 = r0; s.callLocIdx = 102; s.pc = 73; return s.tmp_2; case 73: r0 = s.retval; - s.bottomRight___24566 = (r0); - s.tmp_3 = scene_isWall__P24513_mk(s); - s.tmp_3.arg0 = s.bottomRight___24566; + s.bottomRight___136486 = (r0); + s.tmp_3 = scene_isWall__P136433_mk(s); + s.tmp_3.arg0 = s.bottomRight___136486; s.tmp_3.arg1 = s.arg0; s.callLocIdx = 103; s.pc = 74; return s.tmp_3; case 74: @@ -21900,106 +21912,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___24439, s.bottomRight___24566); + r0 = pxsim_Array__push(s.corners___136359, s.bottomRight___136486); case 24: case 25: case 26: case 27: case 28: case 29: - r0 = pxsim_numops_toBoolDecr(s.topIsWall___24481); + r0 = pxsim_numops_toBoolDecr(s.topIsWall___136401); 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___24437, s.top___24454); + r0 = pxsim_Array__push(s.neighbors___136357, s.top___136374); case 30: case 31: - r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___24488); + r0 = pxsim_numops_toBoolDecr(s.bottomIsWall___136408); 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___24437, s.bottom___24460); + r0 = pxsim_Array__push(s.neighbors___136357, s.bottom___136380); case 32: case 33: - r0 = s.currLocation___24405.fields["cost"]; + r0 = s.currLocation___136325.fields["cost"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.neighborCost___24596 = (r0); - s.node___24602 = (undefined); - s.unnamed352___U24 = (s.neighbors___24437); - s.unnamed353___U25 = (0); + s.neighborCost___136516 = (r0); + s.node___136522 = (undefined); + s.unnamed1172___U24 = (s.neighbors___136357); + s.unnamed1173___U25 = (0); case 34: - s.tmp_0 = r0 = s.unnamed353___U25; - r0 = pxsim_Array__length(s.unnamed352___U24); + s.tmp_0 = r0 = s.unnamed1173___U25; + r0 = pxsim_Array__length(s.unnamed1172___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 35; continue; } - r0 = pxsim_Array__getAt(s.unnamed352___U24, s.unnamed353___U25); - s.node___24602 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1172___U24, s.unnamed1173___U25); + s.node___136522 = (r0); s.tmp_2 = lambda_4_mk(s); - 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; + s.tmp_2.argL = s.updateOrFillLocation___136250; + s.tmp_2.arg0 = s.node___136522; + s.tmp_2.arg1 = s.dataForCurrLocation___136345; + s.tmp_2.arg2 = s.neighborCost___136516; 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.unnamed353___U25 + 1); - s.unnamed353___U25 = (r0); + r0 = (s.unnamed1173___U25 + 1); + s.unnamed1173___U25 = (r0); { step = 34; continue; } case 35: - s.unnamed352___U24 = (undefined); - r0 = pxsim_Array__length(s.corners___24439); + s.unnamed1172___U24 = (undefined); + r0 = pxsim_Array__length(s.corners___136359); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 38; continue; } - r0 = s.currLocation___24405.fields["cost"]; + r0 = s.currLocation___136325.fields["cost"]; s.tmp_1 = r0; r0 = (s.tmp_1 + 1.414213562373095); - s.cornerCost___24612 = (r0); - s.corner___24618 = (undefined); - s.unnamed354___U28 = (s.corners___24439); - s.unnamed355___U29 = (0); + s.cornerCost___136532 = (r0); + s.corner___136538 = (undefined); + s.unnamed1174___U28 = (s.corners___136359); + s.unnamed1175___U29 = (0); case 36: - s.tmp_0 = r0 = s.unnamed355___U29; - r0 = pxsim_Array__length(s.unnamed354___U28); + s.tmp_0 = r0 = s.unnamed1175___U29; + r0 = pxsim_Array__length(s.unnamed1174___U28); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 37; continue; } - r0 = pxsim_Array__getAt(s.unnamed354___U28, s.unnamed355___U29); - s.corner___24618 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1174___U28, s.unnamed1175___U29); + s.corner___136538 = (r0); s.tmp_2 = lambda_4_mk(s); - 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; + s.tmp_2.argL = s.updateOrFillLocation___136250; + s.tmp_2.arg0 = s.corner___136538; + s.tmp_2.arg1 = s.dataForCurrLocation___136345; + s.tmp_2.arg2 = s.cornerCost___136532; 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.unnamed355___U29 + 1); - s.unnamed355___U29 = (r0); + r0 = (s.unnamed1175___U29 + 1); + s.unnamed1175___U29 = (r0); { step = 36; continue; } case 37: - s.unnamed354___U28 = (undefined); + s.unnamed1174___U28 = (undefined); case 38: case 39: { step = 3; continue; } case 40: - s.tmp_0 = r0 = s.end___24399; + s.tmp_0 = r0 = s.end___136319; 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___24327; - s.tmp_3 = scene_locationCol__P24343_mk(s); - s.tmp_3.arg0 = s.end___24399; + s.tmp_1 = r0 = s.encountedLocations___136247; + s.tmp_3 = scene_locationCol__P136263_mk(s); + s.tmp_3.arg0 = s.end___136319; s.callLocIdx = 106; s.pc = 77; return s.tmp_3; case 77: r0 = s.retval; @@ -22008,16 +22020,16 @@ switch (step) { case 42: // jmp value (already in r0) s.tmp_4 = r0; - s.endCol___24624 = (s.tmp_4); - s.tmp_0 = r0 = s.endCol___24624; + s.endCol___136544 = (s.tmp_4); + s.tmp_0 = r0 = s.endCol___136544; 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___24624; - s.tmp_3 = scene_locationRow__P24338_mk(s); - s.tmp_3.arg0 = s.end___24399; + s.tmp_1 = r0 = s.endCol___136544; + s.tmp_3 = scene_locationRow__P136258_mk(s); + s.tmp_3.arg0 = s.end___136319; s.callLocIdx = 107; s.pc = 78; return s.tmp_3; case 78: r0 = s.retval; @@ -22026,8 +22038,8 @@ switch (step) { case 44: // jmp value (already in r0) s.tmp_4 = r0; - s.endDataNode___24631 = (s.tmp_4); - r0 = pxsim_numops_toBoolDecr(s.end___24399); + s.endDataNode___136551 = (s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.end___136319); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -22036,7 +22048,7 @@ switch (step) { r0 = s.tmp_0; { step = 46; continue; } case 45: - r0 = pxsim_numops_toBoolDecr(s.endDataNode___24631); + r0 = pxsim_numops_toBoolDecr(s.endDataNode___136551); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 46: @@ -22048,34 +22060,34 @@ switch (step) { { step = 51; continue; } case 47: case 48: - s.curr___24644 = (s.endDataNode___24631); + s.curr___136564 = (s.endDataNode___136551); r0 = pxsim_Array__mk(); - s.output___24646 = (r0); + s.output___136566 = (r0); case 49: - r0 = pxsim_numops_toBoolDecr(s.curr___24644); + r0 = pxsim_numops_toBoolDecr(s.curr___136564); if (!r0) { step = 50; continue; } - s.tmp_0 = helpers_arrayUnshift__P18810_mk(s); - s.tmp_0.arg0 = s.output___24646; - r0 = s.curr___24644.fields["l"]; + s.tmp_0 = helpers_arrayUnshift__P130730_mk(s); + s.tmp_0.arg0 = s.output___136566; + r0 = s.curr___136564.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___24644.fields["parent"]; - s.curr___24644 = (r0); + r0 = s.curr___136564.fields["parent"]; + s.curr___136564 = (r0); { step = 49; continue; } case 50: - r0 = s.output___24646; + r0 = s.output___136566; case 51: return leave(s, r0) default: oops() } } } -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"]} +scene_generalAStar__P134091.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__P22171_mk(s) { +function scene_generalAStar__P134091_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_generalAStar__P22171, depth: s.depth + 1, + parent: s, fn: scene_generalAStar__P134091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22083,40 +22095,40 @@ function scene_generalAStar__P22171_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: 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, + consideredTiles___136227: undefined, + encountedLocations___136247: undefined, + updateOrFillLocation___136250: undefined, + end___136319: undefined, + currLocation___136325: undefined, + row___136335: undefined, + col___136340: undefined, + dataForCurrLocation___136345: undefined, + neighbors___136357: undefined, + corners___136359: undefined, + left___136361: undefined, + right___136367: undefined, + top___136374: undefined, + bottom___136380: undefined, + leftIsWall___136387: undefined, + rightIsWall___136394: undefined, + topIsWall___136401: undefined, + bottomIsWall___136408: undefined, + topLeft___136423: undefined, + bottomLeft___136442: undefined, + topRight___136467: undefined, + bottomRight___136486: undefined, + neighborCost___136516: undefined, + node___136522: undefined, + unnamed1172___U24: undefined, + unnamed1173___U25: undefined, + cornerCost___136532: undefined, + corner___136538: undefined, + unnamed1174___U28: undefined, + unnamed1175___U29: undefined, + endCol___136544: undefined, + endDataNode___136551: undefined, + curr___136564: undefined, + output___136566: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22128,7 +22140,7 @@ function scene_generalAStar__P22171_mk(s) { -function inline__P24310(s) { +function inline__P136230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22163,12 +22175,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24310.info = {"start":2110,"length":67,"line":62,"column":12,"endLine":62,"endColumn":79,"fileName":"a-star.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P136230.info = {"start":2110,"length":67,"line":62,"column":12,"endLine":62,"endColumn":79,"fileName":"a-star.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P24310_mk(s) { +function inline__P136230_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24310, depth: s.depth + 1, + parent: s, fn: inline__P136230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22186,7 +22198,7 @@ function inline__P24310_mk(s) { -function updateOrFillLocation__P24330(s) { +function updateOrFillLocation__P136250(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22196,33 +22208,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___24334 = undefined; - s.col___24339 = undefined; - s.colData___24348 = undefined; - s.lData___24358 = undefined; - s.h___24386 = undefined; + s.row___136254 = undefined; + s.col___136259 = undefined; + s.colData___136268 = undefined; + s.lData___136278 = undefined; + s.h___136306 = 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__P24338_mk(s); + s.tmp_0 = scene_locationRow__P136258_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___24334 = (r0); - s.tmp_0 = scene_locationCol__P24343_mk(s); + s.row___136254 = (r0); + s.tmp_0 = scene_locationCol__P136263_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___24339 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P21044_mk(s); + s.col___136259 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P132964_mk(s); s.tmp_1.arg0 = s.caps[0]; - s.tmp_1.arg1 = s.col___24339; - s.tmp_1.arg2 = s.row___24334; + s.tmp_1.arg1 = s.col___136259; + s.tmp_1.arg2 = s.row___136254; s.callLocIdx = 77; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -22232,7 +22244,7 @@ switch (step) { { step = 11; continue; } case 1: case 2: - r0 = pxsim_Array__getAt(s.caps[1], s.col___24339); + r0 = pxsim_Array__getAt(s.caps[1], s.col___136259); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); if (!r0) { step = 3; continue; } @@ -22240,7 +22252,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_3 = r0 = s.caps[1]; - s.tmp_4 = r0 = s.col___24339; + s.tmp_4 = r0 = s.col___136259; r0 = pxsim_Array__mk(); s.tmp_5 = r0; r0 = pxsim_Array_.setAt(s.tmp_3, s.tmp_4, s.tmp_5); @@ -22248,18 +22260,18 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_6 = r0; - 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.colData___136268 = (s.tmp_6); + r0 = pxsim_Array__getAt(s.colData___136268, s.row___136254); + s.lData___136278 = (r0); + r0 = pxsim_numops_toBoolDecr(s.lData___136278); 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__C24218_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_LocationNode__C136138_VT); s.tmp_2 = r0; - s.tmp_3 = scene_LocationNode_constructor__P24219_mk(s); + s.tmp_3 = scene_LocationNode_constructor__P136139_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg0; s.tmp_3.arg2 = s.arg1; @@ -22267,10 +22279,10 @@ switch (step) { s.callLocIdx = 78; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; - r0 = pxsim_Array_.setAt(s.colData___24348, s.row___24334, s.tmp_2); + r0 = pxsim_Array_.setAt(s.colData___136268, s.row___136254, s.tmp_2); { step = 10; continue; } case 5: - r0 = s.lData___24358.fields["visited"]; + r0 = s.lData___136278.fields["visited"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22281,7 +22293,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.lData___24358.fields["lastCost"]; + r0 = s.lData___136278.fields["lastCost"]; s.tmp_3 = r0; r0 = (s.tmp_3 > s.arg2); case 7: @@ -22289,8 +22301,8 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 8; continue; } - r0 = (s.lData___24358).fields["lastCost"] = (s.arg2); - r0 = (s.lData___24358).fields["parent"] = (s.arg1); + r0 = (s.lData___136278).fields["lastCost"] = (s.arg2); + r0 = (s.lData___136278).fields["parent"] = (s.arg1); { step = 9; continue; } case 8: { step = 11; continue; } @@ -22303,18 +22315,18 @@ switch (step) { s.callLocIdx = 79; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.h___24386 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_PrioritizedLocation__C24212_VT); + s.h___136306 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_PrioritizedLocation__C136132_VT); s.tmp_0 = r0; - s.tmp_1 = scene_PrioritizedLocation_constructor__P24213_mk(s); + s.tmp_1 = scene_PrioritizedLocation_constructor__P136133_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___24386; + s.tmp_1.arg3 = s.h___136306; s.callLocIdx = 80; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_2 = Heap_push__P22162_mk(s); + s.tmp_2 = Heap_push__P134082_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 +22337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +updateOrFillLocation__P136250.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__P24330_mk(s) { +function updateOrFillLocation__P136250_mk(s) { checkStack(s.depth); return { - parent: s, fn: updateOrFillLocation__P24330, depth: s.depth + 1, + parent: s, fn: updateOrFillLocation__P136250, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22339,11 +22351,11 @@ function updateOrFillLocation__P24330_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - row___24334: undefined, - col___24339: undefined, - colData___24348: undefined, - lData___24358: undefined, - h___24386: undefined, + row___136254: undefined, + col___136259: undefined, + colData___136268: undefined, + lData___136278: undefined, + h___136306: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22353,7 +22365,7 @@ function updateOrFillLocation__P24330_mk(s) { -function helpers_arrayUnshift__P18810(s) { +function helpers_arrayUnshift__P130730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22373,12 +22385,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayUnshift__P130730.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__P18810_mk(s) { +function helpers_arrayUnshift__P130730_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayUnshift__P18810, depth: s.depth + 1, + parent: s, fn: helpers_arrayUnshift__P130730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22388,7 +22400,7 @@ function helpers_arrayUnshift__P18810_mk(s) { -function scene_isWall__P24513(s) { +function scene_isWall__P136433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22398,45 +22410,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___24697 = undefined; - s.c___24701 = undefined; + s.r___136617 = undefined; + s.c___136621 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_locationRow__P24338_mk(s); + s.tmp_0 = scene_locationRow__P136258_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___24697 = (r0); - s.tmp_0 = scene_locationCol__P24343_mk(s); + s.r___136617 = (r0); + s.tmp_0 = scene_locationCol__P136263_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___24701 = (r0); - s.tmp_0 = tiles_TileMap_isObstacle__P21044_mk(s); + s.c___136621 = (r0); + s.tmp_0 = tiles_TileMap_isObstacle__P132964_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.c___24701; - s.tmp_0.arg2 = s.r___24697; + s.tmp_0.arg1 = s.c___136621; + s.tmp_0.arg2 = s.r___136617; s.callLocIdx = 117; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; return leave(s, r0) default: oops() } } } -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"]} +scene_isWall__P136433.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__P24513_mk(s) { +function scene_isWall__P136433_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_isWall__P24513, depth: s.depth + 1, + parent: s, fn: scene_isWall__P136433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - r___24697: undefined, - c___24701: undefined, + r___136617: undefined, + c___136621: undefined, arg0: undefined, arg1: undefined, } } @@ -22445,7 +22457,7 @@ function scene_isWall__P24513_mk(s) { -function Heap_pop__P22163(s) { +function Heap_pop__P134083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22455,22 +22467,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.output___31773 = undefined; - s.nextRoot___31778 = undefined; + s.output___143697 = undefined; + s.nextRoot___143702 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C134080_VT)) failedCast(r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, 0); - s.output___31773 = (r0); + s.output___143697 = (r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; r0 = pxsim_Array_.pop(s.tmp_0); - s.nextRoot___31778 = (r0); + s.nextRoot___143702 = (r0); r0 = s.arg0.fields["store"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -22481,8 +22493,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___31778); - s.tmp_0 = Heap_percolateDown__P24207_mk(s); + r0 = pxsim_Array_.setAt(s.tmp_3, 0, s.nextRoot___143702); + s.tmp_0 = Heap_percolateDown__P136127_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 +22502,23 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.output___31773; + r0 = s.output___143697; return leave(s, r0) default: oops() } } } -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"]} +Heap_pop__P134083.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__P22163_mk(s) { +function Heap_pop__P134083_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_pop__P22163, depth: s.depth + 1, + parent: s, fn: Heap_pop__P134083, 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___31773: undefined, - nextRoot___31778: undefined, + output___143697: undefined, + nextRoot___143702: undefined, arg0: undefined, } } @@ -22514,7 +22526,7 @@ function Heap_pop__P22163_mk(s) { -function Heap_percolateDown__P24207(s) { +function Heap_percolateDown__P136127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22524,39 +22536,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.data___31793 = undefined; - s.max___31796 = undefined; - s.left___31804 = undefined; - s.right___31808 = undefined; - s.curr___31812 = undefined; + s.data___143717 = undefined; + s.max___143720 = undefined; + s.left___143728 = undefined; + s.right___143732 = undefined; + s.curr___143736 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C134080_VT)) failedCast(r0); r0 = s.arg0.fields["store"]; - s.data___31793 = (r0); + s.data___143717 = (r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; r0 = pxsim_Array__length(s.tmp_0); - s.max___31796 = (r0); + s.max___143720 = (r0); case 1: - r0 = (s.arg1 < s.max___31796); + r0 = (s.arg1 < s.max___143720); 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___31804 = (r0); + s.left___143728 = (r0); r0 = (s.arg1 << 1); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.right___31808 = (r0); - s.curr___31812 = (s.arg1); - r0 = (s.left___31804 < s.max___31796); + s.right___143732 = (r0); + s.curr___143736 = (s.arg1); + r0 = (s.left___143728 < s.max___143720); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -22565,9 +22577,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___31793, s.curr___31812); + r0 = pxsim_Array__getAt(s.data___143717, s.curr___143736); s.tmp_2.arg1 = r0; - r0 = pxsim_Array__getAt(s.data___31793, s.left___31804); + r0 = pxsim_Array__getAt(s.data___143717, s.left___143728); 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 +22599,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 4; continue; } - s.curr___31812 = (s.left___31804); + s.curr___143736 = (s.left___143728); case 4: case 5: - r0 = (s.right___31808 < s.max___31796); + r0 = (s.right___143732 < s.max___143720); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } @@ -22599,9 +22611,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___31793, s.curr___31812); + r0 = pxsim_Array__getAt(s.data___143717, s.curr___143736); s.tmp_2.arg1 = r0; - r0 = pxsim_Array__getAt(s.data___31793, s.right___31808); + r0 = pxsim_Array__getAt(s.data___143717, s.right___143732); 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 +22633,45 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 8; continue; } - s.curr___31812 = (s.right___31808); + s.curr___143736 = (s.right___143732); case 8: case 9: - r0 = (s.curr___31812 == s.arg1); + r0 = (s.curr___143736 == 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___31793, s.arg1); + r0 = pxsim_Array__getAt(s.data___143717, s.arg1); s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.data___31793, s.curr___31812); + r0 = pxsim_Array__getAt(s.data___143717, s.curr___143736); s.tmp_2 = r0; - 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); + r0 = pxsim_Array_.setAt(s.data___143717, s.curr___143736, s.tmp_1); + r0 = pxsim_Array_.setAt(s.data___143717, s.arg1, s.tmp_2); + s.arg1 = (s.curr___143736); { step = 1; continue; } case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +Heap_percolateDown__P136127.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__P24207_mk(s) { +function Heap_percolateDown__P136127_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_percolateDown__P24207, depth: s.depth + 1, + parent: s, fn: Heap_percolateDown__P136127, 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___31793: undefined, - max___31796: undefined, - left___31804: undefined, - right___31808: undefined, - curr___31812: undefined, + data___143717: undefined, + max___143720: undefined, + left___143728: undefined, + right___143732: undefined, + curr___143736: undefined, arg0: undefined, arg1: undefined, } } @@ -22668,7 +22680,7 @@ function Heap_percolateDown__P24207_mk(s) { -function Heap_rightChild__P24211(s) { +function Heap_rightChild__P136131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22684,19 +22696,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C134080_VT)) failedCast(r0); r0 = (s.arg1 << 1); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); return leave(s, r0) default: oops() } } } -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"]} +Heap_rightChild__P136131.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__P24211_mk(s) { +function Heap_rightChild__P136131_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_rightChild__P24211, depth: s.depth + 1, + parent: s, fn: Heap_rightChild__P136131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22707,7 +22719,7 @@ function Heap_rightChild__P24211_mk(s) { -function Heap_leftChild__P24210(s) { +function Heap_leftChild__P136130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22723,19 +22735,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C134080_VT)) failedCast(r0); r0 = (s.arg1 << 1); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); return leave(s, r0) default: oops() } } } -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"]} +Heap_leftChild__P136130.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__P24210_mk(s) { +function Heap_leftChild__P136130_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_leftChild__P24210, depth: s.depth + 1, + parent: s, fn: Heap_leftChild__P136130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22746,7 +22758,7 @@ function Heap_leftChild__P24210_mk(s) { -function Heap_length__P22165(s) { +function Heap_length__P134085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22761,20 +22773,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C134080_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__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; +Heap_length__P134085.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__P134085.isGetter = true; -function Heap_length__P22165_mk(s) { +function Heap_length__P134085_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_length__P22165, depth: s.depth + 1, + parent: s, fn: Heap_length__P134085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22784,7 +22796,7 @@ function Heap_length__P22165_mk(s) { -function scene_PrioritizedLocation_constructor__P24213(s) { +function scene_PrioritizedLocation_constructor__P136133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22802,7 +22814,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_PrioritizedLocation__C24212_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_PrioritizedLocation__C136132_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 +22822,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_PrioritizedLocation_constructor__P136133.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__P24213_mk(s) { +function scene_PrioritizedLocation_constructor__P136133_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_PrioritizedLocation_constructor__P24213, depth: s.depth + 1, + parent: s, fn: scene_PrioritizedLocation_constructor__P136133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22827,7 +22839,7 @@ function scene_PrioritizedLocation_constructor__P24213_mk(s) { -function Heap_push__P22162(s) { +function Heap_push__P134082(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22843,11 +22855,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C134080_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__P24208_mk(s); + s.tmp_0 = Heap_percolateUp__P136128_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1302; s.pc = 1; return s.tmp_0; case 1: @@ -22856,12 +22868,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Heap_push__P134082.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__P22162_mk(s) { +function Heap_push__P134082_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_push__P22162, depth: s.depth + 1, + parent: s, fn: Heap_push__P134082, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22872,7 +22884,7 @@ function Heap_push__P22162_mk(s) { -function Heap_percolateUp__P24208(s) { +function Heap_percolateUp__P136128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22882,43 +22894,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___31886 = undefined; - s.curr___31894 = undefined; - s.parentIndex___31899 = undefined; - s.parent___31903 = undefined; + s.i___143810 = undefined; + s.curr___143818 = undefined; + s.parentIndex___143823 = undefined; + s.parent___143827 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C134080_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___31886 = (r0); + s.i___143810 = (r0); case 1: - r0 = (s.i___31886 > 0); + r0 = (s.i___143810 > 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___31886); - s.curr___31894 = (r0); - r0 = (s.i___31886 - 1); + r0 = pxsim_Array__getAt(s.tmp_1, s.i___143810); + s.curr___143818 = (r0); + r0 = (s.i___143810 - 1); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.parentIndex___31899 = (r0); + s.parentIndex___143823 = (r0); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.parentIndex___31899); - s.parent___31903 = (r0); + r0 = pxsim_Array__getAt(s.tmp_0, s.parentIndex___143823); + s.parent___143827 = (r0); s.tmp_2 = if_comparator_3_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.parent___31903; - s.tmp_2.arg2 = s.curr___31894; + s.tmp_2.arg1 = s.parent___143827; + s.tmp_2.arg2 = s.curr___143818; 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 +22952,32 @@ switch (step) { case 3: r0 = s.arg0.fields["store"]; s.tmp_3 = r0; - r0 = pxsim_Array_.setAt(s.tmp_3, s.i___31886, s.parent___31903); + r0 = pxsim_Array_.setAt(s.tmp_3, s.i___143810, s.parent___143827); r0 = s.arg0.fields["store"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.parentIndex___31899, s.curr___31894); - s.i___31886 = (s.parentIndex___31899); + r0 = pxsim_Array_.setAt(s.tmp_0, s.parentIndex___143823, s.curr___143818); + s.i___143810 = (s.parentIndex___143823); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +Heap_percolateUp__P136128.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__P24208_mk(s) { +function Heap_percolateUp__P136128_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_percolateUp__P24208, depth: s.depth + 1, + parent: s, fn: Heap_percolateUp__P136128, 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___31886: undefined, - curr___31894: undefined, - parentIndex___31899: undefined, - parent___31903: undefined, + i___143810: undefined, + curr___143818: undefined, + parentIndex___143823: undefined, + parent___143827: undefined, arg0: undefined, } } @@ -22973,7 +22985,7 @@ function Heap_percolateUp__P24208_mk(s) { -function Heap_parent__P24209(s) { +function Heap_parent__P136129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22989,19 +23001,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C134080_VT)) failedCast(r0); r0 = (s.arg1 - 1); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); return leave(s, r0) default: oops() } } } -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"]} +Heap_parent__P136129.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__P24209_mk(s) { +function Heap_parent__P136129_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_parent__P24209, depth: s.depth + 1, + parent: s, fn: Heap_parent__P136129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23012,7 +23024,7 @@ function Heap_parent__P24209_mk(s) { -function scene_LocationNode_constructor__P24219(s) { +function scene_LocationNode_constructor__P136139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23030,7 +23042,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_LocationNode__C24218_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_LocationNode__C136138_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 +23051,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_LocationNode_constructor__P136139.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__P24219_mk(s) { +function scene_LocationNode_constructor__P136139_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_LocationNode_constructor__P24219, depth: s.depth + 1, + parent: s, fn: scene_LocationNode_constructor__P136139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23056,7 +23068,7 @@ function scene_LocationNode_constructor__P24219_mk(s) { -function tiles_TileMap_isObstacle__P21044(s) { +function tiles_TileMap_isObstacle__P132964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23073,7 +23085,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -23094,7 +23106,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P21024_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P132944_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -23120,12 +23132,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_isObstacle__P132964.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__P21044_mk(s) { +function tiles_TileMap_isObstacle__P132964_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P21044, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P132964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23148,7 +23160,7 @@ function tiles_TileMap_isObstacle__P21044_mk(s) { -function tiles_TileMapData_isOutsideMap__P21024(s) { +function tiles_TileMapData_isOutsideMap__P132944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23165,7 +23177,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C132932_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -23205,12 +23217,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMapData_isOutsideMap__P132944.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__P21024_mk(s) { +function tiles_TileMapData_isOutsideMap__P132944_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P21024, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P132944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23229,7 +23241,7 @@ function tiles_TileMapData_isOutsideMap__P21024_mk(s) { -function tiles_TileMapData_isWall__P21023(s) { +function tiles_TileMapData_isWall__P132943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23246,7 +23258,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C132932_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 +23267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMapData_isWall__P132943.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__P21023_mk(s) { +function tiles_TileMapData_isWall__P132943_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P21023, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P132943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23273,7 +23285,7 @@ function tiles_TileMapData_isWall__P21023_mk(s) { -function scene_locationCol__P24343(s) { +function scene_locationCol__P136263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23287,7 +23299,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = tiles_Location_x__P21001_mk(s); + s.tmp_1 = tiles_Location_x__P132921_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 114; s.pc = 1; return s.tmp_1; case 1: @@ -23297,12 +23309,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_locationCol__P24343.info = {"start":7483,"length":82,"line":216,"column":4,"endLine":218,"endColumn":5,"fileName":"a-star.ts","functionName":"locationCol","argumentNames":["l"]} +scene_locationCol__P136263.info = {"start":7483,"length":82,"line":216,"column":4,"endLine":218,"endColumn":5,"fileName":"a-star.ts","functionName":"locationCol","argumentNames":["l"]} -function scene_locationCol__P24343_mk(s) { +function scene_locationCol__P136263_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_locationCol__P24343, depth: s.depth + 1, + parent: s, fn: scene_locationCol__P136263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23313,7 +23325,7 @@ function scene_locationCol__P24343_mk(s) { -function scene_locationRow__P24338(s) { +function scene_locationRow__P136258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23327,7 +23339,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = tiles_Location_y__P21002_mk(s); + s.tmp_1 = tiles_Location_y__P132922_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 113; s.pc = 1; return s.tmp_1; case 1: @@ -23337,12 +23349,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_locationRow__P24338.info = {"start":7393,"length":82,"line":212,"column":4,"endLine":214,"endColumn":5,"fileName":"a-star.ts","functionName":"locationRow","argumentNames":["l"]} +scene_locationRow__P136258.info = {"start":7393,"length":82,"line":212,"column":4,"endLine":214,"endColumn":5,"fileName":"a-star.ts","functionName":"locationRow","argumentNames":["l"]} -function scene_locationRow__P24338_mk(s) { +function scene_locationRow__P136258_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_locationRow__P24338, depth: s.depth + 1, + parent: s, fn: scene_locationRow__P136258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23353,7 +23365,7 @@ function scene_locationRow__P24338_mk(s) { -function Heap_constructor__P22161(s) { +function Heap_constructor__P134081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23369,7 +23381,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Heap__C22160_VT)) failedCast(r0); + if (!checkSubtype(r0, Heap__C134080_VT)) failedCast(r0); r0 = (s.arg0).fields["comparator"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -23379,12 +23391,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Heap_constructor__P134081.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__P22161_mk(s) { +function Heap_constructor__P134081_mk(s) { checkStack(s.depth); return { - parent: s, fn: Heap_constructor__P22161, depth: s.depth + 1, + parent: s, fn: Heap_constructor__P134081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23396,7 +23408,7 @@ function Heap_constructor__P22161_mk(s) { -function scene_isWalkable__P24237(s) { +function scene_isWalkable__P136157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23406,14 +23418,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.img___24717 = undefined; + s.img___136637 = 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__P24513_mk(s); + s.tmp_1 = scene_isWall__P136433_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 +23448,9 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_4 = tiles_TileMap_getTileImage__P21047_mk(s); + s.tmp_4 = tiles_TileMap_getTileImage__P132967_mk(s); s.tmp_4.arg0 = s.arg2; - s.tmp_5 = tiles_TileMap_getTileIndex__P21038_mk(s); + s.tmp_5 = tiles_TileMap_getTileIndex__P132958_mk(s); s.tmp_5.arg0 = s.arg2; r0 = s.arg0.fields["_col"]; s.tmp_5.arg1 = r0; @@ -23451,18 +23463,18 @@ switch (step) { s.callLocIdx = 122; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.img___24717 = (r0); - r0 = pxsim_ImageMethods.equals(s.img___24717, s.arg1); + s.img___136637 = (r0); + r0 = pxsim_ImageMethods.equals(s.img___136637, s.arg1); case 5: return leave(s, r0) default: oops() } } } -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"]} +scene_isWalkable__P136157.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__P24237_mk(s) { +function scene_isWalkable__P136157_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_isWalkable__P24237, depth: s.depth + 1, + parent: s, fn: scene_isWalkable__P136157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23470,7 +23482,7 @@ function scene_isWalkable__P24237_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - img___24717: undefined, + img___136637: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23480,7 +23492,7 @@ function scene_isWalkable__P24237_mk(s) { -function tiles_Location_row__P20999(s) { +function tiles_Location_row__P132919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23495,18 +23507,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C132917_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -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; +tiles_Location_row__P132919.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__P132919.isGetter = true; -function tiles_Location_row__P20999_mk(s) { +function tiles_Location_row__P132919_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P20999, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P132919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23515,7 +23527,7 @@ function tiles_Location_row__P20999_mk(s) { -function tiles_Location_col__P20998(s) { +function tiles_Location_col__P132918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23530,18 +23542,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C132917_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -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; +tiles_Location_col__P132918.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__P132918.isGetter = true; -function tiles_Location_col__P20998_mk(s) { +function tiles_Location_col__P132918_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P20998, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P132918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23550,7 +23562,7 @@ function tiles_Location_col__P20998_mk(s) { -function tiles_TileMap_getTileIndex__P21038(s) { +function tiles_TileMap_getTileIndex__P132958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23567,8 +23579,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P21018_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P132938_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -23579,12 +23591,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_getTileIndex__P132958.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__P21038_mk(s) { +function tiles_TileMap_getTileIndex__P132958_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P21038, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P132958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23596,7 +23608,7 @@ function tiles_TileMap_getTileIndex__P21038_mk(s) { -function tiles_TileMap_data__P22528(s) { +function tiles_TileMap_data__P134448(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23611,18 +23623,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -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; +tiles_TileMap_data__P134448.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__P134448.isGetter = true; -function tiles_TileMap_data__P22528_mk(s) { +function tiles_TileMap_data__P134448_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P22528, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P134448, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23631,7 +23643,7 @@ function tiles_TileMap_data__P22528_mk(s) { -function tiles_TileMapData_getTile__P21018(s) { +function tiles_TileMapData_getTile__P132938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23648,8 +23660,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P21024_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C132932_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P132944_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -23682,12 +23694,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMapData_getTile__P132938.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__P21018_mk(s) { +function tiles_TileMapData_getTile__P132938_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P21018, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P132938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23707,7 +23719,7 @@ function tiles_TileMapData_getTile__P21018_mk(s) { -function tiles_TileMap_getTileImage__P21047(s) { +function tiles_TileMap_getTileImage__P132967(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23723,8 +23735,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P21021_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P132941_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -23734,12 +23746,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_getTileImage__P132967.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__P21047_mk(s) { +function tiles_TileMap_getTileImage__P132967_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P21047, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P132967, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23750,7 +23762,7 @@ function tiles_TileMap_getTileImage__P21047_mk(s) { -function tiles_TileMapData_getTileImage__P21021(s) { +function tiles_TileMapData_getTileImage__P132941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23760,25 +23772,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___31255 = undefined; - s.cachedImage___31259 = undefined; - s.originalImage___31265 = undefined; + s.size___143179 = undefined; + s.cachedImage___143183 = undefined; + s.originalImage___143189 = 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__C21012_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C132932_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___31255 = (r0); + s.size___143179 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___31259 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___31259); + s.cachedImage___143183 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___143183); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23787,58 +23799,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___31265 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___31265); + s.originalImage___143189 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___143189); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___31265); + r0 = pxsim_ImageMethods.width(s.originalImage___143189); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___31255); + r0 = (s.tmp_1 <= s.size___143179); 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___31265); + r0 = pxsim_ImageMethods.height(s.originalImage___143189); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___31255); + r0 = (s.tmp_2 <= s.size___143179); 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___31259 = (s.originalImage___31265); + s.cachedImage___143183 = (s.originalImage___143189); { step = 4; continue; } case 3: - 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); + r0 = pxsim.image.create(s.size___143179, s.size___143179); + s.cachedImage___143183 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___143183, s.originalImage___143189, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___31259); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___143183); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___31259; + r0 = s.cachedImage___143183; return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMapData_getTileImage__P132941.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__P21021_mk(s) { +function tiles_TileMapData_getTileImage__P132941_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P21021, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P132941, 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___31255: undefined, - cachedImage___31259: undefined, - originalImage___31265: undefined, + size___143179: undefined, + cachedImage___143183: undefined, + originalImage___143189: undefined, arg0: undefined, arg1: undefined, } } @@ -23847,7 +23859,7 @@ function tiles_TileMapData_getTileImage__P21021_mk(s) { -function tiles_TileMapData_scale__P21016(s) { +function tiles_TileMapData_scale__P132936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23862,18 +23874,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C132932_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -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; +tiles_TileMapData_scale__P132936.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__P132936.isGetter = true; -function tiles_TileMapData_scale__P21016_mk(s) { +function tiles_TileMapData_scale__P132936_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P21016, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P132936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23882,7 +23894,7 @@ function tiles_TileMapData_scale__P21016_mk(s) { -function scene_locationOfSprite__P25040(s) { +function scene_locationOfSprite__P136964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23896,41 +23908,41 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - 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_0 = tiles_getTileLocation__P132972_mk(s); + s.tmp_1 = scene_screenCoordinateToTile__P137178_mk(s); + s.tmp_2 = Sprite_x__P132653_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 196; s.pc = 3; return s.tmp_2; + s.callLocIdx = 198; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1.arg0 = r0; - s.callLocIdx = 197; s.pc = 2; return s.tmp_1; + s.callLocIdx = 199; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_3 = scene_screenCoordinateToTile__P25254_mk(s); - s.tmp_4 = Sprite_y__P20735_mk(s); + s.tmp_3 = scene_screenCoordinateToTile__P137178_mk(s); + s.tmp_4 = Sprite_y__P132655_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 198; s.pc = 5; return s.tmp_4; + s.callLocIdx = 200; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3.arg0 = r0; - s.callLocIdx = 199; s.pc = 4; return s.tmp_3; + s.callLocIdx = 201; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 200; s.pc = 1; return s.tmp_0; + s.callLocIdx = 202; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_locationOfSprite__P25040.info = {"start":10339,"length":156,"line":286,"column":4,"endLine":288,"endColumn":5,"fileName":"path-following.ts","functionName":"locationOfSprite","argumentNames":["s"]} +scene_locationOfSprite__P136964.info = {"start":10417,"length":156,"line":288,"column":4,"endLine":290,"endColumn":5,"fileName":"path-following.ts","functionName":"locationOfSprite","argumentNames":["s"]} -function scene_locationOfSprite__P25040_mk(s) { +function scene_locationOfSprite__P136964_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_locationOfSprite__P25040, depth: s.depth + 1, + parent: s, fn: scene_locationOfSprite__P136964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23944,7 +23956,7 @@ function scene_locationOfSprite__P25040_mk(s) { -function scene_screenCoordinateToTile__P25254(s) { +function scene_screenCoordinateToTile__P137178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23954,18 +23966,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___25256 = undefined; + s.tm___137180 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21240_mk(s); - s.callLocIdx = 194; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_currentScene__P133160_mk(s); + s.callLocIdx = 196; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___25256 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tm___25256); + s.tm___137180 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tm___137180); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23976,25 +23988,25 @@ switch (step) { case 1: case 2: s.tmp_2 = r0 = s.arg0; - r0 = s.tm___25256.fields["_scale"]; + r0 = s.tm___137180.fields["_scale"]; s.tmp_3 = r0; r0 = (s.tmp_2 >> s.tmp_3); case 3: return leave(s, r0) default: oops() } } } -scene_screenCoordinateToTile__P25254.info = {"start":10161,"length":172,"line":280,"column":4,"endLine":284,"endColumn":5,"fileName":"path-following.ts","functionName":"screenCoordinateToTile","argumentNames":["value"]} +scene_screenCoordinateToTile__P137178.info = {"start":10239,"length":172,"line":282,"column":4,"endLine":286,"endColumn":5,"fileName":"path-following.ts","functionName":"screenCoordinateToTile","argumentNames":["value"]} -function scene_screenCoordinateToTile__P25254_mk(s) { +function scene_screenCoordinateToTile__P137178_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_screenCoordinateToTile__P25254, depth: s.depth + 1, + parent: s, fn: scene_screenCoordinateToTile__P137178, 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___25256: undefined, + tm___137180: undefined, arg0: undefined, } } @@ -24002,7 +24014,7 @@ function scene_screenCoordinateToTile__P25254_mk(s) { -function scene__followPath__P22178(s) { +function scene__followPath__P134098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24012,10 +24024,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.store___25150 = undefined; - s.previousEl___25153 = undefined; - s.start___25163 = undefined; - s.pfs___25174 = undefined; + s.store___137074 = undefined; + s.previousEl___137077 = undefined; + s.start___137087 = undefined; + s.pfs___137098 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24032,25 +24044,25 @@ switch (step) { { step = 19; continue; } case 1: case 2: - s.tmp_2 = scene_init__P24750_mk(s); - s.callLocIdx = 185; s.pc = 20; return s.tmp_2; + s.tmp_2 = scene_init__P136670_mk(s); + s.callLocIdx = 187; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; - s.tmp_0 = scene_getPathFollowingSprites__P24771_mk(s); - s.callLocIdx = 186; s.pc = 21; return s.tmp_0; + s.tmp_0 = scene_getPathFollowingSprites__P136691_mk(s); + s.callLocIdx = 188; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.store___25150 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P25155); + s.store___137074 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P137079); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFind__P18817_mk(s); - s.tmp_1.arg0 = s.store___25150; + s.tmp_1 = helpers_arrayFind__P130737_mk(s); + s.tmp_1.arg0 = s.store___137074; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 187; s.pc = 22; return s.tmp_1; + s.callLocIdx = 189; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.previousEl___25153 = (r0); + s.previousEl___137077 = (r0); s.tmp_0 = r0 = s.arg1; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } @@ -24061,28 +24073,28 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.start___25163 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.start___25163); + s.start___137087 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.start___137087); 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___25153); + r0 = pxsim_numops_toBoolDecr(s.previousEl___137077); if (!r0) { step = 5; continue; } - r0 = pxsim_Array_.removeElement(s.store___25150, s.previousEl___25153); + r0 = pxsim_Array_.removeElement(s.store___137074, s.previousEl___137077); case 5: case 6: { step = 19; continue; } case 7: case 8: - s.tmp_0 = r0 = s.previousEl___25153; + s.tmp_0 = r0 = s.previousEl___137077; 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__C24736_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_PathFollowingSprite__C136656_VT); s.tmp_1 = r0; s.tmp_2 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_2); @@ -24094,44 +24106,44 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = scene_PathFollowingSprite_constructor__P24737_mk(s); + s.tmp_4 = scene_PathFollowingSprite_constructor__P136657_mk(s); s.tmp_4.arg0 = s.tmp_1; s.tmp_4.arg1 = s.arg0; s.tmp_4.arg2 = s.arg1; s.tmp_4.arg3 = s.tmp_3; - s.callLocIdx = 188; s.pc = 23; return s.tmp_4; + s.callLocIdx = 190; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; r0 = s.tmp_1; case 12: // jmp value (already in r0) s.tmp_5 = r0; - s.pfs___25174 = (s.tmp_5); - r0 = pxsim_numops_toBoolDecr(s.previousEl___25153); + s.pfs___137098 = (s.tmp_5); + r0 = pxsim_numops_toBoolDecr(s.previousEl___137077); if (!r0) { step = 17; continue; } r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 13; continue; } - r0 = (s.previousEl___25153).fields["speed"] = (s.arg2); + r0 = (s.previousEl___137077).fields["speed"] = (s.arg2); case 13: case 14: - r0 = (s.previousEl___25153).fields["path"] = (s.arg1); - r0 = (s.previousEl___25153).fields["index"] = (0); + r0 = (s.previousEl___137077).fields["path"] = (s.arg1); + r0 = (s.previousEl___137077).fields["index"] = (0); r0 = pxsim_numops_toBoolDecr(s.arg3); if (!r0) { step = 15; continue; } - r0 = (s.previousEl___25153).fields["onEndHandler"] = (s.arg3); + r0 = (s.previousEl___137077).fields["onEndHandler"] = (s.arg3); case 15: case 16: { step = 18; continue; } case 17: - r0 = (s.pfs___25174).fields["onEndHandler"] = (s.arg3); - r0 = pxsim_Array__push(s.store___25150, s.pfs___25174); + r0 = (s.pfs___137098).fields["onEndHandler"] = (s.arg3); + r0 = pxsim_Array__push(s.store___137074, s.pfs___137098); case 18: - s.tmp_0 = scene_setVelocityTowards__P24886_mk(s); + s.tmp_0 = scene_setVelocityTowards__P136806_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.start___25163; - r0 = s.pfs___25174.fields["speed"]; + s.tmp_0.arg1 = s.start___137087; + r0 = s.pfs___137098.fields["speed"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 189; s.pc = 24; return s.tmp_0; + s.callLocIdx = 191; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; case 19: @@ -24139,12 +24151,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene__followPath__P134098.info = {"start":8364,"length":1001,"line":219,"column":4,"endLine":255,"endColumn":5,"fileName":"path-following.ts","functionName":"_followPath","argumentNames":["sprite","path","speed","endCb"]} -function scene__followPath__P22178_mk(s) { +function scene__followPath__P134098_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene__followPath__P22178, depth: s.depth + 1, + parent: s, fn: scene__followPath__P134098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24152,10 +24164,10 @@ function scene__followPath__P22178_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - store___25150: undefined, - previousEl___25153: undefined, - start___25163: undefined, - pfs___25174: undefined, + store___137074: undefined, + previousEl___137077: undefined, + start___137087: undefined, + pfs___137098: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24166,7 +24178,7 @@ function scene__followPath__P22178_mk(s) { -function inline__P25155(s) { +function inline__P137079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24186,12 +24198,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25155.info = {"start":8537,"length":26,"line":223,"column":38,"endLine":223,"endColumn":64,"fileName":"path-following.ts","functionName":"inline","argumentNames":["el"]} +inline__P137079.info = {"start":8615,"length":26,"line":225,"column":38,"endLine":225,"endColumn":64,"fileName":"path-following.ts","functionName":"inline","argumentNames":["el"]} -function inline__P25155_mk(s) { +function inline__P137079_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25155, depth: s.depth + 1, + parent: s, fn: inline__P137079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24201,7 +24213,7 @@ function inline__P25155_mk(s) { -function scene_PathFollowingSprite_constructor__P24737(s) { +function scene_PathFollowingSprite_constructor__P136657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24219,7 +24231,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_PathFollowingSprite__C24736_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_PathFollowingSprite__C136656_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 +24240,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_PathFollowingSprite_constructor__P136657.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__P24737_mk(s) { +function scene_PathFollowingSprite_constructor__P136657_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_PathFollowingSprite_constructor__P24737, depth: s.depth + 1, + parent: s, fn: scene_PathFollowingSprite_constructor__P136657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24245,7 +24257,7 @@ function scene_PathFollowingSprite_constructor__P24737_mk(s) { -function scene_getRemainingPath__P25017(s) { +function scene_getRemainingPath__P136941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24255,26 +24267,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentLocation___25278 = undefined; - s.i___25282 = undefined; - s.pathTile___25288 = undefined; - s.remainingPath___25303 = undefined; + s.currentLocation___137202 = undefined; + s.i___137206 = undefined; + s.pathTile___137212 = undefined; + s.remainingPath___137227 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_locationOfSprite__P25040_mk(s); + s.tmp_0 = scene_locationOfSprite__P136964_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 201; s.pc = 10; return s.tmp_0; + s.callLocIdx = 203; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.currentLocation___25278 = (r0); + s.currentLocation___137202 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.i___25282 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.i___25282, 0); + s.i___137206 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.i___137206, 0); case 1: - r0 = pxsim_pxtrt_ldlocRef(s.i___25282); + r0 = pxsim_pxtrt_ldlocRef(s.i___137206); s.tmp_1 = r0; r0 = pxsim_Array__length(s.arg1); s.tmp_2 = r0; @@ -24283,19 +24295,19 @@ 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___25282); + r0 = pxsim_pxtrt_ldlocRef(s.i___137206); s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); - 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; + s.pathTile___137212 = (r0); + s.tmp_2 = tiles_Location_x__P132921_mk(s); + s.tmp_2.arg0 = s.currentLocation___137202; + s.callLocIdx = 204; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - 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; + s.tmp_4 = tiles_Location_x__P132921_mk(s); + s.tmp_4.arg0 = s.pathTile___137212; + s.callLocIdx = 205; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; s.tmp_3 = r0; @@ -24306,15 +24318,15 @@ switch (step) { r0 = s.tmp_0; { step = 3; continue; } case 2: - 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; + s.tmp_6 = tiles_Location_y__P132922_mk(s); + s.tmp_6.arg0 = s.currentLocation___137202; + s.callLocIdx = 206; s.pc = 13; return s.tmp_6; case 13: r0 = s.retval; s.tmp_5 = r0; - 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; + s.tmp_8 = tiles_Location_y__P132922_mk(s); + s.tmp_8.arg0 = s.pathTile___137212; + s.callLocIdx = 207; s.pc = 14; return s.tmp_8; case 14: r0 = s.retval; s.tmp_7 = r0; @@ -24324,7 +24336,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___25282); + r0 = pxsim_pxtrt_ldlocRef(s.i___137206); s.tmp_11 = r0; r0 = (s.tmp_11 === 0); s.tmp_10 = r0; @@ -24333,25 +24345,25 @@ switch (step) { r0 = s.arg1; { step = 5; continue; } case 4: - r0 = pxsim_pxtcore_mkAction(1, inline__P25310); + r0 = pxsim_pxtcore_mkAction(1, inline__P137234); s.tmp_12 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_12, 0, s.i___25282); - s.tmp_13 = helpers_arrayFilter__P18816_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_12, 0, s.i___137206); + s.tmp_13 = helpers_arrayFilter__P130736_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; + s.callLocIdx = 208; s.pc = 15; return s.tmp_13; case 15: r0 = s.retval; case 5: // jmp value (already in r0) s.tmp_14 = r0; - s.remainingPath___25303 = (s.tmp_14); - r0 = s.remainingPath___25303; + s.remainingPath___137227 = (s.tmp_14); + r0 = s.remainingPath___137227; { step = 9; continue; } case 6: case 7: - s.tmp_0 = r0 = s.i___25282; - r0 = pxsim_pxtrt_ldlocRef(s.i___25282); + s.tmp_0 = r0 = s.i___137206; + r0 = pxsim_pxtrt_ldlocRef(s.i___137206); s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_1 = r0; @@ -24363,12 +24375,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_getRemainingPath__P136941.info = {"start":10579,"length":497,"line":292,"column":4,"endLine":302,"endColumn":5,"fileName":"path-following.ts","functionName":"getRemainingPath","argumentNames":["sprite","path"]} -function scene_getRemainingPath__P25017_mk(s) { +function scene_getRemainingPath__P136941_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_getRemainingPath__P25017, depth: s.depth + 1, + parent: s, fn: scene_getRemainingPath__P136941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24385,10 +24397,10 @@ function scene_getRemainingPath__P25017_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - currentLocation___25278: undefined, - i___25282: undefined, - pathTile___25288: undefined, - remainingPath___25303: undefined, + currentLocation___137202: undefined, + i___137206: undefined, + pathTile___137212: undefined, + remainingPath___137227: undefined, arg0: undefined, arg1: undefined, } } @@ -24397,7 +24409,7 @@ function scene_getRemainingPath__P25017_mk(s) { -function inline__P25310(s) { +function inline__P137234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24419,12 +24431,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P25310.info = {"start":10892,"length":16,"line":295,"column":67,"endLine":295,"endColumn":83,"fileName":"path-following.ts","functionName":"inline","argumentNames":["_","j"]} +inline__P137234.info = {"start":10970,"length":16,"line":297,"column":67,"endLine":297,"endColumn":83,"fileName":"path-following.ts","functionName":"inline","argumentNames":["_","j"]} -function inline__P25310_mk(s) { +function inline__P137234_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P25310, depth: s.depth + 1, + parent: s, fn: inline__P137234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24436,7 +24448,7 @@ function inline__P25310_mk(s) { -function tiles_TileMap_isOnWall__P21046(s) { +function tiles_TileMap_isOnWall__P132966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24446,24 +24458,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.hbox___143456 = undefined; + s.left___143459 = undefined; + s.right___143465 = undefined; + s.top___143471 = undefined; + s.bottom___143477 = undefined; + s.col___143483 = undefined; + s.row___143489 = 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__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___31532 = (r0); - s.tmp_1 = game_Hitbox_left__P20674_mk(s); - s.tmp_1.arg0 = s.hbox___31532; + s.hbox___143456 = (r0); + s.tmp_1 = game_Hitbox_left__P132594_mk(s); + s.tmp_1.arg0 = s.hbox___143456; s.callLocIdx = 835; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -24473,9 +24485,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___31535 = (r0); - s.tmp_1 = game_Hitbox_right__P20676_mk(s); - s.tmp_1.arg0 = s.hbox___31532; + s.left___143459 = (r0); + s.tmp_1 = game_Hitbox_right__P132596_mk(s); + s.tmp_1.arg0 = s.hbox___143456; s.callLocIdx = 838; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -24485,9 +24497,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___31541 = (r0); - s.tmp_1 = game_Hitbox_top__P20675_mk(s); - s.tmp_1.arg0 = s.hbox___31532; + s.right___143465 = (r0); + s.tmp_1 = game_Hitbox_top__P132595_mk(s); + s.tmp_1.arg0 = s.hbox___143456; s.callLocIdx = 841; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -24497,9 +24509,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___31547 = (r0); - s.tmp_1 = game_Hitbox_bottom__P20677_mk(s); - s.tmp_1.arg0 = s.hbox___31532; + s.top___143471 = (r0); + s.tmp_1 = game_Hitbox_bottom__P132597_mk(s); + s.tmp_1.arg0 = s.hbox___143456; s.callLocIdx = 844; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -24509,23 +24521,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___31553 = (r0); - s.col___31559 = (s.left___31535); + s.bottom___143477 = (r0); + s.col___143483 = (s.left___143459); case 1: - r0 = (s.col___31559 <= s.right___31541); + r0 = (s.col___143483 <= s.right___143465); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___31565 = (s.top___31547); + s.row___143489 = (s.top___143471); case 2: - r0 = (s.row___31565 <= s.bottom___31553); + r0 = (s.row___143489 <= s.bottom___143477); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P21044_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P132964_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___31559; - s.tmp_2.arg2 = s.row___31565; + s.tmp_2.arg1 = s.col___143483; + s.tmp_2.arg2 = s.row___143489; s.callLocIdx = 847; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -24536,12 +24548,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___31565 + 1); - s.row___31565 = (r0); + r0 = (s.row___143489 + 1); + s.row___143489 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___31559 + 1); - s.col___31559 = (r0); + r0 = (s.col___143483 + 1); + s.col___143483 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -24549,24 +24561,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_isOnWall__P132966.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__P21046_mk(s) { +function tiles_TileMap_isOnWall__P132966_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P21046, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P132966, 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___31532: undefined, - left___31535: undefined, - right___31541: undefined, - top___31547: undefined, - bottom___31553: undefined, - col___31559: undefined, - row___31565: undefined, + hbox___143456: undefined, + left___143459: undefined, + right___143465: undefined, + top___143471: undefined, + bottom___143477: undefined, + col___143483: undefined, + row___143489: undefined, arg0: undefined, arg1: undefined, } } @@ -24575,7 +24587,7 @@ function tiles_TileMap_isOnWall__P21046_mk(s) { -function game_Hitbox_bottom__P20677(s) { +function game_Hitbox_bottom__P132597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24590,10 +24602,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20667_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C132587_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P20675_mk(s); + s.tmp_3 = game_Hitbox_top__P132595_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 223; s.pc = 1; return s.tmp_3; case 1: @@ -24605,13 +24617,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +game_Hitbox_bottom__P132597.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__P132597.isGetter = true; -function game_Hitbox_bottom__P20677_mk(s) { +function game_Hitbox_bottom__P132597_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P20677, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P132597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24624,7 +24636,7 @@ function game_Hitbox_bottom__P20677_mk(s) { -function game_Hitbox_right__P20676(s) { +function game_Hitbox_right__P132596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24639,10 +24651,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20667_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C132587_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P20674_mk(s); + s.tmp_3 = game_Hitbox_left__P132594_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 220; s.pc = 1; return s.tmp_3; case 1: @@ -24654,13 +24666,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +game_Hitbox_right__P132596.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__P132596.isGetter = true; -function game_Hitbox_right__P20676_mk(s) { +function game_Hitbox_right__P132596_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P20676, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P132596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24673,7 +24685,7 @@ function game_Hitbox_right__P20676_mk(s) { -function game_Hitbox_top__P20675(s) { +function game_Hitbox_top__P132595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24688,7 +24700,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20667_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C132587_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -24698,13 +24710,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +game_Hitbox_top__P132595.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__P132595.isGetter = true; -function game_Hitbox_top__P20675_mk(s) { +function game_Hitbox_top__P132595_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P20675, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P132595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24715,7 +24727,7 @@ function game_Hitbox_top__P20675_mk(s) { -function game_Hitbox_left__P20674(s) { +function game_Hitbox_left__P132594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24730,7 +24742,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20667_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C132587_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -24740,13 +24752,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +game_Hitbox_left__P132594.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__P132594.isGetter = true; -function game_Hitbox_left__P20674_mk(s) { +function game_Hitbox_left__P132594_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P20674, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P132594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24757,7 +24769,7 @@ function game_Hitbox_left__P20674_mk(s) { -function Fx_toIntShifted__P18859(s) { +function Fx_toIntShifted__P130779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24779,12 +24791,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_toIntShifted__P130779.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__P18859_mk(s) { +function Fx_toIntShifted__P130779_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P18859, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P130779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24796,7 +24808,7 @@ function Fx_toIntShifted__P18859_mk(s) { -function Sprite_y__P20735(s) { +function Sprite_y__P132655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24811,7 +24823,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -24826,13 +24838,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +Sprite_y__P132655.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__P132655.isGetter = true; -function Sprite_y__P20735_mk(s) { +function Sprite_y__P132655_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P20735, depth: s.depth + 1, + parent: s, fn: Sprite_y__P132655, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24846,7 +24858,7 @@ function Sprite_y__P20735_mk(s) { -function Sprite_x__P20733(s) { +function Sprite_x__P132653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24861,7 +24873,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -24876,13 +24888,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +Sprite_x__P132653.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__P132653.isGetter = true; -function Sprite_x__P20733_mk(s) { +function Sprite_x__P132653_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P20733, depth: s.depth + 1, + parent: s, fn: Sprite_x__P132653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24896,7 +24908,7 @@ function Sprite_x__P20733_mk(s) { -function Sprite_setPosition__P20780(s) { +function Sprite_setPosition__P132700(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24906,7 +24918,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___30667 = undefined; + s.physics___142591 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24914,18 +24926,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P21240_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 308; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___30667 = (r0); - s.tmp_0 = PhysicsEngine__C20867_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___30667; + s.physics___142591 = (r0); + s.tmp_0 = PhysicsEngine__C132787_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___142591; s.tmp_0.arg1 = s.arg0; s.tmp_2 = r0 = s.arg1; - s.tmp_4 = Sprite_x__P20733_mk(s); + s.tmp_4 = Sprite_x__P132653_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 309; s.pc = 3; return s.tmp_4; case 3: @@ -24938,7 +24950,7 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_0.arg2 = r0; s.tmp_7 = r0 = s.arg2; - s.tmp_9 = Sprite_y__P20735_mk(s); + s.tmp_9 = Sprite_y__P132655_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 311; s.pc = 4; return s.tmp_9; case 4: @@ -24950,7 +24962,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_10 | 0); s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C132787_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 +24971,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_setPosition__P132700.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__P20780_mk(s) { +function Sprite_setPosition__P132700_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setPosition__P20780, depth: s.depth + 1, + parent: s, fn: Sprite_setPosition__P132700, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24977,7 +24989,7 @@ function Sprite_setPosition__P20780_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - physics___30667: undefined, + physics___142591: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24987,7 +24999,7 @@ function Sprite_setPosition__P20780_mk(s) { -function tiles_getTileLocation__P21052(s) { +function tiles_getTileLocation__P132972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24997,17 +25009,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___31731 = undefined; + s.scene___143655 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 852; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.scene___31731 = (r0); + s.scene___143655 = (r0); r0 = (s.arg0 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -25024,7 +25036,7 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - r0 = s.scene___31731.fields["tileMap"]; + r0 = s.scene___143655.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -25038,8 +25050,8 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_5 = tiles_TileMap_getTile__P21037_mk(s); - r0 = s.scene___31731.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTile__P132957_mk(s); + r0 = s.scene___143655.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; s.tmp_5.arg2 = s.arg1; @@ -25050,12 +25062,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_getTileLocation__P132972.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__P21052_mk(s) { +function tiles_getTileLocation__P132972_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileLocation__P21052, depth: s.depth + 1, + parent: s, fn: tiles_getTileLocation__P132972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25063,7 +25075,7 @@ function tiles_getTileLocation__P21052_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___31731: undefined, + scene___143655: undefined, arg0: undefined, arg1: undefined, } } @@ -25072,7 +25084,7 @@ function tiles_getTileLocation__P21052_mk(s) { -function tiles_TileMap_getTile__P21037(s) { +function tiles_TileMap_getTile__P132957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25089,10 +25101,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C20997_VT); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C132917_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P21000_mk(s); + s.tmp_1 = tiles_Location_constructor__P132920_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -25104,12 +25116,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_getTile__P132957.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__P21037_mk(s) { +function tiles_TileMap_getTile__P132957_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P21037, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P132957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25122,7 +25134,7 @@ function tiles_TileMap_getTile__P21037_mk(s) { -function tiles_Location_constructor__P21000(s) { +function tiles_Location_constructor__P132920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25140,7 +25152,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C132917_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 +25160,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_Location_constructor__P132920.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__P21000_mk(s) { +function tiles_Location_constructor__P132920_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P21000, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P132920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25165,7 +25177,7 @@ function tiles_Location_constructor__P21000_mk(s) { -function scene_aStar__P22169(s) { +function scene_aStar__P134089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25175,23 +25187,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___24230 = undefined; + s.tm___136150 = 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__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 65; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___24230 = (r0); - s.tmp_3 = scene_isWalkable__P24237_mk(s); + s.tm___136150 = (r0); + s.tmp_3 = scene_isWalkable__P136157_mk(s); s.tmp_3.arg0 = s.arg1; s.tmp_3.arg1 = s.arg2; - s.tmp_3.arg2 = s.tm___24230; + s.tmp_3.arg2 = s.tm___136150; s.callLocIdx = 66; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; @@ -25206,14 +25218,14 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkAction(1, inline__P24246); + r0 = pxsim_pxtcore_mkAction(1, inline__P136166); s.tmp_4 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P24252); + r0 = pxsim_pxtcore_mkAction(1, inline__P136172); s.tmp_5 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.arg1); - s.tmp_6 = scene_generalAStar__P22171_mk(s); - s.tmp_6.arg0 = s.tm___24230; + s.tmp_6 = scene_generalAStar__P134091_mk(s); + s.tmp_6.arg0 = s.tm___136150; s.tmp_6.arg1 = s.arg0; s.tmp_6.arg2 = s.arg2; s.tmp_6.arg3 = s.tmp_4; @@ -25225,12 +25237,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_aStar__P134089.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__P22169_mk(s) { +function scene_aStar__P134089_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_aStar__P22169, depth: s.depth + 1, + parent: s, fn: scene_aStar__P134089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25239,7 +25251,7 @@ function scene_aStar__P22169_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - tm___24230: undefined, + tm___136150: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25249,7 +25261,7 @@ function scene_aStar__P22169_mk(s) { -function inline__P24246(s) { +function inline__P136166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25263,7 +25275,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_tileLocationHeuristic__P24249_mk(s); + s.tmp_0 = scene_tileLocationHeuristic__P136169_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 +25284,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24246.info = {"start":1221,"length":34,"line":37,"column":12,"endLine":37,"endColumn":46,"fileName":"a-star.ts","functionName":"inline","argumentNames":["t"]} +inline__P136166.info = {"start":1221,"length":34,"line":37,"column":12,"endLine":37,"endColumn":46,"fileName":"a-star.ts","functionName":"inline","argumentNames":["t"]} -function inline__P24246_mk(s) { +function inline__P136166_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24246, depth: s.depth + 1, + parent: s, fn: inline__P136166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25287,7 +25299,7 @@ function inline__P24246_mk(s) { -function inline__P24252(s) { +function inline__P136172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25301,13 +25313,13 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = tiles_Location_x__P21001_mk(s); + s.tmp_2 = tiles_Location_x__P132921_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__P21001_mk(s); + s.tmp_4 = tiles_Location_x__P132921_mk(s); s.tmp_4.arg0 = s.caps[0]; s.callLocIdx = 69; s.pc = 4; return s.tmp_4; case 4: @@ -25320,13 +25332,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tiles_Location_y__P21002_mk(s); + s.tmp_6 = tiles_Location_y__P132922_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__P21002_mk(s); + s.tmp_8 = tiles_Location_y__P132922_mk(s); s.tmp_8.arg0 = s.caps[0]; s.callLocIdx = 71; s.pc = 6; return s.tmp_8; case 6: @@ -25340,12 +25352,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P24252.info = {"start":1270,"length":35,"line":38,"column":12,"endLine":38,"endColumn":47,"fileName":"a-star.ts","functionName":"inline","argumentNames":["l"]} +inline__P136172.info = {"start":1270,"length":35,"line":38,"column":12,"endLine":38,"endColumn":47,"fileName":"a-star.ts","functionName":"inline","argumentNames":["l"]} -function inline__P24252_mk(s) { +function inline__P136172_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P24252, depth: s.depth + 1, + parent: s, fn: inline__P136172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25364,7 +25376,7 @@ function inline__P24252_mk(s) { -function scene_tileLocationHeuristic__P24249(s) { +function scene_tileLocationHeuristic__P136169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25374,44 +25386,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.startCol___24660 = undefined; - s.startRow___24664 = undefined; - s.endCol___24668 = undefined; - s.endRow___24672 = undefined; + s.startCol___136580 = undefined; + s.startRow___136584 = undefined; + s.endCol___136588 = undefined; + s.endRow___136592 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = scene_locationCol__P24343_mk(s); + s.tmp_0 = scene_locationCol__P136263_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___24660 = (r0); - s.tmp_0 = scene_locationRow__P24338_mk(s); + s.startCol___136580 = (r0); + s.tmp_0 = scene_locationRow__P136258_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___24664 = (r0); - s.tmp_0 = scene_locationCol__P24343_mk(s); + s.startRow___136584 = (r0); + s.tmp_0 = scene_locationCol__P136263_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___24668 = (r0); - s.tmp_0 = scene_locationRow__P24338_mk(s); + s.endCol___136588 = (r0); + s.tmp_0 = scene_locationRow__P136258_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___24672 = (r0); - r0 = (s.startCol___24660 - s.endCol___24668); + s.endRow___136592 = (r0); + r0 = (s.startCol___136580 - s.endCol___136588); s.tmp_1 = r0; r0 = pxsim.Math_.pow(s.tmp_1, 2); s.tmp_0 = r0; - r0 = (s.startRow___24664 - s.endRow___24672); + r0 = (s.startRow___136584 - s.endRow___136592); s.tmp_3 = r0; r0 = pxsim.Math_.pow(s.tmp_3, 2); s.tmp_2 = r0; @@ -25419,21 +25431,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_tileLocationHeuristic__P136169.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__P24249_mk(s) { +function scene_tileLocationHeuristic__P136169_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_tileLocationHeuristic__P24249, depth: s.depth + 1, + parent: s, fn: scene_tileLocationHeuristic__P136169, 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___24660: undefined, - startRow___24664: undefined, - endCol___24668: undefined, - endRow___24672: undefined, + startCol___136580: undefined, + startRow___136584: undefined, + endCol___136588: undefined, + endRow___136592: undefined, arg0: undefined, arg1: undefined, } } @@ -25442,7 +25454,7 @@ function scene_tileLocationHeuristic__P24249_mk(s) { -function controller_Button_onEvent__P20618(s) { +function controller_Button_onEvent__P132538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25459,8 +25471,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P19088_mk(s); + if (!checkSubtype(r0, controller_Button__C132531_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P131008_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -25473,12 +25485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_Button_onEvent__P132538.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__P20618_mk(s) { +function controller_Button_onEvent__P132538_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P20618, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P132538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25490,7 +25502,7 @@ function controller_Button_onEvent__P20618_mk(s) { -function scene_cameraFollowSprite__P21172(s) { +function scene_cameraFollowSprite__P133092(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25500,32 +25512,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___30693 = undefined; + s.scene___142617 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 916; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___30693 = (r0); - r0 = s.scene___30693.fields["camera"]; + s.scene___142617 = (r0); + r0 = s.scene___142617.fields["camera"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["sprite"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +scene_cameraFollowSprite__P133092.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__P21172_mk(s) { +function scene_cameraFollowSprite__P133092_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_cameraFollowSprite__P21172, depth: s.depth + 1, + parent: s, fn: scene_cameraFollowSprite__P133092, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___30693: undefined, + scene___142617: undefined, arg0: undefined, } } @@ -25533,7 +25545,7 @@ function scene_cameraFollowSprite__P21172_mk(s) { -function controller_moveSprite__P20660(s) { +function controller_moveSprite__P132580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25549,8 +25561,8 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller_moveSprite__P20647_mk(s); - s.tmp_1 = controller__player1__P20625_mk(s); + s.tmp_0 = controller_Controller_moveSprite__P132567_mk(s); + s.tmp_1 = controller__player1__P132545_mk(s); s.callLocIdx = 211; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -25565,12 +25577,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_moveSprite__P132580.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__P20660_mk(s) { +function controller_moveSprite__P132580_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_moveSprite__P20660, depth: s.depth + 1, + parent: s, fn: controller_moveSprite__P132580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25583,7 +25595,7 @@ function controller_moveSprite__P20660_mk(s) { -function controller_Controller_moveSprite__P20647(s) { +function controller_Controller_moveSprite__P132567(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25593,7 +25605,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cp___30718 = undefined; + s.cp___142642 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25602,7 +25614,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -25612,7 +25624,7 @@ switch (step) { { step = 15; continue; } case 1: case 2: - s.tmp_5 = controller_Controller__controlledSprites__P20636_mk(s); + s.tmp_5 = controller_Controller__controlledSprites__P132556_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 172; s.pc = 16; return s.tmp_5; case 16: @@ -25624,7 +25636,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__P20637_mk(s); + s.tmp_6 = controller_Controller__controlledSprites__P132557_mk(s); s.tmp_6.arg0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_6.arg1 = r0; @@ -25633,11 +25645,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkAction(1, inline__P30721); + r0 = pxsim_pxtcore_mkAction(1, inline__P142645); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFind__P18817_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P20636_mk(s); + s.tmp_1 = helpers_arrayFind__P130737_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P132556_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 174; s.pc = 19; return s.tmp_2; case 19: @@ -25647,16 +25659,16 @@ switch (step) { s.callLocIdx = 175; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.cp___30718 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cp___30718); + s.cp___142642 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cp___142642); 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__C20627_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C132547_VT); s.tmp_2 = r0; - s.tmp_3 = controller_ControlledSprite_constructor__P20629_mk(s); + s.tmp_3 = controller_ControlledSprite_constructor__P132549_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; @@ -25664,17 +25676,17 @@ switch (step) { s.callLocIdx = 176; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.cp___30718 = (s.tmp_2); - s.tmp_1 = controller_Controller__controlledSprites__P20636_mk(s); + s.cp___142642 = (s.tmp_2); + s.tmp_1 = controller_Controller__controlledSprites__P132556_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___30718); + r0 = pxsim_Array__push(s.tmp_0, s.cp___142642); case 5: case 6: - r0 = s.cp___30718.fields["vx"]; + r0 = s.cp___142642.fields["vx"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } @@ -25687,8 +25699,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - s.tmp_2 = Sprite_vx__P20738_mk(s); - r0 = s.cp___30718.fields["s"]; + s.tmp_2 = Sprite_vx__P132658_mk(s); + r0 = s.cp___142642.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 178; s.pc = 22; return s.tmp_2; @@ -25696,7 +25708,7 @@ switch (step) { r0 = s.retval; case 9: case 10: - r0 = s.cp___30718.fields["vy"]; + r0 = s.cp___142642.fields["vy"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } @@ -25709,8 +25721,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = Sprite_vy__P20740_mk(s); - r0 = s.cp___30718.fields["s"]; + s.tmp_2 = Sprite_vy__P132660_mk(s); + r0 = s.cp___142642.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 179; s.pc = 23; return s.tmp_2; @@ -25718,19 +25730,19 @@ switch (step) { r0 = s.retval; case 13: case 14: - r0 = (s.cp___30718).fields["vx"] = (s.arg2); - r0 = (s.cp___30718).fields["vy"] = (s.arg3); + r0 = (s.cp___142642).fields["vx"] = (s.arg2); + r0 = (s.cp___142642).fields["vy"] = (s.arg3); case 15: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +controller_Controller_moveSprite__P132567.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__P20647_mk(s) { +function controller_Controller_moveSprite__P132567_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_moveSprite__P20647, depth: s.depth + 1, + parent: s, fn: controller_Controller_moveSprite__P132567, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25739,7 +25751,7 @@ function controller_Controller_moveSprite__P20647_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - cp___30718: undefined, + cp___142642: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25750,7 +25762,7 @@ function controller_Controller_moveSprite__P20647_mk(s) { -function inline__P30721(s) { +function inline__P142645(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25773,12 +25785,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P142645.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__P30721_mk(s) { +function inline__P142645_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30721, depth: s.depth + 1, + parent: s, fn: inline__P142645, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25789,7 +25801,7 @@ function inline__P30721_mk(s) { -function controller_ControlledSprite_constructor__P20629(s) { +function controller_ControlledSprite_constructor__P132549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25807,7 +25819,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ControlledSprite__C20627_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ControlledSprite__C132547_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 +25827,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_ControlledSprite_constructor__P132549.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__P20629_mk(s) { +function controller_ControlledSprite_constructor__P132549_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ControlledSprite_constructor__P20629, depth: s.depth + 1, + parent: s, fn: controller_ControlledSprite_constructor__P132549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25832,7 +25844,7 @@ function controller_ControlledSprite_constructor__P20629_mk(s) { -function sprites_create__P20682(s) { +function sprites_create__P132602(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25842,51 +25854,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___30768 = undefined; - s.sprite___30771 = undefined; + s.scene___142692 = undefined; + s.sprite___142695 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 232; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___30768 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C20724_VT); + s.scene___142692 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C132644_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P20761_mk(s); + s.tmp_1 = Sprite_constructor__P132681_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___30771 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P20779_mk(s); - s.tmp_0.arg0 = s.sprite___30771; + s.sprite___142695 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P132699_mk(s); + s.tmp_0.arg0 = s.sprite___142695; 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__C20867_v0_2_mk(s); - r0 = s.scene___30768.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C132787_v0_2_mk(s); + r0 = s.scene___142692.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___30771; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20867_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___142695; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C132787_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__P30786); + r0 = pxsim_pxtcore_mkAction(1, inline__P142710); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P30792); + r0 = pxsim_pxtcore_mkAction(1, inline__P142716); s.tmp_1 = r0; - 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"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___142695); + s.tmp_2 = helpers_arrayForEach__P130735_mk(s); + s.tmp_3 = helpers_arrayFilter__P130736_mk(s); + r0 = s.scene___142692.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 +25909,23 @@ switch (step) { s.callLocIdx = 237; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___30771; + r0 = s.sprite___142695; return leave(s, r0) default: oops() } } } -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"]} +sprites_create__P132602.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__P20682_mk(s) { +function sprites_create__P132602_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P20682, depth: s.depth + 1, + parent: s, fn: sprites_create__P132602, 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___30768: undefined, - sprite___30771: undefined, + scene___142692: undefined, + sprite___142695: undefined, arg0: undefined, arg1: undefined, } } @@ -25922,7 +25934,7 @@ function sprites_create__P20682_mk(s) { -function inline__P30786(s) { +function inline__P142710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25942,12 +25954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P142710.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__P30786_mk(s) { +function inline__P142710_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30786, depth: s.depth + 1, + parent: s, fn: inline__P142710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25957,7 +25969,7 @@ function inline__P30786_mk(s) { -function inline__P30792(s) { +function inline__P142716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25989,12 +26001,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P142716.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__P30792_mk(s) { +function inline__P142716_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P30792, depth: s.depth + 1, + parent: s, fn: inline__P142716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26004,7 +26016,7 @@ function inline__P30792_mk(s) { -function PhysicsEngine_addSprite__P20869(s) { +function PhysicsEngine_addSprite__P132789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26020,17 +26032,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20867_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C132787_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +PhysicsEngine_addSprite__P132789.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__P20869_mk(s) { +function PhysicsEngine_addSprite__P132789_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P20869, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P132789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26040,7 +26052,7 @@ function PhysicsEngine_addSprite__P20869_mk(s) { -function Sprite_setKind__P20779(s) { +function Sprite_setKind__P132699(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26050,15 +26062,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___30810 = undefined; - s.overlapMap___30839 = undefined; + s.spritesByKind___142734 = undefined; + s.overlapMap___142763 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -26077,12 +26089,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P21240_mk(s); + s.tmp_3 = game_currentScene__P133160_mk(s); s.callLocIdx = 303; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___30810 = (r0); + s.spritesByKind___142734 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -26094,16 +26106,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30810, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___142734, 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__P20826_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P132746_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30810, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___142734, 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 +26127,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___30810, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___142734, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -26123,18 +26135,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__C20819_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C132739_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P20821_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P132741_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___30810, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___142734, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P20824_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___30810, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P132744_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___142734, 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 +26154,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 307; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___30839 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___30839, s.arg1); + s.overlapMap___142763 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___142763, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -26156,7 +26168,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___30839; + s.tmp_3 = r0 = s.overlapMap___142763; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -26164,7 +26176,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___30839, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___142763, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -26173,12 +26185,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_setKind__P132699.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__P20779_mk(s) { +function Sprite_setKind__P132699_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P20779, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P132699, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26186,8 +26198,8 @@ function Sprite_setKind__P20779_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___30810: undefined, - overlapMap___30839: undefined, + spritesByKind___142734: undefined, + overlapMap___142763: undefined, arg0: undefined, arg1: undefined, } } @@ -26196,7 +26208,7 @@ function Sprite_setKind__P20779_mk(s) { -function sprites_SpriteSet_add__P20824(s) { +function sprites_SpriteSet_add__P132744(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26212,7 +26224,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C132739_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -26243,12 +26255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteSet_add__P132744.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__P20824_mk(s) { +function sprites_SpriteSet_add__P132744_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P20824, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P132744, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26264,7 +26276,7 @@ function sprites_SpriteSet_add__P20824_mk(s) { -function sprites_SpriteSet_contains__P20827(s) { +function sprites_SpriteSet_contains__P132747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26280,7 +26292,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C132739_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -26289,12 +26301,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteSet_contains__P132747.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__P20827_mk(s) { +function sprites_SpriteSet_contains__P132747_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P20827, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P132747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26306,7 +26318,7 @@ function sprites_SpriteSet_contains__P20827_mk(s) { -function sprites_SpriteSet_constructor__P20821(s) { +function sprites_SpriteSet_constructor__P132741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26321,7 +26333,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C132739_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -26330,12 +26342,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteSet_constructor__P132741.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__P20821_mk(s) { +function sprites_SpriteSet_constructor__P132741_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P20821, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P132741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26346,7 +26358,7 @@ function sprites_SpriteSet_constructor__P20821_mk(s) { -function Sprite_constructor__P20761(s) { +function Sprite_constructor__P132681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26362,15 +26374,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P20568_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P132488_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___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -26384,7 +26396,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___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -26403,50 +26415,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__P20738_mk(s); + s.tmp_0 = Sprite_vx__P132658_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__P20740_mk(s); + s.tmp_0 = Sprite_vy__P132660_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__P20742_mk(s); + s.tmp_0 = Sprite_ax__P132662_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__P20744_mk(s); + s.tmp_0 = Sprite_ay__P132664_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__P20746_mk(s); + s.tmp_0 = Sprite_fx__P132666_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__P20748_mk(s); + s.tmp_0 = Sprite_fy__P132668_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__P20764_mk(s); + s.tmp_0 = Sprite_setImage__P132684_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__P20779_mk(s); + s.tmp_0 = Sprite_setKind__P132699_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 +26478,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_constructor__P132681.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__P20761_mk(s) { +function Sprite_constructor__P132681_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P20761, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P132681, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26488,7 +26500,7 @@ function Sprite_constructor__P20761_mk(s) { -function Sprite_fy__P20748(s) { +function Sprite_fy__P132668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26504,9 +26516,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P18833_mk(s); + s.tmp_3 = Math_max__P130753_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 +26534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_fy__P132668.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__P20748_mk(s) { +function Sprite_fy__P132668_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P20748, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P132668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26542,7 +26554,7 @@ function Sprite_fy__P20748_mk(s) { -function Sprite_fy__P20747(s) { +function Sprite_fy__P132667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26557,20 +26569,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_fy__P132667.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__P132667.isGetter = true; -function Sprite_fy__P20747_mk(s) { +function Sprite_fy__P132667_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P20747, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P132667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26580,7 +26592,7 @@ function Sprite_fy__P20747_mk(s) { -function Sprite_fx__P20746(s) { +function Sprite_fx__P132666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26596,9 +26608,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P18833_mk(s); + s.tmp_3 = Math_max__P130753_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 +26626,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_fx__P132666.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__P20746_mk(s) { +function Sprite_fx__P132666_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P20746, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P132666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26634,7 +26646,7 @@ function Sprite_fx__P20746_mk(s) { -function Sprite_fx__P20745(s) { +function Sprite_fx__P132665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26649,20 +26661,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_fx__P132665.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__P132665.isGetter = true; -function Sprite_fx__P20745_mk(s) { +function Sprite_fx__P132665_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P20745, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P132665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26672,7 +26684,7 @@ function Sprite_fx__P20745_mk(s) { -function Sprite_ay__P20744(s) { +function Sprite_ay__P132664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26688,7 +26700,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -26699,12 +26711,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_ay__P132664.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__P20744_mk(s) { +function Sprite_ay__P132664_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P20744, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P132664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26717,7 +26729,7 @@ function Sprite_ay__P20744_mk(s) { -function Sprite_ay__P20743(s) { +function Sprite_ay__P132663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26732,20 +26744,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_ay__P132663.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__P132663.isGetter = true; -function Sprite_ay__P20743_mk(s) { +function Sprite_ay__P132663_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P20743, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P132663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26755,7 +26767,7 @@ function Sprite_ay__P20743_mk(s) { -function Sprite_ax__P20742(s) { +function Sprite_ax__P132662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26771,7 +26783,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -26782,12 +26794,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_ax__P132662.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__P20742_mk(s) { +function Sprite_ax__P132662_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P20742, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P132662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26800,7 +26812,7 @@ function Sprite_ax__P20742_mk(s) { -function Sprite_ax__P20741(s) { +function Sprite_ax__P132661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26815,20 +26827,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__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; +Sprite_ax__P132661.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__P132661.isGetter = true; -function Sprite_ax__P20741_mk(s) { +function Sprite_ax__P132661_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P20741, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P132661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26838,7 +26850,7 @@ function Sprite_ax__P20741_mk(s) { -function helpers_getTilemapByName__P21066(s) { +function helpers_getTilemapByName__P132986(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26848,46 +26860,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___30984 = undefined; - s.unnamed264___U1 = undefined; - s.unnamed265___U2 = undefined; - s.data___30986 = undefined; + s.factory___142908 = undefined; + s.unnamed1132___U1 = undefined; + s.unnamed1133___U2 = undefined; + s.data___142910 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___22532); + r0 = pxsim_numops_toBoolDecr(globals.factories___134452); if (!r0) { step = 5; continue; } - s.factory___30984 = (undefined); - s.unnamed264___U1 = (globals.factories___22532); - s.unnamed265___U2 = (0); + s.factory___142908 = (undefined); + s.unnamed1132___U1 = (globals.factories___134452); + s.unnamed1133___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed265___U2; - r0 = pxsim_Array__length(s.unnamed264___U1); + s.tmp_0 = r0 = s.unnamed1133___U2; + r0 = pxsim_Array__length(s.unnamed1132___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed264___U1, s.unnamed265___U2); - s.factory___30984 = (r0); + r0 = pxsim_Array__getAt(s.unnamed1132___U1, s.unnamed1133___U2); + s.factory___142908 = (r0); s.tmp_2 = lambda_2_mk(s); - s.tmp_2.argL = s.factory___30984; + s.tmp_2.argL = s.factory___142908; 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___30986 = (r0); - r0 = pxsim_numops_toBoolDecr(s.data___30986); + s.data___142910 = (r0); + r0 = pxsim_numops_toBoolDecr(s.data___142910); if (!r0) { step = 2; continue; } - r0 = s.data___30986; + r0 = s.data___142910; { step = 7; continue; } case 2: case 3: - r0 = (s.unnamed265___U2 + 1); - s.unnamed265___U2 = (r0); + r0 = (s.unnamed1133___U2 + 1); + s.unnamed1133___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed264___U1 = (undefined); + s.unnamed1132___U1 = (undefined); case 5: case 6: r0 = null; @@ -26895,20 +26907,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_getTilemapByName__P132986.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__P21066_mk(s) { +function helpers_getTilemapByName__P132986_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_getTilemapByName__P21066, depth: s.depth + 1, + parent: s, fn: helpers_getTilemapByName__P132986, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - factory___30984: undefined, - unnamed264___U1: undefined, - unnamed265___U2: undefined, - data___30986: undefined, + factory___142908: undefined, + unnamed1132___U1: undefined, + unnamed1133___U2: undefined, + data___142910: undefined, arg0: undefined, } } @@ -26916,7 +26928,7 @@ function helpers_getTilemapByName__P21066_mk(s) { -function tilemap__P21060(s) { +function tilemap__P132980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26935,12 +26947,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tilemap__P132980.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__P21060_mk(s) { +function tilemap__P132980_mk(s) { checkStack(s.depth); return { - parent: s, fn: tilemap__P21060, depth: s.depth + 1, + parent: s, fn: tilemap__P132980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26950,7 +26962,7 @@ function tilemap__P21060_mk(s) { -function tiles_setTilemap__P21049(s) { +function tiles_setTilemap__P132969(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26964,7 +26976,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_setTileMapLevel__P21170_mk(s); + s.tmp_0 = scene_setTileMapLevel__P133090_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 851; s.pc = 1; return s.tmp_0; case 1: @@ -26973,12 +26985,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_setTilemap__P132969.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__P21049_mk(s) { +function tiles_setTilemap__P132969_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_setTilemap__P21049, depth: s.depth + 1, + parent: s, fn: tiles_setTilemap__P132969, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26988,7 +27000,7 @@ function tiles_setTilemap__P21049_mk(s) { -function scene_setTileMapLevel__P21170(s) { +function scene_setTileMapLevel__P133090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26998,17 +27010,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___30999 = undefined; + s.scene___142923 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 911; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.scene___30999 = (r0); - r0 = s.scene___30999.fields["tileMap"]; + s.scene___142923 = (r0); + r0 = s.scene___142923.fields["tileMap"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -27016,26 +27028,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__C21025_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMap__C132945_VT); s.tmp_3 = r0; - s.tmp_4 = tiles_TileMap_constructor__P21026_mk(s); + s.tmp_4 = tiles_TileMap_constructor__P132946_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___30999).fields["tileMap"] = (s.tmp_3); + r0 = (s.scene___142923).fields["tileMap"] = (s.tmp_3); case 1: case 2: - s.tmp_0 = tiles_TileMap_setData__P21036_mk(s); - r0 = s.scene___30999.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_setData__P132956_mk(s); + r0 = s.scene___142923.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__P21028_mk(s); - r0 = s.scene___30999.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_scale__P132948_mk(s); + r0 = s.scene___142923.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_scale"]; s.tmp_0.arg1 = r0; @@ -27046,19 +27058,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_setTileMapLevel__P133090.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__P21170_mk(s) { +function scene_setTileMapLevel__P133090_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTileMapLevel__P21170, depth: s.depth + 1, + parent: s, fn: scene_setTileMapLevel__P133090, 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___30999: undefined, + scene___142923: undefined, arg0: undefined, } } @@ -27066,7 +27078,7 @@ function scene_setTileMapLevel__P21170_mk(s) { -function tiles_TileMap_setData__P21036(s) { +function tiles_TileMap_setData__P132956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27082,18 +27094,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); r0 = (s.arg0).fields["_map"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_setData__P132956.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__P21036_mk(s) { +function tiles_TileMap_setData__P132956_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setData__P21036, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setData__P132956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27103,7 +27115,7 @@ function tiles_TileMap_setData__P21036_mk(s) { -function tiles_TileMap_scale__P21028(s) { +function tiles_TileMap_scale__P132948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27119,13 +27131,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_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__P21017_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P132937_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -27138,12 +27150,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_scale__P132948.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__P21028_mk(s) { +function tiles_TileMap_scale__P132948_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P21028, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P132948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27155,7 +27167,7 @@ function tiles_TileMap_scale__P21028_mk(s) { -function tiles_TileMapData_scale__P21017(s) { +function tiles_TileMapData_scale__P132937(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27171,7 +27183,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C132932_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -27181,12 +27193,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMapData_scale__P132937.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__P21017_mk(s) { +function tiles_TileMapData_scale__P132937_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P21017, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P132937, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27198,7 +27210,7 @@ function tiles_TileMapData_scale__P21017_mk(s) { -function tiles_TileMap_constructor__P21026(s) { +function tiles_TileMap_constructor__P132946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27214,18 +27226,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P21028_mk(s); + s.tmp_0 = tiles_TileMap_scale__P132948_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__P31059); + r0 = pxsim_pxtcore_mkAction(1, inline__P142983); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = scene_createRenderable__P21091_mk(s); + s.tmp_1 = scene_createRenderable__P133011_mk(s); s.tmp_1.arg0 = -1; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; @@ -27236,12 +27248,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_constructor__P132946.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__P21026_mk(s) { +function tiles_TileMap_constructor__P132946_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P21026, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P132946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27253,7 +27265,7 @@ function tiles_TileMap_constructor__P21026_mk(s) { -function inline__P31059(s) { +function inline__P142983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27268,7 +27280,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P22530_mk(s); + s.tmp_0 = tiles_TileMap_draw__P134450_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -27279,12 +27291,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P142983.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__P31059_mk(s) { +function inline__P142983_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P31059, depth: s.depth + 1, + parent: s, fn: inline__P142983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27295,7 +27307,7 @@ function inline__P31059_mk(s) { -function tiles_TileMap_draw__P22530(s) { +function tiles_TileMap_draw__P134450(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27305,21 +27317,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.bitmask___142994 = undefined; + s.offsetX___143000 = undefined; + s.offsetY___143005 = undefined; + s.x0___143010 = undefined; + s.xn___143017 = undefined; + s.y0___143034 = undefined; + s.yn___143041 = undefined; + s.x___143058 = undefined; + s.y___143064 = undefined; + s.index___143070 = undefined; + s.tile___143077 = undefined; + s.x___143113 = undefined; + s.xLine___143119 = undefined; + s.y___143145 = undefined; + s.yLine___143151 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27327,7 +27339,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -27352,16 +27364,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___31070 = (r0); + s.bitmask___142994 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___31070); - s.offsetX___31076 = (r0); + r0 = (s.tmp_0 & s.bitmask___142994); + s.offsetX___143000 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___31070); - s.offsetY___31081 = (r0); - s.tmp_0 = Math_max__P18833_mk(s); + r0 = (s.tmp_0 & s.bitmask___142994); + s.offsetY___143005 = (r0); + s.tmp_0 = Math_max__P130753_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -27372,8 +27384,8 @@ switch (step) { s.callLocIdx = 808; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___31086 = (r0); - s.tmp_0 = Math_min__P18834_mk(s); + s.x0___143010 = (r0); + s.tmp_0 = Math_min__P130754_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -27393,8 +27405,8 @@ switch (step) { s.callLocIdx = 811; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___31093 = (r0); - s.tmp_0 = Math_max__P18833_mk(s); + s.xn___143017 = (r0); + s.tmp_0 = Math_max__P130753_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -27405,8 +27417,8 @@ switch (step) { s.callLocIdx = 813; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___31110 = (r0); - s.tmp_0 = Math_min__P18834_mk(s); + s.y0___143034 = (r0); + s.tmp_0 = Math_min__P130754_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -27426,92 +27438,92 @@ switch (step) { s.callLocIdx = 816; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___31117 = (r0); - s.x___31134 = (s.x0___31086); + s.yn___143041 = (r0); + s.x___143058 = (s.x0___143010); case 3: - r0 = (s.x___31134 <= s.xn___31093); + r0 = (s.x___143058 <= s.xn___143017); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___31140 = (s.y0___31110); + s.y___143064 = (s.y0___143034); case 4: - r0 = (s.y___31140 <= s.yn___31117); + r0 = (s.y___143064 <= s.yn___143041); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P21018_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P132938_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___31134; - s.tmp_1.arg2 = s.y___31140; + s.tmp_1.arg1 = s.x___143058; + s.tmp_1.arg2 = s.y___143064; s.callLocIdx = 817; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___31146 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P21021_mk(s); + s.index___143070 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P132941_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___31146; + s.tmp_0.arg1 = s.index___143070; s.callLocIdx = 818; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___31153 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___31153); + s.tile___143077 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___143077); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___31153; - r0 = (s.x___31134 - s.x0___31086); + s.tmp_1 = r0 = s.tile___143077; + r0 = (s.x___143058 - s.x0___143010); 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___31076); + r0 = (s.tmp_3 - s.offsetX___143000); s.tmp_2 = r0; - r0 = (s.y___31140 - s.y0___31110); + r0 = (s.y___143064 - s.y0___143034); 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___31081); + r0 = (s.tmp_7 - s.offsetY___143005); 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___31140 + 1); - s.y___31140 = (r0); + r0 = (s.y___143064 + 1); + s.y___143064 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___31134 + 1); - s.x___31134 = (r0); + r0 = (s.x___143058 + 1); + s.x___143058 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___21236); + r0 = pxsim_numops_toBoolDecr(globals.debug___133156); if (!r0) { step = 21; continue; } - s.x___31189 = (s.x0___31086); + s.x___143113 = (s.x0___143010); case 9: - r0 = (s.x___31189 <= s.xn___31093); + r0 = (s.x___143113 <= s.xn___143017); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___31189 - s.x0___31086); + r0 = (s.x___143113 - s.x0___143010); 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___31076); - s.xLine___31195 = (r0); - r0 = (s.xLine___31195 >= 0); + r0 = (s.tmp_1 - s.offsetX___143000); + s.xLine___143119 = (r0); + r0 = (s.xLine___143119 >= 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___31195; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + s.tmp_1 = r0 = s.xLine___143119; + r0 = pxsim_ImageMethods.width(globals.screen___132430); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -27519,11 +27531,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P20438_mk(s); + s.tmp_4 = helpers_imageDrawLine__P132358_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___31195; + s.tmp_4.arg1 = s.xLine___143119; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___31195; + s.tmp_4.arg3 = s.xLine___143119; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -27532,33 +27544,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___31189 + 1); - s.x___31189 = (r0); + r0 = (s.x___143113 + 1); + s.x___143113 = (r0); { step = 9; continue; } case 14: - s.y___31221 = (s.y0___31110); + s.y___143145 = (s.y0___143034); case 15: - r0 = (s.y___31221 <= s.yn___31117); + r0 = (s.y___143145 <= s.yn___143041); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___31221 - s.y0___31110); + r0 = (s.y___143145 - s.y0___143034); 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___31081); - s.yLine___31227 = (r0); - r0 = (s.yLine___31227 >= 0); + r0 = (s.tmp_1 - s.offsetY___143005); + s.yLine___143151 = (r0); + r0 = (s.yLine___143151 >= 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___31227; - r0 = pxsim_ImageMethods.height(globals.screen___20510); + s.tmp_1 = r0 = s.yLine___143151; + r0 = pxsim_ImageMethods.height(globals.screen___132430); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -27566,21 +27578,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P20438_mk(s); + s.tmp_4 = helpers_imageDrawLine__P132358_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___31227; + s.tmp_4.arg2 = s.yLine___143151; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___31227; + s.tmp_4.arg4 = s.yLine___143151; 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___31221 + 1); - s.y___31221 = (r0); + r0 = (s.y___143145 + 1); + s.y___143145 = (r0); { step = 15; continue; } case 20: case 21: @@ -27590,12 +27602,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_draw__P134450.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__P22530_mk(s) { +function tiles_TileMap_draw__P134450_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P22530, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P134450, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27607,21 +27619,21 @@ function tiles_TileMap_draw__P22530_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: 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, + bitmask___142994: undefined, + offsetX___143000: undefined, + offsetY___143005: undefined, + x0___143010: undefined, + xn___143017: undefined, + y0___143034: undefined, + yn___143041: undefined, + x___143058: undefined, + y___143064: undefined, + index___143070: undefined, + tile___143077: undefined, + x___143113: undefined, + xLine___143119: undefined, + y___143145: undefined, + yLine___143151: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27631,7 +27643,7 @@ function tiles_TileMap_draw__P22530_mk(s) { -function scene_createRenderable__P21091(s) { +function scene_createRenderable__P133011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27641,14 +27653,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___31339 = undefined; + s.renderable___143263 = 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__C21086_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C133006_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -27656,11 +27668,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P31345; + r0 = inline__P143269; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P21087_mk(s); + s.tmp_3 = scene_Renderable_constructor__P133007_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -27668,23 +27680,23 @@ switch (step) { s.callLocIdx = 878; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___31339 = (s.tmp_0); - r0 = s.renderable___31339; + s.renderable___143263 = (s.tmp_0); + r0 = s.renderable___143263; return leave(s, r0) default: oops() } } } -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"]} +scene_createRenderable__P133011.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__P21091_mk(s) { +function scene_createRenderable__P133011_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P21091, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P133011, 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___31339: undefined, + renderable___143263: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27694,7 +27706,7 @@ function scene_createRenderable__P21091_mk(s) { -function inline__P31345(s) { +function inline__P143269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27708,12 +27720,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P31345.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P143269.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P31345_mk(s) { +function inline__P143269_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P31345, depth: s.depth + 1, + parent: s, fn: inline__P143269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -27721,7 +27733,7 @@ function inline__P31345_mk(s) { -function scene_Renderable_constructor__P21087(s) { +function scene_Renderable_constructor__P133007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27739,10 +27751,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C21086_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C133006_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P20568_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P132488_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 +27764,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_Renderable_constructor__P133007.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__P21087_mk(s) { +function scene_Renderable_constructor__P133007_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P21087, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P133007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27770,7 +27782,7 @@ function scene_Renderable_constructor__P21087_mk(s) { -function game_consoleOverlay_setVisible__P21361(s) { +function game_consoleOverlay_setVisible__P133281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27786,7 +27798,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___134802); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -27807,26 +27819,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___22882 = (s.tmp_6); + globals.consoleStrings___134802 = (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___22881 = (s.arg1); + globals.consoleColor___134801 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +game_consoleOverlay_setVisible__P133281.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__P21361_mk(s) { +function game_consoleOverlay_setVisible__P133281_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P21361, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P133281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27843,7 +27855,7 @@ function game_consoleOverlay_setVisible__P21361_mk(s) { -function tiles_createTilemap__P21048(s) { +function tiles_createTilemap__P132968(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27860,9 +27872,9 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C21012_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C132932_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_TileMapData_constructor__P21013_mk(s); + s.tmp_1 = tiles_TileMapData_constructor__P132933_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -27875,12 +27887,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_createTilemap__P132968.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__P21048_mk(s) { +function tiles_createTilemap__P132968_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_createTilemap__P21048, depth: s.depth + 1, + parent: s, fn: tiles_createTilemap__P132968, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27894,7 +27906,7 @@ function tiles_createTilemap__P21048_mk(s) { -function tiles_TileMapData_constructor__P21013(s) { +function tiles_TileMapData_constructor__P132933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27913,11 +27925,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C21012_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C132932_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__P21017_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P132937_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 +27947,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMapData_constructor__P132933.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__P21013_mk(s) { +function tiles_TileMapData_constructor__P132933_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P21013, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P132933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27955,7 +27967,7 @@ function tiles_TileMapData_constructor__P21013_mk(s) { -function helpers_stringTrim__P18826(s) { +function helpers_stringTrim__P130746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27965,27 +27977,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___31414 = undefined; - s.end___31415 = undefined; + s.start___143338 = undefined; + s.end___143339 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.start___31414 = (0); + s.start___143338 = (0); r0 = pxsim_String_.length(s.arg0); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.end___31415 = (r0); + s.end___143339 = (r0); case 1: - r0 = (s.start___31414 <= s.end___31415); + r0 = (s.start___143338 <= s.end___143339); 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__P18827_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___31414); + s.tmp_1 = helpers_isWhitespace__P130747_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___143338); s.tmp_1.arg0 = r0; s.callLocIdx = 15; s.pc = 9; return s.tmp_1; case 9: @@ -27995,20 +28007,20 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - r0 = (s.start___31414 + 1); - s.start___31414 = (r0); + r0 = (s.start___143338 + 1); + s.start___143338 = (r0); { step = 1; continue; } case 4: case 5: - r0 = (s.end___31415 > s.start___31414); + r0 = (s.end___143339 > s.start___143338); 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__P18827_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.end___31415); + s.tmp_1 = helpers_isWhitespace__P130747_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.end___143339); s.tmp_1.arg0 = r0; s.callLocIdx = 16; s.pc = 10; return s.tmp_1; case 10: @@ -28018,14 +28030,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - r0 = (s.end___31415 - 1); - s.end___31415 = (r0); + r0 = (s.end___143339 - 1); + s.end___143339 = (r0); { step = 5; continue; } case 8: - s.tmp_0 = helpers_stringSlice__P18823_mk(s); + s.tmp_0 = helpers_stringSlice__P130743_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.start___31414; - r0 = (s.end___31415 + 1); + s.tmp_0.arg1 = s.start___143338; + r0 = (s.end___143339 + 1); s.tmp_0.arg2 = r0; s.callLocIdx = 17; s.pc = 11; return s.tmp_0; case 11: @@ -28033,18 +28045,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_stringTrim__P130746.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__P18826_mk(s) { +function helpers_stringTrim__P130746_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringTrim__P18826, depth: s.depth + 1, + parent: s, fn: helpers_stringTrim__P130746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - start___31414: undefined, - end___31415: undefined, + start___143338: undefined, + end___143339: undefined, arg0: undefined, } } @@ -28052,7 +28064,7 @@ function helpers_stringTrim__P18826_mk(s) { -function helpers_isWhitespace__P18827(s) { +function helpers_isWhitespace__P130747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28109,12 +28121,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_isWhitespace__P130747.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__P18827_mk(s) { +function helpers_isWhitespace__P130747_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_isWhitespace__P18827, depth: s.depth + 1, + parent: s, fn: helpers_isWhitespace__P130747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28124,7 +28136,7 @@ function helpers_isWhitespace__P18827_mk(s) { -function helpers_registerTilemapFactory__P21065(s) { +function helpers_registerTilemapFactory__P132985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28138,27 +28150,27 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___22532); + r0 = pxsim_numops_toBoolDecr(globals.factories___134452); 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___22532 = (r0); + globals.factories___134452 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals.factories___22532, s.arg0); + r0 = pxsim_Array__push(globals.factories___134452, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +helpers_registerTilemapFactory__P132985.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__P21065_mk(s) { +function helpers_registerTilemapFactory__P132985_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_registerTilemapFactory__P21065, depth: s.depth + 1, + parent: s, fn: helpers_registerTilemapFactory__P132985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28169,7 +28181,7 @@ function helpers_registerTilemapFactory__P21065_mk(s) { -function game_eventContext__P21243(s) { +function game_eventContext__P133163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28179,21 +28191,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P22592_mk(s); + s.tmp_0 = game_init__P134512_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___22584.fields["eventContext"]; + r0 = globals._scene___134504.fields["eventContext"]; return leave(s, r0) default: oops() } } } -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":[]} +game_eventContext__P133163.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__P21243_mk(s) { +function game_eventContext__P133163_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P21243, depth: s.depth + 1, + parent: s, fn: game_eventContext__P133163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -28202,7 +28214,7 @@ function game_eventContext__P21243_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P20661(s) { +function controller_pauseUntilAnyButtonIsPressed__P132581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28222,12 +28234,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +controller_pauseUntilAnyButtonIsPressed__P132581.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__P20661_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P132581_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P20661, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P132581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -28235,7 +28247,7 @@ function controller_pauseUntilAnyButtonIsPressed__P20661_mk(s) { -function game_setWaitAnyButton__P21241(s) { +function game_setWaitAnyButton__P133161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28249,17 +28261,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___22588 = (s.arg0); + globals.__waitAnyButton___134508 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +game_setWaitAnyButton__P133161.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__P21241_mk(s) { +function game_setWaitAnyButton__P133161_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P21241, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P133161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28268,7 +28280,7 @@ function game_setWaitAnyButton__P21241_mk(s) { -function Math_abs__P18831(s) { +function Math_abs__P130751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28297,12 +28309,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Math_abs__P130751.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__P18831_mk(s) { +function Math_abs__P130751_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P18831, depth: s.depth + 1, + parent: s, fn: Math_abs__P130751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28313,7 +28325,7 @@ function Math_abs__P18831_mk(s) { -function Math_sign__P18832(s) { +function Math_sign__P130752(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28348,12 +28360,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Math_sign__P130752.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__P18832_mk(s) { +function Math_sign__P130752_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P18832, depth: s.depth + 1, + parent: s, fn: Math_sign__P130752, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28364,7 +28376,7 @@ function Math_sign__P18832_mk(s) { -function texteffects_TextEffect_constructor__P21541(s) { +function texteffects_TextEffect_constructor__P133461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28380,18 +28392,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, texteffects_TextEffect__C21539_VT)) failedCast(r0); + if (!checkSubtype(r0, texteffects_TextEffect__C133459_VT)) failedCast(r0); r0 = (s.arg0).fields["getState"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +texteffects_TextEffect_constructor__P133461.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__P21541_mk(s) { +function texteffects_TextEffect_constructor__P133461_mk(s) { checkStack(s.depth); return { - parent: s, fn: texteffects_TextEffect_constructor__P21541, depth: s.depth + 1, + parent: s, fn: texteffects_TextEffect_constructor__P133461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28401,7 +28413,7 @@ function texteffects_TextEffect_constructor__P21541_mk(s) { -function Math_FastRandom_constructor__P21296(s) { +function Math_FastRandom_constructor__P133216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28417,7 +28429,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21294_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C133214_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -28432,12 +28444,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Math_FastRandom_constructor__P133216.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__P21296_mk(s) { +function Math_FastRandom_constructor__P133216_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P21296, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P133216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28448,7 +28460,7 @@ function Math_FastRandom_constructor__P21296_mk(s) { -function control_ramSize__P19043(s) { +function control_ramSize__P130963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28473,12 +28485,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +control_ramSize__P130963.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__P19043_mk(s) { +function control_ramSize__P130963_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P19043, depth: s.depth + 1, + parent: s, fn: control_ramSize__P130963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28488,7 +28500,7 @@ function control_ramSize__P19043_mk(s) { -function control__ramSize__P22231(s) { +function control__ramSize__P134151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28502,12 +28514,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +control__ramSize__P134151.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__P22231_mk(s) { +function control__ramSize__P134151_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P22231, depth: s.depth + 1, + parent: s, fn: control__ramSize__P134151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -28515,7 +28527,7 @@ function control__ramSize__P22231_mk(s) { -function game_consoleOverlay_listener__P22917(s) { +function game_consoleOverlay_listener__P134837(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28530,7 +28542,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___134802); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28550,9 +28562,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - 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_4 = helpers_arrayForEach__P130735_mk(s); + s.tmp_5 = helpers_arrayFilter__P130736_mk(s); + s.tmp_6 = helpers_stringSplit__P130745_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -28560,27 +28572,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P32111; + s.tmp_5.arg1 = inline__P144035; 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__P32116; + s.tmp_4.arg1 = inline__P144040; s.callLocIdx = 1105; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___22882); + r0 = pxsim_Array__length(globals.consoleStrings___134802); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___22895); + r0 = (s.tmp_1 > globals.consoleLines___134815); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P18806_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___22882; + s.tmp_2 = helpers_arraySplice__P130726_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___134802; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___22882); + r0 = pxsim_Array__length(globals.consoleStrings___134802); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___22895); + r0 = (s.tmp_3 - globals.consoleLines___134815); s.tmp_2.arg2 = r0; s.callLocIdx = 1106; s.pc = 11; return s.tmp_2; case 11: @@ -28592,12 +28604,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +game_consoleOverlay_listener__P134837.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__P22917_mk(s) { +function game_consoleOverlay_listener__P134837_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P22917, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P134837, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28614,7 +28626,7 @@ function game_consoleOverlay_listener__P22917_mk(s) { -function inline__P32111(s) { +function inline__P144035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28638,12 +28650,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P144035.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__P32111_mk(s) { +function inline__P144035_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32111, depth: s.depth + 1, + parent: s, fn: inline__P144035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28655,7 +28667,7 @@ function inline__P32111_mk(s) { -function inline__P32116(s) { +function inline__P144040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28665,45 +28677,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___32118 = undefined; + s.j___144042 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___32118 = (0); + s.j___144042 = (0); case 1: - s.tmp_1 = r0 = s.j___32118; + s.tmp_1 = r0 = s.j___144042; 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___22882; - s.tmp_5 = helpers_stringSlice__P18823_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___134802; + s.tmp_5 = helpers_stringSlice__P130743_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___32118; - r0 = (s.j___32118 + globals.consoleColumns___22905); + s.tmp_5.arg1 = s.j___144042; + r0 = (s.j___144042 + globals.consoleColumns___134825); 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___32118 + globals.consoleColumns___22905); - s.j___32118 = (r0); + r0 = (s.j___144042 + globals.consoleColumns___134825); + s.j___144042 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +inline__P144040.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__P32116_mk(s) { +function inline__P144040_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32116, depth: s.depth + 1, + parent: s, fn: inline__P144040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28711,7 +28723,7 @@ function inline__P32116_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___32118: undefined, + j___144042: undefined, arg0: undefined, } } @@ -28719,7 +28731,7 @@ function inline__P32116_mk(s) { -function console_addListener__P19080(s) { +function console_addListener__P131000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28742,7 +28754,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___22246, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___134166, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -28753,18 +28765,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___22246, s.arg0); + r0 = pxsim_Array__push(globals.listeners___134166, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +console_addListener__P131000.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__P19080_mk(s) { +function console_addListener__P131000_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P19080, depth: s.depth + 1, + parent: s, fn: console_addListener__P131000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28777,7 +28789,7 @@ function console_addListener__P19080_mk(s) { -function inline__P22245(s) { +function inline__P134165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28797,12 +28809,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P134165.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__P22245_mk(s) { +function inline__P134165_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P22245, depth: s.depth + 1, + parent: s, fn: inline__P134165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28812,7 +28824,7 @@ function inline__P22245_mk(s) { -function scene_systemMenu_register__P21341(s) { +function scene_systemMenu_register__P133261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28822,15 +28834,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___22836); + r0 = pxsim_numops_toBoolDecr(globals.instance___134756); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P20618_mk(s); - s.tmp_0.arg0 = globals.menu___20591; + s.tmp_0 = controller_Button_onEvent__P132538_mk(s); + s.tmp_0.arg0 = globals.menu___132511; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P21342; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P133262; s.callLocIdx = 1089; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -28839,12 +28851,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_register__P133261.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__P21341_mk(s) { +function scene_systemMenu_register__P133261_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P21341, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P133261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -28853,7 +28865,7 @@ function scene_systemMenu_register__P21341_mk(s) { -function scene_systemMenu_showSystemMenu__P21342(s) { +function scene_systemMenu_showSystemMenu__P133262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28863,27 +28875,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___22836); + r0 = pxsim_numops_toBoolDecr(globals.instance___134756); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P21244_mk(s); + s.tmp_0 = game_pushScene__P133164_mk(s); s.callLocIdx = 1090; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C21330_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C133250_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P21331_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P133251_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P21338; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P133258; s.tmp_1.arg2 = undefined; s.callLocIdx = 1091; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___22836 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P21332_mk(s); - s.tmp_0.arg0 = globals.instance___22836; + globals.instance___134756 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P133252_mk(s); + s.tmp_0.arg0 = globals.instance___134756; s.callLocIdx = 1092; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -28892,12 +28904,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_showSystemMenu__P133262.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__P21342_mk(s) { +function scene_systemMenu_showSystemMenu__P133262_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P21342, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P133262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28907,7 +28919,7 @@ function scene_systemMenu_showSystemMenu__P21342_mk(s) { -function scene_systemMenu_buildOptionList__P21338(s) { +function scene_systemMenu_buildOptionList__P133258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28917,136 +28929,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___32875 = undefined; + s.options___144799 = undefined; r0 = pxsim_Array__mk(); - s.options___32875 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); + s.options___144799 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C133242_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P133243_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___21352; - s.tmp_1.arg2 = inline__P32883; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P22842; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___133272; + s.tmp_1.arg2 = inline__P144807; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P134762; s.callLocIdx = 1072; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32875, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); + r0 = pxsim_Array__push(s.options___144799, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C133242_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P133243_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___21349; - s.tmp_1.arg2 = inline__P32897; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P22841; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___133269; + s.tmp_1.arg2 = inline__P144821; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P134761; s.callLocIdx = 1074; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32875, s.tmp_0); + r0 = pxsim_Array__push(s.options___144799, 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__C21322_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C133242_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P133243_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___21350; - s.tmp_2.arg2 = inline__P32912; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P22844; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___133270; + s.tmp_2.arg2 = inline__P144836; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P134764; s.callLocIdx = 1077; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32875, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); + r0 = pxsim_Array__push(s.options___144799, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C133242_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P133243_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___21355; - s.tmp_1.arg2 = inline__P32927; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P22843; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___133275; + s.tmp_1.arg2 = inline__P144851; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P134763; s.callLocIdx = 1079; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32875, s.tmp_0); + r0 = pxsim_Array__push(s.options___144799, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C133242_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P133243_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___21356; - s.tmp_1.arg2 = inline__P32942; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P22846; + s.tmp_1.arg1 = globals.STATS_ICON___133276; + s.tmp_1.arg2 = inline__P144866; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P134766; s.callLocIdx = 1080; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32875, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); + r0 = pxsim_Array__push(s.options___144799, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C133242_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P133243_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___21354; - s.tmp_1.arg2 = inline__P32951; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P22847; + s.tmp_1.arg1 = globals.CONSOLE_ICON___133274; + s.tmp_1.arg2 = inline__P144875; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P134767; s.callLocIdx = 1082; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32875, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); + r0 = pxsim_Array__push(s.options___144799, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C133242_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P133243_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___21353; - s.tmp_1.arg2 = inline__P32960; - s.tmp_1.arg3 = scene_systemMenu_sleep__P22848; + s.tmp_1.arg1 = globals.SLEEP_ICON___133273; + s.tmp_1.arg2 = inline__P144884; + s.tmp_1.arg3 = scene_systemMenu_sleep__P134768; s.callLocIdx = 1083; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32875, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___22837); + r0 = pxsim_Array__push(s.options___144799, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___134757); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P18819_mk(s); - s.tmp_0.arg0 = s.options___32875; - s.tmp_0.arg1 = globals.customMenuOptions___22837; + s.tmp_0 = helpers_arrayConcat__P130739_mk(s); + s.tmp_0.arg0 = s.options___144799; + s.tmp_0.arg1 = globals.customMenuOptions___134757; s.callLocIdx = 1084; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___32875 = (r0); + s.options___144799 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21322_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C133242_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21323_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P133243_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___21351; - s.tmp_1.arg2 = inline__P32973; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P21337; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___133271; + s.tmp_1.arg2 = inline__P144897; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P133257; s.callLocIdx = 1085; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___32875, s.tmp_0); - r0 = s.options___32875; + r0 = pxsim_Array__push(s.options___144799, s.tmp_0); + r0 = s.options___144799; return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_buildOptionList__P133258.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__P21338_mk(s) { +function scene_systemMenu_buildOptionList__P133258_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P21338, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P133258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___32875: undefined, + options___144799: undefined, } } -function inline__P32883(s) { +function inline__P144807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29056,7 +29068,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P20301_mk(s); + s.tmp_3 = music_volume__P132221_mk(s); s.callLocIdx = 1071; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -29076,12 +29088,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32883.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144807.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32883_mk(s) { +function inline__P144807_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32883, depth: s.depth + 1, + parent: s, fn: inline__P144807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29093,7 +29105,7 @@ function inline__P32883_mk(s) { -function inline__P32897(s) { +function inline__P144821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29103,7 +29115,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P20301_mk(s); + s.tmp_3 = music_volume__P132221_mk(s); s.callLocIdx = 1073; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -29123,12 +29135,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32897.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144821.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32897_mk(s) { +function inline__P144821_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32897, depth: s.depth + 1, + parent: s, fn: inline__P144821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29140,7 +29152,7 @@ function inline__P32897_mk(s) { -function inline__P32912(s) { +function inline__P144836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29150,7 +29162,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___20432; + r0 = globals.brightness___132352; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -29167,12 +29179,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32912.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144836.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32912_mk(s) { +function inline__P144836_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32912, depth: s.depth + 1, + parent: s, fn: inline__P144836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29183,7 +29195,7 @@ function inline__P32912_mk(s) { -function inline__P32927(s) { +function inline__P144851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29193,7 +29205,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___20432; + r0 = globals.brightness___132352; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -29210,12 +29222,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32927.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144851.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32927_mk(s) { +function inline__P144851_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32927, depth: s.depth + 1, + parent: s, fn: inline__P144851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29226,7 +29238,7 @@ function inline__P32927_mk(s) { -function inline__P32942(s) { +function inline__P144866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29236,7 +29248,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___21237); + r0 = pxsim_numops_toBoolDecr(globals.stats___133157); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -29249,12 +29261,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32942.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144866.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32942_mk(s) { +function inline__P144866_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32942, depth: s.depth + 1, + parent: s, fn: inline__P144866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -29263,7 +29275,7 @@ function inline__P32942_mk(s) { -function inline__P32951(s) { +function inline__P144875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29273,7 +29285,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___134802); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -29294,12 +29306,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32951.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144875.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32951_mk(s) { +function inline__P144875_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32951, depth: s.depth + 1, + parent: s, fn: inline__P144875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29312,7 +29324,7 @@ function inline__P32951_mk(s) { -function inline__P32960(s) { +function inline__P144884(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29326,12 +29338,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32960.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144884.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32960_mk(s) { +function inline__P144884_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32960, depth: s.depth + 1, + parent: s, fn: inline__P144884, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29339,7 +29351,7 @@ function inline__P32960_mk(s) { -function inline__P32973(s) { +function inline__P144897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29353,12 +29365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32973.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144897.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32973_mk(s) { +function inline__P144897_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32973, depth: s.depth + 1, + parent: s, fn: inline__P144897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29366,7 +29378,7 @@ function inline__P32973_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P22849(s) { +function scene_systemMenu_setScreenBrightnessSupported__P134769(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29380,12 +29392,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_setScreenBrightnessSupported__P134769.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__P22849_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P134769_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P22849, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P134769, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29393,7 +29405,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P22849_mk(s) { -function scene_systemMenu_sleep__P22848(s) { +function scene_systemMenu_sleep__P134768(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29408,12 +29420,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_sleep__P134768.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__P22848_mk(s) { +function scene_systemMenu_sleep__P134768_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P22848, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P134768, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29421,7 +29433,7 @@ function scene_systemMenu_sleep__P22848_mk(s) { -function scene_systemMenu_toggleConsole__P22847(s) { +function scene_systemMenu_toggleConsole__P134767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29431,7 +29443,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___134802); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -29441,7 +29453,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__P21361_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P133281_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.callLocIdx = 1065; s.pc = 3; return s.tmp_4; @@ -29449,13 +29461,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P21361_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P133281_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__P19077_mk(s); + s.tmp_0 = console_log__P130997_mk(s); s.tmp_0.arg0 = "console"; s.callLocIdx = 1067; s.pc = 5; return s.tmp_0; case 5: @@ -29465,12 +29477,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_toggleConsole__P134767.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__P22847_mk(s) { +function scene_systemMenu_toggleConsole__P134767_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P22847, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P134767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29483,7 +29495,7 @@ function scene_systemMenu_toggleConsole__P22847_mk(s) { -function console_log__P19077(s) { +function console_log__P130997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29497,7 +29509,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P19073_mk(s); + s.tmp_0 = console_add__P130993_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 +29519,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +console_log__P130997.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__P19077_mk(s) { +function console_log__P130997_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P19077, depth: s.depth + 1, + parent: s, fn: console_log__P130997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29522,7 +29534,7 @@ function console_log__P19077_mk(s) { -function console_add__P19073(s) { +function console_add__P130993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29532,58 +29544,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___33012 = undefined; - s.i___33021 = undefined; + s.text___144936 = undefined; + s.i___144945 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___19072); + r0 = (s.arg0 < globals.minPriority___130992); 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__P19079_mk(s); + s.tmp_1 = console_inspect__P130999_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___33012 = (r0); - if ((s.text___33012) && (s.text___33012).vtable) { + s.text___144936 = (r0); + if ((s.text___144936) && (s.text___144936).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___33012); + pxsim_String__stringConv(s.text___144936); checkResumeConsumed(); return; - } else { s.retval = (s.text___33012) + ""; } + } else { s.retval = (s.text___144936) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___33012 = (r0); - s.i___33021 = (0); + s.text___144936 = (r0); + s.i___144945 = (0); case 3: - s.tmp_1 = r0 = s.i___33021; - r0 = pxsim_Array__length(globals.listeners___22246); + s.tmp_1 = r0 = s.i___144945; + r0 = pxsim_Array__length(globals.listeners___134166); 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___22246, s.i___33021); + r0 = pxsim_Array__getAt(globals.listeners___134166, s.i___144945); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___33012; + s.tmp_3.arg1 = s.text___144936; 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___33021 + 1); - s.i___33021 = (r0); + r0 = (s.i___144945 + 1); + s.i___144945 = (r0); { step = 3; continue; } case 4: case 5: @@ -29591,19 +29603,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +console_add__P130993.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__P19073_mk(s) { +function console_add__P130993_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P19073, depth: s.depth + 1, + parent: s, fn: console_add__P130993, 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___33012: undefined, - i___33021: undefined, + text___144936: undefined, + i___144945: undefined, arg0: undefined, arg1: undefined, } } @@ -29612,7 +29624,7 @@ function console_add__P19073_mk(s) { -function scene_systemMenu_toggleStats__P22846(s) { +function scene_systemMenu_toggleStats__P134766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29622,11 +29634,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___21237); + r0 = pxsim_numops_toBoolDecr(globals.stats___133157); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___21237 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___21237); + globals.stats___133157 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___133157); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -29635,14 +29647,14 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___19095; + r0 = globals.control_EventContext_onStats___131015; 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___19095; + s.tmp_3.argL = globals.control_EventContext_onStats___131015; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); @@ -29655,12 +29667,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_toggleStats__P134766.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__P22846_mk(s) { +function scene_systemMenu_toggleStats__P134766_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P22846, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P134766, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29672,7 +29684,7 @@ function scene_systemMenu_toggleStats__P22846_mk(s) { -function scene_systemMenu_brightnessDown__P22844(s) { +function scene_systemMenu_brightnessDown__P134764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29682,8 +29694,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P22845_mk(s); - r0 = globals.brightness___20432; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P134765_mk(s); + r0 = globals.brightness___132352; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; @@ -29694,12 +29706,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_brightnessDown__P134764.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__P22844_mk(s) { +function scene_systemMenu_brightnessDown__P134764_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P22844, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P134764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29709,7 +29721,7 @@ function scene_systemMenu_brightnessDown__P22844_mk(s) { -function scene_systemMenu_setScreenBrightness__P22845(s) { +function scene_systemMenu_setScreenBrightness__P134765(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29723,15 +29735,15 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P20443_mk(s); - s.tmp_0.arg0 = globals.screen___20510; + s.tmp_0 = helpers_setScreenBrightness__P132363_mk(s); + s.tmp_0.arg0 = globals.screen___132430; 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__P20537_mk(s); + s.tmp_0 = settings_writeNumber__P132457_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___20432; + r0 = globals.brightness___132352; s.tmp_0.arg1 = r0; s.callLocIdx = 1062; s.pc = 2; return s.tmp_0; case 2: @@ -29740,12 +29752,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_setScreenBrightness__P134765.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__P22845_mk(s) { +function scene_systemMenu_setScreenBrightness__P134765_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P22845, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P134765, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29755,7 +29767,7 @@ function scene_systemMenu_setScreenBrightness__P22845_mk(s) { -function settings_writeNumber__P20537(s) { +function settings_writeNumber__P132457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29773,9 +29785,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__P20535_mk(s); + s.tmp_1 = settings_writeBuffer__P132455_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P18885_mk(s); + s.tmp_2 = msgpack_packNumberArray__P130805_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 132; s.pc = 2; return s.tmp_2; case 2: @@ -29788,12 +29800,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +settings_writeNumber__P132457.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__P20537_mk(s) { +function settings_writeNumber__P132457_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P20537, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P132457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29806,7 +29818,7 @@ function settings_writeNumber__P20537_mk(s) { -function settings_writeBuffer__P20535(s) { +function settings_writeBuffer__P132455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29833,12 +29845,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +settings_writeBuffer__P132455.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__P20535_mk(s) { +function settings_writeBuffer__P132455_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P20535, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P132455, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29849,7 +29861,7 @@ function settings_writeBuffer__P20535_mk(s) { -function msgpack_packNumberArray__P18885(s) { +function msgpack_packNumberArray__P130805(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29859,100 +29871,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.off___144991 = undefined; + s.n___144993 = undefined; + s.unnamed1102___U2 = undefined; + s.unnamed1103___U3 = undefined; + s.buf___145003 = undefined; + s.n___145009 = undefined; + s.unnamed1104___U6 = undefined; + s.unnamed1105___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___33067 = (0); - s.n___33069 = (undefined); - s.unnamed234___U2 = (s.arg0); - s.unnamed235___U3 = (0); + s.off___144991 = (0); + s.n___144993 = (undefined); + s.unnamed1102___U2 = (s.arg0); + s.unnamed1103___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed235___U3; - r0 = pxsim_Array__length(s.unnamed234___U2); + s.tmp_0 = r0 = s.unnamed1103___U3; + r0 = pxsim_Array__length(s.unnamed1102___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed234___U2, s.unnamed235___U3); - s.n___33069 = (r0); - s.tmp_2 = r0 = s.off___33067; - s.tmp_4 = msgpack_packNumberCore__P22209_mk(s); + r0 = pxsim_Array__getAt(s.unnamed1102___U2, s.unnamed1103___U3); + s.n___144993 = (r0); + s.tmp_2 = r0 = s.off___144991; + s.tmp_4 = msgpack_packNumberCore__P134129_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___33067; - s.tmp_4.arg2 = s.n___33069; + s.tmp_4.arg1 = s.off___144991; + s.tmp_4.arg2 = s.n___144993; 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___33067 = (r0); - r0 = (s.unnamed235___U3 + 1); - s.unnamed235___U3 = (r0); + s.off___144991 = (r0); + r0 = (s.unnamed1103___U3 + 1); + s.unnamed1103___U3 = (r0); { step = 1; continue; } case 2: - 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); + s.unnamed1102___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___144991); + s.buf___145003 = (r0); + s.off___144991 = (0); + s.n___145009 = (undefined); + s.unnamed1104___U6 = (s.arg0); + s.unnamed1105___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed237___U7; - r0 = pxsim_Array__length(s.unnamed236___U6); + s.tmp_0 = r0 = s.unnamed1105___U7; + r0 = pxsim_Array__length(s.unnamed1104___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - 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; + r0 = pxsim_Array__getAt(s.unnamed1104___U6, s.unnamed1105___U7); + s.n___145009 = (r0); + s.tmp_2 = r0 = s.off___144991; + s.tmp_4 = msgpack_packNumberCore__P134129_mk(s); + s.tmp_4.arg0 = s.buf___145003; + s.tmp_4.arg1 = s.off___144991; + s.tmp_4.arg2 = s.n___145009; 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___33067 = (r0); - r0 = (s.unnamed237___U7 + 1); - s.unnamed237___U7 = (r0); + s.off___144991 = (r0); + r0 = (s.unnamed1105___U7 + 1); + s.unnamed1105___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed236___U6 = (undefined); - r0 = s.buf___33079; + s.unnamed1104___U6 = (undefined); + r0 = s.buf___145003; return leave(s, r0) default: oops() } } } -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"]} +msgpack_packNumberArray__P130805.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__P18885_mk(s) { +function msgpack_packNumberArray__P130805_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P18885, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P130805, 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___33067: undefined, - n___33069: undefined, - unnamed234___U2: undefined, - unnamed235___U3: undefined, - buf___33079: undefined, - n___33085: undefined, - unnamed236___U6: undefined, - unnamed237___U7: undefined, + off___144991: undefined, + n___144993: undefined, + unnamed1102___U2: undefined, + unnamed1103___U3: undefined, + buf___145003: undefined, + n___145009: undefined, + unnamed1104___U6: undefined, + unnamed1105___U7: undefined, arg0: undefined, } } @@ -29960,7 +29972,7 @@ function msgpack_packNumberArray__P18885_mk(s) { -function msgpack_packNumberCore__P22209(s) { +function msgpack_packNumberCore__P134129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29970,15 +29982,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___33099 = undefined; - s.fmt___33142 = undefined; + s.tag___145023 = undefined; + s.fmt___145066 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___33099 = (203); + s.tag___145023 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -30028,17 +30040,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___33099 = (204); + s.tag___145023 = (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___33099 = (205); + s.tag___145023 = (205); { step = 10; continue; } case 9: - s.tag___33099 = (206); + s.tag___145023 = (206); case 10: case 11: { step = 17; continue; } @@ -30047,41 +30059,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___33099 = (208); + s.tag___145023 = (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___33099 = (209); + s.tag___145023 = (209); { step = 15; continue; } case 14: - s.tag___33099 = (210); + s.tag___145023 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P22208_mk(s); - s.tmp_0.arg0 = s.tag___33099; + s.tmp_0 = msgpack_tagFormat__P134128_mk(s); + s.tmp_0.arg0 = s.tag___145023; s.callLocIdx = 21; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___33142 = (r0); + s.fmt___145066 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___33099); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___145023); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___33142; + s.tmp_1 = r0 = s.fmt___145066; 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__P18876_mk(s); - s.tmp_1.arg0 = s.fmt___33142; + s.tmp_1 = pins_sizeOf__P130796_mk(s); + s.tmp_1.arg0 = s.fmt___145066; s.callLocIdx = 22; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -30091,12 +30103,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +msgpack_packNumberCore__P134129.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__P22209_mk(s) { +function msgpack_packNumberCore__P134129_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P22209, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P134129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30106,8 +30118,8 @@ function msgpack_packNumberCore__P22209_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___33099: undefined, - fmt___33142: undefined, + tag___145023: undefined, + fmt___145066: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30117,7 +30129,7 @@ function msgpack_packNumberCore__P22209_mk(s) { -function msgpack_tagFormat__P22208(s) { +function msgpack_tagFormat__P134128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30177,12 +30189,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +msgpack_tagFormat__P134128.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__P22208_mk(s) { +function msgpack_tagFormat__P134128_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P22208, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P134128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30192,7 +30204,7 @@ function msgpack_tagFormat__P22208_mk(s) { -function pins_sizeOf__P18876(s) { +function pins_sizeOf__P130796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30206,7 +30218,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P18912_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P130832_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 20; s.pc = 1; return s.tmp_0; case 1: @@ -30214,12 +30226,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +pins_sizeOf__P130796.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__P18876_mk(s) { +function pins_sizeOf__P130796_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P18876, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P130796, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30229,7 +30241,7 @@ function pins_sizeOf__P18876_mk(s) { -function Buffer_sizeOfNumberFormat__P18912(s) { +function Buffer_sizeOfNumberFormat__P130832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30308,12 +30320,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Buffer_sizeOfNumberFormat__P130832.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__P18912_mk(s) { +function Buffer_sizeOfNumberFormat__P130832_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P18912, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P130832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30323,7 +30335,7 @@ function Buffer_sizeOfNumberFormat__P18912_mk(s) { -function helpers_setScreenBrightness__P20443(s) { +function helpers_setScreenBrightness__P132363(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30338,7 +30350,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P18830_mk(s); + s.tmp_0 = Math_clamp__P130750_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -30347,18 +30359,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___20432 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___20432); + globals.brightness___132352 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___132352); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +helpers_setScreenBrightness__P132363.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__P20443_mk(s) { +function helpers_setScreenBrightness__P132363_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P20443, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P132363, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30369,7 +30381,7 @@ function helpers_setScreenBrightness__P20443_mk(s) { -function scene_systemMenu_brightnessUp__P22843(s) { +function scene_systemMenu_brightnessUp__P134763(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30379,8 +30391,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P22845_mk(s); - r0 = globals.brightness___20432; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P134765_mk(s); + r0 = globals.brightness___132352; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; @@ -30391,12 +30403,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_brightnessUp__P134763.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__P22843_mk(s) { +function scene_systemMenu_brightnessUp__P134763_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P22843, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P134763, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30406,7 +30418,7 @@ function scene_systemMenu_brightnessUp__P22843_mk(s) { -function scene_systemMenu_volumeDown__P22842(s) { +function scene_systemMenu_volumeDown__P134762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30416,29 +30428,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___33415 = undefined; - s.remainder___33418 = undefined; - s.newVolume___33421 = undefined; - s.tmp_0 = music_volume__P20301_mk(s); + s.v___145339 = undefined; + s.remainder___145342 = undefined; + s.newVolume___145345 = undefined; + s.tmp_0 = music_volume__P132221_mk(s); s.callLocIdx = 1054; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___33415 = (r0); - r0 = (s.v___33415 % 32); - s.remainder___33418 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___33418); + s.v___145339 = (r0); + r0 = (s.v___145339 % 32); + s.remainder___145342 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___145342); if (!r0) { step = 1; continue; } - r0 = s.remainder___33418; + r0 = s.remainder___145342; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - 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; + r0 = (s.v___145339 - s.tmp_0); + s.newVolume___145345 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P134760_mk(s); + s.tmp_0.arg0 = s.newVolume___145345; s.callLocIdx = 1055; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -30446,24 +30458,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_volumeDown__P134762.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__P22842_mk(s) { +function scene_systemMenu_volumeDown__P134762_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P22842, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P134762, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___33415: undefined, - remainder___33418: undefined, - newVolume___33421: undefined, + v___145339: undefined, + remainder___145342: undefined, + newVolume___145345: undefined, } } -function scene_systemMenu_setVolume__P22840(s) { +function scene_systemMenu_setVolume__P134760(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30477,18 +30489,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P20300_mk(s); + s.tmp_0 = music_setVolume__P132220_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__P20302_mk(s); + s.tmp_0 = music_playTone__P132222_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__P20537_mk(s); + s.tmp_0 = settings_writeNumber__P132457_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 +30510,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_setVolume__P134760.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__P22840_mk(s) { +function scene_systemMenu_setVolume__P134760_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P22840, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P134760, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30513,7 +30525,7 @@ function scene_systemMenu_setVolume__P22840_mk(s) { -function music_playTone__P20302(s) { +function music_playTone__P132222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30523,7 +30535,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___33256 = undefined; + s.id___145180 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30548,7 +30560,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P22304_mk(s); + s.tmp_2 = music_playNoteCore__P134224_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -30556,7 +30568,7 @@ switch (step) { s.callLocIdx = 76; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P19110_mk(s); + s.tmp_0 = pause__P131030_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 +30576,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___22306 + 1); + r0 = (globals.playToneID___134226 + 1); s.tmp_0 = r0; - globals.playToneID___22306 = (r0); - s.id___33256 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P33262); + globals.playToneID___134226 = (r0); + s.id___145180 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P145186); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___33256); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___145180); 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 +30591,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +music_playTone__P132222.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__P20302_mk(s) { +function music_playTone__P132222_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P20302, depth: s.depth + 1, + parent: s, fn: music_playTone__P132222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___33256: undefined, + id___145180: undefined, arg0: undefined, arg1: undefined, } } @@ -30598,7 +30610,7 @@ function music_playTone__P20302_mk(s) { -function inline__P33262(s) { +function inline__P145186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30608,14 +30620,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___33263 = undefined; - s.now___33273 = undefined; - s.d___33276 = undefined; - s.t___33280 = undefined; + s.pos___145187 = undefined; + s.now___145197 = undefined; + s.d___145200 = undefined; + s.t___145204 = undefined; r0 = pxsim.control.millis(); - s.pos___33263 = (r0); + s.pos___145187 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___22306); + r0 = (s.caps[0] == globals.playToneID___134226); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -30631,30 +30643,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___33273 = (r0); - r0 = (s.pos___33263 - s.now___33273); - s.d___33276 = (r0); - s.tmp_0 = Math_min__P18834_mk(s); + s.now___145197 = (r0); + r0 = (s.pos___145187 - s.now___145197); + s.d___145200 = (r0); + s.tmp_0 = Math_min__P130754_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___33280 = (r0); + s.t___145204 = (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___33280); + r0 = (s.tmp_2 - s.t___145204); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_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); + r0 = (s.pos___145187 + s.t___145204); + s.pos___145187 = (r0); + s.tmp_0 = music_playNoteCore__P134224_mk(s); + r0 = (s.d___145200 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___33280; + s.tmp_0.arg2 = s.t___145204; s.callLocIdx = 79; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -30664,16 +30676,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P19110_mk(s); - r0 = (s.d___33276 + s.t___33280); + s.tmp_2 = pause__P131030_mk(s); + r0 = (s.d___145200 + s.t___145204); 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__P19110_mk(s); - r0 = (s.d___33276 + s.t___33280); + s.tmp_0 = pause__P131030_mk(s); + r0 = (s.d___145200 + s.t___145204); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -30687,27 +30699,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33262.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P145186.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P33262_mk(s) { +function inline__P145186_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33262, depth: s.depth + 1, + parent: s, fn: inline__P145186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___33263: undefined, - now___33273: undefined, - d___33276: undefined, - t___33280: undefined, + pos___145187: undefined, + now___145197: undefined, + d___145200: undefined, + t___145204: undefined, } } -function music_playNoteCore__P22304(s) { +function music_playNoteCore__P134224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30717,7 +30729,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___33310 = undefined; + s.buf___145234 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30725,16 +30737,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___33310 = (r0); - s.tmp_0 = music_addNote__P22311_mk(s); - s.tmp_0.arg0 = s.buf___33310; + s.buf___145234 = (r0); + s.tmp_0 = music_addNote__P134231_mk(s); + s.tmp_0.arg0 = s.buf___145234; 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__P20301_mk(s); + s.tmp_1 = music_volume__P132221_mk(s); s.callLocIdx = 74; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -30743,21 +30755,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___33310); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___145234); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +music_playNoteCore__P134224.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__P22304_mk(s) { +function music_playNoteCore__P134224_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P22304, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P134224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___33310: undefined, + buf___145234: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30767,7 +30779,7 @@ function music_playNoteCore__P22304_mk(s) { -function music_addNote__P22311(s) { +function music_addNote__P134231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30835,12 +30847,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +music_addNote__P134231.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__P22311_mk(s) { +function music_addNote__P134231_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P22311, depth: s.depth + 1, + parent: s, fn: music_addNote__P134231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30861,7 +30873,7 @@ function music_addNote__P22311_mk(s) { -function music_setVolume__P20300(s) { +function music_setVolume__P132220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30875,7 +30887,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P18830_mk(s); + s.tmp_0 = Math_clamp__P130750_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -30883,8 +30895,8 @@ switch (step) { s.callLocIdx = 71; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___22299 = (r0); - r0 = (globals.globalVolume___22299 > 0); + globals.globalVolume___134219 = (r0); + r0 = (globals.globalVolume___134219 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -30900,12 +30912,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +music_setVolume__P132220.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__P20300_mk(s) { +function music_setVolume__P132220_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P20300, depth: s.depth + 1, + parent: s, fn: music_setVolume__P132220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30916,7 +30928,7 @@ function music_setVolume__P20300_mk(s) { -function music_enableAmp__P22302(s) { +function music_enableAmp__P134222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30934,12 +30946,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +music_enableAmp__P134222.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__P22302_mk(s) { +function music_enableAmp__P134222_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P22302, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P134222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30948,7 +30960,7 @@ function music_enableAmp__P22302_mk(s) { -function scene_systemMenu_volumeUp__P22841(s) { +function scene_systemMenu_volumeUp__P134761(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30958,22 +30970,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___33224 = undefined; - s.remainder___33227 = undefined; - s.newVolume___33230 = undefined; - s.tmp_0 = music_volume__P20301_mk(s); + s.v___145148 = undefined; + s.remainder___145151 = undefined; + s.newVolume___145154 = undefined; + s.tmp_0 = music_volume__P132221_mk(s); s.callLocIdx = 1052; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___33224 = (r0); - r0 = (s.v___33224 % 32); - s.remainder___33227 = (r0); - r0 = (s.v___33224 + 32); + s.v___145148 = (r0); + r0 = (s.v___145148 % 32); + s.remainder___145151 = (r0); + r0 = (s.v___145148 + 32); s.tmp_0 = r0; - 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; + r0 = (s.tmp_0 - s.remainder___145151); + s.newVolume___145154 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P134760_mk(s); + s.tmp_0.arg0 = s.newVolume___145154; s.callLocIdx = 1053; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -30981,24 +30993,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_volumeUp__P134761.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__P22841_mk(s) { +function scene_systemMenu_volumeUp__P134761_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P22841, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P134761, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___33224: undefined, - remainder___33227: undefined, - newVolume___33230: undefined, + v___145148: undefined, + remainder___145151: undefined, + newVolume___145154: undefined, } } -function game_consoleOverlay_isVisible__P21359(s) { +function game_consoleOverlay_isVisible__P133279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31008,7 +31020,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___22882); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___134802); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -31018,12 +31030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +game_consoleOverlay_isVisible__P133279.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__P21359_mk(s) { +function game_consoleOverlay_isVisible__P133279_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P21359, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P133279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31034,7 +31046,7 @@ function game_consoleOverlay_isVisible__P21359_mk(s) { -function scene_systemMenu_closeMenu__P21337(s) { +function scene_systemMenu_closeMenu__P133257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31044,20 +31056,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___22836); + r0 = pxsim_numops_toBoolDecr(globals.instance___134756); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P21336_mk(s); - s.tmp_0.arg0 = globals.instance___22836; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P133256_mk(s); + s.tmp_0.arg0 = globals.instance___134756; s.callLocIdx = 1068; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___22836 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P20662_mk(s); + globals.instance___134756 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P132582_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__P21245_mk(s); + s.tmp_0 = game_popScene__P133165_mk(s); s.callLocIdx = 1070; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -31067,12 +31079,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_closeMenu__P133257.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__P21337_mk(s) { +function scene_systemMenu_closeMenu__P133257_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P21337, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P133257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31081,7 +31093,7 @@ function scene_systemMenu_closeMenu__P21337_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P21336(s) { +function scene_systemMenu_PauseMenu_dispose__P133256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31096,15 +31108,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C133250_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__P18815_mk(s); + s.tmp_1 = helpers_arrayForEach__P130735_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P32735; + s.tmp_1.arg1 = inline__P144659; s.callLocIdx = 1045; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -31115,12 +31127,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_PauseMenu_dispose__P133256.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__P21336_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P133256_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P21336, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P133256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31131,7 +31143,7 @@ function scene_systemMenu_PauseMenu_dispose__P21336_mk(s) { -function inline__P32735(s) { +function inline__P144659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31145,7 +31157,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P21329_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P133249_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1044; s.pc = 1; return s.tmp_0; case 1: @@ -31154,12 +31166,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P144659.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__P32735_mk(s) { +function inline__P144659_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32735, depth: s.depth + 1, + parent: s, fn: inline__P144659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31169,7 +31181,7 @@ function inline__P32735_mk(s) { -function scene_systemMenu_MenuOption_dispose__P21329(s) { +function scene_systemMenu_MenuOption_dispose__P133249(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31184,12 +31196,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C133242_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__P20795_mk(s); + s.tmp_1 = Sprite_destroy__P132715_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -31197,7 +31209,7 @@ switch (step) { s.callLocIdx = 964; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P20795_mk(s); + s.tmp_0 = Sprite_destroy__P132715_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -31213,12 +31225,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_MenuOption_dispose__P133249.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__P21329_mk(s) { +function scene_systemMenu_MenuOption_dispose__P133249_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P21329, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P133249, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31229,7 +31241,7 @@ function scene_systemMenu_MenuOption_dispose__P21329_mk(s) { -function game_popScene__P21245(s) { +function game_popScene__P133165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31239,57 +31251,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___32664 = undefined; - s.tmp_0 = game_currentScene__P21240_mk(s); + s.oldScene___144588 = undefined; + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 928; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___32664 = (r0); - s.tmp_0 = r0 = globals._sceneStack___22585; + s.oldScene___144588 = (r0); + s.tmp_0 = r0 = globals._sceneStack___134505; 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___22585); + r0 = pxsim_Array__length(globals._sceneStack___134505); 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___22585); - globals._scene___22584 = (r0); - s.tmp_0 = control_popEventContext__P19107_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___134505); + globals._scene___134504 = (r0); + s.tmp_0 = control_popEventContext__P131027_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___22584); + r0 = pxsim_numops_toBoolDecr(globals._scene___134504); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P19107_mk(s); + s.tmp_0 = control_popEventContext__P131027_mk(s); s.callLocIdx = 930; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___22584 = (undefined); + globals._scene___134504 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___22584); + r0 = pxsim_numops_toBoolDecr(globals._scene___134504); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P21418_mk(s); + s.tmp_0 = particles_enableAll__P133338_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___22587); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___134507); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P32685); + r0 = pxsim_pxtcore_mkAction(1, inline__P144609); s.tmp_0 = r0; - 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; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___144588); + s.tmp_1 = helpers_arrayForEach__P130735_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___134507; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 933; s.pc = 15; return s.tmp_1; case 15: @@ -31300,23 +31312,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +game_popScene__P133165.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__P21245_mk(s) { +function game_popScene__P133165_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P21245, depth: s.depth + 1, + parent: s, fn: game_popScene__P133165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___32664: undefined, + oldScene___144588: undefined, } } -function inline__P32685(s) { +function inline__P144609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31341,12 +31353,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P144609.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__P32685_mk(s) { +function inline__P144609_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32685, depth: s.depth + 1, + parent: s, fn: inline__P144609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31356,7 +31368,7 @@ function inline__P32685_mk(s) { -function particles_enableAll__P21418(s) { +function particles_enableAll__P133338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31366,21 +31378,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___32689 = undefined; - s.tmp_0 = particles_particleSources__P22948_mk(s); + s.sources___144613 = undefined; + s.tmp_0 = particles_particleSources__P134868_mk(s); s.callLocIdx = 1173; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___32689 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___32689); + s.sources___144613 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___144613); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18815_mk(s); - s.tmp_0.arg0 = s.sources___32689; - s.tmp_0.arg1 = inline__P32695; + s.tmp_0 = helpers_arrayForEach__P130735_mk(s); + s.tmp_0.arg0 = s.sources___144613; + s.tmp_0.arg1 = inline__P144619; s.callLocIdx = 1175; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P22944_mk(s); + s.tmp_0 = particles_pruneParticles__P134864_mk(s); s.callLocIdx = 1176; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -31390,22 +31402,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +particles_enableAll__P133338.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__P21418_mk(s) { +function particles_enableAll__P133338_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P21418, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P133338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___32689: undefined, + sources___144613: undefined, } } -function inline__P32695(s) { +function inline__P144619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31419,7 +31431,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P21399_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P133319_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 +31441,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P144619.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__P32695_mk(s) { +function inline__P144619_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32695, depth: s.depth + 1, + parent: s, fn: inline__P144619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31444,7 +31456,7 @@ function inline__P32695_mk(s) { -function control_popEventContext__P19107(s) { +function control_popEventContext__P131027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31454,9 +31466,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___32702 = undefined; - s.context___32710 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22268); + s.ctx___144626 = undefined; + s.context___144634 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___134188); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -31465,9 +31477,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___22268); - s.ctx___32702 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___32702); + r0 = pxsim_Array_.pop(globals.eventContexts___134188); + s.ctx___144626 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___144626); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -31476,53 +31488,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P19099_mk(s); - s.tmp_2.arg0 = s.ctx___32702; + s.tmp_2 = control_EventContext_unregister__P131019_mk(s); + s.tmp_2.arg0 = s.ctx___144626; s.callLocIdx = 68; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___22268; - r0 = pxsim_Array__length(globals.eventContexts___22268); + s.tmp_0 = r0 = globals.eventContexts___134188; + r0 = pxsim_Array__length(globals.eventContexts___134188); 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___32710 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___32710); + s.context___144634 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___144634); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P19098_mk(s); - s.tmp_0.arg0 = s.context___32710; + s.tmp_0 = control_EventContext_register__P131018_mk(s); + s.tmp_0.arg0 = s.context___144634; s.callLocIdx = 69; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___22268 = (undefined); + globals.eventContexts___134188 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +control_popEventContext__P131027.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__P19107_mk(s) { +function control_popEventContext__P131027_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P19107, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P131027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___32702: undefined, - context___32710: undefined, + ctx___144626: undefined, + context___144634: undefined, } } -function control_EventContext_register__P19098(s) { +function control_EventContext_register__P131018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31532,38 +31544,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___32723 = undefined; - s.unnamed240___U1 = undefined; - s.unnamed241___U2 = undefined; + s.h___144647 = undefined; + s.unnamed1108___U1 = undefined; + s.unnamed1109___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C19092_VT)) failedCast(r0); - s.h___32723 = (undefined); + if (!checkSubtype(r0, control_EventContext__C131012_VT)) failedCast(r0); + s.h___144647 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed240___U1 = (r0); - s.unnamed241___U2 = (0); + s.unnamed1108___U1 = (r0); + s.unnamed1109___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed241___U2; - r0 = pxsim_Array__length(s.unnamed240___U1); + s.tmp_0 = r0 = s.unnamed1109___U2; + r0 = pxsim_Array__length(s.unnamed1108___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - 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; + r0 = pxsim_Array__getAt(s.unnamed1108___U1, s.unnamed1109___U2); + s.h___144647 = (r0); + s.tmp_2 = control_EventHandler_register__P134181_mk(s); + s.tmp_2.arg0 = s.h___144647; s.callLocIdx = 59; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed241___U2 + 1); - s.unnamed241___U2 = (r0); + r0 = (s.unnamed1109___U2 + 1); + s.unnamed1109___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed240___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P22266_mk(s); + s.unnamed1108___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P134186_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 60; s.pc = 4; return s.tmp_0; case 4: @@ -31572,19 +31584,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +control_EventContext_register__P131018.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__P19098_mk(s) { +function control_EventContext_register__P131018_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P19098, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P131018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___32723: undefined, - unnamed240___U1: undefined, - unnamed241___U2: undefined, + h___144647: undefined, + unnamed1108___U1: undefined, + unnamed1109___U2: undefined, arg0: undefined, } } @@ -31592,7 +31604,7 @@ function control_EventContext_register__P19098_mk(s) { -function controller__setUserEventsEnabled__P20662(s) { +function controller__setUserEventsEnabled__P132582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31606,17 +31618,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___22413 = (s.arg0); + globals._userEventsEnabled___134333 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +controller__setUserEventsEnabled__P132582.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__P20662_mk(s) { +function controller__setUserEventsEnabled__P132582_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P20662, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P132582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31625,7 +31637,7 @@ function controller__setUserEventsEnabled__P20662_mk(s) { -function scene_systemMenu_MenuOption_constructor__P21323(s) { +function scene_systemMenu_MenuOption_constructor__P133243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31643,7 +31655,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C133242_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 +31663,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_MenuOption_constructor__P133243.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__P21323_mk(s) { +function scene_systemMenu_MenuOption_constructor__P133243_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P21323, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P133243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31668,7 +31680,7 @@ function scene_systemMenu_MenuOption_constructor__P21323_mk(s) { -function helpers_screenBrightness__P20444(s) { +function helpers_screenBrightness__P132364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31682,16 +31694,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___20432; + r0 = globals.brightness___132352; return leave(s, r0) default: oops() } } } -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"]} +helpers_screenBrightness__P132364.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__P20444_mk(s) { +function helpers_screenBrightness__P132364_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P20444, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P132364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31700,7 +31712,7 @@ function helpers_screenBrightness__P20444_mk(s) { -function music_volume__P20301(s) { +function music_volume__P132221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31710,20 +31722,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P22303_mk(s); + s.tmp_0 = music_initVolume__P134223_mk(s); s.callLocIdx = 73; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___22299; + r0 = globals.globalVolume___134219; return leave(s, r0) default: oops() } } } -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":[]} +music_volume__P132221.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__P20301_mk(s) { +function music_volume__P132221_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P20301, depth: s.depth + 1, + parent: s, fn: music_volume__P132221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31732,7 +31744,7 @@ function music_volume__P20301_mk(s) { -function music_initVolume__P22303(s) { +function music_initVolume__P134223(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31742,12 +31754,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___22299 === null); + r0 = (globals.globalVolume___134219 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___22299 = (0); - s.tmp_0 = music_setVolume__P20300_mk(s); + globals.globalVolume___134219 = (0); + s.tmp_0 = music_setVolume__P132220_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 +31771,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +music_initVolume__P134223.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__P22303_mk(s) { +function music_initVolume__P134223_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P22303, depth: s.depth + 1, + parent: s, fn: music_initVolume__P134223, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31773,7 +31785,7 @@ function music_initVolume__P22303_mk(s) { -function helpers_arrayConcat__P18819(s) { +function helpers_arrayConcat__P130739(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31783,74 +31795,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.out___144902 = undefined; + s.value___144905 = undefined; + s.unnamed1098___U2 = undefined; + s.unnamed1099___U3 = undefined; + s.value___144912 = undefined; + s.unnamed1100___U5 = undefined; + s.unnamed1101___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___32978 = (r0); - s.value___32981 = (undefined); - s.unnamed230___U2 = (s.arg0); - s.unnamed231___U3 = (0); + s.out___144902 = (r0); + s.value___144905 = (undefined); + s.unnamed1098___U2 = (s.arg0); + s.unnamed1099___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed231___U3; - r0 = pxsim_Array__length(s.unnamed230___U2); + s.tmp_0 = r0 = s.unnamed1099___U3; + r0 = pxsim_Array__length(s.unnamed1098___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - 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); + r0 = pxsim_Array__getAt(s.unnamed1098___U2, s.unnamed1099___U3); + s.value___144905 = (r0); + r0 = pxsim_Array__push(s.out___144902, s.value___144905); + r0 = (s.unnamed1099___U3 + 1); + s.unnamed1099___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed230___U2 = (undefined); - s.value___32988 = (undefined); - s.unnamed232___U5 = (s.arg1); - s.unnamed233___U6 = (0); + s.unnamed1098___U2 = (undefined); + s.value___144912 = (undefined); + s.unnamed1100___U5 = (s.arg1); + s.unnamed1101___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed233___U6; - r0 = pxsim_Array__length(s.unnamed232___U5); + s.tmp_0 = r0 = s.unnamed1101___U6; + r0 = pxsim_Array__length(s.unnamed1100___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - 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); + r0 = pxsim_Array__getAt(s.unnamed1100___U5, s.unnamed1101___U6); + s.value___144912 = (r0); + r0 = pxsim_Array__push(s.out___144902, s.value___144912); + r0 = (s.unnamed1101___U6 + 1); + s.unnamed1101___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed232___U5 = (undefined); - r0 = s.out___32978; + s.unnamed1100___U5 = (undefined); + r0 = s.out___144902; return leave(s, r0) default: oops() } } } -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"]} +helpers_arrayConcat__P130739.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__P18819_mk(s) { +function helpers_arrayConcat__P130739_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P18819, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P130739, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___32978: undefined, - value___32981: undefined, - unnamed230___U2: undefined, - unnamed231___U3: undefined, - value___32988: undefined, - unnamed232___U5: undefined, - unnamed233___U6: undefined, + out___144902: undefined, + value___144905: undefined, + unnamed1098___U2: undefined, + unnamed1099___U3: undefined, + value___144912: undefined, + unnamed1100___U5: undefined, + unnamed1101___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -31859,7 +31871,7 @@ function helpers_arrayConcat__P18819_mk(s) { -function scene_systemMenu_PauseMenu_show__P21332(s) { +function scene_systemMenu_PauseMenu_show__P133252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31869,14 +31881,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___32195 = undefined; - s.i___32196 = undefined; + s.current___144119 = undefined; + s.i___144120 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C133250_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 +31906,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___32196 = (0); + s.i___144120 = (0); case 1: - s.tmp_1 = r0 = s.i___32196; + s.tmp_1 = r0 = s.i___144120; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -31907,22 +31919,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___32196); - s.current___32195 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P21324_mk(s); - s.tmp_0.arg0 = s.current___32195; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___144120); + s.current___144119 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P133244_mk(s); + s.tmp_0.arg0 = s.current___144119; s.callLocIdx = 978; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P21327_mk(s); - s.tmp_0.arg0 = s.current___32195; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P133247_mk(s); + s.tmp_0.arg0 = s.current___144119; 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__P21325_mk(s); - s.tmp_0.arg0 = s.current___32195; + s.tmp_0 = scene_systemMenu_MenuOption_position__P133245_mk(s); + s.tmp_0.arg0 = s.current___144119; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -31937,7 +31949,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___32196; + s.tmp_5 = r0 = s.i___144120; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -32002,7 +32014,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___32196; + s.tmp_17 = r0 = s.i___144120; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -32056,98 +32068,98 @@ switch (step) { s.callLocIdx = 988; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___32196 + 1); - s.i___32196 = (r0); + r0 = (s.i___144120 + 1); + s.i___144120 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P20662_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P132582_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__P32259); + r0 = pxsim_pxtcore_mkAction(1, inline__P144183); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20618_mk(s); - s.tmp_1.arg0 = globals.A___20585; + s.tmp_1 = controller_Button_onEvent__P132538_mk(s); + s.tmp_1.arg0 = globals.A___132505; 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__P32279); + r0 = pxsim_pxtcore_mkAction(1, inline__P144203); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20618_mk(s); - s.tmp_1.arg0 = globals.A___20585; + s.tmp_1 = controller_Button_onEvent__P132538_mk(s); + s.tmp_1.arg0 = globals.A___132505; 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__P20618_mk(s); - s.tmp_0.arg0 = globals.B___20586; + s.tmp_0 = controller_Button_onEvent__P132538_mk(s); + s.tmp_0.arg0 = globals.B___132506; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P32308; + s.tmp_0.arg2 = inline__P144232; s.callLocIdx = 995; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P20618_mk(s); - s.tmp_0.arg0 = globals.menu___20591; + s.tmp_0 = controller_Button_onEvent__P132538_mk(s); + s.tmp_0.arg0 = globals.menu___132511; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P32313; + s.tmp_0.arg2 = inline__P144237; s.callLocIdx = 997; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P32318); + r0 = pxsim_pxtcore_mkAction(1, inline__P144242); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20618_mk(s); - s.tmp_1.arg0 = globals.up___20588; + s.tmp_1 = controller_Button_onEvent__P132538_mk(s); + s.tmp_1.arg0 = globals.up___132508; 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__P32330); + r0 = pxsim_pxtcore_mkAction(1, inline__P144254); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20618_mk(s); - s.tmp_1.arg0 = globals.left___20587; + s.tmp_1 = controller_Button_onEvent__P132538_mk(s); + s.tmp_1.arg0 = globals.left___132507; 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__P32339); + r0 = pxsim_pxtcore_mkAction(1, inline__P144263); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20618_mk(s); - s.tmp_1.arg0 = globals.down___20590; + s.tmp_1 = controller_Button_onEvent__P132538_mk(s); + s.tmp_1.arg0 = globals.down___132510; 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__P32355); + r0 = pxsim_pxtcore_mkAction(1, inline__P144279); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20618_mk(s); - s.tmp_1.arg0 = globals.right___20589; + s.tmp_1 = controller_Button_onEvent__P132538_mk(s); + s.tmp_1.arg0 = globals.right___132509; 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__P32367); + r0 = pxsim_pxtcore_mkAction(1, inline__P144291); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P21255_mk(s); + s.tmp_1 = game_onShade__P133175_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__P21334_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P133254_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 +32169,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_PauseMenu_show__P133252.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__P21332_mk(s) { +function scene_systemMenu_PauseMenu_show__P133252_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P21332, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P133252, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32189,8 +32201,8 @@ function scene_systemMenu_PauseMenu_show__P21332_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___32195: undefined, - i___32196: undefined, + current___144119: undefined, + i___144120: undefined, arg0: undefined, } } @@ -32198,7 +32210,7 @@ function scene_systemMenu_PauseMenu_show__P21332_mk(s) { -function inline__P32259(s) { +function inline__P144183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32236,7 +32248,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P21328_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P133248_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -32252,12 +32264,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32259.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144183.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32259_mk(s) { +function inline__P144183_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32259, depth: s.depth + 1, + parent: s, fn: inline__P144183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32276,7 +32288,7 @@ function inline__P32259_mk(s) { -function inline__P32279(s) { +function inline__P144203(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32314,7 +32326,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P21328_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P133248_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -32338,12 +32350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32279.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144203.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32279_mk(s) { +function inline__P144203_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32279, depth: s.depth + 1, + parent: s, fn: inline__P144203, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32362,7 +32374,7 @@ function inline__P32279_mk(s) { -function inline__P32308(s) { +function inline__P144232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32372,7 +32384,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P21337_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P133257_mk(s); s.callLocIdx = 994; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -32380,12 +32392,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32308.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144232.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32308_mk(s) { +function inline__P144232_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32308, depth: s.depth + 1, + parent: s, fn: inline__P144232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32394,7 +32406,7 @@ function inline__P32308_mk(s) { -function inline__P32313(s) { +function inline__P144237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32404,7 +32416,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P21337_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P133257_mk(s); s.callLocIdx = 996; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -32412,12 +32424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32313.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144237.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32313_mk(s) { +function inline__P144237_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32313, depth: s.depth + 1, + parent: s, fn: inline__P144237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32426,7 +32438,7 @@ function inline__P32313_mk(s) { -function inline__P32318(s) { +function inline__P144242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32436,9 +32448,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21334_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P133254_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P18833_mk(s); + s.tmp_1 = Math_max__P130753_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -32469,12 +32481,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32318.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144242.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32318_mk(s) { +function inline__P144242_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32318, depth: s.depth + 1, + parent: s, fn: inline__P144242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32487,7 +32499,7 @@ function inline__P32318_mk(s) { -function inline__P32330(s) { +function inline__P144254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32497,9 +32509,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21334_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P133254_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P18833_mk(s); + s.tmp_1 = Math_max__P130753_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -32516,12 +32528,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32330.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144254.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32330_mk(s) { +function inline__P144254_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32330, depth: s.depth + 1, + parent: s, fn: inline__P144254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32532,7 +32544,7 @@ function inline__P32330_mk(s) { -function inline__P32339(s) { +function inline__P144263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32542,9 +32554,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21334_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P133254_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P18834_mk(s); + s.tmp_1 = Math_min__P130754_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -32580,12 +32592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32339.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144263.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32339_mk(s) { +function inline__P144263_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32339, depth: s.depth + 1, + parent: s, fn: inline__P144263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32600,7 +32612,7 @@ function inline__P32339_mk(s) { -function inline__P32355(s) { +function inline__P144279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32610,9 +32622,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21334_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P133254_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P18834_mk(s); + s.tmp_1 = Math_min__P130754_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -32634,12 +32646,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32355.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144279.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32355_mk(s) { +function inline__P144279_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32355, depth: s.depth + 1, + parent: s, fn: inline__P144279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32652,7 +32664,7 @@ function inline__P32355_mk(s) { -function inline__P32367(s) { +function inline__P144291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32662,12 +32674,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P21333_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P133253_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__P21335_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P133255_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1013; s.pc = 2; return s.tmp_0; case 2: @@ -32676,12 +32688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P32367.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P144291.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P32367_mk(s) { +function inline__P144291_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P32367, depth: s.depth + 1, + parent: s, fn: inline__P144291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32690,7 +32702,7 @@ function inline__P32367_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P21335(s) { +function scene_systemMenu_PauseMenu_drawText__P133255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32705,7 +32717,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C133250_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -32717,11 +32729,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P20436_mk(s); - s.tmp_3.arg0 = globals.screen___20510; + s.tmp_3 = helpers_imageFillRect__P132356_mk(s); + s.tmp_3.arg0 = globals.screen___132430; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -32743,8 +32755,8 @@ switch (step) { s.callLocIdx = 1027; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P20467_mk(s); - s.tmp_0.arg0 = globals.screen___20510; + s.tmp_0 = helpers_imagePrintCenter__P132387_mk(s); + s.tmp_0.arg0 = globals.screen___132430; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -32778,8 +32790,8 @@ switch (step) { s.callLocIdx = 1030; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P20436_mk(s); - s.tmp_0.arg0 = globals.screen___20510; + s.tmp_0 = helpers_imageFillRect__P132356_mk(s); + s.tmp_0.arg0 = globals.screen___132430; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -32797,9 +32809,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -32823,8 +32835,8 @@ switch (step) { s.callLocIdx = 1033; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P20436_mk(s); - s.tmp_0.arg0 = globals.screen___20510; + s.tmp_0 = helpers_imageFillRect__P132356_mk(s); + s.tmp_0.arg0 = globals.screen___132430; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -32853,7 +32865,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -32905,8 +32917,8 @@ switch (step) { s.callLocIdx = 1039; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P20467_mk(s); - s.tmp_0.arg0 = globals.screen___20510; + s.tmp_0 = helpers_imagePrintCenter__P132387_mk(s); + s.tmp_0.arg0 = globals.screen___132430; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -32965,12 +32977,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_PauseMenu_drawText__P133255.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__P21335_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P133255_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P21335, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P133255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32989,7 +33001,7 @@ function scene_systemMenu_PauseMenu_drawText__P21335_mk(s) { -function helpers_imagePrintCenter__P20467(s) { +function helpers_imagePrintCenter__P132387(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32999,8 +33011,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___32454 = undefined; - s.x___32460 = undefined; + s.w___144378 = undefined; + s.x___144384 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33015,7 +33027,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P20455_mk(s); + s.tmp_2 = image_getFontForText__P132375_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 104; s.pc = 3; return s.tmp_2; case 3: @@ -33039,17 +33051,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___32454 = (r0); + s.w___144378 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___32454); + r0 = (s.tmp_1 - s.w___144378); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___32460 = (r0); - s.tmp_0 = helpers_imagePrint__P20468_mk(s); + s.x___144384 = (r0); + s.tmp_0 = helpers_imagePrint__P132388_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___32460; + s.tmp_0.arg2 = s.x___144384; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -33061,18 +33073,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_imagePrintCenter__P132387.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__P20467_mk(s) { +function helpers_imagePrintCenter__P132387_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P20467, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P132387, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___32454: undefined, - x___32460: undefined, + w___144378: undefined, + x___144384: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33084,7 +33096,7 @@ function helpers_imagePrintCenter__P20467_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P21334(s) { +function scene_systemMenu_PauseMenu_setSelection__P133254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33100,7 +33112,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C133250_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33120,7 +33132,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__P21328_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P133248_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -33142,9 +33154,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - 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 = controller_Button__C132531_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___132505; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C132531_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 +33171,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P21328_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P133248_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -33172,7 +33184,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P22839_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P134759_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1025; s.pc = 13; return s.tmp_0; case 13: @@ -33182,12 +33194,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_PauseMenu_setSelection__P133254.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__P21334_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P133254_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P21334, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P133254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33206,7 +33218,7 @@ function scene_systemMenu_PauseMenu_setSelection__P21334_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P22839(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P134759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33216,13 +33228,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___32616 = undefined; + s.row___144540 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C133250_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -33240,17 +33252,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___32616 = (r0); + s.row___144540 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___32616 === s.tmp_1); + r0 = (s.row___144540 === 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___32616 - 1); + r0 = (s.row___144540 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -33265,7 +33277,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___32616 > s.tmp_6); + r0 = (s.row___144540 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -33325,12 +33337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_PauseMenu_updateScrollTarget__P134759.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__P22839_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P134759_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P22839, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P134759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33342,7 +33354,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P22839_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___32616: undefined, + row___144540: undefined, arg0: undefined, } } @@ -33350,7 +33362,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P22839_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P21333(s) { +function scene_systemMenu_PauseMenu_onUpdate__P133253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33360,22 +33372,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___32476 = undefined; - s.i___32480 = undefined; - s.dt___32509 = undefined; + s.t___144400 = undefined; + s.i___144404 = undefined; + s.dt___144433 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C133250_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___32476 = (r0); - s.i___32480 = (0); + s.t___144400 = (r0); + s.i___144404 = (0); case 1: - s.tmp_1 = r0 = s.i___32480; + s.tmp_1 = r0 = s.i___144404; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -33384,13 +33396,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__P21326_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P133246_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___32480); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___144404); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___32476; - s.tmp_11 = r0 = s.i___32480; + s.tmp_8 = r0 = s.t___144400; + s.tmp_11 = r0 = s.i___144404; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -33418,11 +33430,11 @@ switch (step) { s.callLocIdx = 1017; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___32480 + 1); - s.i___32480 = (r0); + r0 = (s.i___144404 + 1); + s.i___144404 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P21240_mk(s); + s.tmp_1 = game_currentScene__P133160_mk(s); s.callLocIdx = 1018; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -33431,7 +33443,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___32509 = (r0); + s.dt___144433 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -33443,7 +33455,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___32509 * 100); + r0 = (s.dt___144433 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -33461,7 +33473,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___32509 * 100); + r0 = (s.dt___144433 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -33471,7 +33483,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P18831_mk(s); + s.tmp_2 = Math_abs__P130751_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -33491,8 +33503,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P21076_mk(s); - s.tmp_1 = game_currentScene__P21240_mk(s); + s.tmp_0 = scene_Camera_offsetY__P132996_mk(s); + s.tmp_1 = game_currentScene__P133160_mk(s); s.callLocIdx = 1021; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -33508,12 +33520,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_PauseMenu_onUpdate__P133253.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__P21333_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P133253_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P21333, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P133253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33529,9 +33541,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P21333_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___32476: undefined, - i___32480: undefined, - dt___32509: undefined, + t___144400: undefined, + i___144404: undefined, + dt___144433: undefined, arg0: undefined, } } @@ -33539,7 +33551,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P21333_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P21326(s) { +function scene_systemMenu_MenuOption_setOffset__P133246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33555,8 +33567,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P20775_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C133242_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P132695_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -33566,10 +33578,10 @@ switch (step) { s.callLocIdx = 959; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P20736_mk(s); + s.tmp_0 = Sprite_y__P132656_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P20735_mk(s); + s.tmp_1 = Sprite_y__P132655_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 960; s.pc = 3; return s.tmp_1; @@ -33583,12 +33595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_MenuOption_setOffset__P133246.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__P21326_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P133246_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P21326, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P133246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33600,7 +33612,7 @@ function scene_systemMenu_MenuOption_setOffset__P21326_mk(s) { -function scene_systemMenu_MenuOption_setState__P21328(s) { +function scene_systemMenu_MenuOption_setState__P133248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33616,7 +33628,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C133242_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -33627,7 +33639,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P22838_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P134758_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 963; s.pc = 4; return s.tmp_0; case 4: @@ -33637,12 +33649,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_MenuOption_setState__P133248.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__P21328_mk(s) { +function scene_systemMenu_MenuOption_setState__P133248_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P21328, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P133248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33654,7 +33666,7 @@ function scene_systemMenu_MenuOption_setState__P21328_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P22838(s) { +function scene_systemMenu_MenuOption_updateCard__P134758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33669,7 +33681,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C133242_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33692,7 +33704,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P20764_mk(s); + s.tmp_4 = Sprite_setImage__P132684_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -33714,7 +33726,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P20764_mk(s); + s.tmp_0 = Sprite_setImage__P132684_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -33736,7 +33748,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P20764_mk(s); + s.tmp_0 = Sprite_setImage__P132684_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -33757,10 +33769,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P20734_mk(s); + s.tmp_0 = Sprite_x__P132654_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P20733_mk(s); + s.tmp_1 = Sprite_x__P132653_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 972; s.pc = 15; return s.tmp_1; @@ -33770,10 +33782,10 @@ switch (step) { s.callLocIdx = 973; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P20736_mk(s); + s.tmp_0 = Sprite_y__P132656_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P20735_mk(s); + s.tmp_1 = Sprite_y__P132655_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 974; s.pc = 17; return s.tmp_1; @@ -33788,12 +33800,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_MenuOption_updateCard__P134758.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__P22838_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P134758_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P22838, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P134758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33808,7 +33820,7 @@ function scene_systemMenu_MenuOption_updateCard__P22838_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P21327(s) { +function scene_systemMenu_MenuOption_setTheme__P133247(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33824,9 +33836,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C133242_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P22838_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P134758_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 962; s.pc = 1; return s.tmp_0; case 1: @@ -33835,12 +33847,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_MenuOption_setTheme__P133247.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__P21327_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P133247_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P21327, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P133247, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33851,7 +33863,7 @@ function scene_systemMenu_MenuOption_setTheme__P21327_mk(s) { -function scene_systemMenu_MenuOption_position__P21325(s) { +function scene_systemMenu_MenuOption_position__P133245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33868,26 +33880,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C133242_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P20771_mk(s); + s.tmp_0 = Sprite_left__P132691_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__P20775_mk(s); + s.tmp_0 = Sprite_top__P132695_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__P20734_mk(s); + s.tmp_0 = Sprite_x__P132654_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P20733_mk(s); + s.tmp_1 = Sprite_x__P132653_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 955; s.pc = 4; return s.tmp_1; @@ -33897,10 +33909,10 @@ switch (step) { s.callLocIdx = 956; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P20736_mk(s); + s.tmp_0 = Sprite_y__P132656_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P20735_mk(s); + s.tmp_1 = Sprite_y__P132655_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 957; s.pc = 6; return s.tmp_1; @@ -33914,12 +33926,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_MenuOption_position__P133245.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__P21325_mk(s) { +function scene_systemMenu_MenuOption_position__P133245_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P21325, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P133245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33932,7 +33944,7 @@ function scene_systemMenu_MenuOption_position__P21325_mk(s) { -function scene_systemMenu_MenuOption_show__P21324(s) { +function scene_systemMenu_MenuOption_show__P133244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33947,7 +33959,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21322_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C133242_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -33967,12 +33979,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___21346; + r0 = globals.CARD_NORMAL___133266; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P20682_mk(s); + s.tmp_5 = sprites_create__P132602_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 +34007,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P20682_mk(s); + s.tmp_2 = sprites_create__P132602_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -34023,12 +34035,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_MenuOption_show__P133244.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__P21324_mk(s) { +function scene_systemMenu_MenuOption_show__P133244_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P21324, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P133244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34043,7 +34055,7 @@ function scene_systemMenu_MenuOption_show__P21324_mk(s) { -function game_onShade__P21255(s) { +function game_onShade__P133175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34057,7 +34069,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P22592_mk(s); + s.tmp_0 = game_init__P134512_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 943; s.pc = 4; return s.tmp_0; case 4: @@ -34071,7 +34083,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P21091_mk(s); + s.tmp_2 = scene_createRenderable__P133011_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -34083,12 +34095,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +game_onShade__P133175.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__P21255_mk(s) { +function game_onShade__P133175_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P21255, depth: s.depth + 1, + parent: s, fn: game_onShade__P133175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34100,7 +34112,7 @@ function game_onShade__P21255_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P21331(s) { +function scene_systemMenu_PauseMenu_constructor__P133251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34117,7 +34129,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21330_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C133250_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 +34137,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P21339_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___21346); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P133259_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___133266); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -34145,12 +34157,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_PauseMenu_constructor__P133251.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__P21331_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P133251_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P21331, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P133251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34164,7 +34176,7 @@ function scene_systemMenu_PauseMenu_constructor__P21331_mk(s) { -function scene_systemMenu_buildMenuTheme__P21339(s) { +function scene_systemMenu_buildMenuTheme__P133259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34174,7 +34186,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___33460 = undefined; + s.cardsPerRow___145384 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34182,19 +34194,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); 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___33460 = (r0); + s.cardsPerRow___145384 = (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___20453; + r0 = globals.font8___132373; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -34205,7 +34217,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P20456_mk(s); + s.tmp_1 = image_doubledFont__P132376_mk(s); s.tmp_1.arg0 = s.arg2; s.callLocIdx = 1086; s.pc = 5; return s.tmp_1; case 5: @@ -34218,12 +34230,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___33460); - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___145384); + r0 = pxsim_ImageMethods.width(globals.screen___132430); s.tmp_3 = r0; - r0 = (s.cardsPerRow___33460 * s.arg0); + r0 = (s.cardsPerRow___145384 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___33460 - 1); + r0 = (s.cardsPerRow___145384 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -34254,7 +34266,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___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -34275,19 +34287,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___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 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___133267); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___133268); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___133266); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -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"]} +scene_systemMenu_buildMenuTheme__P133259.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__P21339_mk(s) { +function scene_systemMenu_buildMenuTheme__P133259_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P21339, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P133259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34306,7 +34318,7 @@ function scene_systemMenu_buildMenuTheme__P21339_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___33460: undefined, + cardsPerRow___145384: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34317,7 +34329,7 @@ function scene_systemMenu_buildMenuTheme__P21339_mk(s) { -function image_doubledFont__P20456(s) { +function image_doubledFont__P132376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34331,7 +34343,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P20457_mk(s); + s.tmp_0 = image_scaledFont__P132377_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 +34352,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +image_doubledFont__P132376.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__P20456_mk(s) { +function image_doubledFont__P132376_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P20456, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P132376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34355,7 +34367,7 @@ function image_doubledFont__P20456_mk(s) { -function image_scaledFont__P20457(s) { +function image_scaledFont__P132377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34470,12 +34482,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +image_scaledFont__P132377.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__P20457_mk(s) { +function image_scaledFont__P132377_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P20457, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P132377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34501,7 +34513,7 @@ function image_scaledFont__P20457_mk(s) { -function game_pushScene__P21244(s) { +function game_pushScene__P133164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34511,43 +34523,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___33539 = undefined; - s.tmp_0 = game_currentScene__P21240_mk(s); + s.oldScene___145463 = undefined; + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 922; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___33539 = (r0); - s.tmp_0 = particles_clearAll__P21416_mk(s); + s.oldScene___145463 = (r0); + s.tmp_0 = particles_clearAll__P133336_mk(s); s.callLocIdx = 923; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P21417_mk(s); + s.tmp_0 = particles_disableAll__P133337_mk(s); s.callLocIdx = 924; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___22585); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___134505); 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___22585 = (r0); + globals._sceneStack___134505 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___22585, globals._scene___22584); - s.tmp_0 = game_init__P22592_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___134505, globals._scene___134504); + s.tmp_0 = game_init__P134512_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___22586); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___134506); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P33556); + r0 = pxsim_pxtcore_mkAction(1, inline__P145480); s.tmp_0 = r0; - 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; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___145463); + s.tmp_1 = helpers_arrayForEach__P130735_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___134506; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 927; s.pc = 9; return s.tmp_1; case 9: @@ -34558,23 +34570,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +game_pushScene__P133164.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__P21244_mk(s) { +function game_pushScene__P133164_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P21244, depth: s.depth + 1, + parent: s, fn: game_pushScene__P133164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___33539: undefined, + oldScene___145463: undefined, } } -function inline__P33556(s) { +function inline__P145480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34599,12 +34611,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P145480.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__P33556_mk(s) { +function inline__P145480_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33556, depth: s.depth + 1, + parent: s, fn: inline__P145480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34614,7 +34626,7 @@ function inline__P33556_mk(s) { -function particles_disableAll__P21417(s) { +function particles_disableAll__P133337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34624,21 +34636,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___33560 = undefined; - s.tmp_0 = particles_particleSources__P22948_mk(s); + s.sources___145484 = undefined; + s.tmp_0 = particles_particleSources__P134868_mk(s); s.callLocIdx = 1169; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___33560 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___33560); + s.sources___145484 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___145484); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18815_mk(s); - s.tmp_0.arg0 = s.sources___33560; - s.tmp_0.arg1 = inline__P33566; + s.tmp_0 = helpers_arrayForEach__P130735_mk(s); + s.tmp_0.arg0 = s.sources___145484; + s.tmp_0.arg1 = inline__P145490; s.callLocIdx = 1171; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P22944_mk(s); + s.tmp_0 = particles_pruneParticles__P134864_mk(s); s.callLocIdx = 1172; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -34648,22 +34660,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +particles_disableAll__P133337.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__P21417_mk(s) { +function particles_disableAll__P133337_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P21417, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P133337, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___33560: undefined, + sources___145484: undefined, } } -function inline__P33566(s) { +function inline__P145490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34677,7 +34689,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P21399_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P133319_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 +34699,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P145490.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__P33566_mk(s) { +function inline__P145490_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33566, depth: s.depth + 1, + parent: s, fn: inline__P145490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34702,7 +34714,7 @@ function inline__P33566_mk(s) { -function particles_clearAll__P21416(s) { +function particles_clearAll__P133336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34712,21 +34724,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___33571 = undefined; - s.tmp_0 = particles_particleSources__P22948_mk(s); + s.sources___145495 = undefined; + s.tmp_0 = particles_particleSources__P134868_mk(s); s.callLocIdx = 1165; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___33571 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___33571); + s.sources___145495 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___145495); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18815_mk(s); - s.tmp_0.arg0 = s.sources___33571; - s.tmp_0.arg1 = inline__P33577; + s.tmp_0 = helpers_arrayForEach__P130735_mk(s); + s.tmp_0.arg0 = s.sources___145495; + s.tmp_0.arg1 = inline__P145501; s.callLocIdx = 1167; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P22944_mk(s); + s.tmp_0 = particles_pruneParticles__P134864_mk(s); s.callLocIdx = 1168; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -34736,22 +34748,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +particles_clearAll__P133336.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__P21416_mk(s) { +function particles_clearAll__P133336_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P21416, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P133336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___33571: undefined, + sources___145495: undefined, } } -function inline__P33577(s) { +function inline__P145501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34765,7 +34777,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P21401_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P133321_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1166; s.pc = 1; return s.tmp_0; case 1: @@ -34774,12 +34786,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P145501.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__P33577_mk(s) { +function inline__P145501_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33577, depth: s.depth + 1, + parent: s, fn: inline__P145501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34789,7 +34801,7 @@ function inline__P33577_mk(s) { -function scene_systemMenu_initScreen__P22851(s) { +function scene_systemMenu_initScreen__P134771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34799,20 +34811,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___33583 = undefined; - s.tmp_0 = settings_readNumber__P20541_mk(s); + s.brightness___145507 = undefined; + s.tmp_0 = settings_readNumber__P132461_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 1095; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___33583 = (r0); - r0 = (s.brightness___33583 !== undefined); + s.brightness___145507 = (r0); + r0 = (s.brightness___145507 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P20443_mk(s); - s.tmp_1.arg0 = globals.screen___20510; - s.tmp_1.arg1 = s.brightness___33583; + s.tmp_1 = helpers_setScreenBrightness__P132363_mk(s); + s.tmp_1.arg0 = globals.screen___132430; + s.tmp_1.arg1 = s.brightness___145507; s.callLocIdx = 1096; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -34822,23 +34834,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_initScreen__P134771.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__P22851_mk(s) { +function scene_systemMenu_initScreen__P134771_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P22851, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P134771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___33583: undefined, + brightness___145507: undefined, } } -function settings_readNumber__P20541(s) { +function settings_readNumber__P132461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34848,15 +34860,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___33594 = undefined; - s.nums___33601 = undefined; + s.buf___145518 = undefined; + s.nums___145525 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___33594 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___33594); + s.buf___145518 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___145518); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -34866,20 +34878,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P18884_mk(s); - s.tmp_2.arg0 = s.buf___33594; + s.tmp_2 = msgpack_unpackNumberArray__P130804_mk(s); + s.tmp_2.arg0 = s.buf___145518; s.tmp_2.arg1 = 0; s.callLocIdx = 136; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___33601 = (r0); - s.tmp_0 = r0 = s.nums___33601; + s.nums___145525 = (r0); + s.tmp_0 = r0 = s.nums___145525; 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___33601); + r0 = pxsim_Array__length(s.nums___145525); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -34887,7 +34899,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___33601, 0); + r0 = pxsim_Array__getAt(s.nums___145525, 0); { step = 7; continue; } case 4: case 5: @@ -34899,18 +34911,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +settings_readNumber__P132461.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__P20541_mk(s) { +function settings_readNumber__P132461_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P20541, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P132461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___33594: undefined, - nums___33601: undefined, + buf___145518: undefined, + nums___145525: undefined, arg0: undefined, } } @@ -34918,7 +34930,7 @@ function settings_readNumber__P20541_mk(s) { -function settings_readBuffer__P20539(s) { +function settings_readBuffer__P132459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34936,12 +34948,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +settings_readBuffer__P132459.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__P20539_mk(s) { +function settings_readBuffer__P132459_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P20539, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P132459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -34950,7 +34962,7 @@ function settings_readBuffer__P20539_mk(s) { -function msgpack_unpackNumberArray__P18884(s) { +function msgpack_unpackNumberArray__P130804(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34960,16 +34972,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___33614 = undefined; - s.fmt___33621 = undefined; - s.v___33630 = undefined; + s.res___145538 = undefined; + s.fmt___145545 = undefined; + s.v___145554 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___33614 = (r0); + s.res___145538 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -34981,14 +34993,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P22208_mk(s); + s.tmp_4 = msgpack_tagFormat__P134128_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___33621 = (r0); - r0 = (s.fmt___33621 === null); + s.fmt___145545 = (r0); + r0 = (s.fmt___145545 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -34996,21 +35008,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___33630 = (r0); - r0 = (-31 <= s.v___33630); + s.v___145554 = (r0); + r0 = (-31 <= s.v___145554); 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___33630 <= 127); + r0 = (s.v___145554 <= 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___33614, s.v___33630); + r0 = pxsim_Array__push(s.res___145538, s.v___145554); { step = 5; continue; } case 4: r0 = null; @@ -35018,13 +35030,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___33614; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___33621, s.arg1); + s.tmp_0 = r0 = s.res___145538; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___145545, 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__P18876_mk(s); - s.tmp_2.arg0 = s.fmt___33621; + s.tmp_2 = pins_sizeOf__P130796_mk(s); + s.tmp_2.arg0 = s.fmt___145545; s.callLocIdx = 24; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -35045,26 +35057,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___33614; + r0 = s.res___145538; case 11: return leave(s, r0) default: oops() } } } -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"]} +msgpack_unpackNumberArray__P130804.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__P18884_mk(s) { +function msgpack_unpackNumberArray__P130804_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P18884, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P130804, 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___33614: undefined, - fmt___33621: undefined, - v___33630: undefined, + res___145538: undefined, + fmt___145545: undefined, + v___145554: undefined, arg0: undefined, arg1: undefined, } } @@ -35073,7 +35085,7 @@ function msgpack_unpackNumberArray__P18884_mk(s) { -function scene_systemMenu_initVolume__P22850(s) { +function scene_systemMenu_initVolume__P134770(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35083,19 +35095,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___33675 = undefined; - s.tmp_0 = settings_readNumber__P20541_mk(s); + s.vol___145599 = undefined; + s.tmp_0 = settings_readNumber__P132461_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 1093; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___33675 = (r0); - r0 = (s.vol___33675 !== undefined); + s.vol___145599 = (r0); + r0 = (s.vol___145599 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P20300_mk(s); - s.tmp_1.arg0 = s.vol___33675; + s.tmp_1 = music_setVolume__P132220_mk(s); + s.tmp_1.arg0 = s.vol___145599; s.callLocIdx = 1094; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -35105,23 +35117,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +scene_systemMenu_initVolume__P134770.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__P22850_mk(s) { +function scene_systemMenu_initVolume__P134770_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P22850, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P134770, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___33675: undefined, + vol___145599: undefined, } } -function game_currentScene__P21240(s) { +function game_currentScene__P133160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35131,21 +35143,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P22592_mk(s); + s.tmp_0 = game_init__P134512_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___22584; + r0 = globals._scene___134504; return leave(s, r0) default: oops() } } } -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":[]} +game_currentScene__P133160.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__P21240_mk(s) { +function game_currentScene__P133160_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P21240, depth: s.depth + 1, + parent: s, fn: game_currentScene__P133160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35154,7 +35166,7 @@ function game_currentScene__P21240_mk(s) { -function game_addScenePopHandler__P21259(s) { +function game_addScenePopHandler__P133179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35168,35 +35180,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___22587); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___134507); 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___22587 = (r0); + globals._scenePopHandlers___134507 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___22587, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___134507, 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___22587, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___134507, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +game_addScenePopHandler__P133179.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__P21259_mk(s) { +function game_addScenePopHandler__P133179_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P21259, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P133179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35207,7 +35219,7 @@ function game_addScenePopHandler__P21259_mk(s) { -function game_addScenePushHandler__P21257(s) { +function game_addScenePushHandler__P133177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35221,35 +35233,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___22586); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___134506); 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___22586 = (r0); + globals._scenePushHandlers___134506 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___22586, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___134506, 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___22586, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___134506, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +game_addScenePushHandler__P133177.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__P21257_mk(s) { +function game_addScenePushHandler__P133177_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P21257, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P133177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35260,7 +35272,7 @@ function game_addScenePushHandler__P21257_mk(s) { -function Fx8__P18852(s) { +function Fx8__P130772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35280,12 +35292,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx8__P130772.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__P18852_mk(s) { +function Fx8__P130772_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P18852, depth: s.depth + 1, + parent: s, fn: Fx8__P130772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35295,7 +35307,7 @@ function Fx8__P18852_mk(s) { -function SpriteKind_create__P20835(s) { +function SpriteKind_create__P132755(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35305,26 +35317,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___22437 === undefined); + r0 = (globals.nextKind___134357 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___22437 = (1000); + globals.nextKind___134357 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___22437; + s.tmp_0 = r0 = globals.nextKind___134357; r0 = (s.tmp_0 + 1); - globals.nextKind___22437 = (r0); + globals.nextKind___134357 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -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":[]} +SpriteKind_create__P132755.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__P20835_mk(s) { +function SpriteKind_create__P132755_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P20835, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P132755, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35333,7 +35345,7 @@ function SpriteKind_create__P20835_mk(s) { -function controller_Button_constructor__P20617(s) { +function controller_Button_constructor__P132537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35350,7 +35362,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C132531_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -35360,13 +35372,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__P33751); + r0 = pxsim_pxtcore_mkAction(1, inline__P145675); 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__P33758); + r0 = pxsim_pxtcore_mkAction(1, inline__P145682); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -35385,12 +35397,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_Button_constructor__P132537.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__P20617_mk(s) { +function controller_Button_constructor__P132537_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P20617, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P132537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35404,7 +35416,7 @@ function controller_Button_constructor__P20617_mk(s) { -function inline__P33751(s) { +function inline__P145675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35414,7 +35426,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P20622_mk(s); + s.tmp_0 = controller_Button_setPressed__P132542_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 +35436,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33751.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P145675.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P33751_mk(s) { +function inline__P145675_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33751, depth: s.depth + 1, + parent: s, fn: inline__P145675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35438,7 +35450,7 @@ function inline__P33751_mk(s) { -function inline__P33758(s) { +function inline__P145682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35448,7 +35460,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P20622_mk(s); + s.tmp_0 = controller_Button_setPressed__P132542_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 +35470,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P33758.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P145682.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P33758_mk(s) { +function inline__P145682_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33758, depth: s.depth + 1, + parent: s, fn: inline__P145682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -35472,7 +35484,7 @@ function inline__P33758_mk(s) { -function controller_setupButton__P22419(s) { +function controller_setupButton__P134339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35491,12 +35503,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_setupButton__P134339.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__P22419_mk(s) { +function controller_setupButton__P134339_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P22419, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P134339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35506,7 +35518,7 @@ function controller_setupButton__P22419_mk(s) { -function controller_Button_setPressed__P20622(s) { +function controller_Button_setPressed__P132542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35522,14 +35534,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C132531_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__P20413_mk(s); + s.tmp_2 = power_poke__P132333_mk(s); s.callLocIdx = 152; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -35537,7 +35549,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__P20651_mk(s); + s.tmp_1 = controller_Controller_connected__P132571_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -35552,7 +35564,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__P22421_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P134341_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 154; s.pc = 9; return s.tmp_0; case 9: @@ -35560,7 +35572,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P22420_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P134340_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 155; s.pc = 10; return s.tmp_0; case 10: @@ -35572,12 +35584,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_Button_setPressed__P132542.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__P20622_mk(s) { +function controller_Button_setPressed__P132542_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P20622, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P132542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35590,7 +35602,7 @@ function controller_Button_setPressed__P20622_mk(s) { -function controller_Button_raiseButtonDown__P22421(s) { +function controller_Button_raiseButtonDown__P134341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35605,8 +35617,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22413); + if (!checkSubtype(r0, controller_Button__C132531_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___134333); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -35621,12 +35633,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_Button_raiseButtonDown__P134341.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__P22421_mk(s) { +function controller_Button_raiseButtonDown__P134341_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P22421, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P134341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35636,7 +35648,7 @@ function controller_Button_raiseButtonDown__P22421_mk(s) { -function controller_Button_raiseButtonUp__P22420(s) { +function controller_Button_raiseButtonUp__P134340(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35651,8 +35663,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22413); + if (!checkSubtype(r0, controller_Button__C132531_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___134333); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -35667,12 +35679,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_Button_raiseButtonUp__P134340.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__P22420_mk(s) { +function controller_Button_raiseButtonUp__P134340_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P22420, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P134340, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35682,7 +35694,7 @@ function controller_Button_raiseButtonUp__P22420_mk(s) { -function controller_Controller_connected__P20651(s) { +function controller_Controller_connected__P132571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35698,7 +35710,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -35726,12 +35738,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_Controller_connected__P132571.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__P20651_mk(s) { +function controller_Controller_connected__P132571_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P20651, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P132571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35744,7 +35756,7 @@ function controller_Controller_connected__P20651_mk(s) { -function controller_Controller_id__P20638(s) { +function controller_Controller_id__P132558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35759,18 +35771,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -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; +controller_Controller_id__P132558.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__P132558.isGetter = true; -function controller_Controller_id__P20638_mk(s) { +function controller_Controller_id__P132558_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P20638, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P132558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35779,7 +35791,7 @@ function controller_Controller_id__P20638_mk(s) { -function controller_Controller_connected__P20650(s) { +function controller_Controller_connected__P132570(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35794,18 +35806,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20631_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C132551_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -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; +controller_Controller_connected__P132570.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__P132570.isGetter = true; -function controller_Controller_connected__P20650_mk(s) { +function controller_Controller_connected__P132570_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P20650, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P132570, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35814,7 +35826,7 @@ function controller_Controller_connected__P20650_mk(s) { -function settings_initScopes__P22386(s) { +function settings_initScopes__P134306(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35824,17 +35836,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___33836 = undefined; - s.tmp_1 = settings_runNumber__P20533_mk(s); + s.rn___145760 = undefined; + s.tmp_1 = settings_runNumber__P132453_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___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.rn___145760 = (r0); + s.tmp_0 = settings_writeNumber__P132457_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___134294; + s.tmp_0.arg1 = s.rn___145760; s.callLocIdx = 128; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -35843,8 +35855,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___33836); - s.tmp_0 = settings_setScope__P22385_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___145760); + s.tmp_0 = settings_setScope__P134305_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 129; s.pc = 3; return s.tmp_0; @@ -35854,23 +35866,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +settings_initScopes__P134306.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__P22386_mk(s) { +function settings_initScopes__P134306_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P22386, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P134306, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___33836: undefined, + rn___145760: undefined, } } -function settings_setScope__P22385(s) { +function settings_setScope__P134305(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35880,7 +35892,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___33865 = undefined; + s.currScope___145789 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -35905,19 +35917,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P20540_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___22375; + s.tmp_0 = settings_readString__P132460_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___134295; s.callLocIdx = 125; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___33865 = (r0); - r0 = (s.currScope___33865 != s.arg0); + s.currScope___145789 = (r0); + r0 = (s.currScope___145789 != 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__P20536_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___22375; + s.tmp_0 = settings_writeString__P132456_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___134295; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 126; s.pc = 8; return s.tmp_0; case 8: @@ -35928,18 +35940,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +settings_setScope__P134305.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__P22385_mk(s) { +function settings_setScope__P134305_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P22385, depth: s.depth + 1, + parent: s, fn: settings_setScope__P134305, 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___33865: undefined, + currScope___145789: undefined, arg0: undefined, } } @@ -35947,7 +35959,7 @@ function settings_setScope__P22385_mk(s) { -function settings_readString__P20540(s) { +function settings_readString__P132460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35957,14 +35969,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___33886 = undefined; + s.buf___145810 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___33886 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___33886); + s.buf___145810 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___145810); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35974,7 +35986,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___33886); + r0 = pxsim.BufferMethods.toString(s.buf___145810); { step = 3; continue; } case 2: r0 = undefined; @@ -35982,16 +35994,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +settings_readString__P132460.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__P20540_mk(s) { +function settings_readString__P132460_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P20540, depth: s.depth + 1, + parent: s, fn: settings_readString__P132460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___33886: undefined, + buf___145810: undefined, arg0: undefined, } } @@ -35999,7 +36011,7 @@ function settings_readString__P20540_mk(s) { -function settings_writeString__P20536(s) { +function settings_writeString__P132456(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36014,7 +36026,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P20535_mk(s); + s.tmp_0 = settings_writeBuffer__P132455_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -36025,12 +36037,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +settings_writeString__P132456.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__P20536_mk(s) { +function settings_writeString__P132456_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P20536, depth: s.depth + 1, + parent: s, fn: settings_writeString__P132456, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36041,7 +36053,7 @@ function settings_writeString__P20536_mk(s) { -function settings_runNumber__P20533(s) { +function settings_runNumber__P132453(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36051,8 +36063,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P20541_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___22374; + s.tmp_1 = settings_readNumber__P132461_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___134294; s.callLocIdx = 124; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -36070,12 +36082,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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":[]} +settings_runNumber__P132453.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__P20533_mk(s) { +function settings_runNumber__P132453_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P20533, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P132453, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36086,7 +36098,7 @@ function settings_runNumber__P20533_mk(s) { -function control___screen_setupUpdate__P20472(s) { +function control___screen_setupUpdate__P132392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36100,8 +36112,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___22343 = (true); - globals.__update___22341 = (s.arg0); + globals.__updated___134263 = (true); + globals.__update___134261 = (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 +36124,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +control___screen_setupUpdate__P132392.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__P20472_mk(s) { +function control___screen_setupUpdate__P132392_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P20472, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P132392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36127,7 +36139,7 @@ function control___screen_setupUpdate__P20472_mk(s) { -function control___screen_update__P20471(s) { +function control___screen_update__P132391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36137,27 +36149,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___22341); + r0 = pxsim_numops_toBoolDecr(globals.__update___134261); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___22341; + s.tmp_0.argL = globals.__update___134261; 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___22343 = (true); + globals.__updated___134263 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -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":[]} +control___screen_update__P132391.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__P20471_mk(s) { +function control___screen_update__P132391_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P20471, depth: s.depth + 1, + parent: s, fn: control___screen_update__P132391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -36166,7 +36178,7 @@ function control___screen_update__P20471_mk(s) { -function pause__P19110(s) { +function pause__P131030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36190,12 +36202,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +pause__P131030.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__P19110_mk(s) { +function pause__P131030_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P19110, depth: s.depth + 1, + parent: s, fn: pause__P131030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36204,7 +36216,7 @@ function pause__P19110_mk(s) { -function particles_AshFactory_createParticle__P21468(s) { +function particles_AshFactory_createParticle__P133388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36214,16 +36226,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___36153 = undefined; - s.choice___36162 = undefined; - s.p___36167 = undefined; + s.index___148077 = undefined; + s.choice___148086 = undefined; + s.p___148091 = 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__C21466_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AshFactory__C133386_VT)) failedCast(r0); r0 = s.arg0.fields["colors"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -36236,7 +36248,7 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_3 = Math_FastRandom_randomRange__P21298_mk(s); + s.tmp_3 = Math_FastRandom_randomRange__P133218_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 0; @@ -36249,25 +36261,25 @@ switch (step) { s.callLocIdx = 1240; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - s.index___36153 = (r0); + s.index___148077 = (r0); r0 = s.arg0.fields["colors"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.index___36153); - s.choice___36162 = (r0); - s.tmp_0 = particles_AreaFactory_createParticle__P21438_mk(s); + r0 = pxsim_Array__getAt(s.tmp_0, s.index___148077); + s.choice___148086 = (r0); + s.tmp_0 = particles_AreaFactory_createParticle__P133358_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___36167 = (r0); - s.tmp_0 = r0 = s.choice___36162; + s.p___148091 = (r0); + s.tmp_0 = r0 = s.choice___148086; 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___36162.fields["count"]; + r0 = s.choice___148086.fields["count"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 0); s.tmp_0 = r0; @@ -36275,14 +36287,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___36153); + r0 = pxsim_Array_.removeAt(s.tmp_2, s.index___148077); case 3: case 4: - r0 = s.choice___36162.fields["color"]; + r0 = s.choice___148086.fields["color"]; s.tmp_0 = r0; - 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.p___148091).fields["color"] = (s.tmp_0); + s.tmp_0 = r0 = s.p___148091; + s.tmp_3 = Math_FastRandom_randomRange__P133218_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["yRange"]; @@ -36295,7 +36307,7 @@ switch (step) { case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = s.p___36167.fields["_y"]; + r0 = s.p___148091.fields["_y"]; s.tmp_5 = r0; r0 = (s.tmp_2 << 8); s.tmp_6 = r0; @@ -36343,9 +36355,9 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_7 = r0; - 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.p___148091).fields["vx"] = (s.tmp_7); + s.tmp_0 = r0 = s.p___148091; + s.tmp_3 = Math_FastRandom_randomRange__P133218_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = -150; @@ -36359,17 +36371,17 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___36167; + r0 = s.p___148091; case 7: return leave(s, r0) default: oops() } } } -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"]} +particles_AshFactory_createParticle__P133388.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__P21468_mk(s) { +function particles_AshFactory_createParticle__P133388_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_createParticle__P21468, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_createParticle__P133388, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36379,9 +36391,9 @@ function particles_AshFactory_createParticle__P21468_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - index___36153: undefined, - choice___36162: undefined, - p___36167: undefined, + index___148077: undefined, + choice___148086: undefined, + p___148091: undefined, arg0: undefined, arg1: undefined, } } @@ -36390,7 +36402,7 @@ function particles_AshFactory_createParticle__P21468_mk(s) { -function Fx_iadd__P18861(s) { +function Fx_iadd__P130781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36411,12 +36423,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_iadd__P130781.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__P18861_mk(s) { +function Fx_iadd__P130781_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P18861, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P130781, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36427,7 +36439,7 @@ function Fx_iadd__P18861_mk(s) { -function sprites_SpriteSet_toString__P20830(s) { +function sprites_SpriteSet_toString__P132750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36442,7 +36454,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C132739_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -36464,12 +36476,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteSet_toString__P132750.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__P20830_mk(s) { +function sprites_SpriteSet_toString__P132750_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P20830, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P132750, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36483,7 +36495,7 @@ function sprites_SpriteSet_toString__P20830_mk(s) { -function sprites_SpriteSet_length__P20822(s) { +function sprites_SpriteSet_length__P132742(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36498,20 +36510,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20819_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C132739_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__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; +sprites_SpriteSet_length__P132742.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__P132742.isGetter = true; -function sprites_SpriteSet_length__P20822_mk(s) { +function sprites_SpriteSet_length__P132742_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P20822, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P132742, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36521,7 +36533,7 @@ function sprites_SpriteSet_length__P20822_mk(s) { -function music_Melody_toString__P20315(s) { +function music_Melody_toString__P132235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36536,17 +36548,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C20306_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C132226_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -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"]} +music_Melody_toString__P132235.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__P20315_mk(s) { +function music_Melody_toString__P132235_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P20315, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P132235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36555,7 +36567,7 @@ function music_Melody_toString__P20315_mk(s) { -function sprites_SpriteMap_toString__P20810(s) { +function sprites_SpriteMap_toString__P132730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36570,7 +36582,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -36590,10 +36602,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P18816_mk(s); + s.tmp_10 = helpers_arrayFilter__P130736_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P33926; + s.tmp_10.arg1 = inline__P145850; s.callLocIdx = 515; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -36615,12 +36627,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteMap_toString__P132730.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__P20810_mk(s) { +function sprites_SpriteMap_toString__P132730_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P20810, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P132730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36640,7 +36652,7 @@ function sprites_SpriteMap_toString__P20810_mk(s) { -function inline__P33926(s) { +function inline__P145850(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36664,12 +36676,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P145850.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__P33926_mk(s) { +function inline__P145850_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P33926, depth: s.depth + 1, + parent: s, fn: inline__P145850, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36681,7 +36693,7 @@ function inline__P33926_mk(s) { -function ArcadePhysicsEngine_moveSprite__P20895(s) { +function ArcadePhysicsEngine_moveSprite__P132815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36691,9 +36703,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___33964 = undefined; - s.maxDist___33974 = undefined; - s.ms___33994 = undefined; + s.tm___145888 = undefined; + s.maxDist___145898 = undefined; + s.ms___145918 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36702,7 +36714,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -36731,19 +36743,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_4 = game_currentScene__P21240_mk(s); + s.tmp_4 = game_currentScene__P133160_mk(s); s.callLocIdx = 727; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___33964 = (r0); - s.tmp_0 = r0 = s.tm___33964; + s.tm___145888 = (r0); + s.tmp_0 = r0 = s.tm___145888; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___33964.fields["_map"]; + r0 = s.tm___145888.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -36769,8 +36781,8 @@ switch (step) { r0 = (s.tmp_8 + 128); s.tmp_9 = r0; r0 = (s.tmp_9 >> 8); - s.maxDist___33974 = (r0); - s.tmp_2 = Math_abs__P18831_mk(s); + s.maxDist___145898 = (r0); + s.tmp_2 = Math_abs__P130751_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -36779,14 +36791,14 @@ switch (step) { case 17: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___33974); + r0 = (s.tmp_1 <= s.maxDist___145898); 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__P18831_mk(s); + s.tmp_5 = Math_abs__P130751_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -36795,15 +36807,15 @@ switch (step) { case 18: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___33974); + r0 = (s.tmp_4 <= s.maxDist___145898); 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__C20879_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C132799_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P20880_mk(s); + s.tmp_9 = MovingSprite_constructor__P132800_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -36817,18 +36829,18 @@ switch (step) { s.callLocIdx = 734; s.pc = 19; return s.tmp_9; case 19: r0 = s.retval; - s.ms___33994 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P22459_mk(s); + s.ms___145918 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P134379_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___33994; - s.tmp_0.arg2 = s.tm___33964; + s.tmp_0.arg1 = s.ms___145918; + s.tmp_0.arg2 = s.tm___145888; 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__P21046_mk(s); - s.tmp_1.arg0 = s.tm___33964; + s.tmp_1 = tiles_TileMap_isOnWall__P132966_mk(s); + s.tmp_1.arg0 = s.tm___145888; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 736; s.pc = 21; return s.tmp_1; case 21: @@ -36839,10 +36851,10 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P22461_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P134381_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___33964; + s.tmp_4.arg2 = s.tm___145888; s.callLocIdx = 737; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; @@ -36878,12 +36890,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_moveSprite__P132815.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__P20895_mk(s) { +function ArcadePhysicsEngine_moveSprite__P132815_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P20895, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P132815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36895,9 +36907,9 @@ function ArcadePhysicsEngine_moveSprite__P20895_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___33964: undefined, - maxDist___33974: undefined, - ms___33994: undefined, + tm___145888: undefined, + maxDist___145898: undefined, + ms___145918: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36908,7 +36920,7 @@ function ArcadePhysicsEngine_moveSprite__P20895_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P22461(s) { +function ArcadePhysicsEngine_canResolveClipping__P134381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36918,19 +36930,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.hbox___145963 = undefined; + s.sz___145966 = undefined; + s.maxMove___145971 = undefined; + s.origY___145973 = undefined; + s.origX___145976 = undefined; + s.l___145979 = undefined; + s.r___145984 = undefined; + s.t___145989 = undefined; + s.b___145994 = undefined; + s.offset___145999 = undefined; + s.offset___146024 = undefined; + s.offset___146055 = undefined; + s.offset___146080 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36938,7 +36950,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -36949,7 +36961,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_setHitbox__P20765_mk(s); + s.tmp_4 = Sprite_setHitbox__P132685_mk(s); s.tmp_4.arg0 = s.arg1; s.callLocIdx = 739; s.pc = 20; return s.tmp_4; case 20: @@ -36957,23 +36969,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___34039 = (r0); + s.hbox___145963 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___34042 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P20887_mk(s); + s.sz___145966 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P132807_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___34047 = (r0); + s.maxMove___145971 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___34049 = (r0); + s.origY___145973 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___34052 = (r0); - s.tmp_1 = game_Hitbox_left__P20674_mk(s); - s.tmp_1.arg0 = s.hbox___34039; + s.origX___145976 = (r0); + s.tmp_1 = game_Hitbox_left__P132594_mk(s); + s.tmp_1.arg0 = s.hbox___145963; s.callLocIdx = 742; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -36981,9 +36993,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___34055 = (r0); - s.tmp_1 = game_Hitbox_right__P20676_mk(s); - s.tmp_1.arg0 = s.hbox___34039; + s.l___145979 = (r0); + s.tmp_1 = game_Hitbox_right__P132596_mk(s); + s.tmp_1.arg0 = s.hbox___145963; s.callLocIdx = 744; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -36991,9 +37003,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___34060 = (r0); - s.tmp_1 = game_Hitbox_top__P20675_mk(s); - s.tmp_1.arg0 = s.hbox___34039; + s.r___145984 = (r0); + s.tmp_1 = game_Hitbox_top__P132595_mk(s); + s.tmp_1.arg0 = s.hbox___145963; s.callLocIdx = 746; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -37001,9 +37013,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___34065 = (r0); - s.tmp_1 = game_Hitbox_bottom__P20677_mk(s); - s.tmp_1.arg0 = s.hbox___34039; + s.t___145989 = (r0); + s.tmp_1 = game_Hitbox_bottom__P132597_mk(s); + s.tmp_1.arg0 = s.hbox___145963; s.callLocIdx = 748; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -37011,26 +37023,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___34070 = (r0); - r0 = (s.b___34070 + 1); + s.b___145994 = (r0); + r0 = (s.b___145994 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___34042); - s.offset___34075 = (r0); - r0 = (s.offset___34075 <= s.maxMove___34047); + r0 = (s.tmp_0 % s.sz___145966); + s.offset___145999 = (r0); + r0 = (s.offset___145999 <= s.maxMove___145971); 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___34075 * 256); + r0 = (s.offset___145999 * 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__P21046_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P132966_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 +37059,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___34049); + r0 = (s.arg1).fields["_y"] = (s.origY___145973); case 4: case 5: case 6: - r0 = (s.t___34065 / s.sz___34042); + r0 = (s.t___145989 / s.sz___145966); 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___34042); + r0 = (s.tmp_1 * s.sz___145966); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___34065); - s.offset___34100 = (r0); - r0 = (s.offset___34100 <= s.maxMove___34047); + r0 = (s.tmp_0 - s.t___145989); + s.offset___146024 = (r0); + r0 = (s.offset___146024 <= s.maxMove___145971); 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___34100 * 256); + r0 = (s.offset___146024 * 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__P21046_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P132966_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 +37104,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___34049); + r0 = (s.arg1).fields["_y"] = (s.origY___145973); case 8: case 9: case 10: - r0 = (s.r___34060 + 1); + r0 = (s.r___145984 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___34042); - s.offset___34131 = (r0); - r0 = (s.offset___34131 <= s.maxMove___34047); + r0 = (s.tmp_0 % s.sz___145966); + s.offset___146055 = (r0); + r0 = (s.offset___146055 <= s.maxMove___145971); 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___34131 * 256); + r0 = (s.offset___146055 * 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__P21046_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P132966_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 +37143,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___34052); + r0 = (s.arg1).fields["_x"] = (s.origX___145976); case 12: case 13: case 14: - r0 = (s.l___34055 / s.sz___34042); + r0 = (s.l___145979 / s.sz___145966); 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___34042); + r0 = (s.tmp_1 * s.sz___145966); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___34055); - s.offset___34156 = (r0); - r0 = (s.offset___34156 <= s.maxMove___34047); + r0 = (s.tmp_0 - s.l___145979); + s.offset___146080 = (r0); + r0 = (s.offset___146080 <= s.maxMove___145971); 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___34156 * 256); + r0 = (s.offset___146080 * 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__P21046_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P132966_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 +37188,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___34052); + r0 = (s.arg1).fields["_x"] = (s.origX___145976); case 16: case 17: case 18: @@ -37185,12 +37197,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_canResolveClipping__P134381.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__P22461_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P134381_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P22461, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P134381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37198,19 +37210,19 @@ function ArcadePhysicsEngine_canResolveClipping__P22461_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: 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, + hbox___145963: undefined, + sz___145966: undefined, + maxMove___145971: undefined, + origY___145973: undefined, + origX___145976: undefined, + l___145979: undefined, + r___145984: undefined, + t___145989: undefined, + b___145994: undefined, + offset___145999: undefined, + offset___146024: undefined, + offset___146055: undefined, + offset___146080: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37220,7 +37232,7 @@ function ArcadePhysicsEngine_canResolveClipping__P22461_mk(s) { -function Sprite_isStatic__P20766(s) { +function Sprite_isStatic__P132686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37235,19 +37247,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__P20766.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__P132686.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__P20766_mk(s) { +function Sprite_isStatic__P132686_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P20766, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P132686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37257,7 +37269,7 @@ function Sprite_isStatic__P20766_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P22459(s) { +function ArcadePhysicsEngine_tilemapCollisions__P134379(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37267,38 +37279,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.s___146119 = undefined; + s.hbox___146142 = undefined; + s.tileScale___146145 = undefined; + s.tileSize___146148 = undefined; + s.xDiff___146152 = undefined; + s.yDiff___146159 = undefined; + s.overlappedTiles___146166 = undefined; + s.right___146171 = undefined; + s.x0___146175 = undefined; + s.collidedTiles___146190 = undefined; + s.y___146192 = undefined; + s.y0___146206 = undefined; + s.obstacle___146222 = undefined; + s.collisionDirection___146256 = undefined; + s.tile___146282 = undefined; + s.unnamed1126___U15 = undefined; + s.unnamed1127___U16 = undefined; + s.down___146360 = undefined; + s.y0___146364 = undefined; + s.collidedTiles___146379 = undefined; + s.overlappedTiles___146381 = undefined; + s.x___146383 = undefined; + s.x0___146393 = undefined; + s.obstacle___146407 = undefined; + s.collisionDirection___146441 = undefined; + s.tile___146467 = undefined; + s.unnamed1128___U26 = undefined; + s.unnamed1129___U27 = undefined; + s.x___146542 = undefined; + s.x0___146552 = undefined; + s.y___146562 = undefined; + s.y0___146572 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37306,18 +37318,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___34195 = (r0); - r0 = s.s___34195.fields["flags"]; + s.s___146119 = (r0); + r0 = s.s___146119.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__P21046_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P132966_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.s___34195; + s.tmp_3.arg1 = s.s___146119; s.callLocIdx = 620; s.pc = 84; return s.tmp_3; case 84: r0 = s.retval; @@ -37327,7 +37339,7 @@ switch (step) { { step = 83; continue; } { step = 2; continue; } case 1: - s.tmp_4 = r0 = s.s___34195; + s.tmp_4 = r0 = s.s___146119; r0 = s.tmp_4.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & -257); @@ -37336,7 +37348,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___34195.fields["_image"]; + r0 = s.s___146119.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -37346,43 +37358,43 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_setHitbox__P20765_mk(s); - s.tmp_4.arg0 = s.s___34195; + s.tmp_4 = Sprite_setHitbox__P132685_mk(s); + s.tmp_4.arg0 = s.s___146119; s.callLocIdx = 622; s.pc = 85; return s.tmp_4; case 85: r0 = s.retval; case 5: case 6: - r0 = s.s___34195.fields["_hitbox"]; - s.hbox___34218 = (r0); + r0 = s.s___146119.fields["_hitbox"]; + s.hbox___146142 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___34221 = (r0); - r0 = (1 << s.tileScale___34221); - s.tileSize___34224 = (r0); - r0 = s.s___34195.fields["_x"]; + s.tileScale___146145 = (r0); + r0 = (1 << s.tileScale___146145); + s.tileSize___146148 = (r0); + r0 = s.s___146119.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___34195.fields["_lastX"]; + r0 = s.s___146119.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___34228 = (r0); - r0 = s.s___34195.fields["_y"]; + s.xDiff___146152 = (r0); + r0 = s.s___146119.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___34195.fields["_lastY"]; + r0 = s.s___146119.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___34235 = (r0); + s.yDiff___146159 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___34242 = (r0); - r0 = (s.xDiff___34228 !== 0); + s.overlappedTiles___146166 = (r0); + r0 = (s.xDiff___146152 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___34228 > 0); - s.right___34247 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___34247); + r0 = (s.xDiff___146152 > 0); + s.right___146171 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___146171); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P20676_mk(s); - s.tmp_1.arg0 = s.hbox___34218; + s.tmp_1 = game_Hitbox_right__P132596_mk(s); + s.tmp_1.arg0 = s.hbox___146142; s.callLocIdx = 626; s.pc = 86; return s.tmp_1; case 86: r0 = s.retval; @@ -37390,8 +37402,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P20674_mk(s); - s.tmp_3.arg0 = s.hbox___34218; + s.tmp_3 = game_Hitbox_left__P132594_mk(s); + s.tmp_3.arg0 = s.hbox___146142; s.callLocIdx = 628; s.pc = 87; return s.tmp_3; case 87: r0 = s.retval; @@ -37402,30 +37414,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___34221 + 8); + r0 = (s.tileScale___146145 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___34251 = (r0); + s.x0___146175 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___34266 = (r0); - s.tmp_1 = game_Hitbox_top__P20675_mk(s); - s.tmp_1.arg0 = s.hbox___34218; + s.collidedTiles___146190 = (r0); + s.tmp_1 = game_Hitbox_top__P132595_mk(s); + s.tmp_1.arg0 = s.hbox___146142; 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___34235); - s.y___34268 = (r0); + r0 = (s.tmp_0 - s.yDiff___146159); + s.y___146192 = (r0); case 9: - 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.tmp_1 = r0 = s.y___146192; + s.tmp_3 = r0 = s.tileSize___146148; + s.tmp_6 = game_Hitbox_bottom__P132597_mk(s); + s.tmp_6.arg0 = s.hbox___146142; 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___34235); + r0 = (s.tmp_5 - s.yDiff___146159); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -37435,15 +37447,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - 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.tmp_10 = Fx_min__P130789_mk(s); + s.tmp_10.arg0 = s.y___146192; + s.tmp_12 = game_Hitbox_bottom__P132597_mk(s); + s.tmp_12.arg0 = s.hbox___146142; 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___34235); + r0 = (s.tmp_11 - s.yDiff___146159); s.tmp_10.arg1 = r0; s.callLocIdx = 639; s.pc = 90; return s.tmp_10; case 90: @@ -37451,33 +37463,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___34221 + 8); + r0 = (s.tileScale___146145 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___34282 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P21044_mk(s); + s.y0___146206 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P132964_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___34251; - s.tmp_1.arg2 = s.y0___34282; + s.tmp_1.arg1 = s.x0___146175; + s.tmp_1.arg2 = s.y0___146206; 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__P21045_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P132965_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___34251; - s.tmp_2.arg2 = s.y0___34282; + s.tmp_2.arg1 = s.x0___146175; + s.tmp_2.arg2 = s.y0___146206; s.callLocIdx = 643; s.pc = 93; return s.tmp_2; case 93: r0 = s.retval; - s.obstacle___34298 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P34306); + s.obstacle___146222 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P146230); s.tmp_0 = r0; - 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; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___146222); + s.tmp_4 = helpers_arraySome__P130733_mk(s); + s.tmp_4.arg0 = s.collidedTiles___146190; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 644; s.pc = 94; return s.tmp_4; case 94: @@ -37489,33 +37501,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___34266, s.obstacle___34298); + r0 = pxsim_Array__push(s.collidedTiles___146190, s.obstacle___146222); case 10: case 11: { step = 13; continue; } case 12: - s.tmp_0 = r0 = s.overlappedTiles___34242; - s.tmp_2 = tiles_TileMap_getTile__P21037_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___146166; + s.tmp_2 = tiles_TileMap_getTile__P132957_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___34251; - s.tmp_2.arg2 = s.y0___34282; + s.tmp_2.arg1 = s.x0___146175; + s.tmp_2.arg2 = s.y0___146206; 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___34224 << 8); + r0 = (s.tileSize___146148 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___34268); - s.y___34268 = (r0); + r0 = (s.tmp_0 + s.y___146192); + s.y___146192 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___34266); + r0 = pxsim_Array__length(s.collidedTiles___146190); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___34247); + r0 = pxsim_numops_toBoolDecr(s.right___146171); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -37524,23 +37536,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___34332 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___34247); + s.collisionDirection___146256 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___146171); if (!r0) { step = 17; continue; } - r0 = (s.x0___34251 << s.tileScale___34221); + r0 = (s.x0___146175 << s.tileScale___146145); 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___34218.fields["width"]; + r0 = s.hbox___146142.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___34251 + 1); + r0 = (s.x0___146175 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___34221); + r0 = (s.tmp_5 << s.tileScale___146145); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -37548,44 +37560,44 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___34195; - r0 = s.hbox___34218.fields["ox"]; + s.tmp_8 = r0 = s.s___146119; + r0 = s.hbox___146142.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___34358 = (undefined); - s.unnamed258___U15 = (s.collidedTiles___34266); - s.unnamed259___U16 = (0); + s.tile___146282 = (undefined); + s.unnamed1126___U15 = (s.collidedTiles___146190); + s.unnamed1127___U16 = (0); case 19: - s.tmp_0 = r0 = s.unnamed259___U16; - r0 = pxsim_Array__length(s.unnamed258___U15); + s.tmp_0 = r0 = s.unnamed1127___U16; + r0 = pxsim_Array__length(s.unnamed1126___U15); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - 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; + r0 = pxsim_Array__getAt(s.unnamed1126___U15, s.unnamed1127___U16); + s.tile___146282 = (r0); + s.tmp_2 = Sprite_registerObstacle__P132713_mk(s); + s.tmp_2.arg0 = s.s___146119; + s.tmp_2.arg1 = s.collisionDirection___146256; + s.tmp_2.arg2 = s.tile___146282; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 651; s.pc = 96; return s.tmp_2; case 96: r0 = s.retval; - r0 = (s.unnamed259___U16 + 1); - s.unnamed259___U16 = (r0); + r0 = (s.unnamed1127___U16 + 1); + s.unnamed1127___U16 = (r0); { step = 19; continue; } case 20: - s.unnamed258___U15 = (undefined); - r0 = s.s___34195.fields["flags"]; + s.unnamed1126___U15 = (undefined); + r0 = s.s___146119.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__P20795_mk(s); - s.tmp_2.arg0 = s.s___34195; + s.tmp_2 = Sprite_destroy__P132715_mk(s); + s.tmp_2.arg0 = s.s___146119; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 652; s.pc = 97; return s.tmp_2; @@ -37593,7 +37605,7 @@ switch (step) { r0 = s.retval; { step = 36; continue; } case 21: - r0 = s.s___34195.fields["_vx"]; + r0 = s.s___146119.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -37601,13 +37613,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = s.s___34195.fields["flags"]; + r0 = s.s___146119.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___34247); + r0 = pxsim_numops_toBoolDecr(s.right___146171); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -37616,8 +37628,8 @@ switch (step) { r0 = s.tmp_5; { step = 23; continue; } case 22: - s.tmp_8 = Sprite_vx__P20737_mk(s); - s.tmp_8.arg0 = s.s___34195; + s.tmp_8 = Sprite_vx__P132657_mk(s); + s.tmp_8.arg0 = s.s___146119; s.callLocIdx = 653; s.pc = 98; return s.tmp_8; case 98: r0 = s.retval; @@ -37631,14 +37643,14 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 24: - s.tmp_10 = r0 = s.right___34247; + s.tmp_10 = r0 = s.right___146171; 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__P20737_mk(s); - s.tmp_12.arg0 = s.s___34195; + s.tmp_12 = Sprite_vx__P132657_mk(s); + s.tmp_12.arg0 = s.s___146119; s.callLocIdx = 654; s.pc = 99; return s.tmp_12; case 99: r0 = s.retval; @@ -37653,8 +37665,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___34195; - r0 = s.s___34195.fields["_vx"]; + s.tmp_15 = r0 = s.s___146119; + r0 = s.s___146119.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -37676,12 +37688,12 @@ switch (step) { { step = 31; continue; } case 30: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___34195).fields["_vx"] = (0); + r0 = (s.s___146119).fields["_vx"] = (0); case 31: { step = 35; continue; } case 32: - s.tmp_2 = Math_sign__P18832_mk(s); - r0 = s.s___34195.fields["_vx"]; + s.tmp_2 = Math_sign__P130752_mk(s); + r0 = s.s___146119.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -37691,7 +37703,7 @@ switch (step) { case 100: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P18832_mk(s); + s.tmp_6 = Math_sign__P130752_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -37715,16 +37727,16 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___34235 !== 0); + r0 = (s.yDiff___146159 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 73; continue; } - r0 = (s.yDiff___34235 > 0); - s.down___34436 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___34436); + r0 = (s.yDiff___146159 > 0); + s.down___146360 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___146360); if (!r0) { step = 41; continue; } - s.tmp_1 = game_Hitbox_bottom__P20677_mk(s); - s.tmp_1.arg0 = s.hbox___34218; + s.tmp_1 = game_Hitbox_bottom__P132597_mk(s); + s.tmp_1.arg0 = s.hbox___146142; s.callLocIdx = 662; s.pc = 102; return s.tmp_1; case 102: r0 = s.retval; @@ -37732,8 +37744,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 42; continue; } case 41: - s.tmp_3 = game_Hitbox_top__P20675_mk(s); - s.tmp_3.arg0 = s.hbox___34218; + s.tmp_3 = game_Hitbox_top__P132595_mk(s); + s.tmp_3.arg0 = s.hbox___146142; s.callLocIdx = 664; s.pc = 103; return s.tmp_3; case 103: r0 = s.retval; @@ -37744,25 +37756,25 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___34221 + 8); + r0 = (s.tileScale___146145 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___34440 = (r0); + s.y0___146364 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___34455 = (r0); + s.collidedTiles___146379 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___34457 = (r0); - s.tmp_0 = game_Hitbox_left__P20674_mk(s); - s.tmp_0.arg0 = s.hbox___34218; + s.overlappedTiles___146381 = (r0); + s.tmp_0 = game_Hitbox_left__P132594_mk(s); + s.tmp_0.arg0 = s.hbox___146142; s.callLocIdx = 668; s.pc = 104; return s.tmp_0; case 104: r0 = s.retval; - s.x___34459 = (r0); + s.x___146383 = (r0); case 43: - 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.tmp_1 = r0 = s.x___146383; + s.tmp_3 = r0 = s.tileSize___146148; + s.tmp_5 = game_Hitbox_right__P132596_mk(s); + s.tmp_5.arg0 = s.hbox___146142; s.callLocIdx = 669; s.pc = 105; return s.tmp_5; case 105: r0 = s.retval; @@ -37775,10 +37787,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - 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.tmp_9 = Fx_min__P130789_mk(s); + s.tmp_9.arg0 = s.x___146383; + s.tmp_10 = game_Hitbox_right__P132596_mk(s); + s.tmp_10.arg0 = s.hbox___146142; s.callLocIdx = 671; s.pc = 107; return s.tmp_10; case 107: r0 = s.retval; @@ -37789,33 +37801,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___34221 + 8); + r0 = (s.tileScale___146145 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___34469 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P21044_mk(s); + s.x0___146393 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P132964_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___34469; - s.tmp_1.arg2 = s.y0___34440; + s.tmp_1.arg1 = s.x0___146393; + s.tmp_1.arg2 = s.y0___146364; 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__P21045_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P132965_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___34469; - s.tmp_2.arg2 = s.y0___34440; + s.tmp_2.arg1 = s.x0___146393; + s.tmp_2.arg2 = s.y0___146364; s.callLocIdx = 676; s.pc = 109; return s.tmp_2; case 109: r0 = s.retval; - s.obstacle___34483 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P34491); + s.obstacle___146407 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P146415); s.tmp_0 = r0; - 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; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___146407); + s.tmp_4 = helpers_arraySome__P130733_mk(s); + s.tmp_4.arg0 = s.collidedTiles___146379; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 677; s.pc = 110; return s.tmp_4; case 110: @@ -37827,33 +37839,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___34455, s.obstacle___34483); + r0 = pxsim_Array__push(s.collidedTiles___146379, s.obstacle___146407); case 44: case 45: { step = 47; continue; } case 46: - s.tmp_0 = r0 = s.overlappedTiles___34457; - s.tmp_2 = tiles_TileMap_getTile__P21037_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___146381; + s.tmp_2 = tiles_TileMap_getTile__P132957_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___34469; - s.tmp_2.arg2 = s.y0___34440; + s.tmp_2.arg1 = s.x0___146393; + s.tmp_2.arg2 = s.y0___146364; 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___34224 << 8); + r0 = (s.tileSize___146148 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___34459); - s.x___34459 = (r0); + r0 = (s.tmp_0 + s.x___146383); + s.x___146383 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___34455); + r0 = pxsim_Array__length(s.collidedTiles___146379); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___34436); + r0 = pxsim_numops_toBoolDecr(s.down___146360); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -37862,23 +37874,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___34517 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___34436); + s.collisionDirection___146441 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___146360); if (!r0) { step = 51; continue; } - r0 = (s.y0___34440 << s.tileScale___34221); + r0 = (s.y0___146364 << s.tileScale___146145); 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___34218.fields["height"]; + r0 = s.hbox___146142.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___34440 + 1); + r0 = (s.y0___146364 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___34221); + r0 = (s.tmp_5 << s.tileScale___146145); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -37886,44 +37898,44 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___34195; - r0 = s.hbox___34218.fields["oy"]; + s.tmp_8 = r0 = s.s___146119; + r0 = s.hbox___146142.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___34543 = (undefined); - s.unnamed260___U26 = (s.collidedTiles___34455); - s.unnamed261___U27 = (0); + s.tile___146467 = (undefined); + s.unnamed1128___U26 = (s.collidedTiles___146379); + s.unnamed1129___U27 = (0); case 53: - s.tmp_0 = r0 = s.unnamed261___U27; - r0 = pxsim_Array__length(s.unnamed260___U26); + s.tmp_0 = r0 = s.unnamed1129___U27; + r0 = pxsim_Array__length(s.unnamed1128___U26); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 54; continue; } - 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; + r0 = pxsim_Array__getAt(s.unnamed1128___U26, s.unnamed1129___U27); + s.tile___146467 = (r0); + s.tmp_2 = Sprite_registerObstacle__P132713_mk(s); + s.tmp_2.arg0 = s.s___146119; + s.tmp_2.arg1 = s.collisionDirection___146441; + s.tmp_2.arg2 = s.tile___146467; s.tmp_2.arg3 = s.arg2; s.callLocIdx = 684; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; - r0 = (s.unnamed261___U27 + 1); - s.unnamed261___U27 = (r0); + r0 = (s.unnamed1129___U27 + 1); + s.unnamed1129___U27 = (r0); { step = 53; continue; } case 54: - s.unnamed260___U26 = (undefined); - r0 = s.s___34195.fields["flags"]; + s.unnamed1128___U26 = (undefined); + r0 = s.s___146119.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__P20795_mk(s); - s.tmp_2.arg0 = s.s___34195; + s.tmp_2 = Sprite_destroy__P132715_mk(s); + s.tmp_2.arg0 = s.s___146119; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 685; s.pc = 113; return s.tmp_2; @@ -37931,7 +37943,7 @@ switch (step) { r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___34195.fields["_vy"]; + r0 = s.s___146119.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -37939,13 +37951,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___34195.fields["flags"]; + r0 = s.s___146119.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___34436); + r0 = pxsim_numops_toBoolDecr(s.down___146360); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -37954,8 +37966,8 @@ switch (step) { r0 = s.tmp_5; { step = 57; continue; } case 56: - s.tmp_8 = Sprite_vy__P20739_mk(s); - s.tmp_8.arg0 = s.s___34195; + s.tmp_8 = Sprite_vy__P132659_mk(s); + s.tmp_8.arg0 = s.s___146119; s.callLocIdx = 686; s.pc = 114; return s.tmp_8; case 114: r0 = s.retval; @@ -37969,14 +37981,14 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___34436; + s.tmp_10 = r0 = s.down___146360; 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__P20739_mk(s); - s.tmp_12.arg0 = s.s___34195; + s.tmp_12 = Sprite_vy__P132659_mk(s); + s.tmp_12.arg0 = s.s___146119; s.callLocIdx = 687; s.pc = 115; return s.tmp_12; case 115: r0 = s.retval; @@ -37991,8 +38003,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___34195; - r0 = s.s___34195.fields["_vy"]; + s.tmp_15 = r0 = s.s___146119; + r0 = s.s___146119.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -38014,12 +38026,12 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___34195).fields["_vy"] = (0); + r0 = (s.s___146119).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: - s.tmp_2 = Math_sign__P18832_mk(s); - r0 = s.s___34195.fields["_vy"]; + s.tmp_2 = Math_sign__P130752_mk(s); + r0 = s.s___146119.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -38029,7 +38041,7 @@ switch (step) { case 116: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P18832_mk(s); + s.tmp_6 = Math_sign__P130752_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -38053,17 +38065,17 @@ switch (step) { case 72: case 73: case 74: - s.tmp_0 = game_Hitbox_left__P20674_mk(s); - s.tmp_0.arg0 = s.hbox___34218; + s.tmp_0 = game_Hitbox_left__P132594_mk(s); + s.tmp_0.arg0 = s.hbox___146142; s.callLocIdx = 695; s.pc = 118; return s.tmp_0; case 118: r0 = s.retval; - s.x___34618 = (r0); + s.x___146542 = (r0); case 75: - 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.tmp_1 = r0 = s.x___146542; + s.tmp_3 = r0 = s.tileSize___146148; + s.tmp_5 = game_Hitbox_right__P132596_mk(s); + s.tmp_5.arg0 = s.hbox___146142; s.callLocIdx = 696; s.pc = 119; return s.tmp_5; case 119: r0 = s.retval; @@ -38076,10 +38088,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 80; continue; } - 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.tmp_9 = Fx_min__P130789_mk(s); + s.tmp_9.arg0 = s.x___146542; + s.tmp_10 = game_Hitbox_right__P132596_mk(s); + s.tmp_10.arg0 = s.hbox___146142; s.callLocIdx = 698; s.pc = 121; return s.tmp_10; case 121: r0 = s.retval; @@ -38090,21 +38102,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___34221 + 8); + r0 = (s.tileScale___146145 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___34628 = (r0); - s.tmp_0 = game_Hitbox_top__P20675_mk(s); - s.tmp_0.arg0 = s.hbox___34218; + s.x0___146552 = (r0); + s.tmp_0 = game_Hitbox_top__P132595_mk(s); + s.tmp_0.arg0 = s.hbox___146142; s.callLocIdx = 702; s.pc = 122; return s.tmp_0; case 122: r0 = s.retval; - s.y___34638 = (r0); + s.y___146562 = (r0); case 76: - 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.tmp_1 = r0 = s.y___146562; + s.tmp_3 = r0 = s.tileSize___146148; + s.tmp_5 = game_Hitbox_bottom__P132597_mk(s); + s.tmp_5.arg0 = s.hbox___146142; s.callLocIdx = 703; s.pc = 123; return s.tmp_5; case 123: r0 = s.retval; @@ -38117,10 +38129,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - 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.tmp_9 = Fx_min__P130789_mk(s); + s.tmp_9.arg0 = s.y___146562; + s.tmp_10 = game_Hitbox_bottom__P132597_mk(s); + s.tmp_10.arg0 = s.hbox___146142; s.callLocIdx = 705; s.pc = 125; return s.tmp_10; case 125: r0 = s.retval; @@ -38131,14 +38143,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___34221 + 8); + r0 = (s.tileScale___146145 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___34648 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P21044_mk(s); + s.y0___146572 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P132964_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___34628; - s.tmp_3.arg2 = s.y0___34648; + s.tmp_3.arg1 = s.x0___146552; + s.tmp_3.arg2 = s.y0___146572; s.callLocIdx = 709; s.pc = 126; return s.tmp_3; case 126: r0 = s.retval; @@ -38149,11 +38161,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___34242; - s.tmp_6 = tiles_TileMap_getTile__P21037_mk(s); + s.tmp_4 = r0 = s.overlappedTiles___146166; + s.tmp_6 = tiles_TileMap_getTile__P132957_mk(s); s.tmp_6.arg0 = s.arg2; - s.tmp_6.arg1 = s.x0___34628; - s.tmp_6.arg2 = s.y0___34648; + s.tmp_6.arg1 = s.x0___146552; + s.tmp_6.arg2 = s.y0___146572; s.callLocIdx = 710; s.pc = 127; return s.tmp_6; case 127: r0 = s.retval; @@ -38161,26 +38173,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_4, s.tmp_5); case 77: case 78: - r0 = (s.tileSize___34224 << 8); + r0 = (s.tileSize___146148 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___34638); - s.y___34638 = (r0); + r0 = (s.tmp_0 + s.y___146562); + s.y___146562 = (r0); { step = 76; continue; } case 79: - r0 = (s.tileSize___34224 << 8); + r0 = (s.tileSize___146148 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___34618); - s.x___34618 = (r0); + r0 = (s.tmp_0 + s.x___146542); + s.x___146542 = (r0); { step = 75; continue; } case 80: - r0 = pxsim_Array__length(s.overlappedTiles___34242); + r0 = pxsim_Array__length(s.overlappedTiles___146166); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P22460_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P134380_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___34195; - s.tmp_1.arg2 = s.overlappedTiles___34242; + s.tmp_1.arg1 = s.s___146119; + s.tmp_1.arg2 = s.overlappedTiles___146166; s.callLocIdx = 713; s.pc = 128; return s.tmp_1; case 128: r0 = s.retval; @@ -38191,12 +38203,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_tilemapCollisions__P134379.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__P22459_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P134379_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P22459, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P134379, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38216,38 +38228,38 @@ function ArcadePhysicsEngine_tilemapCollisions__P22459_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: 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, + s___146119: undefined, + hbox___146142: undefined, + tileScale___146145: undefined, + tileSize___146148: undefined, + xDiff___146152: undefined, + yDiff___146159: undefined, + overlappedTiles___146166: undefined, + right___146171: undefined, + x0___146175: undefined, + collidedTiles___146190: undefined, + y___146192: undefined, + y0___146206: undefined, + obstacle___146222: undefined, + collisionDirection___146256: undefined, + tile___146282: undefined, + unnamed1126___U15: undefined, + unnamed1127___U16: undefined, + down___146360: undefined, + y0___146364: undefined, + collidedTiles___146379: undefined, + overlappedTiles___146381: undefined, + x___146383: undefined, + x0___146393: undefined, + obstacle___146407: undefined, + collisionDirection___146441: undefined, + tile___146467: undefined, + unnamed1128___U26: undefined, + unnamed1129___U27: undefined, + x___146542: undefined, + x0___146552: undefined, + y___146562: undefined, + y0___146572: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38257,7 +38269,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P22459_mk(s) { -function inline__P34306(s) { +function inline__P146230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38279,12 +38291,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146230.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__P34306_mk(s) { +function inline__P146230_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34306, depth: s.depth + 1, + parent: s, fn: inline__P146230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38295,7 +38307,7 @@ function inline__P34306_mk(s) { -function inline__P34491(s) { +function inline__P146415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38317,12 +38329,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146415.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__P34491_mk(s) { +function inline__P146415_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34491, depth: s.depth + 1, + parent: s, fn: inline__P146415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38333,7 +38345,7 @@ function inline__P34491_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P22460(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P134380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38343,11 +38355,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___34687 = undefined; - s.tile___34690 = undefined; - s.unnamed262___U2 = undefined; - s.unnamed263___U3 = undefined; - s.tileOverlapHandlers___34711 = undefined; + s.alreadyHandled___146611 = undefined; + s.tile___146614 = undefined; + s.unnamed1130___U2 = undefined; + s.unnamed1131___U3 = undefined; + s.tileOverlapHandlers___146635 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38355,25 +38367,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___34687 = (r0); - s.tile___34690 = (undefined); - s.unnamed262___U2 = (s.arg2); - s.unnamed263___U3 = (0); + s.alreadyHandled___146611 = (r0); + s.tile___146614 = (undefined); + s.unnamed1130___U2 = (s.arg2); + s.unnamed1131___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed263___U3; - r0 = pxsim_Array__length(s.unnamed262___U2); + s.tmp_0 = r0 = s.unnamed1131___U3; + r0 = pxsim_Array__length(s.unnamed1130___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed262___U2, s.unnamed263___U3); - s.tile___34690 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P34694); + r0 = pxsim_Array__getAt(s.unnamed1130___U2, s.unnamed1131___U3); + s.tile___146614 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P146618); s.tmp_2 = r0; - 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; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___146614); + s.tmp_4 = helpers_arraySome__P130733_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___146611; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 718; s.pc = 8; return s.tmp_4; case 8: @@ -38384,26 +38396,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___34687, s.tile___34690); - s.tmp_0 = game_currentScene__P21240_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___146611, s.tile___146614); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 719; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___34711 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___34711); + s.tileOverlapHandlers___146635 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___146635); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P34719); + r0 = pxsim_pxtcore_mkAction(2, inline__P146643); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___34690); - r0 = pxsim_pxtcore_mkAction(2, inline__P34735); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___146614); + r0 = pxsim_pxtcore_mkAction(2, inline__P146659); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - 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; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___146614); + s.tmp_2 = helpers_arrayForEach__P130735_mk(s); + s.tmp_3 = helpers_arrayFilter__P130736_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___146635; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 722; s.pc = 11; return s.tmp_3; case 11: @@ -38416,32 +38428,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed263___U3 + 1); - s.unnamed263___U3 = (r0); + r0 = (s.unnamed1131___U3 + 1); + s.unnamed1131___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed262___U2 = (undefined); + s.unnamed1130___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_tilemapOverlaps__P134380.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__P22460_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P134380_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P22460, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P134380, 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___34687: undefined, - tile___34690: undefined, - unnamed262___U2: undefined, - unnamed263___U3: undefined, - tileOverlapHandlers___34711: undefined, + alreadyHandled___146611: undefined, + tile___146614: undefined, + unnamed1130___U2: undefined, + unnamed1131___U3: undefined, + tileOverlapHandlers___146635: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38451,7 +38463,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P22460_mk(s) { -function inline__P34694(s) { +function inline__P146618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38488,12 +38500,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146618.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__P34694_mk(s) { +function inline__P146618_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34694, depth: s.depth + 1, + parent: s, fn: inline__P146618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38508,7 +38520,7 @@ function inline__P34694_mk(s) { -function inline__P34719(s) { +function inline__P146643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38535,7 +38547,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P21053_mk(s); + s.tmp_5 = tiles_getTileImage__P132973_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 721; s.pc = 3; return s.tmp_5; case 3: @@ -38549,12 +38561,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146643.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__P34719_mk(s) { +function inline__P146643_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34719, depth: s.depth + 1, + parent: s, fn: inline__P146643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38570,7 +38582,7 @@ function inline__P34719_mk(s) { -function inline__P34735(s) { +function inline__P146659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38603,12 +38615,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146659.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__P34735_mk(s) { +function inline__P146659_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34735, depth: s.depth + 1, + parent: s, fn: inline__P146659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38618,7 +38630,7 @@ function inline__P34735_mk(s) { -function tiles_getTileImage__P21053(s) { +function tiles_getTileImage__P132973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38628,16 +38640,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___34743 = undefined; + s.scene___146667 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 854; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___34743 = (r0); + s.scene___146667 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -38647,7 +38659,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___34743.fields["tileMap"]; + r0 = s.scene___146667.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -38657,14 +38669,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex34753); + r0 = pxsim.image.ofBuffer(_hex146677); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P21047_mk(s); - r0 = s.scene___34743.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P132967_mk(s); + r0 = s.scene___146667.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P21003_mk(s); + s.tmp_6 = tiles_Location_tileSet__P132923_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 855; s.pc = 8; return s.tmp_6; case 8: @@ -38677,12 +38689,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_getTileImage__P132973.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__P21053_mk(s) { +function tiles_getTileImage__P132973_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P21053, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P132973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38691,16 +38703,16 @@ function tiles_getTileImage__P21053_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___34743: undefined, + scene___146667: undefined, arg0: undefined, } } -const _hex34753 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex146677 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_Location_tileSet__P21003(s) { +function tiles_Location_tileSet__P132923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38715,8 +38727,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20997_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P21038_mk(s); + if (!checkSubtype(r0, tiles_Location__C132917_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P132958_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; @@ -38729,13 +38741,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +tiles_Location_tileSet__P132923.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__P132923.isGetter = true; -function tiles_Location_tileSet__P21003_mk(s) { +function tiles_Location_tileSet__P132923_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P21003, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P132923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38745,7 +38757,7 @@ function tiles_Location_tileSet__P21003_mk(s) { -function tiles_TileMap_getObstacle__P21045(s) { +function tiles_TileMap_getObstacle__P132965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38755,8 +38767,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___34846 = undefined; - s.tile___34858 = undefined; + s.index___146770 = undefined; + s.tile___146782 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38764,8 +38776,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P21024_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P132944_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -38779,7 +38791,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P21018_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P132938_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -38790,20 +38802,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___34846 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P21021_mk(s); + s.index___146770 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P132941_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___34846; + s.tmp_0.arg1 = s.index___146770; s.callLocIdx = 830; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___34858 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C20854_VT); + s.tile___146782 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C132774_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P20860_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P132780_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___34858; + s.tmp_1.arg1 = s.tile___146782; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -38816,7 +38828,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___34846; + s.tmp_1.arg5 = s.index___146770; s.callLocIdx = 834; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -38824,12 +38836,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +tiles_TileMap_getObstacle__P132965.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__P21045_mk(s) { +function tiles_TileMap_getObstacle__P132965_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P21045, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P132965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38837,8 +38849,8 @@ function tiles_TileMap_getObstacle__P21045_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___34846: undefined, - tile___34858: undefined, + index___146770: undefined, + tile___146782: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38848,7 +38860,7 @@ function tiles_TileMap_getObstacle__P21045_mk(s) { -function tiles_TileMap_layer__P21033(s) { +function tiles_TileMap_layer__P132953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38863,18 +38875,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C21025_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C132945_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -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; +tiles_TileMap_layer__P132953.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__P132953.isGetter = true; -function tiles_TileMap_layer__P21033_mk(s) { +function tiles_TileMap_layer__P132953_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P21033, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P132953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38883,7 +38895,7 @@ function tiles_TileMap_layer__P21033_mk(s) { -function sprites_StaticObstacle_constructor__P20860(s) { +function sprites_StaticObstacle_constructor__P132780(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38903,7 +38915,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20854_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C132774_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 +38925,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +sprites_StaticObstacle_constructor__P132780.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__P20860_mk(s) { +function sprites_StaticObstacle_constructor__P132780_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P20860, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P132780, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -38932,7 +38944,7 @@ function sprites_StaticObstacle_constructor__P20860_mk(s) { -function Sprite_registerObstacle__P20793(s) { +function Sprite_registerObstacle__P132713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38942,10 +38954,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___34776 = undefined; - s.wallCollisionHandlers___34783 = undefined; - s.wallHandlersToRun___34808 = undefined; - s.asTileLocation___34821 = undefined; + s.collisionHandlers___146700 = undefined; + s.wallCollisionHandlers___146707 = undefined; + s.wallHandlersToRun___146732 = undefined; + s.asTileLocation___146745 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38954,11 +38966,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_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__P21240_mk(s); + s.tmp_1 = game_currentScene__P133160_mk(s); s.callLocIdx = 442; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -38978,24 +38990,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___34776 = (r0); - s.tmp_0 = game_currentScene__P21240_mk(s); + s.collisionHandlers___146700 = (r0); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 444; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___34783 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___34776); + s.wallCollisionHandlers___146707 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___146700); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P34791); + r0 = pxsim_pxtcore_mkAction(1, inline__P146715); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P34797); + r0 = pxsim_pxtcore_mkAction(1, inline__P146721); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - 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_2 = helpers_arrayForEach__P130735_mk(s); + s.tmp_3 = helpers_arrayFilter__P130736_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___146700; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 446; s.pc = 13; return s.tmp_3; case 13: @@ -39007,7 +39019,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___34783); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___146707); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -39015,7 +39027,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P21240_mk(s); + s.tmp_1 = game_currentScene__P133160_mk(s); s.callLocIdx = 449; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -39024,21 +39036,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, inline__P34810); + r0 = pxsim_pxtcore_mkAction(1, inline__P146734); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P18816_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___34783; + s.tmp_1 = helpers_arrayFilter__P130736_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___146707; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 451; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___34808 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___34808); + s.wallHandlersToRun___146732 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___146732); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P21037_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P132957_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -39077,13 +39089,13 @@ switch (step) { s.callLocIdx = 456; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___34821 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P34837); + s.asTileLocation___146745 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P146761); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - 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; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___146745); + s.tmp_1 = helpers_arrayForEach__P130735_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___146732; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 458; s.pc = 19; return s.tmp_1; case 19: @@ -39096,12 +39108,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_registerObstacle__P132713.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__P20793_mk(s) { +function Sprite_registerObstacle__P132713_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P20793, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P132713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39111,10 +39123,10 @@ function Sprite_registerObstacle__P20793_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___34776: undefined, - wallCollisionHandlers___34783: undefined, - wallHandlersToRun___34808: undefined, - asTileLocation___34821: undefined, + collisionHandlers___146700: undefined, + wallCollisionHandlers___146707: undefined, + wallHandlersToRun___146732: undefined, + asTileLocation___146745: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39125,7 +39137,7 @@ function Sprite_registerObstacle__P20793_mk(s) { -function inline__P34791(s) { +function inline__P146715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39147,12 +39159,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146715.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__P34791_mk(s) { +function inline__P146715_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34791, depth: s.depth + 1, + parent: s, fn: inline__P146715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39163,7 +39175,7 @@ function inline__P34791_mk(s) { -function inline__P34797(s) { +function inline__P146721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39195,12 +39207,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146721.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__P34797_mk(s) { +function inline__P146721_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34797, depth: s.depth + 1, + parent: s, fn: inline__P146721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39210,7 +39222,7 @@ function inline__P34797_mk(s) { -function inline__P34810(s) { +function inline__P146734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39232,12 +39244,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146734.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__P34810_mk(s) { +function inline__P146734_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34810, depth: s.depth + 1, + parent: s, fn: inline__P146734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39248,7 +39260,7 @@ function inline__P34810_mk(s) { -function inline__P34837(s) { +function inline__P146761(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39281,12 +39293,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146761.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__P34837_mk(s) { +function inline__P146761_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34837, depth: s.depth + 1, + parent: s, fn: inline__P146761, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39296,7 +39308,7 @@ function inline__P34837_mk(s) { -function Fx_min__P18869(s) { +function Fx_min__P130789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39327,12 +39339,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_min__P130789.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__P18869_mk(s) { +function Fx_min__P130789_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P18869, depth: s.depth + 1, + parent: s, fn: Fx_min__P130789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39343,7 +39355,7 @@ function Fx_min__P18869_mk(s) { -function helpers_arraySome__P18813(s) { +function helpers_arraySome__P130733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39353,26 +39365,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___31515 = undefined; - s.i___31518 = undefined; + s.len___143439 = undefined; + s.i___143442 = 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___31515 = (r0); - s.i___31518 = (0); + s.len___143439 = (r0); + s.i___143442 = (0); case 1: - r0 = (s.i___31518 < s.len___31515); + r0 = (s.i___143442 < s.len___143439); 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___31518); + r0 = pxsim_Array__getAt(s.arg0, s.i___143442); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___31518; + s.tmp_2.arg1 = s.i___143442; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: @@ -39384,8 +39396,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___31518 + 1); - s.i___31518 = (r0); + r0 = (s.i___143442 + 1); + s.i___143442 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -39393,18 +39405,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +helpers_arraySome__P130733.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__P18813_mk(s) { +function helpers_arraySome__P130733_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P18813, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P130733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___31515: undefined, - i___31518: undefined, + len___143439: undefined, + i___143442: undefined, arg0: undefined, arg1: undefined, } } @@ -39413,7 +39425,7 @@ function helpers_arraySome__P18813_mk(s) { -function MovingSprite_constructor__P20880(s) { +function MovingSprite_constructor__P132800(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39435,7 +39447,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C20879_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C132799_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 +39459,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +MovingSprite_constructor__P132800.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__P20880_mk(s) { +function MovingSprite_constructor__P132800_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P20880, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P132800, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39468,7 +39480,7 @@ function MovingSprite_constructor__P20880_mk(s) { -function ArcadePhysicsEngine_move__P20893(s) { +function ArcadePhysicsEngine_move__P132813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39478,33 +39490,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.dtf___146841 = undefined; + s.dt2___146848 = undefined; + s.scene___146852 = undefined; + s.tileMap___146855 = undefined; + s.movingSprites___146858 = undefined; + s.MAX_STEP_COUNT___146889 = undefined; + s.overlapHandlers___146901 = undefined; + s.selected___146908 = undefined; + s.buffers___146909 = undefined; + s.count___146913 = undefined; + s.currMovers___146923 = undefined; + s.remainingMovers___146930 = undefined; + s.ms___146935 = undefined; + s.unnamed1120___U13 = undefined; + s.unnamed1121___U14 = undefined; + s.s___146937 = undefined; + s.stepX___147030 = undefined; + s.stepY___147044 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - 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; + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); + s.tmp_0 = Fx_min__P130789_mk(s); + s.tmp_0.arg0 = globals.MAX_TIME_STEP___132796; r0 = (s.arg1 * 1000); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); @@ -39514,43 +39526,43 @@ switch (step) { s.callLocIdx = 543; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - 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.dtf___146841 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___146841, 2); + s.dt2___146848 = (r0); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 545; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___34928 = (r0); - r0 = s.scene___34928.fields["tileMap"]; - s.tileMap___34931 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P34936); + s.scene___146852 = (r0); + r0 = s.scene___146852.fields["tileMap"]; + s.tileMap___146855 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P146860); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - 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 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtf___146841); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___146848); + s.tmp_1 = helpers_arrayMap__P130732_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___34934 = (r0); - s.tmp_0 = helpers_arrayForEach__P18815_mk(s); + s.movingSprites___146858 = (r0); + s.tmp_0 = helpers_arrayForEach__P130735_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P34948; + s.tmp_0.arg1 = inline__P146872; s.callLocIdx = 551; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P20808_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P132728_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__P20807_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P132727_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -39566,7 +39578,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___34917); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtf___146841); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); s.tmp_1 = r0; @@ -39575,34 +39587,34 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.MAX_STEP_COUNT___34965 = (r0); - s.tmp_0 = helpers_arraySlice__P18820_mk(s); - r0 = s.scene___34928.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___146889 = (r0); + s.tmp_0 = helpers_arraySlice__P130740_mk(s); + r0 = s.scene___146852.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___34977 = (r0); - s.selected___34984 = (0); + s.overlapHandlers___146901 = (r0); + s.selected___146908 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___34934); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___146858); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___34985 = (s.tmp_0); - s.count___34989 = (0); + s.buffers___146909 = (s.tmp_0); + s.count___146913 = (0); case 1: - r0 = (s.count___34989 < s.MAX_STEP_COUNT___34965); + r0 = (s.count___146913 < s.MAX_STEP_COUNT___146889); 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___34985, s.selected___34984); + r0 = pxsim_Array__getAt(s.buffers___146909, s.selected___146908); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -39612,43 +39624,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___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); + r0 = pxsim_Array__getAt(s.buffers___146909, s.selected___146908); + s.currMovers___146923 = (r0); + r0 = (s.selected___146908 ^ 1); + s.selected___146908 = (r0); + r0 = pxsim_Array__getAt(s.buffers___146909, s.selected___146908); + s.remainingMovers___146930 = (r0); + s.ms___146935 = (undefined); + s.unnamed1120___U13 = (s.currMovers___146923); + s.unnamed1121___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed253___U14; - r0 = pxsim_Array__length(s.unnamed252___U13); + s.tmp_0 = r0 = s.unnamed1121___U14; + r0 = pxsim_Array__length(s.unnamed1120___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - 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"]; + r0 = pxsim_Array__getAt(s.unnamed1120___U13, s.unnamed1121___U14); + s.ms___146935 = (r0); + r0 = s.ms___146935.fields["sprite"]; + s.s___146937 = (r0); + r0 = s.ms___146935.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___35013.fields["_vx"]; + r0 = s.s___146937.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___35013.fields["_vx"]; + r0 = s.s___146937.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___35011).fields["dx"] = (0); + r0 = (s.ms___146935).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___35013.fields["_vx"]; + r0 = s.s___146937.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -39657,7 +39669,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___35011.fields["cachedVx"]; + r0 = s.ms___146935.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -39668,7 +39680,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___35013.fields["_vx"]; + r0 = s.s___146937.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -39677,7 +39689,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___35011.fields["cachedVx"]; + r0 = s.ms___146935.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -39689,14 +39701,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___35011; - r0 = s.ms___35011.fields["dx"]; + s.tmp_9 = r0 = s.ms___146935; + r0 = s.ms___146935.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___35011; - r0 = s.ms___35011.fields["xStep"]; + s.tmp_0 = r0 = s.ms___146935; + r0 = s.ms___146935.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -39704,29 +39716,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___35013.fields["_vx"]; + r0 = s.s___146937.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___35011).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___146935).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___35011.fields["cachedVy"]; + r0 = s.ms___146935.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___35013.fields["_vy"]; + r0 = s.s___146937.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___35013.fields["_vy"]; + r0 = s.s___146937.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___35011).fields["dy"] = (0); + r0 = (s.ms___146935).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___35013.fields["_vy"]; + r0 = s.s___146937.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -39735,7 +39747,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___35011.fields["cachedVy"]; + r0 = s.ms___146935.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -39746,7 +39758,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___35013.fields["_vy"]; + r0 = s.s___146937.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -39755,7 +39767,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___35011.fields["cachedVy"]; + r0 = s.ms___146935.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -39767,14 +39779,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___35011; - r0 = s.ms___35011.fields["dy"]; + s.tmp_9 = r0 = s.ms___146935; + r0 = s.ms___146935.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___35011; - r0 = s.ms___35011.fields["yStep"]; + s.tmp_0 = r0 = s.ms___146935; + r0 = s.ms___146935.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -39782,20 +39794,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___35013.fields["_vy"]; + r0 = s.s___146937.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___35011).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___146935).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P18868_mk(s); - r0 = s.ms___35011.fields["xStep"]; + s.tmp_2 = Fx_abs__P130788_mk(s); + r0 = s.ms___146935.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__P18868_mk(s); - r0 = s.ms___35011.fields["dx"]; + s.tmp_4 = Fx_abs__P130788_mk(s); + r0 = s.ms___146935.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 564; s.pc = 55; return s.tmp_4; case 55: @@ -39805,23 +39817,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___35011.fields["dx"]; + r0 = s.ms___146935.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___35011.fields["xStep"]; + r0 = s.ms___146935.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___35106 = (s.tmp_5); - s.tmp_2 = Fx_abs__P18868_mk(s); - r0 = s.ms___35011.fields["yStep"]; + s.stepX___147030 = (s.tmp_5); + s.tmp_2 = Fx_abs__P130788_mk(s); + r0 = s.ms___146935.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__P18868_mk(s); - r0 = s.ms___35011.fields["dy"]; + s.tmp_4 = Fx_abs__P130788_mk(s); + r0 = s.ms___146935.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 566; s.pc = 57; return s.tmp_4; case 57: @@ -39831,45 +39843,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___35011.fields["dy"]; + r0 = s.ms___146935.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___35011.fields["yStep"]; + r0 = s.ms___146935.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___35120 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___35011; - r0 = s.ms___35011.fields["dx"]; + s.stepY___147044 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___146935; + r0 = s.ms___146935.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___35106); + r0 = (s.tmp_2 - s.stepX___147030); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___35011; - r0 = s.ms___35011.fields["dy"]; + s.tmp_0 = r0 = s.ms___146935; + r0 = s.ms___146935.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___35120); + r0 = (s.tmp_2 - s.stepY___147044); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___35013.fields["_x"]; + r0 = s.s___146937.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___35013).fields["_lastX"] = (s.tmp_0); - r0 = s.s___35013.fields["_y"]; + r0 = (s.s___146937).fields["_lastX"] = (s.tmp_0); + r0 = s.s___146937.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___35013).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___35013; - r0 = s.s___35013.fields["_x"]; + r0 = (s.s___146937).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___146937; + r0 = s.s___146937.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___35106); + r0 = (s.tmp_2 + s.stepX___147030); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___35013; - r0 = s.s___35013.fields["_y"]; + s.tmp_0 = r0 = s.s___146937; + r0 = s.s___146937.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___35120); + r0 = (s.tmp_2 + s.stepY___147044); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___35013.fields["flags"]; + r0 = s.s___146937.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -39879,20 +39891,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__P20809_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P132729_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___35013; + s.tmp_4.arg1 = s.s___146937; s.callLocIdx = 571; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; - s.tmp_0 = r0 = s.tileMap___34931; + s.tmp_0 = r0 = s.tileMap___146855; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 33; continue; } r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = s.tileMap___34931.fields["_map"]; + r0 = s.tileMap___146855.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -39906,10 +39918,10 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 35; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P22459_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P134379_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___35011; - s.tmp_6.arg2 = s.tileMap___34931; + s.tmp_6.arg1 = s.ms___146935; + s.tmp_6.arg2 = s.tileMap___146855; s.callLocIdx = 573; s.pc = 59; return s.tmp_6; case 59: r0 = s.retval; @@ -39917,70 +39929,70 @@ switch (step) { case 36: case 37: case 38: - s.tmp_2 = Fx_abs__P18868_mk(s); - r0 = s.ms___35011.fields["dx"]; + s.tmp_2 = Fx_abs__P130788_mk(s); + r0 = s.ms___146935.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___20878); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___132798); 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__P18868_mk(s); - r0 = s.ms___35011.fields["dy"]; + s.tmp_4 = Fx_abs__P130788_mk(s); + r0 = s.ms___146935.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___20878); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___132798); 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___35006, s.ms___35011); + r0 = pxsim_Array__push(s.remainingMovers___146930, s.ms___146935); case 41: case 42: - r0 = (s.unnamed253___U14 + 1); - s.unnamed253___U14 = (r0); + r0 = (s.unnamed1121___U14 + 1); + s.unnamed1121___U14 = (r0); { step = 4; continue; } case 43: - s.unnamed252___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P22458_mk(s); + s.unnamed1120___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P134378_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___34999; - s.tmp_0.arg2 = s.overlapHandlers___34977; + s.tmp_0.arg1 = s.currMovers___146923; + s.tmp_0.arg2 = s.overlapHandlers___146901; s.callLocIdx = 576; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___34999); + r0 = pxsim_Array__length(s.currMovers___146923); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___34999); + r0 = pxsim_Array_.pop(s.currMovers___146923); { step = 44; continue; } case 45: - r0 = (s.count___34989 + 1); - s.count___34989 = (r0); + r0 = (s.count___146913 + 1); + s.count___146913 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_move__P132813.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__P20893_mk(s) { +function ArcadePhysicsEngine_move__P132813_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P20893, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P132813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39994,24 +40006,24 @@ function ArcadePhysicsEngine_move__P20893_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: 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, + dtf___146841: undefined, + dt2___146848: undefined, + scene___146852: undefined, + tileMap___146855: undefined, + movingSprites___146858: undefined, + MAX_STEP_COUNT___146889: undefined, + overlapHandlers___146901: undefined, + selected___146908: undefined, + buffers___146909: undefined, + count___146913: undefined, + currMovers___146923: undefined, + remainingMovers___146930: undefined, + ms___146935: undefined, + unnamed1120___U13: undefined, + unnamed1121___U14: undefined, + s___146937: undefined, + stepX___147030: undefined, + stepY___147044: undefined, arg0: undefined, arg1: undefined, } } @@ -40020,7 +40032,7 @@ function ArcadePhysicsEngine_move__P20893_mk(s) { -function inline__P34936(s) { +function inline__P146860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40034,7 +40046,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P22457_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P134377_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -40045,12 +40057,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146860.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__P34936_mk(s) { +function inline__P146860_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34936, depth: s.depth + 1, + parent: s, fn: inline__P146860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40060,7 +40072,7 @@ function inline__P34936_mk(s) { -function inline__P34948(s) { +function inline__P146872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40074,7 +40086,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P20737_mk(s); + s.tmp_1 = Sprite_vx__P132657_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 548; s.pc = 5; return s.tmp_1; case 5: @@ -40085,7 +40097,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P20739_mk(s); + s.tmp_2 = Sprite_vy__P132659_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 549; s.pc = 6; return s.tmp_2; case 6: @@ -40095,7 +40107,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P20792_mk(s); + s.tmp_4 = Sprite_clearObstacles__P132712_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 550; s.pc = 7; return s.tmp_4; case 7: @@ -40106,12 +40118,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P146872.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__P34948_mk(s) { +function inline__P146872_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P34948, depth: s.depth + 1, + parent: s, fn: inline__P146872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40125,7 +40137,7 @@ function inline__P34948_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P22458(s) { +function ArcadePhysicsEngine_spriteCollisions__P134378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40135,18 +40147,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.ms___147145 = undefined; + s.unnamed1122___U1 = undefined; + s.unnamed1123___U2 = undefined; + s.sprite___147147 = undefined; + s.overSprites___147154 = undefined; + s.overlapper___147162 = undefined; + s.unnamed1124___U6 = undefined; + s.unnamed1125___U7 = undefined; + s.thisKind___147168 = undefined; + s.otherKind___147172 = undefined; + s.higher___147185 = undefined; + s.lower___147194 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40154,7 +40166,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -40166,20 +40178,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___35221 = (undefined); - s.unnamed254___U1 = (s.arg1); - s.unnamed255___U2 = (0); + s.ms___147145 = (undefined); + s.unnamed1122___U1 = (s.arg1); + s.unnamed1123___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed255___U2; - r0 = pxsim_Array__length(s.unnamed254___U1); + s.tmp_0 = r0 = s.unnamed1123___U2; + r0 = pxsim_Array__length(s.unnamed1122___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - 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"]; + r0 = pxsim_Array__getAt(s.unnamed1122___U1, s.unnamed1123___U2); + s.ms___147145 = (r0); + r0 = s.ms___147145.fields["sprite"]; + s.sprite___147147 = (r0); + r0 = s.sprite___147147.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 515); s.tmp_0 = r0; @@ -40188,27 +40200,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P20805_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P132725_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___35221.fields["sprite"]; + r0 = s.ms___147145.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 614; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___35230 = (r0); - s.overlapper___35238 = (undefined); - s.unnamed256___U6 = (s.overSprites___35230); - s.unnamed257___U7 = (0); + s.overSprites___147154 = (r0); + s.overlapper___147162 = (undefined); + s.unnamed1124___U6 = (s.overSprites___147154); + s.unnamed1125___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed257___U7; - r0 = pxsim_Array__length(s.unnamed256___U6); + s.tmp_0 = r0 = s.unnamed1125___U7; + r0 = pxsim_Array__length(s.unnamed1124___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed256___U6, s.unnamed257___U7); - s.overlapper___35238 = (r0); - r0 = s.overlapper___35238.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed1124___U6, s.unnamed1125___U7); + s.overlapper___147162 = (r0); + r0 = s.overlapper___147162.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -40217,13 +40229,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - 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"]; + r0 = s.sprite___147147.fields["_kind"]; + s.thisKind___147168 = (r0); + r0 = s.overlapper___147162.fields["_kind"]; + s.otherKind___147172 = (r0); + r0 = s.sprite___147147.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___35248, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___147172, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -40232,37 +40244,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___35223.fields["id"]; + r0 = s.sprite___147147.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___35238.fields["id"]; + r0 = s.overlapper___147162.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___35223; + r0 = s.sprite___147147; { step = 12; continue; } case 11: - r0 = s.overlapper___35238; + r0 = s.overlapper___147162; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___35261 = (s.tmp_6); - r0 = (s.higher___35261 === s.sprite___35223); + s.higher___147185 = (s.tmp_6); + r0 = (s.higher___147185 === s.sprite___147147); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___35238; + r0 = s.overlapper___147162; { step = 14; continue; } case 13: - r0 = s.sprite___35223; + r0 = s.sprite___147147; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___35270 = (s.tmp_1); - r0 = s.higher___35261.fields["_overlappers"]; + s.lower___147194 = (s.tmp_1); + r0 = s.higher___147185.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___35270.fields["id"]; + r0 = s.lower___147194.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -40270,19 +40282,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__P35290); + r0 = pxsim_pxtcore_mkAction(2, inline__P147214); s.tmp_4 = r0; - 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); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___147168); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___147172); + r0 = pxsim_pxtcore_mkAction(5, inline__P147238); s.tmp_5 = r0; - 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); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___147185); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___147194); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___147147); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___147162); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___147168); + s.tmp_6 = helpers_arrayForEach__P130735_mk(s); + s.tmp_7 = helpers_arrayFilter__P130736_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 +40308,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed257___U7 + 1); - s.unnamed257___U7 = (r0); + r0 = (s.unnamed1125___U7 + 1); + s.unnamed1125___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed256___U6 = (undefined); + s.unnamed1124___U6 = (undefined); case 19: - r0 = (s.unnamed255___U2 + 1); - s.unnamed255___U2 = (r0); + r0 = (s.unnamed1123___U2 + 1); + s.unnamed1123___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed254___U1 = (undefined); + s.unnamed1122___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_spriteCollisions__P134378.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__P22458_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P134378_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P22458, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P134378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40327,18 +40339,18 @@ function ArcadePhysicsEngine_spriteCollisions__P22458_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: 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, + ms___147145: undefined, + unnamed1122___U1: undefined, + unnamed1123___U2: undefined, + sprite___147147: undefined, + overSprites___147154: undefined, + overlapper___147162: undefined, + unnamed1124___U6: undefined, + unnamed1125___U7: undefined, + thisKind___147168: undefined, + otherKind___147172: undefined, + higher___147185: undefined, + lower___147194: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40348,7 +40360,7 @@ function ArcadePhysicsEngine_spriteCollisions__P22458_mk(s) { -function inline__P35290(s) { +function inline__P147214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40405,12 +40417,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P147214.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__P35290_mk(s) { +function inline__P147214_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35290, depth: s.depth + 1, + parent: s, fn: inline__P147214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40428,7 +40440,7 @@ function inline__P35290_mk(s) { -function inline__P35314(s) { +function inline__P147238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40447,7 +40459,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__P35324); + r0 = pxsim_pxtcore_mkAction(6, inline__P147248); 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 +40472,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P147238.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__P35314_mk(s) { +function inline__P147238_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35314, depth: s.depth + 1, + parent: s, fn: inline__P147238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40476,7 +40488,7 @@ function inline__P35314_mk(s) { -function inline__P35324(s) { +function inline__P147248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40552,12 +40564,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P35324.info = {"start":11276,"length":499,"line":355,"column":50,"endLine":363,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P147248.info = {"start":11276,"length":499,"line":355,"column":50,"endLine":363,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P35324_mk(s) { +function inline__P147248_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35324, depth: s.depth + 1, + parent: s, fn: inline__P147248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40578,7 +40590,7 @@ function inline__P35324_mk(s) { -function sprites_SpriteMap_overlaps__P20805(s) { +function sprites_SpriteMap_overlaps__P132725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40588,47 +40600,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___35358 = undefined; - s.o___35362 = undefined; + s.n___147282 = undefined; + s.o___147286 = 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__C20802_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P20804_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P132724_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___35358 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P35364); + s.n___147282 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P147288); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P18816_mk(s); - s.tmp_1.arg0 = s.n___35358; + s.tmp_1 = helpers_arrayFilter__P130736_mk(s); + s.tmp_1.arg0 = s.n___147282; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 490; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___35362 = (r0); - r0 = s.o___35362; + s.o___147286 = (r0); + r0 = s.o___147286; return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteMap_overlaps__P132725.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__P20805_mk(s) { +function sprites_SpriteMap_overlaps__P132725_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P20805, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P132725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___35358: undefined, - o___35362: undefined, + n___147282: undefined, + o___147286: undefined, arg0: undefined, arg1: undefined, } } @@ -40637,7 +40649,7 @@ function sprites_SpriteMap_overlaps__P20805_mk(s) { -function inline__P35364(s) { +function inline__P147288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40651,7 +40663,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P20788_mk(s); + s.tmp_0 = Sprite_overlapsWith__P132708_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 +40672,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +inline__P147288.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__P35364_mk(s) { +function inline__P147288_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P35364, depth: s.depth + 1, + parent: s, fn: inline__P147288, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40675,7 +40687,7 @@ function inline__P35364_mk(s) { -function sprites_SpriteMap_neighbors__P20804(s) { +function sprites_SpriteMap_neighbors__P132724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40685,112 +40697,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___35406 = undefined; - s.layer___35408 = undefined; + s.n___147330 = undefined; + s.layer___147332 = 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__C20802_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___35406 = (r0); + s.n___147330 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___35408 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22436_mk(s); + s.layer___147332 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P134356_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P20770_mk(s); + s.tmp_1 = Sprite_left__P132690_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__P20774_mk(s); + s.tmp_2 = Sprite_top__P132694_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___35408; - s.tmp_0.arg4 = s.n___35406; + s.tmp_0.arg3 = s.layer___147332; + s.tmp_0.arg4 = s.n___147330; s.callLocIdx = 478; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22436_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P134356_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P20770_mk(s); + s.tmp_1 = Sprite_left__P132690_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__P20776_mk(s); + s.tmp_2 = Sprite_bottom__P132696_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___35408; - s.tmp_0.arg4 = s.n___35406; + s.tmp_0.arg3 = s.layer___147332; + s.tmp_0.arg4 = s.n___147330; s.callLocIdx = 481; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22436_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P134356_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P20772_mk(s); + s.tmp_1 = Sprite_right__P132692_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__P20774_mk(s); + s.tmp_2 = Sprite_top__P132694_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___35408; - s.tmp_0.arg4 = s.n___35406; + s.tmp_0.arg3 = s.layer___147332; + s.tmp_0.arg4 = s.n___147330; s.callLocIdx = 484; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22436_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P134356_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P20772_mk(s); + s.tmp_1 = Sprite_right__P132692_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__P20776_mk(s); + s.tmp_2 = Sprite_bottom__P132696_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___35408; - s.tmp_0.arg4 = s.n___35406; + s.tmp_0.arg3 = s.layer___147332; + s.tmp_0.arg4 = s.n___147330; s.callLocIdx = 487; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___35406, s.arg1); - r0 = s.n___35406; + r0 = pxsim_Array_.removeElement(s.n___147330, s.arg1); + r0 = s.n___147330; return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteMap_neighbors__P132724.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__P20804_mk(s) { +function sprites_SpriteMap_neighbors__P132724_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P20804, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P132724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___35406: undefined, - layer___35408: undefined, + n___147330: undefined, + layer___147332: undefined, arg0: undefined, arg1: undefined, } } @@ -40799,7 +40811,7 @@ function sprites_SpriteMap_neighbors__P20804_mk(s) { -function sprites_SpriteMap_mergeAtKey__P22436(s) { +function sprites_SpriteMap_mergeAtKey__P134356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40809,11 +40821,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___35449 = undefined; - s.bucket___35454 = undefined; - s.sprite___35461 = undefined; - s.unnamed250___U3 = undefined; - s.unnamed251___U4 = undefined; + s.k___147373 = undefined; + s.bucket___147378 = undefined; + s.sprite___147385 = undefined; + s.unnamed1118___U3 = undefined; + s.unnamed1119___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40823,33 +40835,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P22434_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P134354_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___35449 = (r0); + s.k___147373 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___35449); - s.bucket___35454 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___35454); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___147373); + s.bucket___147378 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___147378); if (!r0) { step = 7; continue; } - s.sprite___35461 = (undefined); - s.unnamed250___U3 = (s.bucket___35454); - s.unnamed251___U4 = (0); + s.sprite___147385 = (undefined); + s.unnamed1118___U3 = (s.bucket___147378); + s.unnamed1119___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed251___U4; - r0 = pxsim_Array__length(s.unnamed250___U3); + s.tmp_0 = r0 = s.unnamed1119___U4; + r0 = pxsim_Array__length(s.unnamed1118___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed250___U3, s.unnamed251___U4); - s.sprite___35461 = (r0); - r0 = s.sprite___35461.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed1118___U3, s.unnamed1119___U4); + s.sprite___147385 = (r0); + r0 = s.sprite___147385.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -40858,7 +40870,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___35461, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___147385, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -40866,26 +40878,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___35461); + r0 = pxsim_Array__push(s.arg4, s.sprite___147385); case 4: case 5: - r0 = (s.unnamed251___U4 + 1); - s.unnamed251___U4 = (r0); + r0 = (s.unnamed1119___U4 + 1); + s.unnamed1119___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed250___U3 = (undefined); + s.unnamed1118___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteMap_mergeAtKey__P134356.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__P22436_mk(s) { +function sprites_SpriteMap_mergeAtKey__P134356_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P22436, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P134356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40893,11 +40905,11 @@ function sprites_SpriteMap_mergeAtKey__P22436_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___35449: undefined, - bucket___35454: undefined, - sprite___35461: undefined, - unnamed250___U3: undefined, - unnamed251___U4: undefined, + k___147373: undefined, + bucket___147378: undefined, + sprite___147385: undefined, + unnamed1118___U3: undefined, + unnamed1119___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40909,7 +40921,7 @@ function sprites_SpriteMap_mergeAtKey__P22436_mk(s) { -function sprites_SpriteMap_key__P22434(s) { +function sprites_SpriteMap_key__P134354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40919,8 +40931,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___35482 = undefined; - s.yi___35494 = undefined; + s.xi___147406 = undefined; + s.yi___147418 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40928,8 +40940,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P18830_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P130750_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -40940,8 +40952,8 @@ switch (step) { s.callLocIdx = 502; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___35482 = (r0); - s.tmp_0 = Math_clamp__P18830_mk(s); + s.xi___147406 = (r0); + s.tmp_0 = Math_clamp__P130750_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -40952,28 +40964,28 @@ switch (step) { s.callLocIdx = 503; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___35494 = (r0); - s.tmp_0 = r0 = s.xi___35482; + s.yi___147418 = (r0); + s.tmp_0 = r0 = s.xi___147406; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___35494 * s.tmp_2); + r0 = (s.yi___147418 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteMap_key__P134354.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__P22434_mk(s) { +function sprites_SpriteMap_key__P134354_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P22434, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P134354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___35482: undefined, - yi___35494: undefined, + xi___147406: undefined, + yi___147418: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40983,7 +40995,7 @@ function sprites_SpriteMap_key__P22434_mk(s) { -function Sprite_overlapsWith__P20788(s) { +function Sprite_overlapsWith__P132708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40999,7 +41011,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -41032,13 +41044,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P20770_mk(s); + s.tmp_9 = Sprite_left__P132690_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__P20770_mk(s); + s.tmp_11 = Sprite_left__P132690_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 439; s.pc = 9; return s.tmp_11; case 9: @@ -41046,13 +41058,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P20774_mk(s); + s.tmp_14 = Sprite_top__P132694_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__P20774_mk(s); + s.tmp_16 = Sprite_top__P132694_mk(s); s.tmp_16.arg0 = s.arg1; s.callLocIdx = 441; s.pc = 11; return s.tmp_16; case 11: @@ -41065,12 +41077,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_overlapsWith__P132708.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__P20788_mk(s) { +function Sprite_overlapsWith__P132708_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P20788, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P132708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41097,7 +41109,7 @@ function Sprite_overlapsWith__P20788_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P22457(s) { +function ArcadePhysicsEngine_createMovingSprite__P134377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41107,16 +41119,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.ovx___147620 = undefined; + s.ovy___147625 = undefined; + s.fx___147652 = undefined; + s.c___147659 = undefined; + s.fy___147702 = undefined; + s.c___147709 = undefined; + s.dx___147748 = undefined; + s.dy___147757 = undefined; + s.xStep___147766 = undefined; + s.yStep___147768 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41125,23 +41137,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P22462_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P134382_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___35696 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P22462_mk(s); + s.ovx___147620 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P134382_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___35701 = (r0); + s.ovy___147625 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -41179,21 +41191,21 @@ switch (step) { r0 = (s.tmp_3 >> 8); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fx___35728 = (r0); + s.fx___147652 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___35728); - s.c___35735 = (r0); - r0 = (s.c___35735 < 0); + r0 = (s.tmp_0 - s.fx___147652); + s.c___147659 = (r0); + r0 = (s.c___147659 < 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__P18869_mk(s); + s.tmp_3 = Fx_min__P130789_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___35728); + r0 = (s.tmp_4 + s.fx___147652); s.tmp_3.arg1 = r0; s.callLocIdx = 586; s.pc = 27; return s.tmp_3; case 27: @@ -41202,16 +41214,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___35735 > 0); + r0 = (s.c___147659 > 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__P18870_mk(s); + s.tmp_3 = Fx_max__P130790_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___35728); + r0 = (s.tmp_4 - s.fx___147652); s.tmp_3.arg1 = r0; s.callLocIdx = 588; s.pc = 28; return s.tmp_3; case 28: @@ -41257,21 +41269,21 @@ switch (step) { r0 = (s.tmp_3 >> 8); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fy___35778 = (r0); + s.fy___147702 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___35778); - s.c___35785 = (r0); - r0 = (s.c___35785 < 0); + r0 = (s.tmp_0 - s.fy___147702); + s.c___147709 = (r0); + r0 = (s.c___147709 < 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__P18869_mk(s); + s.tmp_3 = Fx_min__P130789_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___35778); + r0 = (s.tmp_4 + s.fy___147702); s.tmp_3.arg1 = r0; s.callLocIdx = 596; s.pc = 29; return s.tmp_3; case 29: @@ -41280,16 +41292,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___35785 > 0); + r0 = (s.c___147709 > 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__P18869_mk(s); + s.tmp_3 = Fx_min__P130789_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___35778); + r0 = (s.tmp_4 - s.fy___147702); s.tmp_3.arg1 = r0; s.callLocIdx = 598; s.pc = 30; return s.tmp_3; case 30: @@ -41305,7 +41317,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P22462_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P134382_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -41315,7 +41327,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__P22462_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P134382_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -41326,29 +41338,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___35696); + r0 = (s.tmp_2 + s.ovx___147620); 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___35824 = (r0); + s.dx___147748 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovy___35701); + r0 = (s.tmp_2 + s.ovy___147625); 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___35833 = (r0); - s.xStep___35842 = (s.dx___35824); - s.yStep___35844 = (s.dy___35833); + s.dy___147757 = (r0); + s.xStep___147766 = (s.dx___147748); + s.yStep___147768 = (s.dy___147757); case 17: - s.tmp_2 = Fx_abs__P18868_mk(s); - s.tmp_2.arg0 = s.xStep___35842; + s.tmp_2 = Fx_abs__P130788_mk(s); + s.tmp_2.arg0 = s.xStep___147766; s.callLocIdx = 607; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -41362,8 +41374,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P18868_mk(s); - s.tmp_5.arg0 = s.yStep___35844; + s.tmp_5 = Fx_abs__P130788_mk(s); + s.tmp_5.arg0 = s.yStep___147768; s.callLocIdx = 608; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -41376,8 +41388,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P18868_mk(s); - s.tmp_10.arg0 = s.xStep___35842; + s.tmp_10 = Fx_abs__P130788_mk(s); + s.tmp_10.arg0 = s.xStep___147766; s.callLocIdx = 609; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -41388,12 +41400,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___35842, 2); - s.xStep___35842 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___147766, 2); + s.xStep___147766 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P18868_mk(s); - s.tmp_2.arg0 = s.yStep___35844; + s.tmp_2 = Fx_abs__P130788_mk(s); + s.tmp_2.arg0 = s.yStep___147768; s.callLocIdx = 611; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -41404,25 +41416,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___35844, 2); - s.yStep___35844 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___147768, 2); + s.yStep___147768 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C20879_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C132799_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P20880_mk(s); + s.tmp_1 = MovingSprite_constructor__P132800_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___35824; - s.tmp_1.arg5 = s.dy___35833; - s.tmp_1.arg6 = s.xStep___35842; - s.tmp_1.arg7 = s.yStep___35844; + s.tmp_1.arg4 = s.dx___147748; + s.tmp_1.arg5 = s.dy___147757; + s.tmp_1.arg6 = s.xStep___147766; + s.tmp_1.arg7 = s.yStep___147768; s.callLocIdx = 613; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -41430,12 +41442,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_createMovingSprite__P134377.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__P22457_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P134377_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P22457, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P134377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41449,16 +41461,16 @@ function ArcadePhysicsEngine_createMovingSprite__P22457_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: 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, + ovx___147620: undefined, + ovy___147625: undefined, + fx___147652: undefined, + c___147659: undefined, + fy___147702: undefined, + c___147709: undefined, + dx___147748: undefined, + dy___147757: undefined, + xStep___147766: undefined, + yStep___147768: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41469,7 +41481,7 @@ function ArcadePhysicsEngine_createMovingSprite__P22457_mk(s) { -function ArcadePhysicsEngine_constrain__P22462(s) { +function ArcadePhysicsEngine_constrain__P134382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41485,9 +41497,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P18870_mk(s); - s.tmp_1 = Fx_min__P18869_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P130790_mk(s); + s.tmp_1 = Fx_min__P130789_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -41503,12 +41515,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_constrain__P134382.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__P22462_mk(s) { +function ArcadePhysicsEngine_constrain__P134382_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P22462, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P134382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41520,7 +41532,7 @@ function ArcadePhysicsEngine_constrain__P22462_mk(s) { -function Fx_max__P18870(s) { +function Fx_max__P130790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41551,12 +41563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_max__P130790.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__P18870_mk(s) { +function Fx_max__P130790_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P18870, depth: s.depth + 1, + parent: s, fn: Fx_max__P130790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41567,7 +41579,7 @@ function Fx_max__P18870_mk(s) { -function Fx_compare__P18867(s) { +function Fx_compare__P130787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41586,12 +41598,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_compare__P130787.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__P18867_mk(s) { +function Fx_compare__P130787_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P18867, depth: s.depth + 1, + parent: s, fn: Fx_compare__P130787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -41601,7 +41613,7 @@ function Fx_compare__P18867_mk(s) { -function sprites_SpriteMap_insertAABB__P20809(s) { +function sprites_SpriteMap_insertAABB__P132729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41611,31 +41623,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___35514 = undefined; - s.top___35517 = undefined; - s.xn___35520 = undefined; - s.yn___35531 = undefined; - s.x___35542 = undefined; - s.y___35547 = undefined; + s.left___147438 = undefined; + s.top___147441 = undefined; + s.xn___147444 = undefined; + s.yn___147455 = undefined; + s.x___147466 = undefined; + s.y___147471 = 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__C20802_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P20770_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P132690_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___35514 = (r0); - s.tmp_0 = Sprite_top__P20774_mk(s); + s.left___147438 = (r0); + s.tmp_0 = Sprite_top__P132694_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___35517 = (r0); + s.top___147441 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -41649,7 +41661,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___35520 = (r0); + s.xn___147444 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -41663,30 +41675,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___35531 = (r0); - s.x___35542 = (0); + s.yn___147455 = (r0); + s.x___147466 = (0); case 1: - r0 = (s.x___35542 <= s.xn___35520); + r0 = (s.x___147466 <= s.xn___147444); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___35547 = (0); + s.y___147471 = (0); case 2: - r0 = (s.y___35547 <= s.yn___35531); + r0 = (s.y___147471 <= s.yn___147455); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P22435_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P134355_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___35514; - s.tmp_4 = Math_min__P18834_mk(s); + s.tmp_2 = r0 = s.left___147438; + s.tmp_4 = Math_min__P130754_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___35542 * s.tmp_6); + r0 = (s.x___147466 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 510; s.pc = 8; return s.tmp_4; case 8: @@ -41694,15 +41706,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___35517; - s.tmp_9 = Math_min__P18834_mk(s); + s.tmp_7 = r0 = s.top___147441; + s.tmp_9 = Math_min__P130754_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___35547 * s.tmp_11); + r0 = (s.y___147471 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 512; s.pc = 9; return s.tmp_9; case 9: @@ -41714,24 +41726,24 @@ switch (step) { s.callLocIdx = 513; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___35547 + 1); - s.y___35547 = (r0); + r0 = (s.y___147471 + 1); + s.y___147471 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___35542 + 1); - s.x___35542 = (r0); + r0 = (s.x___147466 + 1); + s.x___147466 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteMap_insertAABB__P132729.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__P20809_mk(s) { +function sprites_SpriteMap_insertAABB__P132729_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P20809, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P132729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41745,12 +41757,12 @@ function sprites_SpriteMap_insertAABB__P20809_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___35514: undefined, - top___35517: undefined, - xn___35520: undefined, - yn___35531: undefined, - x___35542: undefined, - y___35547: undefined, + left___147438: undefined, + top___147441: undefined, + xn___147444: undefined, + yn___147455: undefined, + x___147466: undefined, + y___147471: undefined, arg0: undefined, arg1: undefined, } } @@ -41759,7 +41771,7 @@ function sprites_SpriteMap_insertAABB__P20809_mk(s) { -function sprites_SpriteMap_insertAtKey__P22435(s) { +function sprites_SpriteMap_insertAtKey__P134355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41769,8 +41781,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___35582 = undefined; - s.bucket___35587 = undefined; + s.k___147506 = undefined; + s.bucket___147511 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41779,20 +41791,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P22434_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P134354_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___35582 = (r0); + s.k___147506 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___35582); - s.bucket___35587 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___35587); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___147506); + s.bucket___147511 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___147511); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -41800,40 +41812,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___35582; + s.tmp_3 = r0 = s.k___147506; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___35587 = (s.tmp_4); + s.bucket___147511 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___35587, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___147511, 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___35587, s.arg3); + r0 = pxsim_Array__push(s.bucket___147511, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteMap_insertAtKey__P134355.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__P22435_mk(s) { +function sprites_SpriteMap_insertAtKey__P134355_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P22435, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P134355, 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___35582: undefined, - bucket___35587: undefined, + k___147506: undefined, + bucket___147511: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41844,7 +41856,7 @@ function sprites_SpriteMap_insertAtKey__P22435_mk(s) { -function sprites_SpriteMap_clear__P20808(s) { +function sprites_SpriteMap_clear__P132728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41859,7 +41871,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -41868,12 +41880,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteMap_clear__P132728.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__P20808_mk(s) { +function sprites_SpriteMap_clear__P132728_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P20808, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P132728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41884,7 +41896,7 @@ function sprites_SpriteMap_clear__P20808_mk(s) { -function sprites_SpriteMap_resizeBuckets__P20807(s) { +function sprites_SpriteMap_resizeBuckets__P132727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41894,107 +41906,107 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.maxWidth___147543 = undefined; + s.maxHeight___147544 = undefined; + s.sprite___147546 = undefined; + s.unnamed1116___U3 = undefined; + s.unnamed1117___U4 = undefined; + s.tMap___147562 = undefined; + s.areaWidth___147566 = undefined; + s.areaHeight___147573 = 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__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); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); + s.maxWidth___147543 = (0); + s.maxHeight___147544 = (0); + s.sprite___147546 = (undefined); + s.unnamed1116___U3 = (s.arg1); + s.unnamed1117___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed249___U4; - r0 = pxsim_Array__length(s.unnamed248___U3); + s.tmp_0 = r0 = s.unnamed1117___U4; + r0 = pxsim_Array__length(s.unnamed1116___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed248___U3, s.unnamed249___U4); - s.sprite___35622 = (r0); - r0 = s.sprite___35622.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed1116___U3, s.unnamed1117___U4); + s.sprite___147546 = (r0); + r0 = s.sprite___147546.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___35619); + r0 = (s.tmp_3 > s.maxWidth___147543); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___35622.fields["_image"]; + r0 = s.sprite___147546.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___35619 = (r0); + s.maxWidth___147543 = (r0); case 2: case 3: - r0 = s.sprite___35622.fields["_image"]; + r0 = s.sprite___147546.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___35620); + r0 = (s.tmp_1 > s.maxHeight___147544); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___35622.fields["_image"]; + r0 = s.sprite___147546.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___35620 = (r0); + s.maxHeight___147544 = (r0); case 4: case 5: - r0 = (s.unnamed249___U4 + 1); - s.unnamed249___U4 = (r0); + r0 = (s.unnamed1117___U4 + 1); + s.unnamed1117___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed248___U3 = (undefined); - s.tmp_0 = game_currentScene__P21240_mk(s); + s.unnamed1116___U3 = (undefined); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 497; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___35638 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___35638); + s.tMap___147562 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___147562); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P21031_mk(s); - s.tmp_0.arg0 = s.tMap___35638; + s.tmp_0 = tiles_TileMap_areaWidth__P132951_mk(s); + s.tmp_0.arg0 = s.tMap___147562; 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___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___35642 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___35638); + s.areaWidth___147566 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___147562); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P21032_mk(s); - s.tmp_0.arg0 = s.tMap___35638; + s.tmp_0 = tiles_TileMap_areaHeight__P132952_mk(s); + s.tmp_0.arg0 = s.tMap___147562; 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___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___35649 = (s.tmp_1); + s.areaHeight___147573 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P18830_mk(s); + s.tmp_2 = Math_clamp__P130750_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___35642 >> 2); + r0 = (s.areaWidth___147566 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___35619 * 2); + r0 = (s.maxWidth___147543 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 500; s.pc = 14; return s.tmp_2; case 14: @@ -42002,11 +42014,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__P18830_mk(s); + s.tmp_2 = Math_clamp__P130750_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___35649 >> 2); + r0 = (s.areaHeight___147573 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___35620 * 2); + r0 = (s.maxHeight___147544 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 501; s.pc = 15; return s.tmp_2; case 15: @@ -42016,25 +42028,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___35649, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___147573, 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___35642, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___147566, 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__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"]} +sprites_SpriteMap_resizeBuckets__P132727.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__P20807_mk(s) { +function sprites_SpriteMap_resizeBuckets__P132727_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P20807, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P132727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42042,14 +42054,14 @@ function sprites_SpriteMap_resizeBuckets__P20807_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: 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, + maxWidth___147543: undefined, + maxHeight___147544: undefined, + sprite___147546: undefined, + unnamed1116___U3: undefined, + unnamed1117___U4: undefined, + tMap___147562: undefined, + areaWidth___147566: undefined, + areaHeight___147573: undefined, arg0: undefined, arg1: undefined, } } @@ -42058,7 +42070,7 @@ function sprites_SpriteMap_resizeBuckets__P20807_mk(s) { -function Sprite_clearObstacles__P20792(s) { +function Sprite_clearObstacles__P132712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42073,7 +42085,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -42082,12 +42094,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_clearObstacles__P132712.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__P20792_mk(s) { +function Sprite_clearObstacles__P132712_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P20792, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P132712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42098,7 +42110,7 @@ function Sprite_clearObstacles__P20792_mk(s) { -function Fx_idiv__P18866(s) { +function Fx_idiv__P130786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42117,12 +42129,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_idiv__P130786.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__P18866_mk(s) { +function Fx_idiv__P130786_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P18866, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P130786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42132,7 +42144,7 @@ function Fx_idiv__P18866_mk(s) { -function Fx_div__P18865(s) { +function Fx_div__P130785(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42153,12 +42165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Fx_div__P130785.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__P18865_mk(s) { +function Fx_div__P130785_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P18865, depth: s.depth + 1, + parent: s, fn: Fx_div__P130785, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42169,7 +42181,7 @@ function Fx_div__P18865_mk(s) { -function ArcadePhysicsEngine_draw__P20892(s) { +function ArcadePhysicsEngine_draw__P132812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42184,8 +42196,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P20806_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P132726_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 541; s.pc = 1; return s.tmp_0; @@ -42195,12 +42207,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_draw__P132812.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__P20892_mk(s) { +function ArcadePhysicsEngine_draw__P132812_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P20892, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P132812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42210,7 +42222,7 @@ function ArcadePhysicsEngine_draw__P20892_mk(s) { -function sprites_SpriteMap_draw__P20806(s) { +function sprites_SpriteMap_draw__P132726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42220,70 +42232,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___35922 = undefined; - s.y___35928 = undefined; - s.left___35934 = undefined; - s.top___35939 = undefined; - s.k___35944 = undefined; - s.b___35949 = undefined; + s.x___147846 = undefined; + s.y___147852 = undefined; + s.left___147858 = undefined; + s.top___147863 = undefined; + s.k___147868 = undefined; + s.b___147873 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20802_VT)) failedCast(r0); - s.x___35922 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C132722_VT)) failedCast(r0); + s.x___147846 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___35922 < s.tmp_1); + r0 = (s.x___147846 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___35928 = (0); + s.y___147852 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___35928 < s.tmp_1); + r0 = (s.y___147852 < 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___35922 * s.tmp_2); - s.left___35934 = (r0); + r0 = (s.x___147846 * s.tmp_2); + s.left___147858 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___35928 * s.tmp_0); - s.top___35939 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P22434_mk(s); + r0 = (s.y___147852 * s.tmp_0); + s.top___147863 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P134354_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___35934; - s.tmp_0.arg2 = s.top___35939; + s.tmp_0.arg1 = s.left___147858; + s.tmp_0.arg2 = s.top___147863; s.callLocIdx = 491; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___35944 = (r0); + s.k___147868 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___35944); - s.b___35949 = (r0); - s.tmp_0 = r0 = s.b___35949; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___147868); + s.b___147873 = (r0); + s.tmp_0 = r0 = s.b___147873; 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___35949); + r0 = pxsim_Array__length(s.b___147873); 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__P20439_mk(s); - s.tmp_2.arg0 = globals.screen___20510; - s.tmp_2.arg1 = s.left___35934; - s.tmp_2.arg2 = s.top___35939; + s.tmp_2 = helpers_imageDrawRect__P132359_mk(s); + s.tmp_2.arg0 = globals.screen___132430; + s.tmp_2.arg1 = s.left___147858; + s.tmp_2.arg2 = s.top___147863; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -42294,34 +42306,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___35928 + 1); - s.y___35928 = (r0); + r0 = (s.y___147852 + 1); + s.y___147852 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___35922 + 1); - s.x___35922 = (r0); + r0 = (s.x___147846 + 1); + s.x___147846 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +sprites_SpriteMap_draw__P132726.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__P20806_mk(s) { +function sprites_SpriteMap_draw__P132726_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P20806, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P132726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___35922: undefined, - y___35928: undefined, - left___35934: undefined, - top___35939: undefined, - k___35944: undefined, - b___35949: undefined, + x___147846: undefined, + y___147852: undefined, + left___147858: undefined, + top___147863: undefined, + k___147868: undefined, + b___147873: undefined, arg0: undefined, } } @@ -42329,7 +42341,7 @@ function sprites_SpriteMap_draw__P20806_mk(s) { -function ArcadePhysicsEngine_removeSprite__P20891(s) { +function ArcadePhysicsEngine_removeSprite__P132811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42345,7 +42357,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -42353,12 +42365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_removeSprite__P132811.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__P20891_mk(s) { +function ArcadePhysicsEngine_removeSprite__P132811_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P20891, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P132811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42369,7 +42381,7 @@ function ArcadePhysicsEngine_removeSprite__P20891_mk(s) { -function ArcadePhysicsEngine_addSprite__P20890(s) { +function ArcadePhysicsEngine_addSprite__P132810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42379,31 +42391,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___35986 = undefined; + s.tm___147910 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20881_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C132801_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__P21240_mk(s); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 539; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___35986 = (r0); - s.tmp_0 = r0 = s.tm___35986; + s.tm___147910 = (r0); + s.tmp_0 = r0 = s.tm___147910; 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__P21046_mk(s); - s.tmp_1.arg0 = s.tm___35986; + s.tmp_1 = tiles_TileMap_isOnWall__P132966_mk(s); + s.tmp_1.arg0 = s.tm___147910; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 540; s.pc = 6; return s.tmp_1; case 6: @@ -42425,12 +42437,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +ArcadePhysicsEngine_addSprite__P132810.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__P20890_mk(s) { +function ArcadePhysicsEngine_addSprite__P132810_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P20890, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P132810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42438,7 +42450,7 @@ function ArcadePhysicsEngine_addSprite__P20890_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___35986: undefined, + tm___147910: undefined, arg0: undefined, arg1: undefined, } } @@ -42447,7 +42459,7 @@ function ArcadePhysicsEngine_addSprite__P20890_mk(s) { -function scene_BackgroundLayer_constructor__P20990(s) { +function scene_BackgroundLayer_constructor__P132910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42465,9 +42477,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C20983_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C132903_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P18833_mk(s); + s.tmp_2 = Math_max__P130753_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 +42525,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_BackgroundLayer_constructor__P132910.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__P20990_mk(s) { +function scene_BackgroundLayer_constructor__P132910_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P20990, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P132910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42533,7 +42545,7 @@ function scene_BackgroundLayer_constructor__P20990_mk(s) { -function scene_Background_image__P20980(s) { +function scene_Background_image__P132900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42549,18 +42561,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C20973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C132893_VT)) failedCast(r0); r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +scene_Background_image__P132900.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__P20980_mk(s) { +function scene_Background_image__P132900_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P20980, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P132900, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42570,7 +42582,7 @@ function scene_Background_image__P20980_mk(s) { -function scene_Background_image__P20979(s) { +function scene_Background_image__P132899(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42585,7 +42597,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C20973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C132893_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -42595,9 +42607,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___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); s.tmp_6 = r0; r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; @@ -42608,13 +42620,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +scene_Background_image__P132899.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__P132899.isGetter = true; -function scene_Background_image__P20979_mk(s) { +function scene_Background_image__P132899_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P20979, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P132899, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42630,7 +42642,7 @@ function scene_Background_image__P20979_mk(s) { -function particles_ParticleSource___draw__P21392(s) { +function particles_ParticleSource___draw__P133312(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42640,18 +42652,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___36084 = undefined; - s.left___36087 = undefined; - s.top___36097 = undefined; + s.current___148008 = undefined; + s.left___148011 = undefined; + s.top___148021 = 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__C21386_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C133306_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___36084 = (r0); + s.current___148008 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -42669,7 +42681,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___36087 = (s.tmp_4); + s.left___148011 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -42687,49 +42699,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___36097 = (s.tmp_4); + s.top___148021 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___36084); + r0 = pxsim_numops_toBoolDecr(s.current___148008); if (!r0) { step = 8; continue; } - r0 = s.current___36084.fields["lifespan"]; + r0 = s.current___148008.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__P22940_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P134860_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___36084; - s.tmp_2.arg2 = s.left___36087; - s.tmp_2.arg3 = s.top___36097; + s.tmp_2.arg1 = s.current___148008; + s.tmp_2.arg2 = s.left___148011; + s.tmp_2.arg3 = s.top___148021; s.callLocIdx = 1129; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___36084.fields["next"]; - s.current___36084 = (r0); + r0 = s.current___148008.fields["next"]; + s.current___148008 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +particles_ParticleSource___draw__P133312.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__P21392_mk(s) { +function particles_ParticleSource___draw__P133312_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P21392, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P133312, 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___36084: undefined, - left___36087: undefined, - top___36097: undefined, + current___148008: undefined, + left___148011: undefined, + top___148021: undefined, arg0: undefined, arg1: undefined, } } @@ -42738,7 +42750,7 @@ function particles_ParticleSource___draw__P21392_mk(s) { -function particles_ParticleSource_drawParticle__P22940(s) { +function particles_ParticleSource_drawParticle__P134860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42756,8 +42768,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21386_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C21422_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C133306_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C133342_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -42769,7 +42781,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__C21422_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C133342_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 +42790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +particles_ParticleSource_drawParticle__P134860.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__P22940_mk(s) { +function particles_ParticleSource_drawParticle__P134860_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P22940, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P134860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42798,7 +42810,7 @@ function particles_ParticleSource_drawParticle__P22940_mk(s) { -function particles_ParticleFactory_drawParticle__P21425(s) { +function particles_ParticleFactory_drawParticle__P133345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42816,8 +42828,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C21422_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___20510; + if (!checkSubtype(r0, particles_ParticleFactory__C133342_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___132430; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -42831,12 +42843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +particles_ParticleFactory_drawParticle__P133345.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__P21425_mk(s) { +function particles_ParticleFactory_drawParticle__P133345_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P21425, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P133345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42853,7 +42865,7 @@ function particles_ParticleFactory_drawParticle__P21425_mk(s) { -function particles_ShapeFactory_createParticle__P21452(s) { +function particles_ShapeFactory_createParticle__P133372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42863,23 +42875,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___36069 = undefined; + s.p___147993 = 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__C21448_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P21438_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C133368_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P133358_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___36069 = (r0); - s.tmp_0 = r0 = s.p___36069; - s.tmp_2 = Math_FastRandom_randomRange__P21298_mk(s); + s.p___147993 = (r0); + s.tmp_0 = r0 = s.p___147993; + s.tmp_2 = Math_FastRandom_randomRange__P133218_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -42889,21 +42901,21 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___36069; + r0 = s.p___147993; return leave(s, r0) default: oops() } } } -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"]} +particles_ShapeFactory_createParticle__P133372.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__P21452_mk(s) { +function particles_ShapeFactory_createParticle__P133372_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P21452, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P133372, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___36069: undefined, + p___147993: undefined, arg0: undefined, arg1: undefined, } } @@ -42912,7 +42924,7 @@ function particles_ShapeFactory_createParticle__P21452_mk(s) { -function particles_AreaFactory_createParticle__P21438(s) { +function particles_AreaFactory_createParticle__P133358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42922,23 +42934,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___36222 = undefined; + s.p___148146 = 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__C21432_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P21428_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C133352_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P133348_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___36222 = (r0); - s.tmp_0 = r0 = s.p___36222; - s.tmp_2 = Math_FastRandom_randomRange__P21298_mk(s); + s.p___148146 = (r0); + s.tmp_0 = r0 = s.p___148146; + s.tmp_2 = Math_FastRandom_randomRange__P133218_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -42950,8 +42962,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___36222; - s.tmp_4 = Math_FastRandom_randomRange__P21298_mk(s); + s.tmp_0 = r0 = s.p___148146; + s.tmp_4 = Math_FastRandom_randomRange__P133218_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -42967,7 +42979,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___36222.fields["_x"]; + r0 = s.p___148146.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -43009,8 +43021,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___36222; - s.tmp_9 = Math_FastRandom_randomRange__P21298_mk(s); + s.tmp_5 = r0 = s.p___148146; + s.tmp_9 = Math_FastRandom_randomRange__P133218_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -43022,23 +43034,23 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___36222.fields["_y"]; + r0 = s.p___148146.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___36222; + r0 = s.p___148146; return leave(s, r0) default: oops() } } } -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"]} +particles_AreaFactory_createParticle__P133358.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__P21438_mk(s) { +function particles_AreaFactory_createParticle__P133358_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P21438, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P133358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43052,7 +43064,7 @@ function particles_AreaFactory_createParticle__P21438_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___36222: undefined, + p___148146: undefined, arg0: undefined, arg1: undefined, } } @@ -43061,7 +43073,7 @@ function particles_AreaFactory_createParticle__P21438_mk(s) { -function particles_SprayFactory_createParticle__P21428(s) { +function particles_SprayFactory_createParticle__P133348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43071,26 +43083,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___36270 = undefined; - s.angle___36274 = undefined; + s.p___148194 = undefined; + s.angle___148198 = 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__C21426_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P21424_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C133346_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P133344_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___36270 = (r0); + s.p___148194 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P21298_mk(s); - s.tmp_3.arg0 = globals.galois___22954; + s.tmp_3 = Math_FastRandom_randomRange__P133218_mk(s); + s.tmp_3.arg0 = globals.galois___134874; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -43101,9 +43113,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___36274 = (r0); - s.tmp_0 = r0 = s.p___36270; - r0 = pxsim_Array__getAt(globals.cachedSin___22949, s.angle___36274); + s.angle___148198 = (r0); + s.tmp_0 = r0 = s.p___148194; + r0 = pxsim_Array__getAt(globals.cachedSin___134869, s.angle___148198); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -43112,8 +43124,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___36270; - r0 = pxsim_Array__getAt(globals.cachedCos___22950, s.angle___36274); + s.tmp_0 = r0 = s.p___148194; + r0 = pxsim_Array__getAt(globals.cachedCos___134870, s.angle___148198); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -43122,24 +43134,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___36270; + r0 = s.p___148194; return leave(s, r0) default: oops() } } } -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"]} +particles_SprayFactory_createParticle__P133348.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__P21428_mk(s) { +function particles_SprayFactory_createParticle__P133348_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P21428, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P133348, 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___36270: undefined, - angle___36274: undefined, + p___148194: undefined, + angle___148198: undefined, arg0: undefined, arg1: undefined, } } @@ -43148,7 +43160,7 @@ function particles_SprayFactory_createParticle__P21428_mk(s) { -function scene_Camera_y__P21078(s) { +function scene_Camera_y__P132998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43163,10 +43175,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C132988_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -43174,13 +43186,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +scene_Camera_y__P132998.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__P132998.isGetter = true; -function scene_Camera_y__P21078_mk(s) { +function scene_Camera_y__P132998_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P21078, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P132998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43192,7 +43204,7 @@ function scene_Camera_y__P21078_mk(s) { -function scene_Camera_x__P21077(s) { +function scene_Camera_x__P132997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43207,10 +43219,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C132988_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -43218,13 +43230,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +scene_Camera_x__P132997.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__P132997.isGetter = true; -function scene_Camera_x__P21077_mk(s) { +function scene_Camera_x__P132997_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P21077, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P132997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43236,7 +43248,7 @@ function scene_Camera_x__P21077_mk(s) { -function Sprite_toString__P20798(s) { +function Sprite_toString__P132718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43251,7 +43263,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -43269,7 +43281,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P20733_mk(s); + s.tmp_14 = Sprite_x__P132653_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 472; s.pc = 2; return s.tmp_14; case 2: @@ -43288,7 +43300,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P20735_mk(s); + s.tmp_17 = Sprite_y__P132655_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 473; s.pc = 4; return s.tmp_17; case 4: @@ -43307,7 +43319,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P20737_mk(s); + s.tmp_20 = Sprite_vx__P132657_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 474; s.pc = 6; return s.tmp_20; case 6: @@ -43326,7 +43338,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P20739_mk(s); + s.tmp_23 = Sprite_vy__P132659_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 475; s.pc = 8; return s.tmp_23; case 8: @@ -43347,12 +43359,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_toString__P132718.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__P20798_mk(s) { +function Sprite_toString__P132718_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P20798, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P132718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43385,7 +43397,7 @@ function Sprite_toString__P20798_mk(s) { -function Sprite___update__P20786(s) { +function Sprite___update__P132706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43395,8 +43407,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___36387 = undefined; - s.tm___36392 = undefined; + s.bounce___148311 = undefined; + s.tm___148316 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43404,7 +43416,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -43426,7 +43438,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__P20796_mk(s); + s.tmp_0 = Sprite__destroyCore__P132716_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 408; s.pc = 33; return s.tmp_0; case 33: @@ -43444,7 +43456,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P20784_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P132704_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 +43467,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P20795_mk(s); + s.tmp_4 = Sprite_destroy__P132715_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -43467,13 +43479,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___36387 = (r0); - s.tmp_0 = game_currentScene__P21240_mk(s); + s.bounce___148311 = (r0); + s.tmp_0 = game_currentScene__P133160_mk(s); s.callLocIdx = 411; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___36392 = (r0); + s.tm___148316 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -43483,13 +43495,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___36387; + s.tmp_2 = r0 = s.bounce___148311; 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___36392); + r0 = pxsim_numops_toBoolDecr(s.tm___148316); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -43501,7 +43513,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P20770_mk(s); + s.tmp_8 = Sprite_left__P132690_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 412; s.pc = 37; return s.tmp_8; case 37: @@ -43513,18 +43525,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P20771_mk(s); + s.tmp_10 = Sprite_left__P132691_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___36387); + r0 = pxsim_numops_toBoolDecr(s.bounce___148311); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P20738_mk(s); + s.tmp_0 = Sprite_vx__P132658_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P20737_mk(s); + s.tmp_2 = Sprite_vx__P132657_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 416; s.pc = 40; return s.tmp_2; case 40: @@ -43539,7 +43551,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P20772_mk(s); + s.tmp_2 = Sprite_right__P132692_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 418; s.pc = 41; return s.tmp_2; case 41: @@ -43547,7 +43559,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -43555,22 +43567,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P20773_mk(s); + s.tmp_6 = Sprite_right__P132693_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20510); + r0 = pxsim_ImageMethods.width(globals.screen___132430); 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___36387); + r0 = pxsim_numops_toBoolDecr(s.bounce___148311); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P20738_mk(s); + s.tmp_0 = Sprite_vx__P132658_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P20737_mk(s); + s.tmp_2 = Sprite_vx__P132657_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 422; s.pc = 44; return s.tmp_2; case 44: @@ -43586,7 +43598,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P20774_mk(s); + s.tmp_2 = Sprite_top__P132694_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 424; s.pc = 45; return s.tmp_2; case 45: @@ -43598,18 +43610,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P20775_mk(s); + s.tmp_4 = Sprite_top__P132695_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___36387); + r0 = pxsim_numops_toBoolDecr(s.bounce___148311); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P20740_mk(s); + s.tmp_0 = Sprite_vy__P132660_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P20739_mk(s); + s.tmp_2 = Sprite_vy__P132659_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 428; s.pc = 48; return s.tmp_2; case 48: @@ -43624,7 +43636,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P20776_mk(s); + s.tmp_2 = Sprite_bottom__P132696_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 430; s.pc = 49; return s.tmp_2; case 49: @@ -43632,7 +43644,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -43640,22 +43652,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P20777_mk(s); + s.tmp_6 = Sprite_bottom__P132697_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20510); + r0 = pxsim_ImageMethods.height(globals.screen___132430); 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___36387); + r0 = pxsim_numops_toBoolDecr(s.bounce___148311); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P20740_mk(s); + s.tmp_0 = Sprite_vy__P132660_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P20739_mk(s); + s.tmp_2 = Sprite_vy__P132659_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 434; s.pc = 52; return s.tmp_2; case 52: @@ -43698,12 +43710,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite___update__P132706.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__P20786_mk(s) { +function Sprite___update__P132706_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P20786, depth: s.depth + 1, + parent: s, fn: Sprite___update__P132706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43716,8 +43728,8 @@ function Sprite___update__P20786_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___36387: undefined, - tm___36392: undefined, + bounce___148311: undefined, + tm___148316: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43727,7 +43739,7 @@ function Sprite___update__P20786_mk(s) { -function Sprite_bottom__P20777(s) { +function Sprite_bottom__P132697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43743,8 +43755,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P20775_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P132695_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -43760,12 +43772,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite_bottom__P132697.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__P20777_mk(s) { +function Sprite_bottom__P132697_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P20777, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P132697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43779,7 +43791,7 @@ function Sprite_bottom__P20777_mk(s) { -function Sprite_data__P20750(s) { +function Sprite_data__P132670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43795,18 +43807,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +Sprite_data__P132670.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__P20750_mk(s) { +function Sprite_data__P132670_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P20750, depth: s.depth + 1, + parent: s, fn: Sprite_data__P132670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43816,7 +43828,7 @@ function Sprite_data__P20750_mk(s) { -function sprites_BaseSprite___update__P20574(s) { +function sprites_BaseSprite___update__P132494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43833,17 +43845,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C132486_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +sprites_BaseSprite___update__P132494.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__P20574_mk(s) { +function sprites_BaseSprite___update__P132494_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P20574, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P132494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43854,7 +43866,7 @@ function sprites_BaseSprite___update__P20574_mk(s) { -function sprites_BaseSprite___draw__P20572(s) { +function sprites_BaseSprite___draw__P132492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43870,10 +43882,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C20566_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C132486_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C132486_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C20566_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C132486_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 +43893,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C20566_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C132486_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C20566_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C132486_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 +43907,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +sprites_BaseSprite___draw__P132492.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__P20572_mk(s) { +function sprites_BaseSprite___draw__P132492_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P20572, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P132492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43913,7 +43925,7 @@ function sprites_BaseSprite___draw__P20572_mk(s) { -function sprites_BaseSprite___drawCore__P20573(s) { +function sprites_BaseSprite___drawCore__P132493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43929,17 +43941,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C132486_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +sprites_BaseSprite___drawCore__P132493.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__P20573_mk(s) { +function sprites_BaseSprite___drawCore__P132493_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P20573, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P132493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43949,7 +43961,7 @@ function sprites_BaseSprite___drawCore__P20573_mk(s) { -function sprites_BaseSprite___visible__P20569(s) { +function sprites_BaseSprite___visible__P132489(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43964,17 +43976,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20566_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C132486_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -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"]} +sprites_BaseSprite___visible__P132489.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__P20569_mk(s) { +function sprites_BaseSprite___visible__P132489_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P20569, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P132489, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -43983,7 +43995,7 @@ function sprites_BaseSprite___visible__P20569_mk(s) { -function controller_AnyButton_isPressed__P22425(s) { +function controller_AnyButton_isPressed__P134345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43993,36 +44005,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___36489 = undefined; - s.b___36493 = undefined; - s.unnamed246___U2 = undefined; - s.unnamed247___U3 = undefined; + s.ctrl___148413 = undefined; + s.b___148417 = undefined; + s.unnamed1114___U2 = undefined; + s.unnamed1115___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C22423_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P20625_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C134343_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P132545_mk(s); s.callLocIdx = 157; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___36489 = (r0); - s.b___36493 = (undefined); - r0 = s.ctrl___36489.fields["buttons"]; - s.unnamed246___U2 = (r0); - s.unnamed247___U3 = (0); + s.ctrl___148413 = (r0); + s.b___148417 = (undefined); + r0 = s.ctrl___148413.fields["buttons"]; + s.unnamed1114___U2 = (r0); + s.unnamed1115___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed247___U3; - r0 = pxsim_Array__length(s.unnamed246___U2); + s.tmp_0 = r0 = s.unnamed1115___U3; + r0 = pxsim_Array__length(s.unnamed1114___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - 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); + r0 = pxsim_Array__getAt(s.unnamed1114___U2, s.unnamed1115___U3); + s.b___148417 = (r0); + s.tmp_3 = controller_Button__C132531_v0_1_mk(s); + s.tmp_3.arg0 = s.b___148417; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C132531_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 +44046,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed247___U3 + 1); - s.unnamed247___U3 = (r0); + r0 = (s.unnamed1115___U3 + 1); + s.unnamed1115___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed246___U2 = (undefined); + s.unnamed1114___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -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"]} +controller_AnyButton_isPressed__P134345.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__P22425_mk(s) { +function controller_AnyButton_isPressed__P134345_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P22425, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P134345, 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___36489: undefined, - b___36493: undefined, - unnamed246___U2: undefined, - unnamed247___U3: undefined, + ctrl___148413: undefined, + b___148417: undefined, + unnamed1114___U2: undefined, + unnamed1115___U3: undefined, arg0: undefined, } } @@ -44066,7 +44078,7 @@ function controller_AnyButton_isPressed__P22425_mk(s) { -function controller_Button_toString__P20616(s) { +function controller_Button_toString__P132536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44081,7 +44093,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20611_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C132531_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -44121,12 +44133,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +controller_Button_toString__P132536.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__P20616_mk(s) { +function controller_Button_toString__P132536_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P20616, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P132536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44142,7 +44154,7 @@ function controller_Button_toString__P20616_mk(s) { -function sprites_StaticObstacle_width__P20864(s) { +function sprites_StaticObstacle_width__P132784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44157,20 +44169,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20854_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C132774_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__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; +sprites_StaticObstacle_width__P132784.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__P132784.isGetter = true; -function sprites_StaticObstacle_width__P20864_mk(s) { +function sprites_StaticObstacle_width__P132784_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P20864, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P132784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44180,7 +44192,7 @@ function sprites_StaticObstacle_width__P20864_mk(s) { -function sprites_StaticObstacle_height__P20863(s) { +function sprites_StaticObstacle_height__P132783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44195,20 +44207,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20854_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C132774_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__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; +sprites_StaticObstacle_height__P132783.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__P132783.isGetter = true; -function sprites_StaticObstacle_height__P20863_mk(s) { +function sprites_StaticObstacle_height__P132783_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P20863, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P132783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44218,7 +44230,7 @@ function sprites_StaticObstacle_height__P20863_mk(s) { -function sprites_StaticObstacle_y__P20862(s) { +function sprites_StaticObstacle_y__P132782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44233,7 +44245,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20854_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C132774_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -44246,13 +44258,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +sprites_StaticObstacle_y__P132782.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__P132782.isGetter = true; -function sprites_StaticObstacle_y__P20862_mk(s) { +function sprites_StaticObstacle_y__P132782_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P20862, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P132782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44265,7 +44277,7 @@ function sprites_StaticObstacle_y__P20862_mk(s) { -function sprites_StaticObstacle_x__P20861(s) { +function sprites_StaticObstacle_x__P132781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44280,7 +44292,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20854_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C132774_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -44293,13 +44305,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -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; +sprites_StaticObstacle_x__P132781.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__P132781.isGetter = true; -function sprites_StaticObstacle_x__P20861_mk(s) { +function sprites_StaticObstacle_x__P132781_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P20861, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P132781, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44312,7 +44324,7 @@ function sprites_StaticObstacle_x__P20861_mk(s) { -function scene_Renderable___drawCore__P21089(s) { +function scene_Renderable___drawCore__P133009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44328,10 +44340,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C21086_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C133006_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___20510; + s.tmp_0.arg1 = globals.screen___132430; 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 +44360,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_Renderable___drawCore__P133009.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__P21089_mk(s) { +function scene_Renderable___drawCore__P133009_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P21089, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P133009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44364,7 +44376,7 @@ function scene_Renderable___drawCore__P21089_mk(s) { -function scene_Renderable___visible__P21088(s) { +function scene_Renderable___visible__P133008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44379,7 +44391,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C21086_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C133006_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 +44408,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +scene_Renderable___visible__P133008.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__P21088_mk(s) { +function scene_Renderable___visible__P133008_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P21088, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P133008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44411,7 +44423,7 @@ function scene_Renderable___visible__P21088_mk(s) { -function particles_AshFactory_drawParticle__P21469(s) { +function particles_AshFactory_drawParticle__P133389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44429,8 +44441,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AshFactory__C21466_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___20510; + if (!checkSubtype(r0, particles_AshFactory__C133386_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___132430; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -44446,12 +44458,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +particles_AshFactory_drawParticle__P133389.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__P21469_mk(s) { +function particles_AshFactory_drawParticle__P133389_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_drawParticle__P21469, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_drawParticle__P133389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44469,7 +44481,7 @@ function particles_AshFactory_drawParticle__P21469_mk(s) { -function particles_ShapeFactory_drawParticle__P21451(s) { +function particles_ShapeFactory_drawParticle__P133371(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44479,7 +44491,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___36543 = undefined; + s.pImage___148467 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44488,8 +44500,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C21448_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P21299_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C133368_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P133219_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -44499,12 +44511,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___36543 = (r0); + s.pImage___148467 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - 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 = pxsim_ImageMethods.replace(s.pImage___148467, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___132430; + s.tmp_1 = r0 = s.pImage___148467; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -44526,12 +44538,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +particles_ShapeFactory_drawParticle__P133371.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__P21451_mk(s) { +function particles_ShapeFactory_drawParticle__P133371_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P21451, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P133371, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44543,7 +44555,7 @@ function particles_ShapeFactory_drawParticle__P21451_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___36543: undefined, + pImage___148467: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44554,7 +44566,7 @@ function particles_ShapeFactory_drawParticle__P21451_mk(s) { -function Math_FastRandom_pickRandom__P21299(s) { +function Math_FastRandom_pickRandom__P133219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44570,7 +44582,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21294_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C133214_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -44593,7 +44605,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P21298_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P133218_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -44609,12 +44621,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Math_FastRandom_pickRandom__P133219.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__P21299_mk(s) { +function Math_FastRandom_pickRandom__P133219_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P21299, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P133219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44632,7 +44644,7 @@ function Math_FastRandom_pickRandom__P21299_mk(s) { -function particles_AreaFactory_drawParticle__P21439(s) { +function particles_AreaFactory_drawParticle__P133359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44642,7 +44654,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___36602 = undefined; + s.col___148526 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44651,7 +44663,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C21432_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C133352_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -44678,8 +44690,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___36602 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___20510; + s.col___148526 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___132430; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -44688,17 +44700,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___36602); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___148526); r0 = undefined; return leave(s, r0) default: oops() } } } -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"]} +particles_AreaFactory_drawParticle__P133359.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__P21439_mk(s) { +function particles_AreaFactory_drawParticle__P133359_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P21439, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P133359, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44706,7 +44718,7 @@ function particles_AreaFactory_drawParticle__P21439_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___36602: undefined, + col___148526: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44717,7 +44729,7 @@ function particles_AreaFactory_drawParticle__P21439_mk(s) { -function particles_SprayFactory_drawParticle__P21429(s) { +function particles_SprayFactory_drawParticle__P133349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44735,8 +44747,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C21426_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___20510; + if (!checkSubtype(r0, particles_SprayFactory__C133346_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___132430; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -44750,12 +44762,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +particles_SprayFactory_drawParticle__P133349.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__P21429_mk(s) { +function particles_SprayFactory_drawParticle__P133349_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P21429, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P133349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44772,7 +44784,7 @@ function particles_SprayFactory_drawParticle__P21429_mk(s) { -function scene_Camera_top__P21081(s) { +function scene_Camera_top__P133001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44787,18 +44799,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C132988_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -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; +scene_Camera_top__P133001.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__P133001.isGetter = true; -function scene_Camera_top__P21081_mk(s) { +function scene_Camera_top__P133001_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P21081, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P133001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -44807,7 +44819,7 @@ function scene_Camera_top__P21081_mk(s) { -function scene_Camera_left__P21079(s) { +function scene_Camera_left__P132999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44822,18 +44834,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C21068_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C132988_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -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; +scene_Camera_left__P132999.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__P132999.isGetter = true; -function scene_Camera_left__P21079_mk(s) { +function scene_Camera_left__P132999_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P21079, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P132999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -44842,7 +44854,7 @@ function scene_Camera_left__P21079_mk(s) { -function Sprite___drawCore__P20785(s) { +function Sprite___drawCore__P132705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44852,21 +44864,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - 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; + s.ox___148563 = undefined; + s.oy___148571 = undefined; + s.l___148579 = undefined; + s.t___148583 = undefined; + s.font___148598 = undefined; + s.tx___148602 = undefined; + s.ty___148604 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); - s.tmp_1 = Sprite_isOutOfScreen__P20784_mk(s); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); + s.tmp_1 = Sprite_isOutOfScreen__P132704_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 +44903,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___36639 = (s.tmp_4); + s.ox___148563 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -44905,35 +44917,35 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___36647 = (s.tmp_2); - s.tmp_1 = Sprite_left__P20770_mk(s); + s.oy___148571 = (s.tmp_2); + s.tmp_1 = Sprite_left__P132690_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___36639); - s.l___36655 = (r0); - s.tmp_1 = Sprite_top__P20774_mk(s); + r0 = (s.tmp_0 - s.ox___148563); + s.l___148579 = (r0); + s.tmp_1 = Sprite_top__P132694_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___36647); - s.t___36659 = (r0); + r0 = (s.tmp_0 - s.oy___148571); + s.t___148583 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___20510, s.tmp_0, s.l___36655, s.t___36659); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___132430, s.tmp_0, s.l___148579, s.t___148583); 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___36674 = (globals.font5___20458); - s.tx___36678 = (s.l___36655); - s.tmp_1 = r0 = s.t___36659; + s.font___148598 = (globals.font5___132378); + s.tx___148602 = (s.l___148579); + s.tmp_1 = r0 = s.t___148583; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -44941,12 +44953,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___36680 = (r0); - s.tmp_0 = helpers_imagePrint__P20468_mk(s); - s.tmp_0.arg0 = globals.screen___20510; + s.ty___148604 = (r0); + s.tmp_0 = helpers_imagePrint__P132388_mk(s); + s.tmp_0.arg0 = globals.screen___132430; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P20733_mk(s); + s.tmp_7 = Sprite_x__P132653_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 385; s.pc = 24; return s.tmp_7; case 24: @@ -44967,7 +44979,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P20735_mk(s); + s.tmp_11 = Sprite_y__P132655_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 386; s.pc = 26; return s.tmp_11; case 26: @@ -44986,17 +44998,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___36678; - s.tmp_0.arg3 = s.ty___36680; + s.tmp_0.arg2 = s.tx___148602; + s.tmp_0.arg3 = s.ty___148604; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___36674; + s.tmp_0.arg5 = s.font___148598; 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___36678; + s.tmp_0 = r0 = s.tx___148602; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___36674; + s.tmp_2.arg0 = s.font___148598; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -45009,8 +45021,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___36678 = (r0); - s.tmp_1 = Sprite_vx__P20737_mk(s); + s.tx___148602 = (r0); + s.tmp_1 = Sprite_vx__P132657_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 389; s.pc = 29; return s.tmp_1; case 29: @@ -45021,7 +45033,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_2 = Sprite_vy__P20739_mk(s); + s.tmp_2 = Sprite_vy__P132659_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 390; s.pc = 30; return s.tmp_2; case 30: @@ -45031,9 +45043,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___36680; + s.tmp_4 = r0 = s.ty___148604; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___36674; + s.tmp_7.arg0 = s.font___148598; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -45048,10 +45060,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - 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.ty___148604 = (r0); + s.tmp_0 = helpers_imagePrint__P132388_mk(s); + s.tmp_0.arg0 = globals.screen___132430; + s.tmp_6 = Sprite_vx__P132657_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 392; s.pc = 33; return s.tmp_6; case 33: @@ -45072,7 +45084,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P20739_mk(s); + s.tmp_10 = Sprite_vy__P132659_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 393; s.pc = 35; return s.tmp_10; case 35: @@ -45091,17 +45103,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___36678; - s.tmp_0.arg3 = s.ty___36680; + s.tmp_0.arg2 = s.tx___148602; + s.tmp_0.arg3 = s.ty___148604; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___36674; + s.tmp_0.arg5 = s.font___148598; 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__P20741_mk(s); + s.tmp_1 = Sprite_ax__P132661_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 395; s.pc = 37; return s.tmp_1; case 37: @@ -45112,7 +45124,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_2 = Sprite_ay__P20743_mk(s); + s.tmp_2 = Sprite_ay__P132663_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 396; s.pc = 38; return s.tmp_2; case 38: @@ -45122,9 +45134,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___36680; + s.tmp_4 = r0 = s.ty___148604; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___36674; + s.tmp_7.arg0 = s.font___148598; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -45139,10 +45151,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - 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.ty___148604 = (r0); + s.tmp_0 = helpers_imagePrint__P132388_mk(s); + s.tmp_0.arg0 = globals.screen___132430; + s.tmp_6 = Sprite_ax__P132661_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 398; s.pc = 41; return s.tmp_6; case 41: @@ -45163,7 +45175,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P20743_mk(s); + s.tmp_10 = Sprite_ay__P132663_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 399; s.pc = 43; return s.tmp_10; case 43: @@ -45182,10 +45194,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___36678; - s.tmp_0.arg3 = s.ty___36680; + s.tmp_0.arg2 = s.tx___148602; + s.tmp_0.arg3 = s.ty___148604; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___36674; + s.tmp_0.arg5 = s.font___148598; s.tmp_0.arg6 = undefined; s.callLocIdx = 400; s.pc = 40; return s.tmp_0; case 40: @@ -45194,11 +45206,11 @@ switch (step) { case 14: case 15: case 16: - r0 = pxsim_numops_toBoolDecr(globals.debug___21236); + r0 = pxsim_numops_toBoolDecr(globals.debug___133156); if (!r0) { step = 17; continue; } - s.tmp_0 = helpers_imageDrawRect__P20439_mk(s); - s.tmp_0.arg0 = globals.screen___20510; - s.tmp_3 = game_Hitbox_left__P20674_mk(s); + s.tmp_0 = helpers_imageDrawRect__P132359_mk(s); + s.tmp_0.arg0 = globals.screen___132430; + s.tmp_3 = game_Hitbox_left__P132594_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 401; s.pc = 46; return s.tmp_3; @@ -45209,9 +45221,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___36639); + r0 = (s.tmp_1 - s.ox___148563); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P20675_mk(s); + s.tmp_7 = game_Hitbox_top__P132595_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 403; s.pc = 47; return s.tmp_7; @@ -45222,7 +45234,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___36647); + r0 = (s.tmp_5 - s.oy___148571); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -45249,12 +45261,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite___drawCore__P132705.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__P20785_mk(s) { +function Sprite___drawCore__P132705_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P20785, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P132705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45269,13 +45281,13 @@ function Sprite___drawCore__P20785_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___36639: undefined, - oy___36647: undefined, - l___36655: undefined, - t___36659: undefined, - font___36674: undefined, - tx___36678: undefined, - ty___36680: undefined, + ox___148563: undefined, + oy___148571: undefined, + l___148579: undefined, + t___148583: undefined, + font___148598: undefined, + tx___148602: undefined, + ty___148604: undefined, arg0: undefined, arg1: undefined, } } @@ -45284,7 +45296,7 @@ function Sprite___drawCore__P20785_mk(s) { -function Sprite___visible__P20767(s) { +function Sprite___visible__P132687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45299,7 +45311,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20724_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C132644_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -45310,12 +45322,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -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"]} +Sprite___visible__P132687.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__P20767_mk(s) { +function Sprite___visible__P132687_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P20767, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P132687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45415,7 +45427,7 @@ function if_z_1_mk(s) { } } -function PhysicsEngine__C20867_v2_4_mk(s) { +function PhysicsEngine__C132787_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45519,7 +45531,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C21422_v0_2_mk(s) { +function particles_ParticleFactory__C133342_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45534,7 +45546,7 @@ function particles_ParticleFactory__C21422_v0_2_mk(s) { } } -function particles_ParticleSource__C21386_v4_3_mk(s) { +function particles_ParticleSource__C133306_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45607,7 +45619,7 @@ function if_id_2_mk(s) { } } -function PhysicsEngine__C20867_v4_2_mk(s) { +function PhysicsEngine__C132787_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45653,7 +45665,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C20867_v3_1_mk(s) { +function PhysicsEngine__C132787_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45696,7 +45708,7 @@ function if_id_1_mk(s) { } } -function controller_Button__C20611_v0_1_mk(s) { +function controller_Button__C132531_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45854,7 +45866,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C20867_v1_2_mk(s) { +function PhysicsEngine__C132787_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45914,7 +45926,7 @@ function if_comparator_3_mk(s) { } } -function PhysicsEngine__C20867_v0_2_mk(s) { +function PhysicsEngine__C132787_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46183,7 +46195,7 @@ function if_top_1_mk(s) { } } -function particles_ParticleFactory__C21422_v1_4_mk(s) { +function particles_ParticleFactory__C133342_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46200,7 +46212,7 @@ function particles_ParticleFactory__C21422_v1_4_mk(s) { } } -function sprites_BaseSprite__C20566_v0_1_mk(s) { +function sprites_BaseSprite__C132486_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46214,7 +46226,7 @@ function sprites_BaseSprite__C20566_v0_1_mk(s) { } } -function sprites_BaseSprite__C20566_v2_2_mk(s) { +function sprites_BaseSprite__C132486_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46384,14 +46396,14 @@ function if_onEndHandler_1_mk(s) { arg0: undefined, } } -const controller_Button__C20611_VT = mkVTable({ +const controller_Button__C132531_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P20620, + "isPressed": controller_Button_isPressed__P132540, }, iface: { "_owner": null, @@ -46408,26 +46420,26 @@ const controller_Button__C20611_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "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, + "toString": controller_Button_toString__P132536, + "raiseButtonUp": controller_Button_raiseButtonUp__P134340, + "raiseButtonDown": controller_Button_raiseButtonDown__P134341, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P134342, + "onEvent": controller_Button_onEvent__P132538, + "isPressed": controller_Button_isPressed__P132540, + "pressureLevel": controller_Button_pressureLevel__P132541, + "setPressed": controller_Button_setPressed__P132542, + "__update": controller_Button___update__P132543, }, - toStringMethod: controller_Button_toString__P20616, + toStringMethod: controller_Button_toString__P132536, }); -const controller_AnyButton__C22423_VT = mkVTable({ +const controller_AnyButton__C134343_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P22425, + "isPressed": controller_AnyButton_isPressed__P134345, }, iface: { "_owner": null, @@ -46444,18 +46456,18 @@ const controller_AnyButton__C22423_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "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, + "isPressed": controller_AnyButton_isPressed__P134345, + "toString": controller_Button_toString__P132536, + "raiseButtonUp": controller_Button_raiseButtonUp__P134340, + "raiseButtonDown": controller_Button_raiseButtonDown__P134341, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P134342, + "onEvent": controller_Button_onEvent__P132538, + "pressureLevel": controller_Button_pressureLevel__P132541, + "setPressed": controller_Button_setPressed__P132542, + "__update": controller_Button___update__P132543, }, }); -const Math_FastRandom__C21294_VT = mkVTable({ +const Math_FastRandom__C133214_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -46468,13 +46480,13 @@ const Math_FastRandom__C21294_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P21297, - "randomRange": Math_FastRandom_randomRange__P21298, - "pickRandom": Math_FastRandom_pickRandom__P21299, - "percentChance": Math_FastRandom_percentChance__P21301, + "next": Math_FastRandom_next__P133217, + "randomRange": Math_FastRandom_randomRange__P133218, + "pickRandom": Math_FastRandom_pickRandom__P133219, + "percentChance": Math_FastRandom_percentChance__P133221, }, }); -const texteffects_TextEffect__C21539_VT = mkVTable({ +const texteffects_TextEffect__C133459_VT = mkVTable({ name: "TextEffect", numFields: 1, classNo: 19, @@ -46487,42 +46499,42 @@ const texteffects_TextEffect__C21539_VT = mkVTable({ "set/getState": null, }, }); -const sprites_BaseSprite__C20566_VT = mkVTable({ +const sprites_BaseSprite__C132486_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 20, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P20569, - "__draw": sprites_BaseSprite___draw__P20572, - "__drawCore": sprites_BaseSprite___drawCore__P20573, - "__update": sprites_BaseSprite___update__P20574, + "__visible": sprites_BaseSprite___visible__P132489, + "__draw": sprites_BaseSprite___draw__P132492, + "__drawCore": sprites_BaseSprite___drawCore__P132493, + "__update": sprites_BaseSprite___update__P132494, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__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, + "__visible": sprites_BaseSprite___visible__P132489, + "z": sprites_BaseSprite_z__P132490, + "set/z": sprites_BaseSprite_z__P132491, + "__draw": sprites_BaseSprite___draw__P132492, + "__drawCore": sprites_BaseSprite___drawCore__P132493, + "__update": sprites_BaseSprite___update__P132494, }, }); -const Sprite__C20724_VT = mkVTable({ +const Sprite__C132644_VT = mkVTable({ name: "Sprite", numFields: 26, classNo: 21, lastSubtypeNo: 21, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P20767, - "__draw": sprites_BaseSprite___draw__P20572, - "__drawCore": Sprite___drawCore__P20785, - "__update": Sprite___update__P20786, + "__visible": Sprite___visible__P132687, + "__draw": sprites_BaseSprite___draw__P132492, + "__drawCore": Sprite___drawCore__P132705, + "__update": Sprite___update__P132706, }, iface: { "_z": null, @@ -46577,61 +46589,61 @@ const Sprite__C20724_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "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, + "x": Sprite_x__P132653, + "set/x": Sprite_x__P132654, + "y": Sprite_y__P132655, + "set/y": Sprite_y__P132656, + "vx": Sprite_vx__P132657, + "set/vx": Sprite_vx__P132658, + "vy": Sprite_vy__P132659, + "set/vy": Sprite_vy__P132660, + "ax": Sprite_ax__P132661, + "set/ax": Sprite_ax__P132662, + "ay": Sprite_ay__P132663, + "set/ay": Sprite_ay__P132664, + "fx": Sprite_fx__P132665, + "set/fx": Sprite_fx__P132666, + "fy": Sprite_fy__P132667, + "set/fy": Sprite_fy__P132668, + "data": Sprite_data__P132669, + "set/data": Sprite_data__P132670, + "image": Sprite_image__P132683, + "setImage": Sprite_setImage__P132684, + "setHitbox": Sprite_setHitbox__P132685, + "isStatic": Sprite_isStatic__P132686, + "__visible": Sprite___visible__P132687, + "width": Sprite_width__P132688, + "height": Sprite_height__P132689, + "left": Sprite_left__P132690, + "set/left": Sprite_left__P132691, + "right": Sprite_right__P132692, + "set/right": Sprite_right__P132693, + "top": Sprite_top__P132694, + "set/top": Sprite_top__P132695, + "bottom": Sprite_bottom__P132696, + "set/bottom": Sprite_bottom__P132697, + "kind": Sprite_kind__P132698, + "setKind": Sprite_setKind__P132699, + "setPosition": Sprite_setPosition__P132700, + "setVelocity": Sprite_setVelocity__P132701, + "say": Sprite_say__P132702, + "isOutOfScreen": Sprite_isOutOfScreen__P132704, + "__drawCore": Sprite___drawCore__P132705, + "__update": Sprite___update__P132706, + "setFlag": Sprite_setFlag__P132707, + "overlapsWith": Sprite_overlapsWith__P132708, + "clearObstacles": Sprite_clearObstacles__P132712, + "registerObstacle": Sprite_registerObstacle__P132713, + "destroy": Sprite_destroy__P132715, + "_destroyCore": Sprite__destroyCore__P132716, + "toString": Sprite_toString__P132718, + "z": sprites_BaseSprite_z__P132490, + "set/z": sprites_BaseSprite_z__P132491, + "__draw": sprites_BaseSprite___draw__P132492, }, - toStringMethod: Sprite_toString__P20798, + toStringMethod: Sprite_toString__P132718, }); -const scene_Scene__C21127_VT = mkVTable({ +const scene_Scene__C133047_VT = mkVTable({ name: "Scene", numFields: 23, classNo: 24, @@ -46686,14 +46698,14 @@ const scene_Scene__C21127_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "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, + "init": scene_Scene_init__P133069, + "data": scene_Scene_data__P133070, + "millis": scene_Scene_millis__P133071, + "addSprite": scene_Scene_addSprite__P133072, + "render": scene_Scene_render__P133074, }, }); -const tiles_Location__C20997_VT = mkVTable({ +const tiles_Location__C132917_VT = mkVTable({ name: "Location", numFields: 3, classNo: 25, @@ -46708,15 +46720,15 @@ const tiles_Location__C20997_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "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, + "col": tiles_Location_col__P132918, + "row": tiles_Location_row__P132919, + "x": tiles_Location_x__P132921, + "y": tiles_Location_y__P132922, + "tileSet": tiles_Location_tileSet__P132923, + "place": tiles_Location_place__P132924, }, }); -const tiles_TileMap__C21025_VT = mkVTable({ +const tiles_TileMap__C132945_VT = mkVTable({ name: "TileMap", numFields: 3, classNo: 26, @@ -46731,26 +46743,26 @@ const tiles_TileMap__C21025_VT = mkVTable({ "set/_layer": null, "_map": null, "set/_map": null, - "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, + "scale": tiles_TileMap_scale__P132947, + "set/scale": tiles_TileMap_scale__P132948, + "data": tiles_TileMap_data__P134448, + "offsetX": tiles_TileMap_offsetX__P132949, + "offsetY": tiles_TileMap_offsetY__P132950, + "areaWidth": tiles_TileMap_areaWidth__P132951, + "areaHeight": tiles_TileMap_areaHeight__P132952, + "layer": tiles_TileMap_layer__P132953, + "enabled": tiles_TileMap_enabled__P132955, + "setData": tiles_TileMap_setData__P132956, + "getTile": tiles_TileMap_getTile__P132957, + "getTileIndex": tiles_TileMap_getTileIndex__P132958, + "draw": tiles_TileMap_draw__P134450, + "isObstacle": tiles_TileMap_isObstacle__P132964, + "getObstacle": tiles_TileMap_getObstacle__P132965, + "isOnWall": tiles_TileMap_isOnWall__P132966, + "getTileImage": tiles_TileMap_getTileImage__P132967, }, }); -const control_EventContext__C19092_VT = mkVTable({ +const control_EventContext__C131012_VT = mkVTable({ name: "EventContext", numFields: 9, classNo: 27, @@ -46777,16 +46789,16 @@ const control_EventContext__C19092_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "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, + "deltaTime": control_EventContext_deltaTime__P131017, + "runCallbacks": control_EventContext_runCallbacks__P134185, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P134186, + "register": control_EventContext_register__P131018, + "unregister": control_EventContext_unregister__P131019, + "registerFrameHandler": control_EventContext_registerFrameHandler__P131020, + "registerHandler": control_EventContext_registerHandler__P131022, }, }); -const scene_Camera__C21068_VT = mkVTable({ +const scene_Camera__C132988_VT = mkVTable({ name: "Camera", numFields: 8, classNo: 28, @@ -46811,39 +46823,39 @@ const scene_Camera__C21068_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "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, + "offsetX": scene_Camera_offsetX__P132993, + "set/offsetX": scene_Camera_offsetX__P132994, + "offsetY": scene_Camera_offsetY__P132995, + "set/offsetY": scene_Camera_offsetY__P132996, + "x": scene_Camera_x__P132997, + "y": scene_Camera_y__P132998, + "left": scene_Camera_left__P132999, + "top": scene_Camera_top__P133001, + "update": scene_Camera_update__P133004, }, }); -const PhysicsEngine__C20867_VT = mkVTable({ +const PhysicsEngine__C132787_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 29, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P20869, - "removeSprite": PhysicsEngine_removeSprite__P20870, - "moveSprite": PhysicsEngine_moveSprite__P20871, - "draw": PhysicsEngine_draw__P20872, - "move": PhysicsEngine_move__P20873, + "addSprite": PhysicsEngine_addSprite__P132789, + "removeSprite": PhysicsEngine_removeSprite__P132790, + "moveSprite": PhysicsEngine_moveSprite__P132791, + "draw": PhysicsEngine_draw__P132792, + "move": PhysicsEngine_move__P132793, }, iface: { - "addSprite": PhysicsEngine_addSprite__P20869, - "removeSprite": PhysicsEngine_removeSprite__P20870, - "moveSprite": PhysicsEngine_moveSprite__P20871, - "draw": PhysicsEngine_draw__P20872, - "move": PhysicsEngine_move__P20873, + "addSprite": PhysicsEngine_addSprite__P132789, + "removeSprite": PhysicsEngine_removeSprite__P132790, + "moveSprite": PhysicsEngine_moveSprite__P132791, + "draw": PhysicsEngine_draw__P132792, + "move": PhysicsEngine_move__P132793, }, }); -const game_Hitbox__C20667_VT = mkVTable({ +const game_Hitbox__C132587_VT = mkVTable({ name: "Hitbox", numFields: 5, classNo: 31, @@ -46862,13 +46874,13 @@ const game_Hitbox__C20667_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P20674, - "top": game_Hitbox_top__P20675, - "right": game_Hitbox_right__P20676, - "bottom": game_Hitbox_bottom__P20677, + "left": game_Hitbox_left__P132594, + "top": game_Hitbox_top__P132595, + "right": game_Hitbox_right__P132596, + "bottom": game_Hitbox_bottom__P132597, }, }); -const JSON_Stringifier__C22257_VT = mkVTable({ +const JSON_Stringifier__C134177_VT = mkVTable({ name: "Stringifier", numFields: 3, classNo: 32, @@ -46883,11 +46895,11 @@ const JSON_Stringifier__C22257_VT = mkVTable({ "set/indentStep": null, "indent": null, "set/indent": null, - "doString": JSON_Stringifier_doString__P22258, - "go": JSON_Stringifier_go__P22259, + "doString": JSON_Stringifier_doString__P134178, + "go": JSON_Stringifier_go__P134179, }, }); -const effects_ImageEffect__C21524_VT = mkVTable({ +const effects_ImageEffect__C133444_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 33, @@ -46904,11 +46916,11 @@ const effects_ImageEffect__C21524_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P21526, - "change": effects_ImageEffect_change__P21527, + "applyTo": effects_ImageEffect_applyTo__P133446, + "change": effects_ImageEffect_change__P133447, }, }); -const effects_ParticleEffect__C21497_VT = mkVTable({ +const effects_ParticleEffect__C133417_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 34, @@ -46923,11 +46935,11 @@ const effects_ParticleEffect__C21497_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P21499, - "destroy": effects_ParticleEffect_destroy__P21500, + "start": effects_ParticleEffect_start__P133419, + "destroy": effects_ParticleEffect_destroy__P133420, }, }); -const effects_ScreenEffect__C21501_VT = mkVTable({ +const effects_ScreenEffect__C133421_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 35, @@ -46946,34 +46958,34 @@ const effects_ScreenEffect__C21501_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P21499, - "destroy": effects_ParticleEffect_destroy__P21500, + "start": effects_ParticleEffect_start__P133419, + "destroy": effects_ParticleEffect_destroy__P133420, }, }); -const particles_ParticleFactory__C21422_VT = mkVTable({ +const particles_ParticleFactory__C133342_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 36, lastSubtypeNo: 41, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P21424, - "drawParticle": particles_ParticleFactory_drawParticle__P21425, + "createParticle": particles_ParticleFactory_createParticle__P133344, + "drawParticle": particles_ParticleFactory_drawParticle__P133345, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P21424, - "drawParticle": particles_ParticleFactory_drawParticle__P21425, + "createParticle": particles_ParticleFactory_createParticle__P133344, + "drawParticle": particles_ParticleFactory_drawParticle__P133345, }, }); -const particles_SprayFactory__C21426_VT = mkVTable({ +const particles_SprayFactory__C133346_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 37, lastSubtypeNo: 41, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P21428, - "drawParticle": particles_SprayFactory_drawParticle__P21429, + "createParticle": particles_SprayFactory_createParticle__P133348, + "drawParticle": particles_SprayFactory_drawParticle__P133349, }, iface: { "speed": null, @@ -46982,21 +46994,21 @@ const particles_SprayFactory__C21426_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P21428, - "drawParticle": particles_SprayFactory_drawParticle__P21429, - "setSpeed": particles_SprayFactory_setSpeed__P21430, - "setDirection": particles_SprayFactory_setDirection__P21431, + "createParticle": particles_SprayFactory_createParticle__P133348, + "drawParticle": particles_SprayFactory_drawParticle__P133349, + "setSpeed": particles_SprayFactory_setSpeed__P133350, + "setDirection": particles_SprayFactory_setDirection__P133351, }, }); -const particles_AreaFactory__C21432_VT = mkVTable({ +const particles_AreaFactory__C133352_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 38, lastSubtypeNo: 41, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P21438, - "drawParticle": particles_AreaFactory_drawParticle__P21439, + "createParticle": particles_AreaFactory_createParticle__P133358, + "drawParticle": particles_AreaFactory_drawParticle__P133359, }, iface: { "speed": null, @@ -47015,21 +47027,21 @@ const particles_AreaFactory__C21432_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P21438, - "drawParticle": particles_AreaFactory_drawParticle__P21439, - "setSpeed": particles_SprayFactory_setSpeed__P21430, - "setDirection": particles_SprayFactory_setDirection__P21431, + "createParticle": particles_AreaFactory_createParticle__P133358, + "drawParticle": particles_AreaFactory_drawParticle__P133359, + "setSpeed": particles_SprayFactory_setSpeed__P133350, + "setDirection": particles_SprayFactory_setDirection__P133351, }, }); -const particles_ShapeFactory__C21448_VT = mkVTable({ +const particles_ShapeFactory__C133368_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 39, lastSubtypeNo: 40, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P21452, - "drawParticle": particles_ShapeFactory_drawParticle__P21451, + "createParticle": particles_ShapeFactory_createParticle__P133372, + "drawParticle": particles_ShapeFactory_drawParticle__P133371, }, iface: { "speed": null, @@ -47054,22 +47066,22 @@ const particles_ShapeFactory__C21448_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "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, + "addShape": particles_ShapeFactory_addShape__P133370, + "drawParticle": particles_ShapeFactory_drawParticle__P133371, + "createParticle": particles_ShapeFactory_createParticle__P133372, + "setSpeed": particles_SprayFactory_setSpeed__P133350, + "setDirection": particles_SprayFactory_setDirection__P133351, }, }); -const particles_ConfettiFactory__C21453_VT = mkVTable({ +const particles_ConfettiFactory__C133373_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 40, lastSubtypeNo: 40, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P21452, - "drawParticle": particles_ShapeFactory_drawParticle__P21451, + "createParticle": particles_ShapeFactory_createParticle__P133372, + "drawParticle": particles_ShapeFactory_drawParticle__P133371, }, iface: { "speed": null, @@ -47094,25 +47106,25 @@ const particles_ConfettiFactory__C21453_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "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, + "addShape": particles_ShapeFactory_addShape__P133370, + "drawParticle": particles_ShapeFactory_drawParticle__P133371, + "createParticle": particles_ShapeFactory_createParticle__P133372, + "setSpeed": particles_SprayFactory_setSpeed__P133350, + "setDirection": particles_SprayFactory_setDirection__P133351, }, }); -const particles_ParticleSource__C21386_VT = mkVTable({ +const particles_ParticleSource__C133306_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 22, lastSubtypeNo: 22, maxBgInstances: null, methods: { - "__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, + "__visible": sprites_BaseSprite___visible__P132489, + "__draw": particles_ParticleSource___draw__P133312, + "__drawCore": sprites_BaseSprite___drawCore__P132493, + "__update": sprites_BaseSprite___update__P132494, + "updateParticle": particles_ParticleSource_updateParticle__P134859, }, iface: { "_z": null, @@ -47141,28 +47153,28 @@ const particles_ParticleSource__C21386_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__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, + "__draw": particles_ParticleSource___draw__P133312, + "_update": particles_ParticleSource__update__P133313, + "_prune": particles_ParticleSource__prune__P133314, + "setAcceleration": particles_ParticleSource_setAcceleration__P133315, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P133317, + "enabled": particles_ParticleSource_enabled__P133318, + "set/enabled": particles_ParticleSource_enabled__P133319, + "destroy": particles_ParticleSource_destroy__P133320, + "clear": particles_ParticleSource_clear__P133321, + "setAnchor": particles_ParticleSource_setAnchor__P133322, + "setRate": particles_ParticleSource_setRate__P133323, + "setFactory": particles_ParticleSource_setFactory__P133325, + "updateParticle": particles_ParticleSource_updateParticle__P134859, + "drawParticle": particles_ParticleSource_drawParticle__P134860, + "__visible": sprites_BaseSprite___visible__P132489, + "z": sprites_BaseSprite_z__P132490, + "set/z": sprites_BaseSprite_z__P132491, + "__drawCore": sprites_BaseSprite___drawCore__P132493, + "__update": sprites_BaseSprite___update__P132494, }, }); -const particles_Particle__C21367_VT = mkVTable({ +const particles_Particle__C133287_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 42, @@ -47189,7 +47201,7 @@ const particles_Particle__C21367_VT = mkVTable({ "set/color": null, }, }); -const scene_Background__C20973_VT = mkVTable({ +const scene_Background__C132893_VT = mkVTable({ name: "Background", numFields: 4, classNo: 43, @@ -47206,12 +47218,12 @@ const scene_Background__C20973_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P20979, - "set/image": scene_Background_image__P20980, - "draw": scene_Background_draw__P20982, + "image": scene_Background_image__P132899, + "set/image": scene_Background_image__P132900, + "draw": scene_Background_draw__P132902, }, }); -const scene_BackgroundLayer__C20983_VT = mkVTable({ +const scene_BackgroundLayer__C132903_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 44, @@ -47232,10 +47244,10 @@ const scene_BackgroundLayer__C20983_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P20991, + "draw": scene_BackgroundLayer_draw__P132911, }, }); -const tiles_TileMapData__C21012_VT = mkVTable({ +const tiles_TileMapData__C132932_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 45, @@ -47258,17 +47270,17 @@ const tiles_TileMapData__C21012_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "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, + "width": tiles_TileMapData_width__P132934, + "height": tiles_TileMapData_height__P132935, + "scale": tiles_TileMapData_scale__P132936, + "set/scale": tiles_TileMapData_scale__P132937, + "getTile": tiles_TileMapData_getTile__P132938, + "getTileImage": tiles_TileMapData_getTileImage__P132941, + "isWall": tiles_TileMapData_isWall__P132943, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P132944, }, }); -const controller_Controller__C20631_VT = mkVTable({ +const controller_Controller__C132551_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 46, @@ -47287,33 +47299,33 @@ const controller_Controller__C20631_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_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, + "_controlledSprites": controller_Controller__controlledSprites__P132556, + "set/_controlledSprites": controller_Controller__controlledSprites__P132557, + "id": controller_Controller_id__P132558, + "left": controller_Controller_left__P132560, + "right": controller_Controller_right__P132561, + "up": controller_Controller_up__P132562, + "down": controller_Controller_down__P132563, + "moveSprite": controller_Controller_moveSprite__P132567, + "button": controller_Controller_button__P134348, + "connected": controller_Controller_connected__P132570, + "set/connected": controller_Controller_connected__P132571, + "__preUpdate": controller_Controller___preUpdate__P132575, + "__update": controller_Controller___update__P132576, }, }); -const ArcadePhysicsEngine__C20881_VT = mkVTable({ +const ArcadePhysicsEngine__C132801_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 30, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P20890, - "removeSprite": ArcadePhysicsEngine_removeSprite__P20891, - "moveSprite": ArcadePhysicsEngine_moveSprite__P20895, - "draw": ArcadePhysicsEngine_draw__P20892, - "move": ArcadePhysicsEngine_move__P20893, + "addSprite": ArcadePhysicsEngine_addSprite__P132810, + "removeSprite": ArcadePhysicsEngine_removeSprite__P132811, + "moveSprite": ArcadePhysicsEngine_moveSprite__P132815, + "draw": ArcadePhysicsEngine_draw__P132812, + "move": ArcadePhysicsEngine_move__P132813, }, iface: { "sprites": null, @@ -47328,26 +47340,26 @@ const ArcadePhysicsEngine__C20881_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "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, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P132803, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P132804, + "minStep": ArcadePhysicsEngine_minStep__P132805, + "set/minStep": ArcadePhysicsEngine_minStep__P132806, + "maxStep": ArcadePhysicsEngine_maxStep__P132807, + "set/maxStep": ArcadePhysicsEngine_maxStep__P132808, + "addSprite": ArcadePhysicsEngine_addSprite__P132810, + "removeSprite": ArcadePhysicsEngine_removeSprite__P132811, + "draw": ArcadePhysicsEngine_draw__P132812, + "move": ArcadePhysicsEngine_move__P132813, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P134377, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P134378, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P134379, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P134380, + "moveSprite": ArcadePhysicsEngine_moveSprite__P132815, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P134381, + "constrain": ArcadePhysicsEngine_constrain__P134382, }, }); -const sprites_SpriteMap__C20802_VT = mkVTable({ +const sprites_SpriteMap__C132722_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 47, @@ -47366,20 +47378,20 @@ const sprites_SpriteMap__C20802_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "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, + "neighbors": sprites_SpriteMap_neighbors__P132724, + "overlaps": sprites_SpriteMap_overlaps__P132725, + "draw": sprites_SpriteMap_draw__P132726, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P132727, + "clear": sprites_SpriteMap_clear__P132728, + "key": sprites_SpriteMap_key__P134354, + "insertAtKey": sprites_SpriteMap_insertAtKey__P134355, + "insertAABB": sprites_SpriteMap_insertAABB__P132729, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P134356, + "toString": sprites_SpriteMap_toString__P132730, }, - toStringMethod: sprites_SpriteMap_toString__P20810, + toStringMethod: sprites_SpriteMap_toString__P132730, }); -const music_Melody__C20306_VT = mkVTable({ +const music_Melody__C132226_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 48, @@ -47392,11 +47404,11 @@ const music_Melody__C20306_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P20315, + "toString": music_Melody_toString__P132235, }, - toStringMethod: music_Melody_toString__P20315, + toStringMethod: music_Melody_toString__P132235, }); -const control_EventHandler__C22260_VT = mkVTable({ +const control_EventHandler__C134180_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 49, @@ -47413,11 +47425,11 @@ const control_EventHandler__C22260_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P22261, - "unregister": control_EventHandler_unregister__P22262, + "register": control_EventHandler_register__P134181, + "unregister": control_EventHandler_unregister__P134182, }, }); -const control_FrameCallback__C19089_VT = mkVTable({ +const control_FrameCallback__C131009_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 50, @@ -47432,7 +47444,7 @@ const control_FrameCallback__C19089_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C22239_VT = mkVTable({ +const control_PollEvent__C134159_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 51, @@ -47455,7 +47467,7 @@ const control_PollEvent__C22239_VT = mkVTable({ "set/once": null, }, }); -const sprites_SpriteSet__C20819_VT = mkVTable({ +const sprites_SpriteSet__C132739_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 52, @@ -47466,24 +47478,24 @@ const sprites_SpriteSet__C20819_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "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, + "length": sprites_SpriteSet_length__P132742, + "sprites": sprites_SpriteSet_sprites__P132743, + "add": sprites_SpriteSet_add__P132744, + "remove": sprites_SpriteSet_remove__P132746, + "contains": sprites_SpriteSet_contains__P132747, + "toString": sprites_SpriteSet_toString__P132750, }, - toStringMethod: sprites_SpriteSet_toString__P20830, + toStringMethod: sprites_SpriteSet_toString__P132750, }); -const particles_AshFactory__C21466_VT = mkVTable({ +const particles_AshFactory__C133386_VT = mkVTable({ name: "AshFactory", numFields: 9, classNo: 41, lastSubtypeNo: 41, maxBgInstances: null, methods: { - "createParticle": particles_AshFactory_createParticle__P21468, - "drawParticle": particles_AshFactory_drawParticle__P21469, + "createParticle": particles_AshFactory_createParticle__P133388, + "drawParticle": particles_AshFactory_drawParticle__P133389, }, iface: { "speed": null, @@ -47504,13 +47516,13 @@ const particles_AshFactory__C21466_VT = mkVTable({ "set/galois": null, "colors": null, "set/colors": null, - "createParticle": particles_AshFactory_createParticle__P21468, - "drawParticle": particles_AshFactory_drawParticle__P21469, - "setSpeed": particles_SprayFactory_setSpeed__P21430, - "setDirection": particles_SprayFactory_setDirection__P21431, + "createParticle": particles_AshFactory_createParticle__P133388, + "drawParticle": particles_AshFactory_drawParticle__P133389, + "setSpeed": particles_SprayFactory_setSpeed__P133350, + "setDirection": particles_SprayFactory_setDirection__P133351, }, }); -const particles_ColorCount__C22976_VT = mkVTable({ +const particles_ColorCount__C134896_VT = mkVTable({ name: "ColorCount", numFields: 2, classNo: 53, @@ -47525,7 +47537,7 @@ const particles_ColorCount__C22976_VT = mkVTable({ "set/count": null, }, }); -const scene_PathCompletionEvent__C24745_VT = mkVTable({ +const scene_PathCompletionEvent__C136665_VT = mkVTable({ name: "PathCompletionEvent", numFields: 2, classNo: 54, @@ -47540,7 +47552,7 @@ const scene_PathCompletionEvent__C24745_VT = mkVTable({ "set/handler": null, }, }); -const Heap__C22160_VT = mkVTable({ +const Heap__C134080_VT = mkVTable({ name: "Heap", numFields: 2, classNo: 55, @@ -47553,17 +47565,17 @@ const Heap__C22160_VT = mkVTable({ "set/store": null, "comparator": null, "set/comparator": null, - "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, + "percolateDown": Heap_percolateDown__P136127, + "percolateUp": Heap_percolateUp__P136128, + "push": Heap_push__P134082, + "pop": Heap_pop__P134083, + "length": Heap_length__P134085, + "parent": Heap_parent__P136129, + "leftChild": Heap_leftChild__P136130, + "rightChild": Heap_rightChild__P136131, }, }); -const scene_LocationNode__C24218_VT = mkVTable({ +const scene_LocationNode__C136138_VT = mkVTable({ name: "LocationNode", numFields: 4, classNo: 56, @@ -47582,7 +47594,7 @@ const scene_LocationNode__C24218_VT = mkVTable({ "set/lastCost": null, }, }); -const scene_PrioritizedLocation__C24212_VT = mkVTable({ +const scene_PrioritizedLocation__C136132_VT = mkVTable({ name: "PrioritizedLocation", numFields: 3, classNo: 57, @@ -47599,7 +47611,7 @@ const scene_PrioritizedLocation__C24212_VT = mkVTable({ "set/extraCost": null, }, }); -const scene_PathFollowingSprite__C24736_VT = mkVTable({ +const scene_PathFollowingSprite__C136656_VT = mkVTable({ name: "PathFollowingSprite", numFields: 5, classNo: 58, @@ -47620,7 +47632,7 @@ const scene_PathFollowingSprite__C24736_VT = mkVTable({ "set/speed": null, }, }); -const controller_ControlledSprite__C20627_VT = mkVTable({ +const controller_ControlledSprite__C132547_VT = mkVTable({ name: "ControlledSprite", numFields: 4, classNo: 59, @@ -47639,17 +47651,17 @@ const controller_ControlledSprite__C20627_VT = mkVTable({ "set/vy": null, }, }); -const scene_Renderable__C21086_VT = mkVTable({ +const scene_Renderable__C133006_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 23, lastSubtypeNo: 23, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P21088, - "__draw": sprites_BaseSprite___draw__P20572, - "__drawCore": scene_Renderable___drawCore__P21089, - "__update": sprites_BaseSprite___update__P20574, + "__visible": scene_Renderable___visible__P133008, + "__draw": sprites_BaseSprite___draw__P132492, + "__drawCore": scene_Renderable___drawCore__P133009, + "__update": sprites_BaseSprite___update__P132494, }, iface: { "_z": null, @@ -47660,15 +47672,15 @@ const scene_Renderable__C21086_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__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, + "__visible": scene_Renderable___visible__P133008, + "__drawCore": scene_Renderable___drawCore__P133009, + "z": sprites_BaseSprite_z__P132490, + "set/z": sprites_BaseSprite_z__P132491, + "__draw": sprites_BaseSprite___draw__P132492, + "__update": sprites_BaseSprite___update__P132494, }, }); -const scene_systemMenu_PauseMenu__C21330_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C133250_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 60, @@ -47691,15 +47703,15 @@ const scene_systemMenu_PauseMenu__C21330_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "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, + "show": scene_systemMenu_PauseMenu_show__P133252, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P133253, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P133254, + "drawText": scene_systemMenu_PauseMenu_drawText__P133255, + "dispose": scene_systemMenu_PauseMenu_dispose__P133256, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P134759, }, }); -const scene_systemMenu_MenuOption__C21322_VT = mkVTable({ +const scene_systemMenu_MenuOption__C133242_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 61, @@ -47724,16 +47736,16 @@ const scene_systemMenu_MenuOption__C21322_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "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, + "show": scene_systemMenu_MenuOption_show__P133244, + "position": scene_systemMenu_MenuOption_position__P133245, + "setOffset": scene_systemMenu_MenuOption_setOffset__P133246, + "setTheme": scene_systemMenu_MenuOption_setTheme__P133247, + "setState": scene_systemMenu_MenuOption_setState__P133248, + "dispose": scene_systemMenu_MenuOption_dispose__P133249, + "updateCard": scene_systemMenu_MenuOption_updateCard__P134758, }, }); -const MovingSprite__C20879_VT = mkVTable({ +const MovingSprite__C132799_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 62, @@ -47758,7 +47770,7 @@ const MovingSprite__C20879_VT = mkVTable({ "set/yStep": null, }, }); -const sprites_StaticObstacle__C20854_VT = mkVTable({ +const sprites_StaticObstacle__C132774_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 63, @@ -47777,14 +47789,14 @@ const sprites_StaticObstacle__C20854_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P20861, - "y": sprites_StaticObstacle_y__P20862, - "height": sprites_StaticObstacle_height__P20863, - "width": sprites_StaticObstacle_width__P20864, + "x": sprites_StaticObstacle_x__P132781, + "y": sprites_StaticObstacle_y__P132782, + "height": sprites_StaticObstacle_height__P132783, + "width": sprites_StaticObstacle_width__P132784, }, }); -const breakpoints = setupDebugger(1, ["transparency16___22181","mySprite___22183","PATH_FOLLOW_KEY___24732","PATH_COMPLETION_KEY___24734"]) +const breakpoints = setupDebugger(1, ["transparency16___134101","mySprite___134103","PATH_FOLLOW_KEY___136652","PATH_COMPLETION_KEY___136654"]) -return _main___P37374 +return _main___P149185 }) diff --git a/assets/version.txt b/assets/version.txt index a2268e2..9fc80f9 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.3.1 \ No newline at end of file +0.3.2 \ No newline at end of file diff --git a/pxt.json b/pxt.json index e78fe57..b3d0dfd 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "arcade-tilemap-a-star", - "version": "0.3.1", + "version": "0.3.2", "description": "", "dependencies": { "device": "*",