diff --git a/assets/js/binary.js b/assets/js/binary.js index 01b4f05..ca77c5d 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.0.16/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"1.9.0","target":"arcade","targetVersion":"1.0.16","repo":"microsoft/pxt-tilemaps"} -// total=1136629 new=6.41% cached=87.95% other=5.65% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.2.6/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"1.9.1","target":"arcade","targetVersion":"1.2.6","repo":"microsoft/pxt-tilemaps"} +// total=1137955 new=6.40% cached=87.96% other=5.64% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -382,7 +382,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P70069(s) { +function _main___P35081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -392,232 +392,232 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___56183 = (undefined); - globals._pollEventQueue___56192 = (undefined); - globals.minPriority___52915 = (1); + globals._intervals___21186 = (undefined); + globals._pollEventQueue___21195 = (undefined); + globals.minPriority___17915 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, inline__P56195); - globals.listeners___56196 = (s.tmp_0); - globals.globalVolume___56249 = (null); - globals.playToneID___56256 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C54149_VT); + r0 = pxsim_Array__push(s.tmp_0, inline__P21198); + globals.listeners___21199 = (s.tmp_0); + globals.globalVolume___21252 = (null); + globals.playToneID___21259 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C19149_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P54152_mk(s); + s.tmp_1 = music_Melody_constructor__P19152_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___54166 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C54149_VT); + globals.wawawawaa___19166 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C19149_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P54152_mk(s); + s.tmp_1 = music_Melody_constructor__P19152_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___54169 = (s.tmp_0); - globals.brightness___54275 = (100); + globals.powerUp___19169 = (s.tmp_0); + globals.brightness___19275 = (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", _hex63419); - globals.font8___54296 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex28422); + globals.font8___19296 = (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", _hex63421); - globals.font12___54297 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex28424); + globals.font12___19297 = (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", _hex64730); - globals.font5___54301 = (s.tmp_0); - globals.__updated___56293 = (false); - r0 = pxsim.control.runInParallel(inline__P56296); - r0 = pxsim_pxtcore.setPalette(_hex56307); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex29736); + globals.font5___19301 = (s.tmp_0); + globals.__updated___21296 = (false); + r0 = pxsim.control.runInParallel(inline__P21299); + r0 = pxsim_pxtcore.setPalette(_hex21310); r0 = pxsim.image.create(160, 120); - globals.screen___54353 = (r0); - s.tmp_0 = control___screen_setupUpdate__P54315_mk(s); - s.tmp_0.arg0 = inline__P56314; + globals.screen___19353 = (r0); + s.tmp_0 = control___screen_setupUpdate__P19315_mk(s); + s.tmp_0.arg0 = inline__P21317; s.callLocIdx = 4; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___52938 = (inline__P56319); - globals.RUN_KEY___56324 = ("#run"); - globals.SCOPE_KEY___56325 = ("#scope"); - s.tmp_0 = settings_initScopes__P56336_mk(s); + globals.control_EventContext_onStats___17938 = (inline__P21322); + globals.RUN_KEY___21327 = ("#run"); + globals.SCOPE_KEY___21328 = ("#scope"); + s.tmp_0 = settings_initScopes__P21339_mk(s); s.callLocIdx = 5; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C54454_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C19454_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P54460_mk(s); + s.tmp_1 = controller_Button_constructor__P19460_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___54428 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C54454_VT); + globals.A___19428 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C19454_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P54460_mk(s); + s.tmp_1 = controller_Button_constructor__P19460_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___54429 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C54454_VT); + globals.B___19429 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C19454_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P54460_mk(s); + s.tmp_1 = controller_Button_constructor__P19460_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___54430 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C54454_VT); + globals.left___19430 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C19454_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P54460_mk(s); + s.tmp_1 = controller_Button_constructor__P19460_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___54431 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C54454_VT); + globals.up___19431 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C19454_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P54460_mk(s); + s.tmp_1 = controller_Button_constructor__P19460_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___54432 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C54454_VT); + globals.right___19432 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C19454_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P54460_mk(s); + s.tmp_1 = controller_Button_constructor__P19460_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___54433 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C54454_VT); + globals.down___19433 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C19454_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P54460_mk(s); + s.tmp_1 = controller_Button_constructor__P19460_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___54434 = (s.tmp_0); - globals._userEventsEnabled___56363 = (true); - globals.defaultRepeatDelay___56365 = (500); - globals.defaultRepeatInterval___56367 = (30); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C56373_VT); + globals.menu___19434 = (s.tmp_0); + globals._userEventsEnabled___21366 = (true); + globals.defaultRepeatDelay___21368 = (500); + globals.defaultRepeatInterval___21370 = (30); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C21376_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P54460_mk(s); + s.tmp_1 = controller_Button_constructor__P19460_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___54508 = (s.tmp_0); - s.tmp_0 = SpriteKind_create__P54678_mk(s); + globals.anyButton___19508 = (s.tmp_0); + s.tmp_0 = SpriteKind_create__P19678_mk(s); s.callLocIdx = 14; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___54679 = (r0); - s.tmp_0 = SpriteKind_create__P54678_mk(s); + globals.Player___19679 = (r0); + s.tmp_0 = SpriteKind_create__P19678_mk(s); s.callLocIdx = 15; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___54681 = (r0); - s.tmp_0 = SpriteKind_create__P54678_mk(s); + globals.Food___19681 = (r0); + s.tmp_0 = SpriteKind_create__P19678_mk(s); s.callLocIdx = 16; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___54682 = (r0); + globals.Enemy___19682 = (r0); r0 = (100 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MAX_TIME_STEP___54719 = (r0); + globals.MAX_TIME_STEP___19719 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___54721 = (r0); - globals.infoState___56416 = (undefined); - s.tmp_0 = game_addScenePushHandler__P55097_mk(s); - s.tmp_0.arg0 = inline__P56420; + globals.MIN_MOVE_GAP___19721 = (r0); + globals.infoState___21419 = (undefined); + s.tmp_0 = game_addScenePushHandler__P20100_mk(s); + s.tmp_0.arg0 = inline__P21423; s.callLocIdx = 19; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P55099_mk(s); - s.tmp_0.arg0 = inline__P56435; + s.tmp_0 = game_addScenePopHandler__P20102_mk(s); + s.tmp_0.arg0 = inline__P21438; s.callLocIdx = 23; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___54987 = (r0); - globals.debug___55076 = (false); - globals.stats___55077 = (false); - globals.winEffect___55078 = (undefined); - globals.loseEffect___55079 = (undefined); - globals.loseSound___56531 = (undefined); - globals.winSound___56533 = (undefined); - s.tmp_0 = scene_systemMenu_initVolume__P56800_mk(s); + globals.scene_Scene_initializers___19990 = (r0); + globals.debug___20079 = (false); + globals.stats___20080 = (false); + globals.winEffect___20081 = (undefined); + globals.loseEffect___20082 = (undefined); + globals.loseSound___21534 = (undefined); + globals.winSound___21536 = (undefined); + s.tmp_0 = scene_systemMenu_initVolume__P21803_mk(s); s.callLocIdx = 24; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P56801_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P21804_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___54987, scene_systemMenu_register__P55181); - r0 = pxsim.image.ofBuffer(_hex56808); - globals.CARD_NORMAL___55186 = (r0); - r0 = pxsim.image.ofBuffer(_hex56810); - globals.CARD_SELECTED___55187 = (r0); - r0 = pxsim.image.ofBuffer(_hex56812); - globals.CARD_ACTIVE___55188 = (r0); - r0 = pxsim.image.ofBuffer(_hex56814); - globals.VOLUME_UP_ICON___55189 = (r0); - r0 = pxsim.image.ofBuffer(_hex56816); - globals.BRIGHTNESS_DOWN_ICON___55190 = (r0); - r0 = pxsim.image.ofBuffer(_hex56818); - globals.CLOSE_MENU_ICON___55191 = (r0); - r0 = pxsim.image.ofBuffer(_hex56820); - globals.VOLUME_DOWN_ICON___55192 = (r0); - r0 = pxsim.image.ofBuffer(_hex56822); - globals.SLEEP_ICON___55193 = (r0); - r0 = pxsim.image.ofBuffer(_hex56824); - globals.CONSOLE_ICON___55194 = (r0); - r0 = pxsim.image.ofBuffer(_hex56826); - globals.BRIGHTNESS_UP_ICON___55195 = (r0); - r0 = pxsim.image.ofBuffer(_hex56828); - globals.STATS_ICON___55196 = (r0); - globals.consoleColor___56831 = (1); - globals.tabSize___56834 = (8); - globals.consoleFont___56840 = (globals.font5___54301); - r0 = pxsim_ImageMethods.height(globals.screen___54353); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___19990, scene_systemMenu_register__P20184); + r0 = pxsim.image.ofBuffer(_hex21811); + globals.CARD_NORMAL___20189 = (r0); + r0 = pxsim.image.ofBuffer(_hex21813); + globals.CARD_SELECTED___20190 = (r0); + r0 = pxsim.image.ofBuffer(_hex21815); + globals.CARD_ACTIVE___20191 = (r0); + r0 = pxsim.image.ofBuffer(_hex21817); + globals.VOLUME_UP_ICON___20192 = (r0); + r0 = pxsim.image.ofBuffer(_hex21819); + globals.BRIGHTNESS_DOWN_ICON___20193 = (r0); + r0 = pxsim.image.ofBuffer(_hex21821); + globals.CLOSE_MENU_ICON___20194 = (r0); + r0 = pxsim.image.ofBuffer(_hex21823); + globals.VOLUME_DOWN_ICON___20195 = (r0); + r0 = pxsim.image.ofBuffer(_hex21825); + globals.SLEEP_ICON___20196 = (r0); + r0 = pxsim.image.ofBuffer(_hex21827); + globals.CONSOLE_ICON___20197 = (r0); + r0 = pxsim.image.ofBuffer(_hex21829); + globals.BRIGHTNESS_UP_ICON___20198 = (r0); + r0 = pxsim.image.ofBuffer(_hex21831); + globals.STATS_ICON___20199 = (r0); + globals.consoleColor___21834 = (1); + globals.tabSize___21837 = (8); + globals.consoleFont___21843 = (globals.font5___19301); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___56840; + s.tmp_5.arg0 = globals.consoleFont___21843; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -636,13 +636,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___56845 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___54353); + globals.consoleLines___21848 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___19353); 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___56840; + s.tmp_4.arg0 = globals.consoleFont___21843; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -657,22 +657,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___56855 = (r0); - s.tmp_0 = console_addListener__P52923_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P56867; + globals.consoleColumns___21858 = (r0); + s.tmp_0 = console_addListener__P17923_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P21870; 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__P56871; + s.tmp_0.argL = inline__P21874; 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___56869 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C55266_VT); + globals.MAX_SOURCES___21872 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C20269_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P55267_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P20270_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -680,112 +680,112 @@ switch (step) { s.callLocIdx = 31; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - globals.defaultFactory___55246 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C55134_VT); + globals.defaultFactory___20249 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C20137_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P55136_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P20139_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___56904 = (s.tmp_0); - globals.angleSlice___56912 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C55341_VT); + globals.galois___21907 = (s.tmp_0); + globals.angleSlice___21915 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C20344_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P55342_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P20345_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__P61632; + s.tmp_1.arg4 = inline__P26635; s.callLocIdx = 38; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.confetti___55349 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C55364_VT); + globals.confetti___20352 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C20367_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P55365_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P20368_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P60653; + s.tmp_1.arg2 = inline__P25656; s.callLocIdx = 44; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.dissolve___55369 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C55364_VT); + globals.dissolve___20372 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C20367_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P55365_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P20368_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P61578; + s.tmp_1.arg2 = inline__P26581; s.callLocIdx = 47; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.melt___55370 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C55379_VT); + globals.melt___20373 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C20382_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P55381_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P20384_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P56963; + s.tmp_1.arg1 = inline__P21966; s.callLocIdx = 48; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.shake___55382 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C55379_VT); + globals.shake___20385 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C20382_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P55381_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P20384_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P56976; + s.tmp_1.arg1 = inline__P21979; s.callLocIdx = 58; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.wave___55383 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P55081_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P54504; + globals.wave___20386 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P20084_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P19504; s.callLocIdx = 59; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = game_eventContext__P55083_mk(s); + s.tmp_0 = game_eventContext__P20086_mk(s); s.callLocIdx = 60; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = SpriteKind_create__P54678_mk(s); + s.tmp_0 = SpriteKind_create__P19678_mk(s); s.callLocIdx = 61; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - globals._TileSprite___56001 = (r0); - s.tmp_0 = ConnectionKind_create__P56043_mk(s); + globals._TileSprite___21004 = (r0); + s.tmp_0 = ConnectionKind_create__P21046_mk(s); s.callLocIdx = 62; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - globals.Door1___56044 = (r0); - s.tmp_0 = ConnectionKind_create__P56043_mk(s); + globals.Door1___21047 = (r0); + s.tmp_0 = ConnectionKind_create__P21046_mk(s); s.callLocIdx = 63; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - globals.Door2___56045 = (r0); - s.tmp_0 = ConnectionKind_create__P56043_mk(s); + globals.Door2___21048 = (r0); + s.tmp_0 = ConnectionKind_create__P21046_mk(s); s.callLocIdx = 64; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - globals.Ladder1___56046 = (r0); - s.tmp_0 = ConnectionKind_create__P56043_mk(s); + globals.Ladder1___21049 = (r0); + s.tmp_0 = ConnectionKind_create__P21046_mk(s); s.callLocIdx = 65; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - globals.Pipe1___56047 = (r0); + globals.Pipe1___21050 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P70069.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"test.ts","functionName":"
","argumentNames":[]} -_main___P70069.continuations = [ ] +_main___P35081.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"test.ts","functionName":"
","argumentNames":[]} +_main___P35081.continuations = [ ] -function _main___P70069_mk(s) { +function _main___P35081_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P70069, depth: s.depth + 1, + parent: s, fn: _main___P35081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -795,26 +795,26 @@ function _main___P70069_mk(s) { tmp_5: undefined, } } -const _hex63419 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex63421 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex64730 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex56307 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex56808 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex56810 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex56812 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex56814 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex56816 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex56818 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex56820 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex56822 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex56824 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex56826 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex56828 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28422 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex28424 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex29736 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex21310 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex21811 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex21813 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex21815 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex21817 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex21819 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex21821 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex21823 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex21825 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex21827 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex21829 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex21831 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function inline__P56296(s) { +function inline__P21299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -827,23 +827,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___56293 = (false); - s.tmp_0 = pause__P52953_mk(s); + globals.__updated___21296 = (false); + s.tmp_0 = pause__P17953_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___56293); + r0 = pxsim_numops_toBoolDecr(globals.__updated___21296); 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__P54314_mk(s); + s.tmp_2 = control___screen_update__P19314_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___56293 = (true); + globals.__updated___21296 = (true); case 2: case 3: { step = 1; continue; } @@ -852,12 +852,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56296.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P21299.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function inline__P56296_mk(s) { +function inline__P21299_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56296, depth: s.depth + 1, + parent: s, fn: inline__P21299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -868,7 +868,7 @@ function inline__P56296_mk(s) { -function inline__P56314(s) { +function inline__P21317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -878,17 +878,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___54353); + r0 = pxsim_pxtcore.updateScreen(globals.screen___19353); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P56314.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P21317.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function inline__P56314_mk(s) { +function inline__P21317_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56314, depth: s.depth + 1, + parent: s, fn: inline__P21317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -896,7 +896,7 @@ function inline__P56314_mk(s) { -function inline__P56319(s) { +function inline__P21322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -915,12 +915,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56319.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +inline__P21322.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__P56319_mk(s) { +function inline__P21322_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56319, depth: s.depth + 1, + parent: s, fn: inline__P21322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -929,7 +929,7 @@ function inline__P56319_mk(s) { -function inline__P56420(s) { +function inline__P21423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -943,36 +943,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___56416); + r0 = pxsim_numops_toBoolDecr(globals.infoState___21419); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___56418); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___21421); 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___56418 = (r0); + globals.infoStateStack___21421 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___56416); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___21419); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___56418, s.tmp_0); - globals.infoState___56416 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___21421, s.tmp_0); + globals.infoState___21419 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P56420.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P21423.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__P56420_mk(s) { +function inline__P21423_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56420, depth: s.depth + 1, + parent: s, fn: inline__P21423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -983,7 +983,7 @@ function inline__P56420_mk(s) { -function inline__P56435(s) { +function inline__P21438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -993,30 +993,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___56436 = undefined; - s.nextState___56445 = undefined; - s.tmp_0 = game_currentScene__P55080_mk(s); + s.scene___21439 = undefined; + s.nextState___21448 = undefined; + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 20; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___56436 = (r0); - globals.infoState___56416 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___56418; + s.scene___21439 = (r0); + globals.infoState___21419 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___21421; 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___56418); + r0 = pxsim_Array__length(globals.infoStateStack___21421); 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___56418); - s.nextState___56445 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___21421); + s.nextState___21448 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___56445; + s.tmp_2.arg0 = s.nextState___21448; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1028,12 +1028,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___56436); + r0 = (s.tmp_1 == s.scene___21439); 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___56445; + s.tmp_3.arg0 = s.nextState___21448; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1044,10 +1044,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___56416 = (r0); + globals.infoState___21419 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___56418, s.nextState___56445); + r0 = pxsim_Array__push(globals.infoStateStack___21421, s.nextState___21448); case 4: case 5: case 6: @@ -1055,26 +1055,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56435.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P21438.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P56435_mk(s) { +function inline__P21438_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56435, depth: s.depth + 1, + parent: s, fn: inline__P21438, 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___56436: undefined, - nextState___56445: undefined, + scene___21439: undefined, + nextState___21448: undefined, } } -function inline__P56871(s) { +function inline__P21874(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1084,13 +1084,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___56872 = undefined; - s.tmp_0 = control_ramSize__P52886_mk(s); + s.sz___21875 = undefined; + s.tmp_0 = control_ramSize__P17886_mk(s); s.callLocIdx = 29; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___56872 = (r0); - r0 = (s.sz___56872 <= 102400); + s.sz___21875 = (r0); + r0 = (s.sz___21875 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -1098,7 +1098,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___56872 <= 204800); + r0 = (s.sz___21875 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -1115,23 +1115,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56871.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P21874.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function inline__P56871_mk(s) { +function inline__P21874_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56871, depth: s.depth + 1, + parent: s, fn: inline__P21874, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___56872: undefined, + sz___21875: undefined, } } -function inline__P56963(s) { +function inline__P21966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1161,12 +1161,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56963.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P21966.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -function inline__P56963_mk(s) { +function inline__P21966_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56963, depth: s.depth + 1, + parent: s, fn: inline__P21966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1181,7 +1181,7 @@ function inline__P56963_mk(s) { -function inline__P56976(s) { +function inline__P21979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1210,7 +1210,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__P52675_mk(s); + s.tmp_7 = Math_sign__P17675_mk(s); r0 = pxsim.Math_.sin(s.arg0); s.tmp_7.arg0 = r0; s.callLocIdx = 49; s.pc = 7; return s.tmp_7; @@ -1275,7 +1275,7 @@ switch (step) { } case 9: r0 = s.retval; - s.tmp_2 = Math_abs__P52674_mk(s); + s.tmp_2 = Math_abs__P17674_mk(s); s.tmp_3 = if_yOffset_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -1347,12 +1347,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56976.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__P21979.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__P56976_mk(s) { +function inline__P21979_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56976, depth: s.depth + 1, + parent: s, fn: inline__P21979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1372,7 +1372,7 @@ function inline__P56976_mk(s) { -function ConnectionKind_create__P56043(s) { +function ConnectionKind_create__P21046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1382,26 +1382,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___58566 === undefined); + r0 = (globals.nextKind___23569 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___58566 = (1); + globals.nextKind___23569 = (1); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___58566; + s.tmp_0 = r0 = globals.nextKind___23569; r0 = (s.tmp_0 + 1); - globals.nextKind___58566 = (r0); + globals.nextKind___23569 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -ConnectionKind_create__P56043.info = {"start":412,"length":112,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"overworld.ts","functionName":"create","argumentNames":[]} +ConnectionKind_create__P21046.info = {"start":412,"length":112,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"overworld.ts","functionName":"create","argumentNames":[]} -function ConnectionKind_create__P56043_mk(s) { +function ConnectionKind_create__P21046_mk(s) { checkStack(s.depth); return { - parent: s, fn: ConnectionKind_create__P56043, depth: s.depth + 1, + parent: s, fn: ConnectionKind_create__P21046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -1410,7 +1410,7 @@ function ConnectionKind_create__P56043_mk(s) { -function game_eventContext__P55083(s) { +function game_eventContext__P20086(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1420,21 +1420,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P56542_mk(s); + s.tmp_0 = game_init__P21545_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 846; s.pc = 1; return s.tmp_0; + s.callLocIdx = 850; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___56534.fields["eventContext"]; + r0 = globals._scene___21537.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P55083.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P20086.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__P55083_mk(s) { +function game_eventContext__P20086_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P55083, depth: s.depth + 1, + parent: s, fn: game_eventContext__P20086, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -1443,7 +1443,7 @@ function game_eventContext__P55083_mk(s) { -function game_init__P56542(s) { +function game_init__P21545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1457,7 +1457,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___56534); + r0 = pxsim_numops_toBoolDecr(globals._scene___21537); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1472,73 +1472,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__C54967_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C19970_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P54988_mk(s); + s.tmp_4 = scene_Scene_constructor__P19991_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P52949_mk(s); - s.callLocIdx = 847; s.pc = 14; return s.tmp_5; + s.tmp_5 = control_pushEventContext__P17949_mk(s); + s.callLocIdx = 851; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___56534; - s.callLocIdx = 848; s.pc = 13; return s.tmp_4; + s.tmp_4.arg2 = globals._scene___21537; + s.callLocIdx = 852; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - globals._scene___56534 = (s.tmp_3); + globals._scene___21537 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P54989_mk(s); - s.tmp_0.arg0 = globals._scene___56534; - s.callLocIdx = 849; s.pc = 15; return s.tmp_0; + s.tmp_0 = scene_Scene_init__P19992_mk(s); + s.tmp_0.arg0 = globals._scene___21537; + s.callLocIdx = 853; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___55078); + r0 = pxsim_numops_toBoolDecr(globals.winEffect___20081); 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___55078 = (globals.confetti___55349); + globals.winEffect___20081 = (globals.confetti___20352); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___55079); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___20082); 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___55079 = (globals.melt___55370); + globals.loseEffect___20082 = (globals.melt___20373); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___56533); + r0 = pxsim_numops_toBoolDecr(globals.winSound___21536); 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___56533 = (globals.powerUp___54169); + globals.winSound___21536 = (globals.powerUp___19169); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___56531); + r0 = pxsim_numops_toBoolDecr(globals.loseSound___21534); 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___56531 = (globals.wawawawaa___54166); + globals.loseSound___21534 = (globals.wawawawaa___19166); case 11: case 12: r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P56542.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__P21545.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__P56542_mk(s) { +function game_init__P21545_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P56542, depth: s.depth + 1, + parent: s, fn: game_init__P21545, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1553,7 +1553,7 @@ function game_init__P56542_mk(s) { -function inline__P61578(s) { +function inline__P26581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1563,11 +1563,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___61581 = undefined; - s.j___61589 = undefined; - s.x___61594 = undefined; - s.y___61600 = undefined; - s.c___61606 = undefined; + s.rounds___26584 = undefined; + s.j___26592 = undefined; + s.x___26597 = undefined; + s.y___26603 = undefined; + s.c___26609 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1580,14 +1580,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___61581 = (r0); - s.j___61589 = (0); + s.rounds___26584 = (r0); + s.j___26592 = (0); case 1: - r0 = (s.j___61589 < s.rounds___61581); + r0 = (s.j___26592 < s.rounds___26584); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P55138_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P20141_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -1597,8 +1597,8 @@ switch (step) { s.callLocIdx = 45; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___61594 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P55138_mk(s); + s.x___26597 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P20141_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -1608,42 +1608,42 @@ switch (step) { s.callLocIdx = 46; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___61600 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___61594, s.y___61600); - s.c___61606 = (r0); + s.y___26603 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___26597, s.y___26603); + s.c___26609 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___61594; - r0 = (s.y___61600 + 1); + s.tmp_1 = r0 = s.x___26597; + r0 = (s.y___26603 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___61606); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___26609); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___61594; - r0 = (s.y___61600 + 2); + s.tmp_1 = r0 = s.x___26597; + r0 = (s.y___26603 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___61606); - r0 = (s.j___61589 + 1); - s.j___61589 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___26609); + r0 = (s.j___26592 + 1); + s.j___26592 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P61578.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__P26581.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__P61578_mk(s) { +function inline__P26581_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61578, depth: s.depth + 1, + parent: s, fn: inline__P26581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___61581: undefined, - j___61589: undefined, - x___61594: undefined, - y___61600: undefined, - c___61606: undefined, + rounds___26584: undefined, + j___26592: undefined, + x___26597: undefined, + y___26603: undefined, + c___26609: undefined, arg0: undefined, arg1: undefined, } } @@ -1652,7 +1652,7 @@ function inline__P61578_mk(s) { -function Math_FastRandom_randomRange__P55138(s) { +function Math_FastRandom_randomRange__P20141(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1669,14 +1669,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C55134_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C20137_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__P55137_mk(s); + s.tmp_2 = Math_FastRandom_next__P20140_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 873; s.pc = 3; return s.tmp_2; + s.callLocIdx = 877; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -1695,12 +1695,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P55138.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__P20141.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__P55138_mk(s) { +function Math_FastRandom_randomRange__P20141_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P55138, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P20141, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1717,7 +1717,7 @@ function Math_FastRandom_randomRange__P55138_mk(s) { -function Math_FastRandom_next__P55137(s) { +function Math_FastRandom_next__P20140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1732,7 +1732,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C55134_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C20137_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -1753,12 +1753,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P55137.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__P20140.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__P55137_mk(s) { +function Math_FastRandom_next__P20140_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P55137, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P20140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1775,7 +1775,7 @@ function Math_FastRandom_next__P55137_mk(s) { -function effects_ImageEffect_constructor__P55365(s) { +function effects_ImageEffect_constructor__P20368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1792,14 +1792,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C55364_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C20367_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C55134_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C20137_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P55136_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P20139_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1165; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1170; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); @@ -1809,12 +1809,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P55365.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__P20368.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__P55365_mk(s) { +function effects_ImageEffect_constructor__P20368_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P55365, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P20368, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1827,7 +1827,7 @@ function effects_ImageEffect_constructor__P55365_mk(s) { -function inline__P61632(s) { +function inline__P26635(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1837,13 +1837,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___61635 = undefined; + s.factory___26638 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C55293_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C20296_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -1878,27 +1878,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P55294_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P20297_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___61635 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P55270_mk(s); - s.tmp_0.arg0 = s.factory___61635; + s.factory___26638 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P20273_mk(s); + s.tmp_0.arg0 = s.factory___26638; 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__C55226_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C20229_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P55231_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P20234_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___61635; + s.tmp_1.arg3 = s.factory___26638; s.callLocIdx = 37; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -1906,12 +1906,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61632.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__P26635.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__P61632_mk(s) { +function inline__P26635_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61632, depth: s.depth + 1, + parent: s, fn: inline__P26635, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1919,7 +1919,7 @@ function inline__P61632_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___61635: undefined, + factory___26638: undefined, arg0: undefined, arg1: undefined, } } @@ -1928,7 +1928,7 @@ function inline__P61632_mk(s) { -function particles_ParticleSource_constructor__P55231(s) { +function particles_ParticleSource_constructor__P20234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1938,8 +1938,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___61656 = undefined; - s.removedSource___61665 = undefined; + s.sources___26659 = undefined; + s.removedSource___26668 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1948,65 +1948,65 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P54411_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P19411_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1041; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1046; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P56892_mk(s); - s.callLocIdx = 1042; s.pc = 6; return s.tmp_0; + s.tmp_0 = particles_init__P21895_mk(s); + s.callLocIdx = 1047; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P56898_mk(s); - s.callLocIdx = 1043; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_particleSources__P21901_mk(s); + s.callLocIdx = 1048; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___61656 = (r0); - r0 = pxsim_Array__length(s.sources___61656); + s.sources___26659 = (r0); + r0 = pxsim_Array__length(s.sources___26659); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___56869); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___21872); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P56895_mk(s); - s.tmp_2.arg0 = s.sources___61656; - s.callLocIdx = 1044; s.pc = 8; return s.tmp_2; + s.tmp_2 = particles_sortSources__P21898_mk(s); + s.tmp_2.arg0 = s.sources___26659; + s.callLocIdx = 1049; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___61656, 0); - s.removedSource___61665 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P55241_mk(s); - s.tmp_0.arg0 = s.removedSource___61665; - s.callLocIdx = 1046; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array_.removeAt(s.sources___26659, 0); + s.removedSource___26668 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P20244_mk(s); + s.tmp_0.arg0 = s.removedSource___26668; + s.callLocIdx = 1051; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P55240_mk(s); - s.tmp_0.arg0 = s.removedSource___61665; - s.callLocIdx = 1047; s.pc = 10; return s.tmp_0; + s.tmp_0 = particles_ParticleSource_destroy__P20243_mk(s); + s.tmp_0.arg0 = s.removedSource___26668; + s.callLocIdx = 1052; 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__P55243_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P20246_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1048; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1053; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P55235_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P20238_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.callLocIdx = 1049; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1054; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P55242_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P20245_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1050; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1055; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = (s.arg0).fields["lifespan"] = (undefined); @@ -2018,39 +2018,39 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___55246; + r0 = globals.defaultFactory___20249; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P55245_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P20248_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1051; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1056; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___61656, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P55239_mk(s); + r0 = pxsim_Array__push(s.sources___26659, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P20242_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1052; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1057; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P55231.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__P20234.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__P55231_mk(s) { +function particles_ParticleSource_constructor__P20234_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P55231, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P20234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___61656: undefined, - removedSource___61665: undefined, + sources___26659: undefined, + removedSource___26668: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2061,7 +2061,7 @@ function particles_ParticleSource_constructor__P55231_mk(s) { -function particles_particleSources__P56898(s) { +function particles_particleSources__P21901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2071,33 +2071,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___62088 = undefined; - s.tmp_0 = game_currentScene__P55080_mk(s); - s.callLocIdx = 1103; s.pc = 1; return s.tmp_0; + s.sources___27091 = undefined; + s.tmp_0 = game_currentScene__P20083_mk(s); + s.callLocIdx = 1108; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___62088 = (r0); - r0 = s.sources___62088; + s.sources___27091 = (r0); + r0 = s.sources___27091; return leave(s, r0) default: oops() } } } -particles_particleSources__P56898.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P21901.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__P56898_mk(s) { +function particles_particleSources__P21901_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P56898, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P21901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___62088: undefined, + sources___27091: undefined, } } -function particles_sortSources__P56895(s) { +function particles_sortSources__P21898(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2111,22 +2111,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P52654_mk(s); + s.tmp_0 = helpers_arraySort__P17654_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P61958; - s.callLocIdx = 1090; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = inline__P26961; + s.callLocIdx = 1095; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_sortSources__P56895.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__P21898.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__P56895_mk(s) { +function particles_sortSources__P21898_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P56895, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P21898, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2136,7 +2136,7 @@ function particles_sortSources__P56895_mk(s) { -function inline__P61958(s) { +function inline__P26961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2174,12 +2174,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61958.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__P26961.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__P61958_mk(s) { +function inline__P26961_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61958, depth: s.depth + 1, + parent: s, fn: inline__P26961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2195,7 +2195,7 @@ function inline__P61958_mk(s) { -function helpers_arraySort__P52654(s) { +function helpers_arraySort__P17654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2227,10 +2227,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (inline__P61981); + s.arg1 = (inline__P26984); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P56144_mk(s); + s.tmp_0 = helpers_sortHelper__P21147_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; @@ -2239,12 +2239,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P52654.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__P17654.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__P52654_mk(s) { +function helpers_arraySort__P17654_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P52654, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P17654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2258,7 +2258,7 @@ function helpers_arraySort__P52654_mk(s) { -function inline__P61981(s) { +function inline__P26984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2268,26 +2268,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___61984 = undefined; - s.bIsUndef___61988 = undefined; - s.aIsNull___61999 = undefined; - s.bIsNull___62003 = undefined; + s.aIsUndef___26987 = undefined; + s.bIsUndef___26991 = undefined; + s.aIsNull___27002 = undefined; + s.bIsNull___27006 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___61984 = (r0); + s.aIsUndef___26987 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___61988 = (r0); - s.tmp_0 = r0 = s.aIsUndef___61984; + s.bIsUndef___26991 = (r0); + s.tmp_0 = r0 = s.aIsUndef___26987; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___61988; + r0 = s.bIsUndef___26991; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -2297,13 +2297,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___61984); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___26987); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___61988); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___26991); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -2312,16 +2312,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___61999 = (r0); + s.aIsNull___27002 = (r0); r0 = (s.arg1 === null); - s.bIsNull___62003 = (r0); - s.tmp_0 = r0 = s.aIsNull___61999; + s.bIsNull___27006 = (r0); + s.tmp_0 = r0 = s.aIsNull___27002; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___62003; + r0 = s.bIsNull___27006; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -2331,13 +2331,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___61999); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___27002); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___62003); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___27006); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -2376,12 +2376,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61981.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__P26984.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__P61981_mk(s) { +function inline__P26984_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61981, depth: s.depth + 1, + parent: s, fn: inline__P26984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2391,10 +2391,10 @@ function inline__P61981_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___61984: undefined, - bIsUndef___61988: undefined, - aIsNull___61999: undefined, - bIsNull___62003: undefined, + aIsUndef___26987: undefined, + bIsUndef___26991: undefined, + aIsNull___27002: undefined, + bIsNull___27006: undefined, arg0: undefined, arg1: undefined, } } @@ -2403,7 +2403,7 @@ function inline__P61981_mk(s) { -function helpers_sortHelper__P56144(s) { +function helpers_sortHelper__P21147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2413,9 +2413,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___62038 = undefined; - s.i___62041 = undefined; - s.j___62047 = undefined; + s.len___27041 = undefined; + s.i___27044 = undefined; + s.j___27050 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2443,28 +2443,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___62038 = (r0); - s.i___62041 = (0); + s.len___27041 = (r0); + s.i___27044 = (0); case 5: - s.tmp_1 = r0 = s.i___62041; - r0 = (s.len___62038 - 1); + s.tmp_1 = r0 = s.i___27044; + r0 = (s.len___27041 - 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___62041 + 1); - s.j___62047 = (r0); + r0 = (s.i___27044 + 1); + s.j___27050 = (r0); case 6: - r0 = (s.j___62047 < s.len___62038); + r0 = (s.j___27050 < s.len___27041); 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___62041); + r0 = pxsim_Array__getAt(s.arg0, s.i___27044); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___62047); + r0 = pxsim_Array__getAt(s.arg0, s.j___27050); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 0; s.pc = 12; return s.tmp_3; @@ -2475,21 +2475,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P56143_mk(s); + s.tmp_4 = helpers_swap__P21146_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___62041; - s.tmp_4.arg2 = s.j___62047; + s.tmp_4.arg1 = s.i___27044; + s.tmp_4.arg2 = s.j___27050; s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___62047 + 1); - s.j___62047 = (r0); + r0 = (s.j___27050 + 1); + s.j___27050 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___62041 + 1); - s.i___62041 = (r0); + r0 = (s.i___27044 + 1); + s.i___27044 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -2497,21 +2497,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P56144.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__P21147.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__P56144_mk(s) { +function helpers_sortHelper__P21147_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P56144, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P21147, 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___62038: undefined, - i___62041: undefined, - j___62047: undefined, + len___27041: undefined, + i___27044: undefined, + j___27050: undefined, arg0: undefined, arg1: undefined, } } @@ -2520,7 +2520,7 @@ function helpers_sortHelper__P56144_mk(s) { -function helpers_swap__P56143(s) { +function helpers_swap__P21146(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2530,7 +2530,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___62076 = undefined; + s.temp___27079 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2538,28 +2538,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___62076 = (r0); + s.temp___27079 = (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___62076); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___27079); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P56143.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__P21146.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__P56143_mk(s) { +function helpers_swap__P21146_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P56143, depth: s.depth + 1, + parent: s, fn: helpers_swap__P21146, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___62076: undefined, + temp___27079: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2569,7 +2569,7 @@ function helpers_swap__P56143_mk(s) { -function particles_init__P56892(s) { +function particles_init__P21895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2579,34 +2579,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___62093 = undefined; - s.tmp_0 = game_currentScene__P55080_mk(s); - s.callLocIdx = 1080; s.pc = 4; return s.tmp_0; + s.scene___27096 = undefined; + s.tmp_0 = game_currentScene__P20083_mk(s); + s.callLocIdx = 1085; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___62093 = (r0); - r0 = s.scene___62093.fields["particleSources"]; + s.scene___27096 = (r0); + r0 = s.scene___27096.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___62093; + s.tmp_1 = r0 = s.scene___27096; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___56887 = (r0); - s.tmp_0 = game_onUpdate__P55091_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P56893; - s.callLocIdx = 1081; s.pc = 5; return s.tmp_0; + globals.lastUpdate___21890 = (r0); + s.tmp_0 = game_onUpdate__P20094_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P21896; + s.callLocIdx = 1086; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P55092_mk(s); + s.tmp_0 = game_onUpdateInterval__P20095_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P56894; - s.callLocIdx = 1082; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles__P21897; + s.callLocIdx = 1087; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -2614,24 +2614,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P56892.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P21895.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__P56892_mk(s) { +function particles_init__P21895_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P56892, depth: s.depth + 1, + parent: s, fn: particles_init__P21895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___62093: undefined, + scene___27096: undefined, } } -function particles_pruneParticles__P56894(s) { +function particles_pruneParticles__P21897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2641,26 +2641,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___62108 = undefined; - s.tmp_0 = particles_particleSources__P56898_mk(s); - s.callLocIdx = 1086; s.pc = 3; return s.tmp_0; + s.sources___27111 = undefined; + s.tmp_0 = particles_particleSources__P21901_mk(s); + s.callLocIdx = 1091; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___62108 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___62108); + s.sources___27111 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___27111); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P52658_mk(s); - s.tmp_1 = helpers_arraySlice__P52663_mk(s); - s.tmp_1.arg0 = s.sources___62108; + s.tmp_0 = helpers_arrayForEach__P17658_mk(s); + s.tmp_1 = helpers_arraySlice__P17663_mk(s); + s.tmp_1.arg0 = s.sources___27111; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___62108); + r0 = pxsim_Array__length(s.sources___27111); s.tmp_1.arg2 = r0; - s.callLocIdx = 1087; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1092; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P62117; - s.callLocIdx = 1089; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = inline__P27120; + s.callLocIdx = 1094; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -2669,23 +2669,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P56894.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P21897.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__P56894_mk(s) { +function particles_pruneParticles__P21897_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P56894, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P21897, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___62108: undefined, + sources___27111: undefined, } } -function inline__P62117(s) { +function inline__P27120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2699,21 +2699,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P55234_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P20237_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1088; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1093; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P62117.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P27120.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__P62117_mk(s) { +function inline__P27120_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62117, depth: s.depth + 1, + parent: s, fn: inline__P27120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2723,7 +2723,7 @@ function inline__P62117_mk(s) { -function particles_ParticleSource__prune__P55234(s) { +function particles_ParticleSource__prune__P20237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2733,15 +2733,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___61909 = undefined; - s.sources___61917 = undefined; - s.current___61931 = undefined; + s.scene___26912 = undefined; + s.sources___26920 = undefined; + s.current___26934 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -2784,36 +2784,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P55080_mk(s); - s.callLocIdx = 1061; s.pc = 21; return s.tmp_5; + s.tmp_5 = game_currentScene__P20083_mk(s); + s.callLocIdx = 1066; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___61909 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___61909); + s.scene___26912 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___26912); if (!r0) { step = 7; continue; } - r0 = s.scene___61909.fields["allSprites"]; + r0 = s.scene___26912.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P56898_mk(s); - s.callLocIdx = 1062; s.pc = 22; return s.tmp_0; + s.tmp_0 = particles_particleSources__P21901_mk(s); + s.callLocIdx = 1067; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___61917 = (r0); - s.tmp_0 = r0 = s.sources___61917; + s.sources___26920 = (r0); + s.tmp_0 = r0 = s.sources___26920; 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___61917); + r0 = pxsim_Array__length(s.sources___26920); 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___61917, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___26920, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -2822,35 +2822,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___61931 = (r0); + s.current___26934 = (r0); case 15: - s.tmp_0 = r0 = s.current___61931; + s.tmp_0 = r0 = s.current___26934; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___61931.fields["next"]; + r0 = s.current___26934.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___61931.fields["next"]; + r0 = s.current___26934.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___61931.fields["next"]; + r0 = s.current___26934.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___61931).fields["next"] = (s.tmp_4); + r0 = (s.current___26934).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___61931.fields["next"]; - s.current___61931 = (r0); + r0 = s.current___26934.fields["next"]; + s.current___26934 = (r0); case 19: { step = 15; continue; } case 20: @@ -2858,12 +2858,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P55234.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__P20237.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__P55234_mk(s) { +function particles_ParticleSource__prune__P20237_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P55234, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P20237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2871,9 +2871,9 @@ function particles_ParticleSource__prune__P55234_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___61909: undefined, - sources___61917: undefined, - current___61931: undefined, + scene___26912: undefined, + sources___26920: undefined, + current___26934: undefined, arg0: undefined, } } @@ -2881,7 +2881,7 @@ function particles_ParticleSource__prune__P55234_mk(s) { -function helpers_arraySlice__P52663(s) { +function helpers_arraySlice__P17663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2891,9 +2891,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___61136 = undefined; - s.len___61138 = undefined; - s.i___61172 = undefined; + s.res___26139 = undefined; + s.len___26141 = undefined; + s.i___26175 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2901,9 +2901,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___61136 = (r0); + s.res___26139 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___61138 = (r0); + s.len___26141 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -2915,8 +2915,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P52676_mk(s); - r0 = (s.len___61138 + s.arg1); + s.tmp_1 = Math_max__P17676_mk(s); + r0 = (s.len___26141 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 8; s.pc = 16; return s.tmp_1; @@ -2926,11 +2926,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___61138); + r0 = (s.arg1 > s.len___26141); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___61136; + r0 = s.res___26139; { step = 15; continue; } case 5: case 6: @@ -2938,57 +2938,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___61138); + s.arg2 = (s.len___26141); { 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___61138 + s.arg2); + r0 = (s.len___26141 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___61138); + r0 = (s.arg2 > s.len___26141); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___61138); + s.arg2 = (s.len___26141); case 11: case 12: - s.i___61172 = (s.arg1); + s.i___26175 = (s.arg1); case 13: - r0 = (s.i___61172 < s.arg2); + r0 = (s.i___26175 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___61136; - r0 = pxsim_Array__getAt(s.arg0, s.i___61172); + s.tmp_1 = r0 = s.res___26139; + r0 = pxsim_Array__getAt(s.arg0, s.i___26175); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___61172 + 1); - s.i___61172 = (r0); + r0 = (s.i___26175 + 1); + s.i___26175 = (r0); { step = 13; continue; } case 14: - r0 = s.res___61136; + r0 = s.res___26139; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P52663.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__P17663.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__P52663_mk(s) { +function helpers_arraySlice__P17663_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P52663, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P17663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___61136: undefined, - len___61138: undefined, - i___61172: undefined, + res___26139: undefined, + len___26141: undefined, + i___26175: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2998,7 +2998,7 @@ function helpers_arraySlice__P52663_mk(s) { -function Math_max__P52676(s) { +function Math_max__P17676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3026,12 +3026,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P52676.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__P17676.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__P52676_mk(s) { +function Math_max__P17676_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P52676, depth: s.depth + 1, + parent: s, fn: Math_max__P17676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3042,7 +3042,7 @@ function Math_max__P52676_mk(s) { -function helpers_arrayForEach__P52658(s) { +function helpers_arrayForEach__P17658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3052,49 +3052,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___61189 = undefined; - s.i___61192 = undefined; + s.len___26192 = undefined; + s.i___26195 = 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___61189 = (r0); - s.i___61192 = (0); + s.len___26192 = (r0); + s.i___26195 = (0); case 1: - r0 = (s.i___61192 < s.len___61189); + r0 = (s.i___26195 < s.len___26192); 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___61192); + r0 = pxsim_Array__getAt(s.arg0, s.i___26195); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___61192; + s.tmp_1.arg1 = s.i___26195; 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___61192 + 1); - s.i___61192 = (r0); + r0 = (s.i___26195 + 1); + s.i___26195 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P52658.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__P17658.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__P52658_mk(s) { +function helpers_arrayForEach__P17658_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P52658, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P17658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___61189: undefined, - i___61192: undefined, + len___26192: undefined, + i___26195: undefined, arg0: undefined, arg1: undefined, } } @@ -3103,7 +3103,7 @@ function helpers_arrayForEach__P52658_mk(s) { -function particles_updateParticles__P56893(s) { +function particles_updateParticles__P21896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3113,16 +3113,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___62491 = undefined; - s.time___62498 = undefined; - s.dt___62501 = undefined; - s.i___62507 = undefined; - s.tmp_0 = particles_particleSources__P56898_mk(s); - s.callLocIdx = 1083; s.pc = 6; return s.tmp_0; + s.sources___27494 = undefined; + s.time___27501 = undefined; + s.dt___27504 = undefined; + s.i___27510 = undefined; + s.tmp_0 = particles_particleSources__P21901_mk(s); + s.callLocIdx = 1088; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___62491 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___62491); + s.sources___27494 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___27494); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3131,34 +3131,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P56895_mk(s); - s.tmp_2.arg0 = s.sources___62491; - s.callLocIdx = 1084; s.pc = 7; return s.tmp_2; + s.tmp_2 = particles_sortSources__P21898_mk(s); + s.tmp_2.arg0 = s.sources___27494; + s.callLocIdx = 1089; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___62498 = (r0); - r0 = (s.time___62498 - globals.lastUpdate___56887); - s.dt___62501 = (r0); - globals.lastUpdate___56887 = (s.time___62498); - s.i___62507 = (0); + s.time___27501 = (r0); + r0 = (s.time___27501 - globals.lastUpdate___21890); + s.dt___27504 = (r0); + globals.lastUpdate___21890 = (s.time___27501); + s.i___27510 = (0); case 3: - s.tmp_1 = r0 = s.i___62507; - r0 = pxsim_Array__length(s.sources___62491); + s.tmp_1 = r0 = s.i___27510; + r0 = pxsim_Array__length(s.sources___27494); 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__P55233_mk(s); - r0 = pxsim_Array__getAt(s.sources___62491, s.i___62507); + s.tmp_3 = particles_ParticleSource__update__P20236_mk(s); + r0 = pxsim_Array__getAt(s.sources___27494, s.i___27510); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___62501; - s.callLocIdx = 1085; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.dt___27504; + s.callLocIdx = 1090; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___62507 + 1); - s.i___62507 = (r0); + r0 = (s.i___27510 + 1); + s.i___27510 = (r0); { step = 3; continue; } case 4: case 5: @@ -3166,28 +3166,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P56893.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P21896.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__P56893_mk(s) { +function particles_updateParticles__P21896_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P56893, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P21896, 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___62491: undefined, - time___62498: undefined, - dt___62501: undefined, - i___62507: undefined, + sources___27494: undefined, + time___27501: undefined, + dt___27504: undefined, + i___27510: undefined, } } -function particles_ParticleSource__update__P55233(s) { +function particles_ParticleSource__update__P20236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3197,16 +3197,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___62570 = undefined; - s.current___62589 = undefined; - s.fixedDt___62597 = undefined; + s.p___27573 = undefined; + s.current___27592 = undefined; + s.fixedDt___27600 = 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__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -3232,9 +3232,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = particles_ParticleSource_destroy__P55240_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P20243_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1056; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1061; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 1: @@ -3257,7 +3257,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["flags"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["flags"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1057; s.pc = 29; return s.tmp_2; } + else { s.callLocIdx = 1062; s.pc = 29; return s.tmp_2; } } case 29: r0 = s.retval; @@ -3280,7 +3280,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["flags"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["flags"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1058; s.pc = 30; return s.tmp_5; } + else { s.callLocIdx = 1063; s.pc = 30; return s.tmp_5; } } case 30: r0 = s.retval; @@ -3305,9 +3305,9 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P55238_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P20241_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1059; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1064; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 13: @@ -3323,18 +3323,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__C55262_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C20265_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__C55262_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C20265_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___62570 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___62570); + s.p___27573 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___27573); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3345,8 +3345,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___62570).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___62570); + r0 = (s.p___27573).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___27573); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -3361,7 +3361,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___62589 = (r0); + s.current___27592 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -3373,36 +3373,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___62597 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___62597); + s.fixedDt___27600 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___27600); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___62589.fields["lifespan"]; + r0 = s.current___27592.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___62589; + s.tmp_2 = r0 = s.current___27592; 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__C55226_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C20229_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___62589; - s.tmp_0.arg2 = s.fixedDt___62597; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C55226_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___27592; + s.tmp_0.arg2 = s.fixedDt___27600; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C20229_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___62589.fields["next"]; + r0 = s.current___27592.fields["next"]; s.tmp_0 = r0; - s.current___62589 = (r0); + s.current___27592 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -3411,15 +3411,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___62589; + s.tmp_0 = r0 = s.current___27592; 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___62589.fields["next"]; + r0 = s.current___27592.fields["next"]; s.tmp_0 = r0; - s.current___62589 = (r0); + s.current___27592 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -3430,12 +3430,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P55233.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__P20236.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__P55233_mk(s) { +function particles_ParticleSource__update__P20236_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P55233, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P20236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3445,9 +3445,9 @@ function particles_ParticleSource__update__P55233_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___62570: undefined, - current___62589: undefined, - fixedDt___62597: undefined, + p___27573: undefined, + current___27592: undefined, + fixedDt___27600: undefined, arg0: undefined, arg1: undefined, } } @@ -3456,7 +3456,7 @@ function particles_ParticleSource__update__P55233_mk(s) { -function particles_ParticleSource_updateParticle__P56889(s) { +function particles_ParticleSource_updateParticle__P21892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3473,7 +3473,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -3528,12 +3528,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P56889.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__P21892.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__P56889_mk(s) { +function particles_ParticleSource_updateParticle__P21892_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P56889, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P21892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3550,7 +3550,7 @@ function particles_ParticleSource_updateParticle__P56889_mk(s) { -function Fx_rightShift__P52715(s) { +function Fx_rightShift__P17715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3569,12 +3569,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P52715.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__P17715.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__P52715_mk(s) { +function Fx_rightShift__P17715_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P52715, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P17715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3584,7 +3584,7 @@ function Fx_rightShift__P52715_mk(s) { -function Fx_mul__P52706(s) { +function Fx_mul__P17706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3605,12 +3605,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P52706.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__P17706.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__P52706_mk(s) { +function Fx_mul__P17706_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P52706, depth: s.depth + 1, + parent: s, fn: Fx_mul__P17706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3621,7 +3621,7 @@ function Fx_mul__P52706_mk(s) { -function Fx_add__P52703(s) { +function Fx_add__P17703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3640,12 +3640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P52703.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__P17703.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__P52703_mk(s) { +function Fx_add__P17703_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P52703, depth: s.depth + 1, + parent: s, fn: Fx_add__P17703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -3655,7 +3655,7 @@ function Fx_add__P52703_mk(s) { -function particles_ParticleFactory_createParticle__P55264(s) { +function particles_ParticleFactory_createParticle__P20267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3665,17 +3665,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___62687 = undefined; + s.p___27690 = 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__C55262_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C55207_VT); - s.p___62687 = (r0); - s.tmp_0 = r0 = s.p___62687; + if (!checkSubtype(r0, particles_ParticleFactory__C20265_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C20210_VT); + s.p___27690 = (r0); + s.tmp_0 = r0 = s.p___27690; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -3684,7 +3684,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["x"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["x"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1110; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1115; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -3694,7 +3694,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___62687; + s.tmp_0 = r0 = s.p___27690; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -3703,7 +3703,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["y"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["y"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1112; s.pc = 2; return s.tmp_3; } + else { s.callLocIdx = 1117; s.pc = 2; return s.tmp_3; } } case 2: r0 = s.retval; @@ -3713,26 +3713,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___62687).fields["vx"] = (0); - r0 = (s.p___62687).fields["vy"] = (0); - r0 = (s.p___62687).fields["lifespan"] = (500); - r0 = s.p___62687; + r0 = (s.p___27690).fields["vx"] = (0); + r0 = (s.p___27690).fields["vy"] = (0); + r0 = (s.p___27690).fields["lifespan"] = (500); + r0 = s.p___27690; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P55264.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__P20267.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__P55264_mk(s) { +function particles_ParticleFactory_createParticle__P20267_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P55264, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P20267, 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___62687: undefined, + p___27690: undefined, arg0: undefined, arg1: undefined, } } @@ -3741,7 +3741,7 @@ function particles_ParticleFactory_createParticle__P55264_mk(s) { -function game_onUpdateInterval__P55092(s) { +function game_onUpdateInterval__P20095(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3751,15 +3751,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___62130 = undefined; + s.timer___27133 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P56542_mk(s); + s.tmp_0 = game_init__P21545_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 865; s.pc = 6; return s.tmp_0; + s.callLocIdx = 869; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -3781,22 +3781,22 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___62130 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___62130, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P62134); + s.timer___27133 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___27133, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P27137); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___62130); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___27133); 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__P52943_mk(s); - s.tmp_2 = game_eventContext__P55083_mk(s); - s.callLocIdx = 866; s.pc = 8; return s.tmp_2; + s.tmp_1 = control_EventContext_registerFrameHandler__P17943_mk(s); + s.tmp_2 = game_eventContext__P20086_mk(s); + s.callLocIdx = 870; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 19; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 870; s.pc = 7; return s.tmp_1; + s.callLocIdx = 874; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; case 5: @@ -3804,17 +3804,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P55092.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__P20095.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__P55092_mk(s) { +function game_onUpdateInterval__P20095_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P55092, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P20095, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___62130: undefined, + timer___27133: undefined, arg0: undefined, arg1: undefined, } } @@ -3823,7 +3823,7 @@ function game_onUpdateInterval__P55092_mk(s) { -function inline__P62134(s) { +function inline__P27137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3833,28 +3833,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___62135 = undefined; - s.tmp_1 = game_currentScene__P55080_mk(s); - s.callLocIdx = 867; s.pc = 3; return s.tmp_1; + s.time___27138 = undefined; + s.tmp_1 = game_currentScene__P20083_mk(s); + s.callLocIdx = 871; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___62135 = (r0); + s.time___27138 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___62135); + r0 = (s.tmp_1 <= s.time___27138); 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___62135 + s.caps[1]); + r0 = (s.time___27138 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.caps[2]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 869; s.pc = 4; return s.tmp_0; + s.callLocIdx = 873; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -3863,25 +3863,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P62134.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P27137.info = {"start":8159,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P62134_mk(s) { +function inline__P27137_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62134, depth: s.depth + 1, + parent: s, fn: inline__P27137, 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___62135: undefined, + time___27138: undefined, } } -function scene_Scene_millis__P54991(s) { +function scene_Scene_millis__P19994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3896,17 +3896,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C54967_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C19970_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P54991.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__P19994.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__P54991_mk(s) { +function scene_Scene_millis__P19994_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P54991, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P19994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -3915,7 +3915,7 @@ function scene_Scene_millis__P54991_mk(s) { -function control_EventContext_registerFrameHandler__P52943(s) { +function control_EventContext_registerFrameHandler__P17943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3925,8 +3925,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___62162 = undefined; - s.i___62171 = undefined; + s.fn___27165 = undefined; + s.i___27174 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3934,7 +3934,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C52935_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C17935_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -3947,20 +3947,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__P56216_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P21219_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 51; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C52932_VT); - s.fn___62162 = (r0); - r0 = (s.fn___62162).fields["order"] = (s.arg1); - r0 = (s.fn___62162).fields["handler"] = (s.arg2); - s.i___62171 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C17932_VT); + s.fn___27165 = (r0); + r0 = (s.fn___27165).fields["order"] = (s.arg1); + r0 = (s.fn___27165).fields["handler"] = (s.arg2); + s.i___27174 = (0); case 3: - s.tmp_1 = r0 = s.i___62171; + s.tmp_1 = r0 = s.i___27174; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -3971,7 +3971,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___62171); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___27174); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -3980,29 +3980,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___62171, s.fn___62162); - r0 = s.fn___62162; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___27174, s.fn___27165); + r0 = s.fn___27165; { step = 7; continue; } case 4: case 5: - r0 = (s.i___62171 + 1); - s.i___62171 = (r0); + r0 = (s.i___27174 + 1); + s.i___27174 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___62162); - r0 = s.fn___62162; + r0 = pxsim_Array__push(s.tmp_0, s.fn___27165); + r0 = s.fn___27165; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P52943.info = {"start":4573,"length":643,"line":140,"column":8,"endLine":157,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P17943.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__P52943_mk(s) { +function control_EventContext_registerFrameHandler__P17943_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P52943, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P17943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4012,8 +4012,8 @@ function control_EventContext_registerFrameHandler__P52943_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___62162: undefined, - i___62171: undefined, + fn___27165: undefined, + i___27174: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4023,7 +4023,7 @@ function control_EventContext_registerFrameHandler__P52943_mk(s) { -function control_EventContext_registerFrameCallbacks__P56216(s) { +function control_EventContext_registerFrameCallbacks__P21219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4033,13 +4033,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___62205 = undefined; + s.worker___27208 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C52935_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C17935_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -4052,28 +4052,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___62205 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P62211); + s.worker___27208 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P27214); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___62205); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___27208); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P56216.info = {"start":3379,"length":895,"line":102,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P21219.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__P56216_mk(s) { +function control_EventContext_registerFrameCallbacks__P21219_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P56216, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P21219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___62205: undefined, + worker___27208: undefined, arg0: undefined, } } @@ -4081,7 +4081,7 @@ function control_EventContext_registerFrameCallbacks__P56216_mk(s) { -function inline__P62211(s) { +function inline__P27214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4091,15 +4091,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___62241 = undefined; + s.delay___27244 = 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__P62217); + r0 = pxsim_pxtcore_mkAction(1, inline__P27220); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P52907_mk(s); + s.tmp_2 = pauseUntil__P17907_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 45; s.pc = 5; return s.tmp_2; @@ -4122,14 +4122,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__P56215_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P21218_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 46; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___62241 = (r0); - s.tmp_0 = pause__P52953_mk(s); - s.tmp_0.arg0 = s.delay___62241; + s.delay___27244 = (r0); + s.tmp_0 = pause__P17953_mk(s); + s.tmp_0.arg0 = s.delay___27244; s.callLocIdx = 47; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -4140,24 +4140,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P62211.info = {"start":3540,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P27214.info = {"start":3642,"length":723,"line":109,"column":34,"endLine":128,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P62211_mk(s) { +function inline__P27214_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62211, depth: s.depth + 1, + parent: s, fn: inline__P27214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___62241: undefined, + delay___27244: undefined, } } -function inline__P62217(s) { +function inline__P27220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4175,12 +4175,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P62217.info = {"start":3771,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P27220.info = {"start":3873,"length":28,"line":113,"column":31,"endLine":113,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P62217_mk(s) { +function inline__P27220_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62217, depth: s.depth + 1, + parent: s, fn: inline__P27220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4190,7 +4190,7 @@ function inline__P62217_mk(s) { -function control_EventContext_runCallbacks__P56215(s) { +function control_EventContext_runCallbacks__P21218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4200,42 +4200,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___62250 = undefined; - s.f___62263 = undefined; - s.unnamed392___U2 = undefined; - s.unnamed393___U3 = undefined; - s.runtime___62268 = undefined; - s.fps___62288 = undefined; - s.delay___62350 = undefined; + s.loopStart___27253 = undefined; + s.f___27266 = undefined; + s.unnamed168___U2 = undefined; + s.unnamed169___U3 = undefined; + s.runtime___27271 = undefined; + s.fps___27291 = undefined; + s.delay___27353 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C52935_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C17935_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___62250 = (r0); + s.loopStart___27253 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___62250 - s.tmp_2); + r0 = (s.loopStart___27253 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___62250); - s.f___62263 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___27253); + s.f___27266 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed392___U2 = (r0); - s.unnamed393___U3 = (0); + s.unnamed168___U2 = (r0); + s.unnamed169___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed393___U3; - r0 = pxsim_Array__length(s.unnamed392___U2); + s.tmp_0 = r0 = s.unnamed169___U3; + r0 = pxsim_Array__length(s.unnamed168___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed392___U2, s.unnamed393___U3); - s.f___62263 = (r0); + r0 = pxsim_Array__getAt(s.unnamed168___U2, s.unnamed169___U3); + s.f___27266 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___62263; + s.tmp_2.arg0 = s.f___27266; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 42; s.pc = 13; return s.tmp_2; @@ -4247,19 +4247,19 @@ switch (step) { } case 13: r0 = s.retval; - r0 = (s.unnamed393___U3 + 1); - s.unnamed393___U3 = (r0); + r0 = (s.unnamed169___U3 + 1); + s.unnamed169___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed392___U2 = (undefined); + s.unnamed168___U2 = (undefined); r0 = pxsim.control.millis(); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___62250); - s.runtime___62268 = (r0); + r0 = (s.tmp_0 - s.loopStart___27253); + s.runtime___27271 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___62268); + r0 = (s.tmp_2 + s.runtime___27271); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -4292,8 +4292,8 @@ switch (step) { r0 = (s.tmp_6 / 1000); s.tmp_5 = r0; r0 = (s.tmp_4 / s.tmp_5); - s.fps___62288 = (r0); - r0 = pxsim.Math_.round(s.fps___62288); + s.fps___27291 = (r0); + r0 = pxsim.Math_.round(s.fps___27291); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 14); @@ -4305,21 +4305,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___52937 = (r0); - r0 = (s.fps___62288 < 99); + globals.control_EventContext_lastStats___17937 = (r0); + r0 = (s.fps___27291 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___52937) && (globals.control_EventContext_lastStats___52937).vtable) { + if ((globals.control_EventContext_lastStats___17937) && (globals.control_EventContext_lastStats___17937).vtable) { setupResume(s, 15); - pxsim_String__stringConv(globals.control_EventContext_lastStats___52937); + pxsim_String__stringConv(globals.control_EventContext_lastStats___17937); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___52937) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___17937) + ""; } case 15: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___62288 * 10); + r0 = (s.fps___27291 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -4346,10 +4346,10 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___52937 = (r0); + globals.control_EventContext_lastStats___17937 = (r0); case 5: case 6: - s.tmp_2 = control_ramSize__P52886_mk(s); + s.tmp_2 = control_ramSize__P17886_mk(s); s.callLocIdx = 43; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; @@ -4369,7 +4369,7 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_8 = r0; - r0 = (s.fps___62288 * 100); + r0 = (s.fps___27291 * 100); s.tmp_11 = r0; r0 = (s.tmp_11 | 0); s.tmp_10 = r0; @@ -4410,24 +4410,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 11: case 12: - s.tmp_0 = Math_max__P52676_mk(s); + s.tmp_0 = Math_max__P17676_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___62268); + r0 = (20 - s.runtime___27271); s.tmp_0.arg1 = r0; s.callLocIdx = 44; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.delay___62350 = (r0); - r0 = s.delay___62350; + s.delay___27353 = (r0); + r0 = s.delay___27353; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P56215.info = {"start":2080,"length":1246,"line":71,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P21218.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__P56215_mk(s) { +function control_EventContext_runCallbacks__P21218_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P56215, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P21218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4443,13 +4443,13 @@ function control_EventContext_runCallbacks__P56215_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - loopStart___62250: undefined, - f___62263: undefined, - unnamed392___U2: undefined, - unnamed393___U3: undefined, - runtime___62268: undefined, - fps___62288: undefined, - delay___62350: undefined, + loopStart___27253: undefined, + f___27266: undefined, + unnamed168___U2: undefined, + unnamed169___U3: undefined, + runtime___27271: undefined, + fps___27291: undefined, + delay___27353: undefined, arg0: undefined, } } @@ -4457,7 +4457,7 @@ function control_EventContext_runCallbacks__P56215_mk(s) { -function pauseUntil__P52907(s) { +function pauseUntil__P17907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4504,7 +4504,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P52906_mk(s); + s.tmp_0 = control___queuePollEvent__P17906_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -4516,12 +4516,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P52907.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__P17907.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__P52907_mk(s) { +function pauseUntil__P17907_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P52907, depth: s.depth + 1, + parent: s, fn: pauseUntil__P17907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4537,7 +4537,7 @@ function pauseUntil__P52907_mk(s) { -function control___queuePollEvent__P52906(s) { +function control___queuePollEvent__P17906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4547,16 +4547,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___62372 = undefined; + s.ev___27375 = 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__C56189_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C21192_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P56190_mk(s); + s.tmp_1 = control_PollEvent_constructor__P21193_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1.arg1 = r0; @@ -4572,8 +4572,8 @@ switch (step) { s.callLocIdx = 27; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___62372 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___56192); + s.ev___27375 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___21195); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4581,19 +4581,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___62372); - globals._pollEventQueue___56192 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P56193); + r0 = pxsim_Array__push(s.tmp_2, s.ev___27375); + globals._pollEventQueue___21195 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P21196); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___56192, s.ev___62372); + r0 = pxsim_Array__push(globals._pollEventQueue___21195, s.ev___27375); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P52931_mk(s); - r0 = s.ev___62372.fields["eid"]; + s.tmp_0 = control_onEvent__P17931_mk(s); + r0 = s.ev___27375.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___62372.fields["vid"]; + r0 = s.ev___27375.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -4602,9 +4602,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___62372.fields["eid"]; + r0 = s.ev___27375.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___62372.fields["vid"]; + r0 = s.ev___27375.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -4617,17 +4617,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P52906.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__P17906.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__P52906_mk(s) { +function control___queuePollEvent__P17906_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P52906, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P17906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___62372: undefined, + ev___27375: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4637,7 +4637,7 @@ function control___queuePollEvent__P52906_mk(s) { -function control_pollEvents__P56193(s) { +function control_pollEvents__P21196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4647,31 +4647,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___62414 = undefined; - s.i___62417 = undefined; - s.ev___62423 = undefined; + s.now___27417 = undefined; + s.i___27420 = undefined; + s.ev___27426 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___56192); + r0 = pxsim_Array__length(globals._pollEventQueue___21195); 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___62414 = (r0); - s.i___62417 = (0); + s.now___27417 = (r0); + s.i___27420 = (0); case 2: - s.tmp_1 = r0 = s.i___62417; - r0 = pxsim_Array__length(globals._pollEventQueue___56192); + s.tmp_1 = r0 = s.i___27420; + r0 = pxsim_Array__length(globals._pollEventQueue___21195); 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___56192, s.i___62417); - s.ev___62423 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___21195, s.i___27420); + s.ev___27426 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___62423; + s.tmp_1.arg0 = s.ev___27426; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 24; s.pc = 13; return s.tmp_1; @@ -4689,7 +4689,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___62423.fields["timeOut"]; + r0 = s.ev___27426.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -4698,11 +4698,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___62423.fields["start"]; + r0 = s.ev___27426.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___62414 - s.tmp_5); + r0 = (s.now___27417 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___62423.fields["timeOut"]; + r0 = s.ev___27426.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -4714,50 +4714,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___62423.fields["eid"]; + r0 = s.ev___27426.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___62423.fields["vid"]; + r0 = s.ev___27426.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___62423.fields["once"]; + r0 = s.ev___27426.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P52649_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___56192; - s.tmp_1.arg1 = s.i___62417; + s.tmp_1 = helpers_arraySplice__P17649_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___21195; + s.tmp_1.arg1 = s.i___27420; s.tmp_1.arg2 = 1; s.callLocIdx = 25; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___62417 - 1); - s.i___62417 = (r0); + r0 = (s.i___27420 - 1); + s.i___27420 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___62417 + 1); - s.i___62417 = (r0); + r0 = (s.i___27420 + 1); + s.i___27420 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P52953_mk(s); + s.tmp_0 = pause__P17953_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 26; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___56192 = (undefined); + globals._pollEventQueue___21195 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P56193.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P21196.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__P56193_mk(s) { +function control_pollEvents__P21196_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P56193, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P21196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4770,16 +4770,16 @@ function control_pollEvents__P56193_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___62414: undefined, - i___62417: undefined, - ev___62423: undefined, + now___27417: undefined, + i___27420: undefined, + ev___27426: undefined, } } -function helpers_arraySplice__P52649(s) { +function helpers_arraySplice__P17649(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4789,7 +4789,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___60608 = undefined; + s.i___25611 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4803,15 +4803,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___60608 = (0); + s.i___25611 = (0); case 3: - r0 = (s.i___60608 < s.arg2); + r0 = (s.i___25611 < 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___60608 + 1); - s.i___60608 = (r0); + r0 = (s.i___25611 + 1); + s.i___25611 = (r0); { step = 3; continue; } case 4: case 5: @@ -4819,15 +4819,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P52649.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__P17649.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__P52649_mk(s) { +function helpers_arraySplice__P17649_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P52649, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P17649, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___60608: undefined, + i___25611: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4837,7 +4837,7 @@ function helpers_arraySplice__P52649_mk(s) { -function control_PollEvent_constructor__P56190(s) { +function control_PollEvent_constructor__P21193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4858,7 +4858,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C56189_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C21192_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -4869,12 +4869,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P56190.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__P21193.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__P56190_mk(s) { +function control_PollEvent_constructor__P21193_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P56190, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P21193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -4889,7 +4889,7 @@ function control_PollEvent_constructor__P56190_mk(s) { -function control_onEvent__P52931(s) { +function control_onEvent__P17931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4899,7 +4899,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___59510 = undefined; + s.ctx___24513 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4907,12 +4907,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P52948_mk(s); + s.tmp_0 = control_eventContext__P17948_mk(s); s.callLocIdx = 39; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___59510 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___59510); + s.ctx___24513 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___24513); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4921,8 +4921,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__P52945_mk(s); - s.tmp_0.arg0 = s.ctx___59510; + s.tmp_0 = control_EventContext_registerHandler__P17945_mk(s); + s.tmp_0.arg0 = s.ctx___24513; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -4935,16 +4935,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P52931.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__P17931.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__P52931_mk(s) { +function control_onEvent__P17931_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P52931, depth: s.depth + 1, + parent: s, fn: control_onEvent__P17931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___59510: undefined, + ctx___24513: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4955,7 +4955,7 @@ function control_onEvent__P52931_mk(s) { -function control_eventContext__P52948(s) { +function control_eventContext__P17948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4965,10 +4965,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___56218); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___21221); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___56218; - r0 = pxsim_Array__length(globals.eventContexts___56218); + s.tmp_0 = r0 = globals.eventContexts___21221; + r0 = pxsim_Array__length(globals.eventContexts___21221); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -4983,12 +4983,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P52948.info = {"start":6805,"length":136,"line":206,"column":4,"endLine":208,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P17948.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__P52948_mk(s) { +function control_eventContext__P17948_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P52948, depth: s.depth + 1, + parent: s, fn: control_eventContext__P17948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5000,7 +5000,7 @@ function control_eventContext__P52948_mk(s) { -function control_EventContext_registerHandler__P52945(s) { +function control_EventContext_registerHandler__P17945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5010,10 +5010,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___59533 = undefined; - s.unnamed398___U1 = undefined; - s.unnamed399___U2 = undefined; - s.hn___59556 = undefined; + s.h___24536 = undefined; + s.unnamed174___U1 = undefined; + s.unnamed175___U2 = undefined; + s.hn___24559 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5023,20 +5023,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C52935_VT)) failedCast(r0); - s.h___59533 = (undefined); + if (!checkSubtype(r0, control_EventContext__C17935_VT)) failedCast(r0); + s.h___24536 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed398___U1 = (r0); - s.unnamed399___U2 = (0); + s.unnamed174___U1 = (r0); + s.unnamed175___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed399___U2; - r0 = pxsim_Array__length(s.unnamed398___U1); + s.tmp_0 = r0 = s.unnamed175___U2; + r0 = pxsim_Array__length(s.unnamed174___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed398___U1, s.unnamed399___U2); - s.h___59533 = (r0); - r0 = s.h___59533.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed174___U1, s.unnamed175___U2); + s.h___24536 = (r0); + r0 = s.h___24536.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -5045,7 +5045,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___59533.fields["value"]; + r0 = s.h___24536.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -5053,19 +5053,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___59533).fields["flags"] = (s.arg4); - r0 = (s.h___59533).fields["handler"] = (s.arg3); + r0 = (s.h___24536).fields["flags"] = (s.arg4); + r0 = (s.h___24536).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed399___U2 + 1); - s.unnamed399___U2 = (r0); + r0 = (s.unnamed175___U2 + 1); + s.unnamed175___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed398___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C56210_VT); + s.unnamed174___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C21213_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P56213_mk(s); + s.tmp_1 = control_EventHandler_constructor__P21216_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -5074,12 +5074,12 @@ switch (step) { s.callLocIdx = 52; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___59556 = (s.tmp_0); + s.hn___24559 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___59556); - s.tmp_0 = control_EventHandler_register__P56211_mk(s); - s.tmp_0.arg0 = s.hn___59556; + r0 = pxsim_Array__push(s.tmp_0, s.hn___24559); + s.tmp_0 = control_EventHandler_register__P21214_mk(s); + s.tmp_0.arg0 = s.hn___24559; s.callLocIdx = 53; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -5088,12 +5088,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P52945.info = {"start":5471,"length":525,"line":166,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P17945.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__P52945_mk(s) { +function control_EventContext_registerHandler__P17945_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P52945, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P17945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5101,10 +5101,10 @@ function control_EventContext_registerHandler__P52945_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___59533: undefined, - unnamed398___U1: undefined, - unnamed399___U2: undefined, - hn___59556: undefined, + h___24536: undefined, + unnamed174___U1: undefined, + unnamed175___U2: undefined, + hn___24559: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5116,7 +5116,7 @@ function control_EventContext_registerHandler__P52945_mk(s) { -function control_EventHandler_constructor__P56213(s) { +function control_EventHandler_constructor__P21216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5135,7 +5135,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C56210_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C21213_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -5144,12 +5144,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P56213.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__P21216.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__P56213_mk(s) { +function control_EventHandler_constructor__P21216_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P56213, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P21216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5162,7 +5162,7 @@ function control_EventHandler_constructor__P56213_mk(s) { -function control_EventHandler_register__P56211(s) { +function control_EventHandler_register__P21214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5177,8 +5177,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C56210_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P59577); + if (!checkSubtype(r0, control_EventHandler__C21213_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P24580); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -5192,12 +5192,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P56211.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__P21214.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__P56211_mk(s) { +function control_EventHandler_register__P21214_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P56211, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P21214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5210,7 +5210,7 @@ function control_EventHandler_register__P56211_mk(s) { -function inline__P59577(s) { +function inline__P24580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5243,12 +5243,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P59577.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P24580.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function inline__P59577_mk(s) { +function inline__P24580_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P59577, depth: s.depth + 1, + parent: s, fn: inline__P24580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5258,7 +5258,7 @@ function inline__P59577_mk(s) { -function game_onUpdate__P55091(s) { +function game_onUpdate__P20094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5272,9 +5272,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P56542_mk(s); + s.tmp_0 = game_init__P21545_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 862; s.pc = 4; return s.tmp_0; + s.callLocIdx = 866; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -5286,15 +5286,15 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P52943_mk(s); - s.tmp_3 = game_eventContext__P55083_mk(s); - s.callLocIdx = 863; s.pc = 6; return s.tmp_3; + s.tmp_2 = control_EventContext_registerFrameHandler__P17943_mk(s); + s.tmp_3 = game_eventContext__P20086_mk(s); + s.callLocIdx = 867; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 20; s.tmp_2.arg2 = s.arg0; - s.callLocIdx = 864; s.pc = 5; return s.tmp_2; + s.callLocIdx = 868; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -5302,12 +5302,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P55091.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__P20094.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__P55091_mk(s) { +function game_onUpdate__P20094_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P55091, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P20094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5320,7 +5320,7 @@ function game_onUpdate__P55091_mk(s) { -function particles_SprayFactory_constructor__P55267(s) { +function particles_SprayFactory_constructor__P20270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5338,35 +5338,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C55266_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C20269_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P56913_mk(s); - s.callLocIdx = 1117; s.pc = 1; return s.tmp_0; + s.tmp_0 = particles_initTrig__P21916_mk(s); + s.callLocIdx = 1122; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P55270_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P20273_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1118; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1123; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P55271_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P20274_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 1119; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1124; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P55267.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__P20270.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__P55267_mk(s) { +function particles_SprayFactory_constructor__P20270_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P55267, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P20270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5379,7 +5379,7 @@ function particles_SprayFactory_constructor__P55267_mk(s) { -function particles_initTrig__P56913(s) { +function particles_initTrig__P21916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5389,36 +5389,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___56899); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___21902); 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__P55260_mk(s); + s.tmp_2 = particles_cacheSin__P20263_mk(s); s.tmp_2.arg0 = 100; - s.callLocIdx = 1105; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1110; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___56899 = (r0); - s.tmp_0 = particles_cacheCos__P55261_mk(s); + globals.cachedSin___21902 = (r0); + s.tmp_0 = particles_cacheCos__P20264_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 1106; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1111; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___56900 = (r0); + globals.cachedCos___21903 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P56913.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P21916.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__P56913_mk(s) { +function particles_initTrig__P21916_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P56913, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P21916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5429,7 +5429,7 @@ function particles_initTrig__P56913_mk(s) { -function particles_cacheCos__P55261(s) { +function particles_cacheCos__P20264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5439,25 +5439,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___61787 = undefined; - s.anglePerSlice___61789 = undefined; - s.i___61795 = undefined; + s.cos___26790 = undefined; + s.anglePerSlice___26792 = undefined; + s.i___26798 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___61787 = (r0); + s.cos___26790 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___61789 = (r0); - s.i___61795 = (0); + s.anglePerSlice___26792 = (r0); + s.i___26798 = (0); case 1: - r0 = (s.i___61795 < s.arg0); + r0 = (s.i___26798 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___61787; - r0 = (s.i___61795 * s.anglePerSlice___61789); + s.tmp_1 = r0 = s.cos___26790; + r0 = (s.i___26798 * s.anglePerSlice___26792); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -5466,20 +5466,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___61795 + 1); - s.i___61795 = (r0); + r0 = (s.i___26798 + 1); + s.i___26798 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___61787; + r0 = s.cos___26790; return leave(s, r0) default: oops() } } } -particles_cacheCos__P55261.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__P20264.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__P55261_mk(s) { +function particles_cacheCos__P20264_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P55261, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P20264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5487,9 +5487,9 @@ function particles_cacheCos__P55261_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___61787: undefined, - anglePerSlice___61789: undefined, - i___61795: undefined, + cos___26790: undefined, + anglePerSlice___26792: undefined, + i___26798: undefined, arg0: undefined, } } @@ -5497,7 +5497,7 @@ function particles_cacheCos__P55261_mk(s) { -function particles_cacheSin__P55260(s) { +function particles_cacheSin__P20263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5507,25 +5507,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___61813 = undefined; - s.anglePerSlice___61815 = undefined; - s.i___61821 = undefined; + s.sin___26816 = undefined; + s.anglePerSlice___26818 = undefined; + s.i___26824 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___61813 = (r0); + s.sin___26816 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___61815 = (r0); - s.i___61821 = (0); + s.anglePerSlice___26818 = (r0); + s.i___26824 = (0); case 1: - r0 = (s.i___61821 < s.arg0); + r0 = (s.i___26824 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___61813; - r0 = (s.i___61821 * s.anglePerSlice___61815); + s.tmp_1 = r0 = s.sin___26816; + r0 = (s.i___26824 * s.anglePerSlice___26818); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -5534,20 +5534,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___61821 + 1); - s.i___61821 = (r0); + r0 = (s.i___26824 + 1); + s.i___26824 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___61813; + r0 = s.sin___26816; return leave(s, r0) default: oops() } } } -particles_cacheSin__P55260.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__P20263.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__P55260_mk(s) { +function particles_cacheSin__P20263_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P55260, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P20263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5555,9 +5555,9 @@ function particles_cacheSin__P55260_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___61813: undefined, - anglePerSlice___61815: undefined, - i___61821: undefined, + sin___26816: undefined, + anglePerSlice___26818: undefined, + i___26824: undefined, arg0: undefined, } } @@ -5565,7 +5565,7 @@ function particles_cacheSin__P55260_mk(s) { -function particles_SprayFactory_setDirection__P55271(s) { +function particles_SprayFactory_setDirection__P20274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5582,31 +5582,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C55266_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C20269_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P56918_mk(s); + s.tmp_4 = particles_toRadians__P21921_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4.arg0 = r0; - s.callLocIdx = 1127; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1132; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___56912); + r0 = (s.tmp_3 / globals.angleSlice___21915); 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__P56918_mk(s); + s.tmp_4 = particles_toRadians__P21921_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 1128; s.pc = 2; return s.tmp_4; + s.callLocIdx = 1133; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___56912); + r0 = (s.tmp_3 / globals.angleSlice___21915); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -5615,12 +5615,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P55271.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__P20274.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__P55271_mk(s) { +function particles_SprayFactory_setDirection__P20274_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P55271, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P20274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5638,7 +5638,7 @@ function particles_SprayFactory_setDirection__P55271_mk(s) { -function particles_toRadians__P56918(s) { +function particles_toRadians__P21921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5656,9 +5656,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P52674_mk(s); + s.tmp_3 = Math_abs__P17674_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1109; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1114; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -5675,12 +5675,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P56918.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__P21921.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__P56918_mk(s) { +function particles_toRadians__P21921_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P56918, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P21921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5693,7 +5693,7 @@ function particles_toRadians__P56918_mk(s) { -function particles_ParticleFactory_constructor__P55263(s) { +function particles_ParticleFactory_constructor__P20266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5708,17 +5708,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C55262_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C20265_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P55263.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__P20266.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__P55263_mk(s) { +function particles_ParticleFactory_constructor__P20266_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P55263, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P20266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5727,7 +5727,7 @@ function particles_ParticleFactory_constructor__P55263_mk(s) { -function particles_ParticleSource_setFactory__P55245(s) { +function particles_ParticleSource_setFactory__P20248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5743,7 +5743,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -5753,12 +5753,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P55245.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__P20248.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__P55245_mk(s) { +function particles_ParticleSource_setFactory__P20248_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P55245, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P20248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5768,7 +5768,7 @@ function particles_ParticleSource_setFactory__P55245_mk(s) { -function particles_ParticleSource_setRate__P55243(s) { +function particles_ParticleSource_setRate__P20246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5784,7 +5784,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -5796,12 +5796,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P55243.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__P20246.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__P55243_mk(s) { +function particles_ParticleSource_setRate__P20246_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P55243, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P20246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5814,7 +5814,7 @@ function particles_ParticleSource_setRate__P55243_mk(s) { -function particles_ParticleSource_setAnchor__P55242(s) { +function particles_ParticleSource_setAnchor__P20245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5830,18 +5830,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P55242.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__P20245.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__P55242_mk(s) { +function particles_ParticleSource_setAnchor__P20245_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P55242, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P20245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5851,7 +5851,7 @@ function particles_ParticleSource_setAnchor__P55242_mk(s) { -function particles_ParticleSource_clear__P55241(s) { +function particles_ParticleSource_clear__P20244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5866,18 +5866,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P55241.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__P20244.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__P55241_mk(s) { +function particles_ParticleSource_clear__P20244_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P55241, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P20244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5886,7 +5886,7 @@ function particles_ParticleSource_clear__P55241_mk(s) { -function particles_ParticleSource_destroy__P55240(s) { +function particles_ParticleSource_destroy__P20243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5901,11 +5901,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P55239_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P20242_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1066; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1071; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -5914,21 +5914,21 @@ switch (step) { r0 = (s.tmp_2 | 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); - s.tmp_0 = particles_ParticleSource__prune__P55234_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P20237_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1067; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1072; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P55240.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__P20243.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__P55240_mk(s) { +function particles_ParticleSource_destroy__P20243_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P55240, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P20243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5940,7 +5940,7 @@ function particles_ParticleSource_destroy__P55240_mk(s) { -function particles_ParticleSource_enabled__P55239(s) { +function particles_ParticleSource_enabled__P20242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5956,11 +5956,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P55238_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P20241_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1065; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1070; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -5989,12 +5989,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P55239.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__P20242.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__P55239_mk(s) { +function particles_ParticleSource_enabled__P20242_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P55239, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P20242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6011,7 +6011,7 @@ function particles_ParticleSource_enabled__P55239_mk(s) { -function particles_ParticleSource_enabled__P55238(s) { +function particles_ParticleSource_enabled__P20241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6026,7 +6026,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -6041,13 +6041,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P55238.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__P55238.isGetter = true; +particles_ParticleSource_enabled__P20241.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__P20241.isGetter = true; -function particles_ParticleSource_enabled__P55238_mk(s) { +function particles_ParticleSource_enabled__P20241_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P55238, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P20241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6061,7 +6061,7 @@ function particles_ParticleSource_enabled__P55238_mk(s) { -function particles_ParticleSource_setAcceleration__P55235(s) { +function particles_ParticleSource_setAcceleration__P20238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6078,7 +6078,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -6095,12 +6095,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P55235.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__P20238.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__P55235_mk(s) { +function particles_ParticleSource_setAcceleration__P20238_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P55235, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P20238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6114,7 +6114,7 @@ function particles_ParticleSource_setAcceleration__P55235_mk(s) { -function sprites_BaseSprite_constructor__P54411(s) { +function sprites_BaseSprite_constructor__P19411(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6130,15 +6130,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C54409_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P54414_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C19409_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P19414_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 126; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P54992_mk(s); - s.tmp_1 = game_currentScene__P55080_mk(s); + s.tmp_0 = scene_Scene_addSprite__P19995_mk(s); + s.tmp_1 = game_currentScene__P20083_mk(s); s.callLocIdx = 127; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -6151,12 +6151,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P54411.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__P19411.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__P54411_mk(s) { +function sprites_BaseSprite_constructor__P19411_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P54411, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P19411, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6168,7 +6168,7 @@ function sprites_BaseSprite_constructor__P54411_mk(s) { -function scene_Scene_addSprite__P54992(s) { +function scene_Scene_addSprite__P19995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6184,7 +6184,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C54967_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C19970_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -6203,7 +6203,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["set/id"]; if (s.tmp_3.fn === null) { s.tmp_3.arg0.fields["id"] = s.tmp_3.arg1; } else if (s.tmp_3.fn === undefined) { failedCast(s.tmp_3.arg0) } - else { s.callLocIdx = 828; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 832; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -6211,12 +6211,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P54992.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__P19995.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__P54992_mk(s) { +function scene_Scene_addSprite__P19995_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P54992, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P19995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6230,7 +6230,7 @@ function scene_Scene_addSprite__P54992_mk(s) { -function sprites_BaseSprite_z__P54414(s) { +function sprites_BaseSprite_z__P19414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6246,7 +6246,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C54409_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C19409_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -6254,7 +6254,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__P55080_mk(s); + s.tmp_1 = game_currentScene__P20083_mk(s); s.callLocIdx = 129; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -6270,12 +6270,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P54414.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__P19414.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__P54414_mk(s) { +function sprites_BaseSprite_z__P19414_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P54414, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P19414, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6289,7 +6289,7 @@ function sprites_BaseSprite_z__P54414_mk(s) { -function sprites_BaseSprite_z__P54413(s) { +function sprites_BaseSprite_z__P19413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6304,18 +6304,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C54409_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C19409_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P54413.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__P54413.isGetter = true; +sprites_BaseSprite_z__P19413.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__P19413.isGetter = true; -function sprites_BaseSprite_z__P54413_mk(s) { +function sprites_BaseSprite_z__P19413_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P54413, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P19413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6324,7 +6324,7 @@ function sprites_BaseSprite_z__P54413_mk(s) { -function helpers_arrayShift__P52651(s) { +function helpers_arrayShift__P17651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6342,12 +6342,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P52651.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__P17651.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__P52651_mk(s) { +function helpers_arrayShift__P17651_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P52651, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P17651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6356,7 +6356,7 @@ function helpers_arrayShift__P52651_mk(s) { -function particles_SprayFactory_setSpeed__P55270(s) { +function particles_SprayFactory_setSpeed__P20273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6372,7 +6372,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C55266_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C20269_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -6383,12 +6383,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P55270.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__P20273.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__P55270_mk(s) { +function particles_SprayFactory_setSpeed__P20273_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P55270, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P20273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6401,7 +6401,7 @@ function particles_SprayFactory_setSpeed__P55270_mk(s) { -function particles_ConfettiFactory_constructor__P55294(s) { +function particles_ConfettiFactory_constructor__P20297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6411,8 +6411,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___62728 = undefined; - s.i___62744 = undefined; + s.confetti___27731 = undefined; + s.i___27747 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6420,52 +6420,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C55293_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C20296_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex62731); + r0 = pxsim.image.ofBuffer(_hex27734); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex62733); + r0 = pxsim.image.ofBuffer(_hex27736); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex62735); + r0 = pxsim.image.ofBuffer(_hex27738); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex62737); + r0 = pxsim.image.ofBuffer(_hex27740); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex62739); + r0 = pxsim.image.ofBuffer(_hex27742); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___62728 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P55289_mk(s); + s.confetti___27731 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P20292_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___62728, 0); + r0 = pxsim_Array__getAt(s.confetti___27731, 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1151; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1156; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___62744 = (1); + s.i___27747 = (1); case 1: - s.tmp_1 = r0 = s.i___62744; - r0 = pxsim_Array__length(s.confetti___62728); + s.tmp_1 = r0 = s.i___27747; + r0 = pxsim_Array__length(s.confetti___27731); 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__P55290_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P20293_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___62728, s.i___62744); + r0 = pxsim_Array__getAt(s.confetti___27731, s.i___27747); s.tmp_3.arg1 = r0; - s.callLocIdx = 1152; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1157; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___62744 + 1); - s.i___62744 = (r0); + r0 = (s.i___27747 + 1); + s.i___27747 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -6474,12 +6474,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P55294.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__P20297.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__P55294_mk(s) { +function particles_ConfettiFactory_constructor__P20297_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P55294, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P20297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6487,23 +6487,23 @@ function particles_ConfettiFactory_constructor__P55294_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___62728: undefined, - i___62744: undefined, + confetti___27731: undefined, + i___27747: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex62731 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex62733 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex62735 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex62737 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex62739 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex27734 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex27736 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex27738 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex27740 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex27742 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P55290(s) { +function particles_ShapeFactory_addShape__P20293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6519,7 +6519,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C55288_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C20291_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -6531,12 +6531,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P55290.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__P20293.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__P55290_mk(s) { +function particles_ShapeFactory_addShape__P20293_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P55290, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P20293, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6547,7 +6547,7 @@ function particles_ShapeFactory_addShape__P55290_mk(s) { -function particles_ShapeFactory_constructor__P55289(s) { +function particles_ShapeFactory_constructor__P20292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6565,14 +6565,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C55288_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P55277_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C20291_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P20280_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; s.tmp_0.arg4 = undefined; - s.callLocIdx = 1141; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1146; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -6603,12 +6603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P55289.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__P20292.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__P55289_mk(s) { +function particles_ShapeFactory_constructor__P20292_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P55289, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P20292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6625,7 +6625,7 @@ function particles_ShapeFactory_constructor__P55289_mk(s) { -function particles_AreaFactory_constructor__P55277(s) { +function particles_AreaFactory_constructor__P20280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6644,13 +6644,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C55272_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P55267_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C20275_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P20270_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 90; - s.callLocIdx = 1129; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1134; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["xRange"] = (s.arg1); @@ -6675,12 +6675,12 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["maxLifespan"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C55134_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C20137_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P55136_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P20139_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1130; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1135; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -6688,12 +6688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P55277.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__P20280.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__P55277_mk(s) { +function particles_AreaFactory_constructor__P20280_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P55277, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P20280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6708,7 +6708,7 @@ function particles_AreaFactory_constructor__P55277_mk(s) { -function effects_ScreenEffect_constructor__P55342(s) { +function effects_ScreenEffect_constructor__P20345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6727,13 +6727,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C55341_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P55338_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C20344_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P20341_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = s.arg4; - s.callLocIdx = 1158; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1163; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["sceneDefaultRate"] = (s.arg2); @@ -6741,12 +6741,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P55342.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__P20345.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__P55342_mk(s) { +function effects_ScreenEffect_constructor__P20345_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P55342, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P20345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6760,7 +6760,7 @@ function effects_ScreenEffect_constructor__P55342_mk(s) { -function effects_ParticleEffect_constructor__P55338(s) { +function effects_ParticleEffect_constructor__P20341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6778,7 +6778,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C55337_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C20340_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -6786,12 +6786,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P55338.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__P20341.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__P55338_mk(s) { +function effects_ParticleEffect_constructor__P20341_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P55338, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P20341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6803,7 +6803,7 @@ function effects_ParticleEffect_constructor__P55338_mk(s) { -function scene_Scene_init__P54989(s) { +function scene_Scene_init__P19992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6818,7 +6818,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C54967_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C19970_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6826,8 +6826,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P54256_mk(s); - s.callLocIdx = 808; s.pc = 4; return s.tmp_1; + s.tmp_1 = power_poke__P19256_mk(s); + s.callLocIdx = 812; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -6835,84 +6835,84 @@ 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__P62860); + r0 = pxsim_pxtcore_mkAction(1, inline__P27863); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P52943_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P17943_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 811; s.pc = 5; return s.tmp_1; + s.callLocIdx = 815; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P52943_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P17943_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P54473; - s.callLocIdx = 812; s.pc = 6; return s.tmp_0; + s.tmp_0.arg2 = controller__moveSprites__P19473; + s.callLocIdx = 816; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P62883); + r0 = pxsim_pxtcore_mkAction(1, inline__P27886); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P52943_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P17943_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 814; s.pc = 7; return s.tmp_1; + s.callLocIdx = 818; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P62896); + r0 = pxsim_pxtcore_mkAction(1, inline__P27899); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P52943_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P17943_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 818; s.pc = 8; return s.tmp_1; + s.callLocIdx = 822; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P62917); + r0 = pxsim_pxtcore_mkAction(1, inline__P27920); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P52943_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P17943_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 820; s.pc = 9; return s.tmp_1; + s.callLocIdx = 824; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P62925); + r0 = pxsim_pxtcore_mkAction(1, inline__P27928); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P52943_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P17943_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 824; s.pc = 10; return s.tmp_1; + s.callLocIdx = 828; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P52943_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P17943_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P54314; - s.callLocIdx = 825; s.pc = 11; return s.tmp_0; + s.tmp_0.arg2 = control___screen_update__P19314; + s.callLocIdx = 829; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P62954); + r0 = pxsim_pxtcore_mkAction(1, inline__P27957); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P52658_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___54987; + s.tmp_1 = helpers_arrayForEach__P17658_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___19990; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 827; s.pc = 12; return s.tmp_1; + s.callLocIdx = 831; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; case 3: @@ -6920,12 +6920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P54989.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__P19992.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__P54989_mk(s) { +function scene_Scene_init__P19992_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P54989, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P19992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6936,7 +6936,7 @@ function scene_Scene_init__P54989_mk(s) { -function inline__P62860(s) { +function inline__P27863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6955,26 +6955,26 @@ 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__P54501_mk(s); + s.tmp_0 = controller___update__P19501_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg0 = r0; - s.callLocIdx = 810; s.pc = 1; return s.tmp_0; + s.callLocIdx = 814; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P62860.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P27863.info = {"start":4458,"length":217,"line":129,"column":72,"endLine":133,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P62860_mk(s) { +function inline__P27863_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62860, depth: s.depth + 1, + parent: s, fn: inline__P27863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6986,7 +6986,7 @@ function inline__P62860_mk(s) { -function inline__P62883(s) { +function inline__P27886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6996,7 +6996,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C54710_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C19710_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -7005,7 +7005,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C54710_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C19710_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: @@ -7014,12 +7014,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P62883.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P27886.info = {"start":4970,"length":159,"line":138,"column":69,"endLine":141,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P62883_mk(s) { +function inline__P27886_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62883, depth: s.depth + 1, + parent: s, fn: inline__P27886, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7030,7 +7030,7 @@ function inline__P62883_mk(s) { -function inline__P62896(s) { +function inline__P27899(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7040,80 +7040,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___62897 = undefined; - s.s___62905 = undefined; - s.unnamed418___U2 = undefined; - s.unnamed419___U3 = undefined; + s.dt___27900 = undefined; + s.s___27908 = undefined; + s.unnamed194___U2 = undefined; + s.unnamed195___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___62897 = (r0); - s.tmp_0 = scene_Camera_update__P54924_mk(s); + s.dt___27900 = (r0); + s.tmp_0 = scene_Camera_update__P19927_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 816; s.pc = 3; return s.tmp_0; + s.callLocIdx = 820; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___62905 = (undefined); + s.s___27908 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed418___U2 = (r0); - s.unnamed419___U3 = (0); + s.unnamed194___U2 = (r0); + s.unnamed195___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed419___U3; - r0 = pxsim_Array__length(s.unnamed418___U2); + s.tmp_0 = r0 = s.unnamed195___U3; + r0 = pxsim_Array__length(s.unnamed194___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed418___U2, s.unnamed419___U3); - s.s___62905 = (r0); + r0 = pxsim_Array__getAt(s.unnamed194___U2, s.unnamed195___U3); + s.s___27908 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___62905; + s.tmp_2.arg0 = s.s___27908; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___62897; + s.tmp_2.arg2 = s.dt___27900; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); - s.callLocIdx = 817; s.pc = 4; return s.tmp_2; + s.callLocIdx = 821; s.pc = 4; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__update"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 817; s.pc = 4; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 817; s.pc = 4; return s.tmp_2;; } - else { s.callLocIdx = 817; s.pc = 4; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 821; s.pc = 4; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 821; s.pc = 4; return s.tmp_2;; } + else { s.callLocIdx = 821; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; - r0 = (s.unnamed419___U3 + 1); - s.unnamed419___U3 = (r0); + r0 = (s.unnamed195___U3 + 1); + s.unnamed195___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed418___U2 = (undefined); + s.unnamed194___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P62896.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P27899.info = {"start":5318,"length":214,"line":147,"column":79,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P62896_mk(s) { +function inline__P27899_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62896, depth: s.depth + 1, + parent: s, fn: inline__P27899, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___62897: undefined, - s___62905: undefined, - unnamed418___U2: undefined, - unnamed419___U3: undefined, + dt___27900: undefined, + s___27908: undefined, + unnamed194___U2: undefined, + unnamed195___U3: undefined, } } -function inline__P62917(s) { +function inline__P27920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7123,21 +7123,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P54994_mk(s); + s.tmp_0 = scene_Scene_render__P19997_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 819; s.pc = 1; return s.tmp_0; + s.callLocIdx = 823; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P62917.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P27920.info = {"start":5673,"length":109,"line":158,"column":76,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P62917_mk(s) { +function inline__P27920_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62917, depth: s.depth + 1, + parent: s, fn: inline__P27920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -7146,7 +7146,7 @@ function inline__P62917_mk(s) { -function inline__P62925(s) { +function inline__P27928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7156,26 +7156,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___55077; + s.tmp_0 = r0 = globals.stats___20080; 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___52938; + r0 = globals.control_EventContext_onStats___17938; 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___52938; - if ((globals.control_EventContext_lastStats___52937) && (globals.control_EventContext_lastStats___52937).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___17938; + if ((globals.control_EventContext_lastStats___17937) && (globals.control_EventContext_lastStats___17937).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___52937); + pxsim_String__stringConv(globals.control_EventContext_lastStats___17937); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___52937) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___17937) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -7206,41 +7206,41 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); s.tmp_2.arg0 = r0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 821; s.pc = 7; return s.tmp_2; + s.callLocIdx = 825; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___55076); + r0 = pxsim_numops_toBoolDecr(globals.debug___20079); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C54710_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C19710_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C54710_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C19710_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__P55202_mk(s); - s.callLocIdx = 822; s.pc = 12; return s.tmp_0; + s.tmp_0 = game_consoleOverlay_draw__P20205_mk(s); + s.callLocIdx = 826; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P54257_mk(s); - s.callLocIdx = 823; s.pc = 13; return s.tmp_0; + s.tmp_0 = power_checkDeepSleep__P19257_mk(s); + s.callLocIdx = 827; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P62925.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P27928.info = {"start":5899,"length":504,"line":163,"column":80,"endLine":175,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P62925_mk(s) { +function inline__P27928_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62925, depth: s.depth + 1, + parent: s, fn: inline__P27928, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7257,7 +7257,7 @@ function inline__P62925_mk(s) { -function inline__P62954(s) { +function inline__P27957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7275,19 +7275,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 826; s.pc = 1; return s.tmp_0; + s.callLocIdx = 830; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P62954.info = {"start":6621,"length":12,"line":179,"column":39,"endLine":179,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P27957.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__P62954_mk(s) { +function inline__P27957_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P62954, depth: s.depth + 1, + parent: s, fn: inline__P27957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7297,7 +7297,7 @@ function inline__P62954_mk(s) { -function game_consoleOverlay_draw__P55202(s) { +function game_consoleOverlay_draw__P20205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7307,16 +7307,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___63003 = undefined; - s.top___63008 = undefined; - s.i___63014 = undefined; - s.t___63027 = undefined; - s.tOff___63034 = undefined; - s.tab___63036 = undefined; - s.unnamed422___U6 = undefined; - s.unnamed423___U7 = undefined; - s.padding___63038 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___56832); + s.height___28006 = undefined; + s.top___28011 = undefined; + s.i___28017 = undefined; + s.t___28030 = undefined; + s.tOff___28037 = undefined; + s.tab___28039 = undefined; + s.unnamed198___U6 = undefined; + s.unnamed199___U7 = undefined; + s.padding___28041 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___21835); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7325,7 +7325,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___56786); + r0 = pxsim_numops_toBoolDecr(globals.instance___21789); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -7341,23 +7341,23 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___56840; + s.tmp_7.arg0 = globals.consoleFont___21843; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1034; s.pc = 14; return s.tmp_7; } + else { s.callLocIdx = 1039; s.pc = 14; return s.tmp_7; } } case 14: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___63003 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___55077); + s.height___28006 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___20080); if (!r0) { step = 5; continue; } - r0 = s.height___63003; + r0 = s.height___28006; { step = 6; continue; } case 5: r0 = 0; @@ -7365,17 +7365,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___63008 = (r0); - s.i___63014 = (0); + s.top___28011 = (r0); + s.i___28017 = (0); case 7: - s.tmp_1 = r0 = s.i___63014; - r0 = pxsim_Array__length(globals.consoleStrings___56832); + s.tmp_1 = r0 = s.i___28017; + r0 = pxsim_Array__length(globals.consoleStrings___21835); 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___56832, s.i___63014); + r0 = pxsim_Array__getAt(globals.consoleStrings___21835, s.i___28017); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -7383,50 +7383,50 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P52668_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___56832, s.i___63014); + s.tmp_6 = helpers_stringSplit__P17668_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___21835, s.i___28017); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1035; s.pc = 15; return s.tmp_6; + s.callLocIdx = 1040; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___63027 = (r0); - s.tOff___63034 = (0); - s.tab___63036 = (undefined); - s.unnamed422___U6 = (s.t___63027); - s.unnamed423___U7 = (0); + s.t___28030 = (r0); + s.tOff___28037 = (0); + s.tab___28039 = (undefined); + s.unnamed198___U6 = (s.t___28030); + s.unnamed199___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed423___U7; - r0 = pxsim_Array__length(s.unnamed422___U6); + s.tmp_0 = r0 = s.unnamed199___U7; + r0 = pxsim_Array__length(s.unnamed198___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed422___U6, s.unnamed423___U7); - s.tab___63036 = (r0); - s.tmp_2 = r0 = globals.tabSize___56834; - s.tmp_5 = r0 = s.tOff___63034; - r0 = pxsim_String_.length(s.tab___63036); + r0 = pxsim_Array__getAt(s.unnamed198___U6, s.unnamed199___U7); + s.tab___28039 = (r0); + s.tmp_2 = r0 = globals.tabSize___21837; + s.tmp_5 = r0 = s.tOff___28037; + r0 = pxsim_String_.length(s.tab___28039); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___56834); + r0 = (s.tmp_4 % globals.tabSize___21837); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___63038 = (r0); - s.tmp_0 = helpers_imagePrint__P54311_mk(s); - s.tmp_0.arg0 = globals.screen___54353; - s.tmp_0.arg1 = s.tab___63036; - s.tmp_2 = r0 = s.tOff___63034; + s.padding___28041 = (r0); + s.tmp_0 = helpers_imagePrint__P19311_mk(s); + s.tmp_0.arg0 = globals.screen___19353; + s.tmp_0.arg1 = s.tab___28039; + s.tmp_2 = r0 = s.tOff___28037; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___56840; + s.tmp_4.arg0 = globals.consoleFont___21843; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1036; s.pc = 17; return s.tmp_4; } + else { s.callLocIdx = 1041; s.pc = 17; return s.tmp_4; } } case 17: r0 = s.retval; @@ -7435,50 +7435,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___63008; - r0 = (s.i___63014 * s.height___63003); + s.tmp_5 = r0 = s.top___28011; + r0 = (s.i___28017 * s.height___28006); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___56831; - s.tmp_0.arg5 = globals.consoleFont___56840; + s.tmp_0.arg4 = globals.consoleColor___21834; + s.tmp_0.arg5 = globals.consoleFont___21843; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1037; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1042; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___63034; - r0 = pxsim_String_.length(s.tab___63036); + s.tmp_0 = r0 = s.tOff___28037; + r0 = pxsim_String_.length(s.tab___28039); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___63038); + r0 = (s.tmp_2 + s.padding___28041); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___63034 = (r0); - r0 = (s.unnamed423___U7 + 1); - s.unnamed423___U7 = (r0); + s.tOff___28037 = (r0); + r0 = (s.unnamed199___U7 + 1); + s.unnamed199___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed422___U6 = (undefined); + s.unnamed198___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P54311_mk(s); - s.tmp_0.arg0 = globals.screen___54353; - r0 = pxsim_Array__getAt(globals.consoleStrings___56832, s.i___63014); + s.tmp_0 = helpers_imagePrint__P19311_mk(s); + s.tmp_0.arg0 = globals.screen___19353; + r0 = pxsim_Array__getAt(globals.consoleStrings___21835, s.i___28017); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___63008; - r0 = (s.i___63014 * s.height___63003); + s.tmp_1 = r0 = s.top___28011; + r0 = (s.i___28017 * s.height___28006); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___56831; - s.tmp_0.arg5 = globals.consoleFont___56840; + s.tmp_0.arg4 = globals.consoleColor___21834; + s.tmp_0.arg5 = globals.consoleFont___21843; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1038; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1043; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___63014 + 1); - s.i___63014 = (r0); + r0 = (s.i___28017 + 1); + s.i___28017 = (r0); { step = 7; continue; } case 12: case 13: @@ -7486,12 +7486,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P55202.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__P20205.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__P55202_mk(s) { +function game_consoleOverlay_draw__P20205_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P55202, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P20205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7501,22 +7501,22 @@ function game_consoleOverlay_draw__P55202_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___63003: undefined, - top___63008: undefined, - i___63014: undefined, - t___63027: undefined, - tOff___63034: undefined, - tab___63036: undefined, - unnamed422___U6: undefined, - unnamed423___U7: undefined, - padding___63038: undefined, + height___28006: undefined, + top___28011: undefined, + i___28017: undefined, + t___28030: undefined, + tOff___28037: undefined, + tab___28039: undefined, + unnamed198___U6: undefined, + unnamed199___U7: undefined, + padding___28041: undefined, } } -function scene_systemMenu_isVisible__P55183(s) { +function scene_systemMenu_isVisible__P20186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7526,7 +7526,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___56786); + r0 = pxsim_numops_toBoolDecr(globals.instance___21789); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -7536,12 +7536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P55183.info = {"start":13055,"length":62,"line":392,"column":4,"endLine":394,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} +scene_systemMenu_isVisible__P20186.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__P55183_mk(s) { +function scene_systemMenu_isVisible__P20186_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P55183, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P20186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7552,7 +7552,7 @@ function scene_systemMenu_isVisible__P55183_mk(s) { -function helpers_imagePrint__P54311(s) { +function helpers_imagePrint__P19311(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7562,31 +7562,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___63110 = undefined; - s.cp___63112 = undefined; - s.mult___63113 = undefined; - s.dataW___63118 = undefined; - s.dataH___63124 = undefined; - s.byteHeight___63130 = undefined; - s.charSize___63136 = undefined; - s.dataSize___63140 = undefined; - s.fontdata___63144 = undefined; - s.lastchar___63147 = undefined; - s.imgBuf___63154 = undefined; - s.xOffset___63178 = undefined; - s.yOffset___63179 = undefined; - s.ch___63194 = undefined; - s.l___63213 = undefined; - s.r___63214 = undefined; - s.off___63216 = undefined; - s.guess___63217 = undefined; - s.m___63236 = undefined; - s.v___63245 = undefined; - s.i___63301 = undefined; - s.j___63306 = undefined; - s.mask___63307 = undefined; - s.c___63308 = undefined; - s.n___63325 = undefined; + s.x0___28113 = undefined; + s.cp___28115 = undefined; + s.mult___28116 = undefined; + s.dataW___28121 = undefined; + s.dataH___28127 = undefined; + s.byteHeight___28133 = undefined; + s.charSize___28139 = undefined; + s.dataSize___28143 = undefined; + s.fontdata___28147 = undefined; + s.lastchar___28150 = undefined; + s.imgBuf___28157 = undefined; + s.xOffset___28181 = undefined; + s.yOffset___28182 = undefined; + s.ch___28197 = undefined; + s.l___28216 = undefined; + s.r___28217 = undefined; + s.off___28219 = undefined; + s.guess___28220 = undefined; + s.m___28239 = undefined; + s.v___28248 = undefined; + s.i___28304 = undefined; + s.j___28309 = undefined; + s.mask___28310 = undefined; + s.c___28311 = undefined; + s.n___28328 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7607,7 +7607,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P54298_mk(s); + s.tmp_2 = image_getFontForText__P19298_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 96; s.pc = 39; return s.tmp_2; case 39: @@ -7624,8 +7624,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___63110 = (s.arg2); - s.cp___63112 = (0); + s.x0___28113 = (s.arg2); + s.cp___28115 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -7659,7 +7659,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___63113 = (s.tmp_3); + s.mult___28116 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -7673,8 +7673,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___63113); - s.dataW___63118 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___28116); + s.dataW___28121 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -7688,16 +7688,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___63113); - s.dataH___63124 = (r0); - r0 = (s.dataH___63124 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___28116); + s.dataH___28127 = (r0); + r0 = (s.dataH___28127 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___63130 = (r0); - r0 = (s.byteHeight___63130 * s.dataW___63118); - s.charSize___63136 = (r0); - r0 = (2 + s.charSize___63136); - s.dataSize___63140 = (r0); + s.byteHeight___28133 = (r0); + r0 = (s.byteHeight___28133 * s.dataW___28121); + s.charSize___28139 = (r0); + r0 = (2 + s.charSize___28139); + s.dataSize___28143 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -7710,44 +7710,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___63144 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___63144); + s.fontdata___28147 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___28147); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___63140); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___28143); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___63147 = (r0); - r0 = (s.mult___63113 == 1); + s.lastchar___28150 = (r0); + r0 = (s.mult___28116 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___63136); + r0 = (8 + s.charSize___28139); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___63154 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___63154, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___63154, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___63154, 2, s.dataW___63118); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___63154, 4, s.dataH___63124); + s.imgBuf___28157 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___28157, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___28157, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___28157, 2, s.dataW___28121); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___28157, 4, s.dataH___28127); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___63112; + s.tmp_1 = r0 = s.cp___28115; 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___63178 = (0); - s.yOffset___63179 = (0); + s.xOffset___28181 = (0); + s.yOffset___28182 = (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___63112; + s.tmp_1 = r0 = s.cp___28115; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -7757,7 +7757,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___63112); + r0 = pxsim_Array__getAt(s.arg6, s.cp___28115); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -7769,9 +7769,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___63178 = (r0); + s.xOffset___28181 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___63112); + r0 = pxsim_Array__getAt(s.arg6, s.cp___28115); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -7783,15 +7783,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___63179 = (r0); + s.yOffset___28182 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___63112; + s.tmp_0 = r0 = s.cp___28115; r0 = (s.tmp_0 + 1); - s.cp___63112 = (r0); + s.cp___28115 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___63194 = (r0); - r0 = (s.ch___63194 == 10); + s.ch___28197 = (r0); + r0 = (s.ch___28197 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -7813,89 +7813,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___63110); + s.arg2 = (s.x0___28113); case 14: case 15: - r0 = (s.ch___63194 < 32); + r0 = (s.ch___28197 < 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___63213 = (0); - s.r___63214 = (s.lastchar___63147); - s.off___63216 = (0); - r0 = (s.ch___63194 - 32); + s.l___28216 = (0); + s.r___28217 = (s.lastchar___28150); + s.off___28219 = (0); + r0 = (s.ch___28197 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___63140); - s.guess___63217 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___63144, 4, s.guess___63217); + r0 = (s.tmp_0 * s.dataSize___28143); + s.guess___28220 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___28147, 4, s.guess___28220); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___63194); + r0 = (s.tmp_1 == s.ch___28197); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___63216 = (s.guess___63217); + s.off___28219 = (s.guess___28220); { step = 25; continue; } case 18: case 19: - r0 = (s.l___63213 <= s.r___63214); + r0 = (s.l___28216 <= s.r___28217); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___63213; - r0 = (s.r___63214 - s.l___63213); + s.tmp_1 = r0 = s.l___28216; + r0 = (s.r___28217 - s.l___28216); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___63236 = (r0); - s.tmp_0 = r0 = s.fontdata___63144; - r0 = (s.m___63236 * s.dataSize___63140); + s.m___28239 = (r0); + s.tmp_0 = r0 = s.fontdata___28147; + r0 = (s.m___28239 * s.dataSize___28143); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___63245 = (r0); - r0 = (s.v___63245 == s.ch___63194); + s.v___28248 = (r0); + r0 = (s.v___28248 == s.ch___28197); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___63236 * s.dataSize___63140); - s.off___63216 = (r0); + r0 = (s.m___28239 * s.dataSize___28143); + s.off___28219 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___63245 < s.ch___63194); + r0 = (s.v___28248 < s.ch___28197); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___63236 + 1); - s.l___63213 = (r0); + r0 = (s.m___28239 + 1); + s.l___28216 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___63236 - 1); - s.r___63214 = (r0); + r0 = (s.m___28239 - 1); + s.r___28217 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___63113 == 1); + r0 = (s.mult___28116 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___63154; - s.tmp_3 = r0 = s.fontdata___63144; - r0 = (s.off___63216 + 2); + s.tmp_1 = r0 = s.imgBuf___28157; + s.tmp_3 = r0 = s.fontdata___28147; + r0 = (s.off___28219 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___63136); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___28139); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P54278_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P19278_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___63154; - r0 = (s.arg2 + s.xOffset___63178); + s.tmp_0.arg1 = s.imgBuf___28157; + r0 = (s.arg2 + s.xOffset___28181); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___63179); + r0 = (s.arg3 + s.yOffset___28182); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 105; s.pc = 48; return s.tmp_0; @@ -7919,88 +7919,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___63216 + 2); - s.off___63216 = (r0); - s.i___63301 = (0); + r0 = (s.off___28219 + 2); + s.off___28219 = (r0); + s.i___28304 = (0); case 27: - r0 = (s.i___63301 < s.dataW___63118); + r0 = (s.i___28304 < s.dataW___28121); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___63306 = (0); - s.mask___63307 = (1); - s.tmp_0 = r0 = s.off___63216; + s.j___28309 = (0); + s.mask___28310 = (1); + s.tmp_0 = r0 = s.off___28219; r0 = (s.tmp_0 + 1); - s.off___63216 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___63144, s.tmp_0); - s.c___63308 = (r0); + s.off___28219 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___28147, s.tmp_0); + s.c___28311 = (r0); case 28: - r0 = (s.j___63306 < s.dataH___63124); + r0 = (s.j___28309 < s.dataH___28127); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___63307 == 256); + r0 = (s.mask___28310 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___63216; + s.tmp_2 = r0 = s.off___28219; r0 = (s.tmp_2 + 1); - s.off___63216 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___63144, s.tmp_2); - s.c___63308 = (r0); - s.mask___63307 = (1); + s.off___28219 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___28147, s.tmp_2); + s.c___28311 = (r0); + s.mask___28310 = (1); case 29: case 30: - s.n___63325 = (0); + s.n___28328 = (0); case 31: - r0 = (s.c___63308 & s.mask___63307); + r0 = (s.c___28311 & s.mask___28310); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___63325 + 1); - s.n___63325 = (r0); - r0 = (s.mask___63307 << 1); - s.mask___63307 = (r0); + r0 = (s.n___28328 + 1); + s.n___28328 = (r0); + r0 = (s.mask___28310 << 1); + s.mask___28310 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___63325); + r0 = pxsim_numops_toBoolDecr(s.n___28328); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P54279_mk(s); + s.tmp_0 = helpers_imageFillRect__P19279_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___63178 * s.mult___63113); + r0 = (s.xOffset___28181 * s.mult___28116); 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___63306 + s.yOffset___63179); + r0 = (s.j___28309 + s.yOffset___28182); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___63113); + r0 = (s.tmp_5 * s.mult___28116); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___63113; - r0 = (s.mult___63113 * s.n___63325); + s.tmp_0.arg3 = s.mult___28116; + r0 = (s.mult___28116 * s.n___28328); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 107; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___63306 + s.n___63325); - s.j___63306 = (r0); + r0 = (s.j___28309 + s.n___28328); + s.j___28309 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___63307 << 1); - s.mask___63307 = (r0); - r0 = (s.j___63306 + 1); - s.j___63306 = (r0); + r0 = (s.mask___28310 << 1); + s.mask___28310 = (r0); + r0 = (s.j___28309 + 1); + s.j___28309 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___63113); + r0 = (s.arg2 + s.mult___28116); s.arg2 = (r0); - r0 = (s.i___63301 + 1); - s.i___63301 = (r0); + r0 = (s.i___28304 + 1); + s.i___28304 = (r0); { step = 27; continue; } case 36: case 37: @@ -8010,12 +8010,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P54311.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__P19311.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__P54311_mk(s) { +function helpers_imagePrint__P19311_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P54311, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P19311, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8023,31 +8023,31 @@ function helpers_imagePrint__P54311_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___63110: undefined, - cp___63112: undefined, - mult___63113: undefined, - dataW___63118: undefined, - dataH___63124: undefined, - byteHeight___63130: undefined, - charSize___63136: undefined, - dataSize___63140: undefined, - fontdata___63144: undefined, - lastchar___63147: undefined, - imgBuf___63154: undefined, - xOffset___63178: undefined, - yOffset___63179: undefined, - ch___63194: undefined, - l___63213: undefined, - r___63214: undefined, - off___63216: undefined, - guess___63217: undefined, - m___63236: undefined, - v___63245: undefined, - i___63301: undefined, - j___63306: undefined, - mask___63307: undefined, - c___63308: undefined, - n___63325: undefined, + x0___28113: undefined, + cp___28115: undefined, + mult___28116: undefined, + dataW___28121: undefined, + dataH___28127: undefined, + byteHeight___28133: undefined, + charSize___28139: undefined, + dataSize___28143: undefined, + fontdata___28147: undefined, + lastchar___28150: undefined, + imgBuf___28157: undefined, + xOffset___28181: undefined, + yOffset___28182: undefined, + ch___28197: undefined, + l___28216: undefined, + r___28217: undefined, + off___28219: undefined, + guess___28220: undefined, + m___28239: undefined, + v___28248: undefined, + i___28304: undefined, + j___28309: undefined, + mask___28310: undefined, + c___28311: undefined, + n___28328: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8061,7 +8061,7 @@ function helpers_imagePrint__P54311_mk(s) { -function image_getFontForText__P54298(s) { +function image_getFontForText__P19298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8071,52 +8071,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___63402 = undefined; + s.i___28405 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___63402 = (0); + s.i___28405 = (0); case 1: - s.tmp_1 = r0 = s.i___63402; + s.tmp_1 = r0 = s.i___28405; 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___63402); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___28405); 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___54297; + r0 = globals.font12___19297; { step = 5; continue; } case 2: case 3: - r0 = (s.i___63402 + 1); - s.i___63402 = (r0); + r0 = (s.i___28405 + 1); + s.i___28405 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___54296; + r0 = globals.font8___19296; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P54298.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__P19298.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__P54298_mk(s) { +function image_getFontForText__P19298_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P54298, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P19298, 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___63402: undefined, + i___28405: undefined, arg0: undefined, } } @@ -8124,7 +8124,7 @@ function image_getFontForText__P54298_mk(s) { -function helpers_imageFillRect__P54279(s) { +function helpers_imageFillRect__P19279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8144,14 +8144,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P56286_mk(s); + s.tmp_2 = helpers_pack__P21289_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 78; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P56286_mk(s); + s.tmp_4 = helpers_pack__P21289_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 79; s.pc = 2; return s.tmp_4; @@ -8163,12 +8163,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P54279.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__P19279.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__P54279_mk(s) { +function helpers_imageFillRect__P19279_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P54279, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P19279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8187,7 +8187,7 @@ function helpers_imageFillRect__P54279_mk(s) { -function helpers_pack__P56286(s) { +function helpers_pack__P21289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8202,7 +8202,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P52673_mk(s); + s.tmp_2 = Math_clamp__P17673_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -8213,7 +8213,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P52673_mk(s); + s.tmp_5 = Math_clamp__P17673_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -8228,12 +8228,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P56286.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__P21289.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__P56286_mk(s) { +function helpers_pack__P21289_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P56286, depth: s.depth + 1, + parent: s, fn: helpers_pack__P21289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8249,7 +8249,7 @@ function helpers_pack__P56286_mk(s) { -function Math_clamp__P52673(s) { +function Math_clamp__P17673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8265,9 +8265,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P52677_mk(s); + s.tmp_0 = Math_min__P17677_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P52676_mk(s); + s.tmp_1 = Math_max__P17676_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 14; s.pc = 2; return s.tmp_1; @@ -8280,12 +8280,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P52673.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__P17673.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__P52673_mk(s) { +function Math_clamp__P17673_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P52673, depth: s.depth + 1, + parent: s, fn: Math_clamp__P17673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8298,7 +8298,7 @@ function Math_clamp__P52673_mk(s) { -function Math_min__P52677(s) { +function Math_min__P17677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8326,12 +8326,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P52677.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__P17677.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__P52677_mk(s) { +function Math_min__P17677_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P52677, depth: s.depth + 1, + parent: s, fn: Math_min__P17677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8342,7 +8342,7 @@ function Math_min__P52677_mk(s) { -function helpers_imageDrawIcon__P54278(s) { +function helpers_imageDrawIcon__P19278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8362,7 +8362,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P56286_mk(s); + s.tmp_3 = helpers_pack__P21289_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 77; s.pc = 1; return s.tmp_3; @@ -8374,12 +8374,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P54278.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__P19278.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__P54278_mk(s) { +function helpers_imageDrawIcon__P19278_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P54278, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P19278, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8396,7 +8396,7 @@ function helpers_imageDrawIcon__P54278_mk(s) { -function helpers_stringSplit__P52668(s) { +function helpers_stringSplit__P17668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8406,15 +8406,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___63425 = undefined; - s.lim___63427 = undefined; - s.s___63443 = undefined; - s.p___63446 = undefined; - s.R___63447 = undefined; - s.z___63461 = undefined; - s.T___63474 = undefined; - s.q___63475 = undefined; - s.e___63481 = undefined; + s.A___28428 = undefined; + s.lim___28430 = undefined; + s.s___28446 = undefined; + s.p___28449 = undefined; + s.R___28450 = undefined; + s.z___28464 = undefined; + s.T___28477 = undefined; + s.q___28478 = undefined; + s.e___28484 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8422,36 +8422,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___63425 = (r0); - s.lim___63427 = (0); + s.A___28428 = (r0); + s.lim___28430 = (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___63427 = (r0); + s.lim___28430 = (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___63427 = (0); + s.lim___28430 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___63427 = (r0); + s.lim___28430 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___63443 = (r0); - s.p___63446 = (0); - s.R___63447 = (s.arg1); - r0 = (s.lim___63427 == 0); + s.s___28446 = (r0); + s.p___28449 = (0); + s.R___28450 = (s.arg1); + r0 = (s.lim___28430 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___63425; + r0 = s.A___28428; { step = 21; continue; } case 5: case 6: @@ -8459,123 +8459,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___63425, 0, s.arg0); - r0 = s.A___63425; + r0 = pxsim_Array_.setAt(s.A___28428, 0, s.arg0); + r0 = s.A___28428; { step = 21; continue; } case 7: case 8: - r0 = (s.s___63443 == 0); + r0 = (s.s___28446 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P56145_mk(s); + s.tmp_1 = helpers_splitMatch__P21148_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___63447; + s.tmp_1.arg2 = s.R___28450; s.callLocIdx = 10; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___63461 = (r0); - r0 = (s.z___63461 > -1); + s.z___28464 = (r0); + r0 = (s.z___28464 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___63425; + r0 = s.A___28428; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___63425, 0, s.arg0); - r0 = s.A___63425; + r0 = pxsim_Array_.setAt(s.A___28428, 0, s.arg0); + r0 = s.A___28428; { step = 21; continue; } case 11: case 12: - s.q___63475 = (s.p___63446); + s.q___28478 = (s.p___28449); case 13: - r0 = (s.q___63475 != s.s___63443); + r0 = (s.q___28478 != s.s___28446); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P56145_mk(s); + s.tmp_1 = helpers_splitMatch__P21148_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___63475; - s.tmp_1.arg2 = s.R___63447; + s.tmp_1.arg1 = s.q___28478; + s.tmp_1.arg2 = s.R___28450; s.callLocIdx = 11; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___63481 = (r0); - r0 = (s.e___63481 < 0); + s.e___28484 = (r0); + r0 = (s.e___28484 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___63475 + 1); - s.q___63475 = (r0); + r0 = (s.q___28478 + 1); + s.q___28478 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___63481 == s.p___63446); + r0 = (s.e___28484 == s.p___28449); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___63475 + 1); - s.q___63475 = (r0); + r0 = (s.q___28478 + 1); + s.q___28478 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P52666_mk(s); + s.tmp_0 = helpers_stringSlice__P17666_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___63446; - s.tmp_0.arg2 = s.q___63475; + s.tmp_0.arg1 = s.p___28449; + s.tmp_0.arg2 = s.q___28478; s.callLocIdx = 12; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___63474 = (r0); - r0 = pxsim_Array__push(s.A___63425, s.T___63474); - r0 = pxsim_Array__length(s.A___63425); + s.T___28477 = (r0); + r0 = pxsim_Array__push(s.A___28428, s.T___28477); + r0 = pxsim_Array__length(s.A___28428); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___63427); + r0 = (s.tmp_1 == s.lim___28430); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___63425; + r0 = s.A___28428; { step = 21; continue; } case 16: case 17: - s.p___63446 = (s.e___63481); - s.q___63475 = (s.p___63446); + s.p___28449 = (s.e___28484); + s.q___28478 = (s.p___28449); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P52666_mk(s); + s.tmp_0 = helpers_stringSlice__P17666_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___63446; - s.tmp_0.arg2 = s.q___63475; + s.tmp_0.arg1 = s.p___28449; + s.tmp_0.arg2 = s.q___28478; s.callLocIdx = 13; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___63474 = (r0); - r0 = pxsim_Array__push(s.A___63425, s.T___63474); - r0 = s.A___63425; + s.T___28477 = (r0); + r0 = pxsim_Array__push(s.A___28428, s.T___28477); + r0 = s.A___28428; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P52668.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__P17668.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__P52668_mk(s) { +function helpers_stringSplit__P17668_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P52668, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P17668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___63425: undefined, - lim___63427: undefined, - s___63443: undefined, - p___63446: undefined, - R___63447: undefined, - z___63461: undefined, - T___63474: undefined, - q___63475: undefined, - e___63481: undefined, + A___28428: undefined, + lim___28430: undefined, + s___28446: undefined, + p___28449: undefined, + R___28450: undefined, + z___28464: undefined, + T___28477: undefined, + q___28478: undefined, + e___28484: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8585,7 +8585,7 @@ function helpers_stringSplit__P52668_mk(s) { -function helpers_splitMatch__P56145(s) { +function helpers_splitMatch__P21148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8595,9 +8595,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___63557 = undefined; - s.s___63560 = undefined; - s.i___63570 = undefined; + s.r___28560 = undefined; + s.s___28563 = undefined; + s.i___28573 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8605,12 +8605,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___63557 = (r0); + s.r___28560 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___63560 = (r0); - r0 = (s.arg1 + s.r___63557); + s.s___28563 = (r0); + r0 = (s.arg1 + s.r___28560); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___63560); + r0 = (s.tmp_1 > s.s___28563); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -8618,18 +8618,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___63570 = (0); + s.i___28573 = (0); case 3: - r0 = (s.i___63570 < s.r___63557); + r0 = (s.i___28573 < s.r___28560); 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___63570); + r0 = (s.arg1 + s.i___28573); 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___63570); + r0 = pxsim_String_.charAt(s.arg2, s.i___28573); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -8639,21 +8639,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___63570 + 1); - s.i___63570 = (r0); + r0 = (s.i___28573 + 1); + s.i___28573 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___63557); + r0 = (s.arg1 + s.r___28560); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P56145.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__P21148.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__P56145_mk(s) { +function helpers_splitMatch__P21148_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P56145, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P21148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8661,9 +8661,9 @@ function helpers_splitMatch__P56145_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___63557: undefined, - s___63560: undefined, - i___63570: undefined, + r___28560: undefined, + s___28563: undefined, + i___28573: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8673,7 +8673,7 @@ function helpers_splitMatch__P56145_mk(s) { -function helpers_stringSlice__P52666(s) { +function helpers_stringSlice__P17666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8683,7 +8683,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___63526 = undefined; + s.len___28529 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8691,13 +8691,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___63526 = (r0); + s.len___28529 = (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__P52676_mk(s); - r0 = (s.len___63526 + s.arg1); + s.tmp_1 = Math_max__P17676_mk(s); + r0 = (s.len___28529 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 9; s.pc = 7; return s.tmp_1; @@ -8710,14 +8710,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___63526); + s.arg2 = (s.len___28529); 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___63526 + s.arg2); + r0 = (s.len___28529 + s.arg2); s.arg2 = (r0); case 5: case 6: @@ -8729,17 +8729,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P52666.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__P17666.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__P52666_mk(s) { +function helpers_stringSlice__P17666_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P52666, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P17666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___63526: undefined, + len___28529: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8749,7 +8749,7 @@ function helpers_stringSlice__P52666_mk(s) { -function scene_Scene_render__P54994(s) { +function scene_Scene_render__P19997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8759,15 +8759,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___63654 = undefined; - s.unnamed420___U1 = undefined; - s.unnamed421___U2 = undefined; + s.s___28657 = undefined; + s.unnamed196___U1 = undefined; + s.unnamed197___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C54967_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C19970_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -8798,18 +8798,18 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - s.tmp_3 = scene_Scene_render__P54994_mk(s); + s.tmp_3 = scene_Scene_render__P19997_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 829; s.pc = 12; return s.tmp_3; + s.callLocIdx = 833; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P54825_mk(s); + s.tmp_0 = scene_Background_draw__P19825_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 830; s.pc = 13; return s.tmp_0; + s.callLocIdx = 834; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: @@ -8819,11 +8819,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P52654_mk(s); + s.tmp_2 = helpers_arraySort__P17654_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P63631; - s.callLocIdx = 835; s.pc = 14; return s.tmp_2; + s.tmp_2.arg1 = inline__P28634; + s.callLocIdx = 839; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -8834,38 +8834,38 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___63654 = (undefined); + s.s___28657 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed420___U1 = (r0); - s.unnamed421___U2 = (0); + s.unnamed196___U1 = (r0); + s.unnamed197___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed421___U2; - r0 = pxsim_Array__length(s.unnamed420___U1); + s.tmp_0 = r0 = s.unnamed197___U2; + r0 = pxsim_Array__length(s.unnamed196___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed420___U1, s.unnamed421___U2); - s.s___63654 = (r0); + r0 = pxsim_Array__getAt(s.unnamed196___U1, s.unnamed197___U2); + s.s___28657 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___63654; + s.tmp_2.arg0 = s.s___28657; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__draw"), 2); - s.callLocIdx = 836; s.pc = 15; return s.tmp_2; + s.callLocIdx = 840; s.pc = 15; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__draw"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 836; s.pc = 15; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 836; s.pc = 15; return s.tmp_2;; } - else { s.callLocIdx = 836; s.pc = 15; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 840; s.pc = 15; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 840; s.pc = 15; return s.tmp_2;; } + else { s.callLocIdx = 840; s.pc = 15; return s.tmp_2; } } case 15: r0 = s.retval; - r0 = (s.unnamed421___U2 + 1); - s.unnamed421___U2 = (r0); + r0 = (s.unnamed197___U2 + 1); + s.unnamed197___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed420___U1 = (undefined); + s.unnamed196___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -8877,21 +8877,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P54994.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__P19997.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__P54994_mk(s) { +function scene_Scene_render__P19997_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P54994, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P19997, 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___63654: undefined, - unnamed420___U1: undefined, - unnamed421___U2: undefined, + s___28657: undefined, + unnamed196___U1: undefined, + unnamed197___U2: undefined, arg0: undefined, } } @@ -8899,7 +8899,7 @@ function scene_Scene_render__P54994_mk(s) { -function inline__P63631(s) { +function inline__P28634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8922,7 +8922,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["z"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["z"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 831; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 835; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; @@ -8935,7 +8935,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["z"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["z"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 832; s.pc = 4; return s.tmp_4; } + else { s.callLocIdx = 836; s.pc = 4; return s.tmp_4; } } case 4: r0 = s.retval; @@ -8955,7 +8955,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["id"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["id"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 833; s.pc = 5; return s.tmp_6; } + else { s.callLocIdx = 837; s.pc = 5; return s.tmp_6; } } case 5: r0 = s.retval; @@ -8968,7 +8968,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["id"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["id"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 834; s.pc = 6; return s.tmp_8; } + else { s.callLocIdx = 838; s.pc = 6; return s.tmp_8; } } case 6: r0 = s.retval; @@ -8981,12 +8981,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P63631.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__P28634.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__P63631_mk(s) { +function inline__P28634_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P63631, depth: s.depth + 1, + parent: s, fn: inline__P28634, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9006,7 +9006,7 @@ function inline__P63631_mk(s) { -function scene_Background_draw__P54825(s) { +function scene_Background_draw__P19825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9021,31 +9021,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C54816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C19816_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___54353, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___19353, 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___54353, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___19353, 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__P63686); + r0 = pxsim_pxtcore_mkAction(1, inline__P28689); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P52658_mk(s); + s.tmp_2 = helpers_arrayForEach__P17658_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 681; s.pc = 5; return s.tmp_2; + s.callLocIdx = 685; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -9054,12 +9054,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P54825.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__P19825.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__P54825_mk(s) { +function scene_Background_draw__P19825_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P54825, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P19825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9071,7 +9071,7 @@ function scene_Background_draw__P54825_mk(s) { -function inline__P63686(s) { +function inline__P28689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9081,8 +9081,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___63688 = undefined; - s.oy___63699 = undefined; + s.ox___28691 = undefined; + s.oy___28702 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -9097,7 +9097,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___63688 = (r0); + s.ox___28691 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -9108,31 +9108,31 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___63699 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P54834_mk(s); + s.oy___28702 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P19834_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___63688; - s.tmp_0.arg2 = s.oy___63699; - s.callLocIdx = 680; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = s.ox___28691; + s.tmp_0.arg2 = s.oy___28702; + s.callLocIdx = 684; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P63686.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P28689.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__P63686_mk(s) { +function inline__P28689_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P63686, depth: s.depth + 1, + parent: s, fn: inline__P28689, 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___63688: undefined, - oy___63699: undefined, + ox___28691: undefined, + oy___28702: undefined, arg0: undefined, } } @@ -9140,7 +9140,7 @@ function inline__P63686_mk(s) { -function scene_BackgroundLayer_draw__P54834(s) { +function scene_BackgroundLayer_draw__P19834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9150,19 +9150,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___63717 = undefined; - s.h___63720 = undefined; - s.pw___63723 = undefined; - s.ph___63727 = undefined; - s.rx___63736 = undefined; - s.ry___63739 = undefined; - s.y___63808 = undefined; - s.py___63809 = undefined; - s.dh___63818 = undefined; - s.x___63826 = undefined; - s.rxl___63827 = undefined; - s.px___63833 = undefined; - s.dw___63837 = undefined; + s.w___28720 = undefined; + s.h___28723 = undefined; + s.pw___28726 = undefined; + s.ph___28730 = undefined; + s.rx___28739 = undefined; + s.ry___28742 = undefined; + s.y___28811 = undefined; + s.py___28812 = undefined; + s.dh___28821 = undefined; + s.x___28829 = undefined; + s.rxl___28830 = undefined; + s.px___28836 = undefined; + s.dw___28840 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9170,20 +9170,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C54826_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___54353); - s.w___63717 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___54353); - s.h___63720 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C19826_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___19353); + s.w___28720 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___19353); + s.h___28723 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___63723 = (r0); + s.pw___28726 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___63727 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___63723); + s.ph___28730 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___28726); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9192,7 +9192,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___63727); + r0 = pxsim_numops_toBoolDecr(s.ph___28730); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -9204,9 +9204,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___63736 = (r0); + s.rx___28739 = (r0); r0 = (0 - s.arg2); - s.ry___63739 = (r0); + s.ry___28742 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -9216,20 +9216,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___63736; - r0 = (s.w___63717 + s.pw___63723); + s.tmp_1 = r0 = s.rx___28739; + r0 = (s.w___28720 + s.pw___28726); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___63736 = (r0); + s.rx___28739 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___63736; - r0 = (s.w___63717 + s.pw___63723); + s.tmp_0 = r0 = s.rx___28739; + r0 = (s.w___28720 + s.pw___28726); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___63736 = (r0); + s.rx___28739 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -9240,120 +9240,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___63739; - r0 = (s.h___63720 + s.ph___63727); + s.tmp_1 = r0 = s.ry___28742; + r0 = (s.h___28723 + s.ph___28730); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___63739 = (r0); + s.ry___28742 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___63739; - r0 = (s.h___63720 + s.ph___63727); + s.tmp_0 = r0 = s.ry___28742; + r0 = (s.h___28723 + s.ph___28730); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___63739 = (r0); + s.ry___28742 = (r0); case 10: - r0 = (s.rx___63736 % s.w___63717); - s.rx___63736 = (r0); - r0 = (s.rx___63736 < 0); + r0 = (s.rx___28739 % s.w___28720); + s.rx___28739 = (r0); + r0 = (s.rx___28739 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___63736 + s.w___63717); - s.rx___63736 = (r0); + r0 = (s.rx___28739 + s.w___28720); + s.rx___28739 = (r0); case 11: case 12: - r0 = (s.ry___63739 % s.h___63720); - s.ry___63739 = (r0); - r0 = (s.ry___63739 < 0); + r0 = (s.ry___28742 % s.h___28723); + s.ry___28742 = (r0); + r0 = (s.ry___28742 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___63739 + s.h___63720); - s.ry___63739 = (r0); + r0 = (s.ry___28742 + s.h___28723); + s.ry___28742 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___63736); - s.rx___63736 = (r0); - r0 = pxsim.Math_.floor(s.ry___63739); - s.ry___63739 = (r0); - s.y___63808 = (0); - s.py___63809 = (0); + r0 = pxsim.Math_.floor(s.rx___28739); + s.rx___28739 = (r0); + r0 = pxsim.Math_.floor(s.ry___28742); + s.ry___28742 = (r0); + s.y___28811 = (0); + s.py___28812 = (0); case 15: - r0 = (s.y___63808 < s.h___63720); + r0 = (s.y___28811 < s.h___28723); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___63808 % s.ph___63727); - s.py___63809 = (r0); - s.tmp_0 = Math_min__P52677_mk(s); - r0 = (s.ph___63727 - s.py___63809); + r0 = (s.y___28811 % s.ph___28730); + s.py___28812 = (r0); + s.tmp_0 = Math_min__P17677_mk(s); + r0 = (s.ph___28730 - s.py___28812); s.tmp_0.arg0 = r0; - r0 = (s.h___63720 - s.ry___63739); + r0 = (s.h___28723 - s.ry___28742); s.tmp_0.arg1 = r0; - s.callLocIdx = 683; s.pc = 24; return s.tmp_0; + s.callLocIdx = 687; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___63818 = (r0); - s.x___63826 = (0); - s.rxl___63827 = (s.rx___63736); + s.dh___28821 = (r0); + s.x___28829 = (0); + s.rxl___28830 = (s.rx___28739); case 16: - r0 = (s.x___63826 < s.w___63717); + r0 = (s.x___28829 < s.w___28720); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___63826 % s.pw___63723); - s.px___63833 = (r0); - s.tmp_0 = Math_min__P52677_mk(s); - r0 = (s.pw___63723 - s.px___63833); + r0 = (s.x___28829 % s.pw___28726); + s.px___28836 = (r0); + s.tmp_0 = Math_min__P17677_mk(s); + r0 = (s.pw___28726 - s.px___28836); s.tmp_0.arg0 = r0; - r0 = (s.w___63717 - s.rxl___63827); + r0 = (s.w___28720 - s.rxl___28830); s.tmp_0.arg1 = r0; - s.callLocIdx = 684; s.pc = 25; return s.tmp_0; + s.callLocIdx = 688; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___63837 = (r0); + s.dw___28840 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___54353, s.tmp_0, s.rxl___63827, s.ry___63739); - r0 = (s.rxl___63827 + s.dw___63837); + r0 = pxsim_ImageMethods.drawImage(globals.screen___19353, s.tmp_0, s.rxl___28830, s.ry___28742); + r0 = (s.rxl___28830 + s.dw___28840); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___63717); - s.rxl___63827 = (r0); + r0 = (s.tmp_0 % s.w___28720); + s.rxl___28830 = (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___63837; + r0 = s.dw___28840; { step = 18; continue; } case 17: - r0 = s.w___63717; + r0 = s.w___28720; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___63826 + s.tmp_1); - s.x___63826 = (r0); + r0 = (s.x___28829 + s.tmp_1); + s.x___28829 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___63739 + s.dh___63818); + r0 = (s.ry___28742 + s.dh___28821); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___63720); - s.ry___63739 = (r0); + r0 = (s.tmp_0 % s.h___28723); + s.ry___28742 = (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___63818; + r0 = s.dh___28821; { step = 21; continue; } case 20: - r0 = s.h___63720; + r0 = s.h___28723; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___63808 + s.tmp_1); - s.y___63808 = (r0); + r0 = (s.y___28811 + s.tmp_1); + s.y___28811 = (r0); { step = 15; continue; } case 22: case 23: @@ -9361,30 +9361,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P54834.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__P19834.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__P54834_mk(s) { +function scene_BackgroundLayer_draw__P19834_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P54834, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P19834, 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___63717: undefined, - h___63720: undefined, - pw___63723: undefined, - ph___63727: undefined, - rx___63736: undefined, - ry___63739: undefined, - y___63808: undefined, - py___63809: undefined, - dh___63818: undefined, - x___63826: undefined, - rxl___63827: undefined, - px___63833: undefined, - dw___63837: undefined, + w___28720: undefined, + h___28723: undefined, + pw___28726: undefined, + ph___28730: undefined, + rx___28739: undefined, + ry___28742: undefined, + y___28811: undefined, + py___28812: undefined, + dh___28821: undefined, + x___28829: undefined, + rxl___28830: undefined, + px___28836: undefined, + dw___28840: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9394,7 +9394,7 @@ function scene_BackgroundLayer_draw__P54834_mk(s) { -function scene_Camera_update__P54924(s) { +function scene_Camera_update__P19927(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9404,78 +9404,78 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___63918 = undefined; - s.percentComplete___63932 = undefined; - s.damp___63939 = undefined; - s.f___63948 = undefined; - s.x___63954 = undefined; - s.y___63961 = undefined; + s.elapsed___28921 = undefined; + s.percentComplete___28935 = undefined; + s.damp___28942 = undefined; + s.f___28951 = undefined; + s.x___28957 = undefined; + s.y___28964 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C54908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C19911_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__P54914_mk(s); + s.tmp_1 = scene_Camera_offsetX__P19917_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P54576_mk(s); + s.tmp_3 = Sprite_x__P19576_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 790; s.pc = 10; return s.tmp_3; + s.callLocIdx = 794; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg1 = r0; - s.callLocIdx = 791; s.pc = 9; return s.tmp_1; + s.callLocIdx = 795; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P54916_mk(s); + s.tmp_0 = scene_Camera_offsetY__P19919_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P54578_mk(s); + s.tmp_2 = Sprite_y__P19578_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 792; s.pc = 12; return s.tmp_2; + s.callLocIdx = 796; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0.arg1 = r0; - s.callLocIdx = 793; s.pc = 11; return s.tmp_0; + s.callLocIdx = 797; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P54914_mk(s); + s.tmp_0 = scene_Camera_offsetX__P19917_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_0.arg1 = r0; - s.callLocIdx = 795; s.pc = 13; return s.tmp_0; + s.callLocIdx = 799; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P54916_mk(s); + s.tmp_0 = scene_Camera_offsetY__P19919_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_0.arg1 = r0; - s.callLocIdx = 797; s.pc = 14; return s.tmp_0; + s.callLocIdx = 801; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -9497,10 +9497,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___63918 = (r0); + s.elapsed___28921 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___63918 >= s.tmp_1); + r0 = (s.elapsed___28921 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -9509,49 +9509,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___63918 / s.tmp_0); - s.percentComplete___63932 = (r0); - s.damp___63939 = (1); - r0 = (s.percentComplete___63932 >= 0.75); + r0 = (s.elapsed___28921 / s.tmp_0); + s.percentComplete___28935 = (r0); + s.damp___28942 = (1); + r0 = (s.percentComplete___28935 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P52676_mk(s); + s.tmp_1 = Math_max__P17676_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___63932); + r0 = (1 - s.percentComplete___28935); s.tmp_1.arg1 = r0; - s.callLocIdx = 800; s.pc = 15; return s.tmp_1; + s.callLocIdx = 804; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___63939 = (r0); + s.damp___28942 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___63939); - s.f___63948 = (r0); + r0 = (s.tmp_0 * s.damp___28942); + s.f___28951 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___63948); + r0 = (s.tmp_1 * s.f___28951); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___63954 = (r0); + s.x___28957 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___63948); + r0 = (s.tmp_1 * s.f___28951); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___63961 = (r0); + s.y___28964 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___63954); + r0 = (s.tmp_2 + s.x___28957); 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___63961); + r0 = (s.tmp_2 + s.y___28964); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -9561,12 +9561,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P54924.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__P19927.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__P54924_mk(s) { +function scene_Camera_update__P19927_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P54924, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P19927, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9574,12 +9574,12 @@ function scene_Camera_update__P54924_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___63918: undefined, - percentComplete___63932: undefined, - damp___63939: undefined, - f___63948: undefined, - x___63954: undefined, - y___63961: undefined, + elapsed___28921: undefined, + percentComplete___28935: undefined, + damp___28942: undefined, + f___28951: undefined, + x___28957: undefined, + y___28964: undefined, arg0: undefined, } } @@ -9587,7 +9587,7 @@ function scene_Camera_update__P54924_mk(s) { -function scene_Camera_offsetY__P54916(s) { +function scene_Camera_offsetY__P19919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9597,27 +9597,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___60202 = undefined; + s.scene___25205 = 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__C54908_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P55080_mk(s); - s.callLocIdx = 787; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C19911_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P20083_mk(s); + s.callLocIdx = 791; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___60202 = (r0); - r0 = s.scene___60202.fields["tileMap"]; + s.scene___25205 = (r0); + r0 = s.scene___25205.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___60202.fields["tileMap"]; + r0 = s.scene___25205.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -9634,11 +9634,11 @@ 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__P54873_mk(s); - r0 = s.scene___60202.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P19873_mk(s); + r0 = s.scene___25205.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; - s.callLocIdx = 789; s.pc = 6; return s.tmp_9; + s.callLocIdx = 793; s.pc = 6; return s.tmp_9; case 6: r0 = s.retval; s.tmp_8 = r0; @@ -9651,12 +9651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P54916.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__P19919.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__P54916_mk(s) { +function scene_Camera_offsetY__P19919_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P54916, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P19919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9668,7 +9668,7 @@ function scene_Camera_offsetY__P54916_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___60202: undefined, + scene___25205: undefined, arg0: undefined, arg1: undefined, } } @@ -9677,7 +9677,7 @@ function scene_Camera_offsetY__P54916_mk(s) { -function tiles_TileMap_enabled__P54878(s) { +function tiles_TileMap_enabled__P19878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9692,7 +9692,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -9705,13 +9705,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P54878.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__P54878.isGetter = true; +tiles_TileMap_enabled__P19878.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__P19878.isGetter = true; -function tiles_TileMap_enabled__P54878_mk(s) { +function tiles_TileMap_enabled__P19878_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P54878, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P19878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9724,7 +9724,7 @@ function tiles_TileMap_enabled__P54878_mk(s) { -function tiles_TileMap_offsetY__P54873(s) { +function tiles_TileMap_offsetY__P19873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9740,38 +9740,38 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P52673_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P17673_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P52676_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P54875_mk(s); + s.tmp_1 = Math_max__P17676_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P19875_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 706; s.pc = 3; return s.tmp_3; + s.callLocIdx = 710; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 707; s.pc = 2; return s.tmp_1; + s.callLocIdx = 711; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 708; s.pc = 1; return s.tmp_0; + s.callLocIdx = 712; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P54873.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__P19873.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__P54873_mk(s) { +function tiles_TileMap_offsetY__P19873_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P54873, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P19873, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9786,7 +9786,7 @@ function tiles_TileMap_offsetY__P54873_mk(s) { -function tiles_TileMap_areaHeight__P54875(s) { +function tiles_TileMap_areaHeight__P19875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9801,7 +9801,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -9823,12 +9823,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P54875.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__P19875.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__P54875_mk(s) { +function tiles_TileMap_areaHeight__P19875_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P54875, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P19875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9842,7 +9842,7 @@ function tiles_TileMap_areaHeight__P54875_mk(s) { -function tiles_TileMap_scale__P54870(s) { +function tiles_TileMap_scale__P19870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9857,18 +9857,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P54870.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__P54870.isGetter = true; +tiles_TileMap_scale__P19870.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__P19870.isGetter = true; -function tiles_TileMap_scale__P54870_mk(s) { +function tiles_TileMap_scale__P19870_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P54870, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P19870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9877,7 +9877,7 @@ function tiles_TileMap_scale__P54870_mk(s) { -function tiles_TileMapData_height__P54858(s) { +function tiles_TileMapData_height__P19858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9892,18 +9892,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C54855_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C19855_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P54858.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__P54858.isGetter = true; +tiles_TileMapData_height__P19858.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__P19858.isGetter = true; -function tiles_TileMapData_height__P54858_mk(s) { +function tiles_TileMapData_height__P19858_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P54858, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P19858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9912,7 +9912,7 @@ function tiles_TileMapData_height__P54858_mk(s) { -function scene_Camera_offsetY__P54915(s) { +function scene_Camera_offsetY__P19918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9927,18 +9927,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C54908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C19911_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P54915.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__P54915.isGetter = true; +scene_Camera_offsetY__P19918.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__P19918.isGetter = true; -function scene_Camera_offsetY__P54915_mk(s) { +function scene_Camera_offsetY__P19918_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P54915, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P19918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9947,7 +9947,7 @@ function scene_Camera_offsetY__P54915_mk(s) { -function scene_Camera_offsetX__P54914(s) { +function scene_Camera_offsetX__P19917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9957,27 +9957,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___60236 = undefined; + s.scene___25239 = 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__C54908_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P55080_mk(s); - s.callLocIdx = 784; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C19911_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P20083_mk(s); + s.callLocIdx = 788; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___60236 = (r0); - r0 = s.scene___60236.fields["tileMap"]; + s.scene___25239 = (r0); + r0 = s.scene___25239.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___60236.fields["tileMap"]; + r0 = s.scene___25239.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -9994,11 +9994,11 @@ 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__P54872_mk(s); - r0 = s.scene___60236.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P19872_mk(s); + r0 = s.scene___25239.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; - s.callLocIdx = 786; s.pc = 6; return s.tmp_9; + s.callLocIdx = 790; s.pc = 6; return s.tmp_9; case 6: r0 = s.retval; s.tmp_8 = r0; @@ -10011,12 +10011,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P54914.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__P19917.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__P54914_mk(s) { +function scene_Camera_offsetX__P19917_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P54914, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P19917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10028,7 +10028,7 @@ function scene_Camera_offsetX__P54914_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___60236: undefined, + scene___25239: undefined, arg0: undefined, arg1: undefined, } } @@ -10037,7 +10037,7 @@ function scene_Camera_offsetX__P54914_mk(s) { -function tiles_TileMap_offsetX__P54872(s) { +function tiles_TileMap_offsetX__P19872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10053,38 +10053,38 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P52673_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P17673_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P52676_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P54874_mk(s); + s.tmp_1 = Math_max__P17676_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P19874_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 703; s.pc = 3; return s.tmp_3; + s.callLocIdx = 707; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 704; s.pc = 2; return s.tmp_1; + s.callLocIdx = 708; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 705; s.pc = 1; return s.tmp_0; + s.callLocIdx = 709; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P54872.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__P19872.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__P54872_mk(s) { +function tiles_TileMap_offsetX__P19872_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P54872, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P19872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10099,7 +10099,7 @@ function tiles_TileMap_offsetX__P54872_mk(s) { -function tiles_TileMap_areaWidth__P54874(s) { +function tiles_TileMap_areaWidth__P19874(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10114,7 +10114,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10136,12 +10136,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P54874.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__P19874.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__P54874_mk(s) { +function tiles_TileMap_areaWidth__P19874_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P54874, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P19874, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10155,7 +10155,7 @@ function tiles_TileMap_areaWidth__P54874_mk(s) { -function tiles_TileMapData_width__P54857(s) { +function tiles_TileMapData_width__P19857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10170,18 +10170,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C54855_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C19855_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P54857.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__P54857.isGetter = true; +tiles_TileMapData_width__P19857.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__P19857.isGetter = true; -function tiles_TileMapData_width__P54857_mk(s) { +function tiles_TileMapData_width__P19857_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P54857, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P19857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10190,7 +10190,7 @@ function tiles_TileMapData_width__P54857_mk(s) { -function scene_Camera_offsetX__P54913(s) { +function scene_Camera_offsetX__P19916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10205,18 +10205,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C54908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C19911_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P54913.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__P54913.isGetter = true; +scene_Camera_offsetX__P19916.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__P19916.isGetter = true; -function scene_Camera_offsetX__P54913_mk(s) { +function scene_Camera_offsetX__P19916_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P54913, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P19916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10225,7 +10225,7 @@ function scene_Camera_offsetX__P54913_mk(s) { -function Sprite_y__P54578(s) { +function Sprite_y__P19578(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10240,7 +10240,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -10255,13 +10255,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P54578.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__P54578.isGetter = true; +Sprite_y__P19578.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__P19578.isGetter = true; -function Sprite_y__P54578_mk(s) { +function Sprite_y__P19578_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P54578, depth: s.depth + 1, + parent: s, fn: Sprite_y__P19578, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10275,7 +10275,7 @@ function Sprite_y__P54578_mk(s) { -function Fx_toFloat__P52717(s) { +function Fx_toFloat__P17717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10293,12 +10293,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P52717.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__P17717.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__P52717_mk(s) { +function Fx_toFloat__P17717_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P52717, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P17717, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10307,7 +10307,7 @@ function Fx_toFloat__P52717_mk(s) { -function Sprite_x__P54576(s) { +function Sprite_x__P19576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10322,7 +10322,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 / 256); @@ -10337,13 +10337,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P54576.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__P54576.isGetter = true; +Sprite_x__P19576.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__P19576.isGetter = true; -function Sprite_x__P54576_mk(s) { +function Sprite_x__P19576_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P54576, depth: s.depth + 1, + parent: s, fn: Sprite_x__P19576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10357,7 +10357,7 @@ function Sprite_x__P54576_mk(s) { -function PhysicsEngine_move__P54716(s) { +function PhysicsEngine_move__P19716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10373,17 +10373,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C54710_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C19710_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P54716.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__P19716.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__P54716_mk(s) { +function PhysicsEngine_move__P19716_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P54716, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P19716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10393,7 +10393,7 @@ function PhysicsEngine_move__P54716_mk(s) { -function PhysicsEngine_draw__P54715(s) { +function PhysicsEngine_draw__P19715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10408,17 +10408,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C54710_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C19710_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P54715.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__P19715.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__P54715_mk(s) { +function PhysicsEngine_draw__P19715_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P54715, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P19715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10427,7 +10427,7 @@ function PhysicsEngine_draw__P54715_mk(s) { -function controller___update__P54501(s) { +function controller___update__P19501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10437,7 +10437,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___64312 = undefined; + s.dtms___29315 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -10445,12 +10445,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___64312 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P64319); + s.dtms___29315 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P29322); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___64312); - s.tmp_1 = helpers_arrayForEach__P52658_mk(s); - s.tmp_2 = controller_players__P54469_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___29315); + s.tmp_1 = helpers_arrayForEach__P17658_mk(s); + s.tmp_2 = controller_players__P19469_mk(s); s.callLocIdx = 189; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -10463,17 +10463,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P54501.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__P19501.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__P54501_mk(s) { +function controller___update__P19501_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P54501, depth: s.depth + 1, + parent: s, fn: controller___update__P19501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___64312: undefined, + dtms___29315: undefined, arg0: undefined, } } @@ -10481,7 +10481,7 @@ function controller___update__P54501_mk(s) { -function inline__P64319(s) { +function inline__P29322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10495,7 +10495,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P54499_mk(s); + s.tmp_0 = controller_Controller___update__P19499_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 190; s.pc = 1; return s.tmp_0; @@ -10505,12 +10505,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64319.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P29322.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__P64319_mk(s) { +function inline__P29322_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64319, depth: s.depth + 1, + parent: s, fn: inline__P29322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10520,7 +10520,7 @@ function inline__P64319_mk(s) { -function controller_Controller___update__P54499(s) { +function controller_Controller___update__P19499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10536,7 +10536,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -10547,10 +10547,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__P64332); + r0 = pxsim_pxtcore_mkAction(1, inline__P29335); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P52658_mk(s); + s.tmp_1 = helpers_arrayForEach__P17658_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -10561,12 +10561,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P54499.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__P19499.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__P54499_mk(s) { +function controller_Controller___update__P19499_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P54499, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P19499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10580,7 +10580,7 @@ function controller_Controller___update__P54499_mk(s) { -function inline__P64332(s) { +function inline__P29335(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10594,7 +10594,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P54466_mk(s); + s.tmp_0 = controller_Button___update__P19466_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -10605,12 +10605,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64332.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P29335.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__P64332_mk(s) { +function inline__P29335_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64332, depth: s.depth + 1, + parent: s, fn: inline__P29335, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10620,7 +10620,7 @@ function inline__P64332_mk(s) { -function controller_Button___update__P54466(s) { +function controller_Button___update__P19466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10630,16 +10630,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___64348 = undefined; - s.interval___64357 = undefined; - s.count___64370 = undefined; + s.delay___29351 = undefined; + s.interval___29360 = undefined; + s.count___29373 = 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__C54454_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C19454_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -10663,31 +10663,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___56365; + r0 = globals.defaultRepeatDelay___21368; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___64348 = (s.tmp_2); + s.delay___29351 = (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___56367; + r0 = globals.defaultRepeatInterval___21370; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___64357 = (s.tmp_2); + s.interval___29360 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___64348); + r0 = (s.tmp_1 < s.delay___29351); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -10696,26 +10696,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___64348); + r0 = (s.tmp_5 - s.delay___29351); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___64357); + r0 = (s.tmp_4 - s.interval___29360); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___64357); + r0 = (s.tmp_3 / s.interval___29360); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___64370 = (r0); + s.count___29373 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___64370 != s.tmp_1); + r0 = (s.count___29373 != 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__P56372_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P21375_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 145; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___64370); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___29373); case 9: case 10: case 11: @@ -10723,12 +10723,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P54466.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__P19466.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__P54466_mk(s) { +function controller_Button___update__P19466_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P54466, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P19466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10736,9 +10736,9 @@ function controller_Button___update__P54466_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___64348: undefined, - interval___64357: undefined, - count___64370: undefined, + delay___29351: undefined, + interval___29360: undefined, + count___29373: undefined, arg0: undefined, arg1: undefined, } } @@ -10747,7 +10747,7 @@ function controller_Button___update__P54466_mk(s) { -function controller_Button_raiseButtonRepeat__P56372(s) { +function controller_Button_raiseButtonRepeat__P21375(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10762,8 +10762,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C54454_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___56363); + if (!checkSubtype(r0, controller_Button__C19454_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___21366); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -10778,12 +10778,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P56372.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__P21375.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__P56372_mk(s) { +function controller_Button_raiseButtonRepeat__P21375_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P56372, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P21375, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10793,7 +10793,7 @@ function controller_Button_raiseButtonRepeat__P56372_mk(s) { -function controller_players__P54469(s) { +function controller_players__P19469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10803,25 +10803,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P54468_mk(s); + s.tmp_0 = controller__player1__P19468_mk(s); s.callLocIdx = 148; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P52659_mk(s); - s.tmp_0.arg0 = globals._players___56376; - s.tmp_0.arg1 = inline__P64189; + s.tmp_0 = helpers_arrayFilter__P17659_mk(s); + s.tmp_0.arg0 = globals._players___21379; + s.tmp_0.arg1 = inline__P29192; s.callLocIdx = 149; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P54469.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P19469.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__P54469_mk(s) { +function controller_players__P19469_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P54469, depth: s.depth + 1, + parent: s, fn: controller_players__P19469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -10830,7 +10830,7 @@ function controller_players__P54469_mk(s) { -function inline__P64189(s) { +function inline__P29192(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10854,12 +10854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64189.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P29192.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__P64189_mk(s) { +function inline__P29192_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64189, depth: s.depth + 1, + parent: s, fn: inline__P29192, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10871,7 +10871,7 @@ function inline__P64189_mk(s) { -function controller__player1__P54468(s) { +function controller__player1__P19468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10881,7 +10881,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___56376); + r0 = pxsim_numops_toBoolDecr(globals._players___21379); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10890,7 +10890,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___56376, 0); + r0 = pxsim_Array__getAt(globals._players___21379, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -10900,18 +10900,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__C54474_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C19474_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___54430); - r0 = pxsim_Array__push(s.tmp_6, globals.up___54431); - r0 = pxsim_Array__push(s.tmp_6, globals.right___54432); - r0 = pxsim_Array__push(s.tmp_6, globals.down___54433); - r0 = pxsim_Array__push(s.tmp_6, globals.A___54428); - r0 = pxsim_Array__push(s.tmp_6, globals.B___54429); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___54434); - s.tmp_7 = controller_Controller_constructor__P54478_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___19430); + r0 = pxsim_Array__push(s.tmp_6, globals.up___19431); + r0 = pxsim_Array__push(s.tmp_6, globals.right___19432); + r0 = pxsim_Array__push(s.tmp_6, globals.down___19433); + r0 = pxsim_Array__push(s.tmp_6, globals.A___19428); + r0 = pxsim_Array__push(s.tmp_6, globals.B___19429); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___19434); + s.tmp_7 = controller_Controller_constructor__P19478_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -10920,16 +10920,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___56376, 0); + r0 = pxsim_Array__getAt(globals._players___21379, 0); return leave(s, r0) default: oops() } } } -controller__player1__P54468.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P19468.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__P54468_mk(s) { +function controller__player1__P19468_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P54468, depth: s.depth + 1, + parent: s, fn: controller__player1__P19468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10945,7 +10945,7 @@ function controller__player1__P54468_mk(s) { -function controller_Controller_constructor__P54478(s) { +function controller_Controller_constructor__P19478(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10955,9 +10955,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___64254 = undefined; - s.i___64262 = undefined; - s.i___64280 = undefined; + s.leftId___29257 = undefined; + s.i___29265 = undefined; + s.i___29283 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10965,7 +10965,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -10989,18 +10989,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___64254 = (r0); - s.i___64262 = (0); + s.leftId___29257 = (r0); + s.i___29265 = (0); case 2: - r0 = (s.i___64262 < 7); + r0 = (s.i___29265 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C54454_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C19454_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P54460_mk(s); + s.tmp_2 = controller_Button_constructor__P19460_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___64254 + s.i___64262); + r0 = (s.leftId___29257 + s.i___29265); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 153; s.pc = 7; return s.tmp_2; @@ -11009,14 +11009,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___64262 + 1); - s.i___64262 = (r0); + r0 = (s.i___29265 + 1); + s.i___29265 = (r0); { step = 2; continue; } case 3: case 4: - s.i___64280 = (0); + s.i___29283 = (0); case 5: - s.tmp_1 = r0 = s.i___64280; + s.tmp_1 = r0 = s.i___29283; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -11027,14 +11027,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___64280); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___29283); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___64280 + 1); - s.i___64280 = (r0); + r0 = (s.i___29283 + 1); + s.i___29283 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P56377_mk(s); + s.tmp_0 = controller_addController__P21380_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 154; s.pc = 8; return s.tmp_0; case 8: @@ -11043,12 +11043,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P54478.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__P19478.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__P54478_mk(s) { +function controller_Controller_constructor__P19478_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P54478, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P19478, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11056,9 +11056,9 @@ function controller_Controller_constructor__P54478_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___64254: undefined, - i___64262: undefined, - i___64280: undefined, + leftId___29257: undefined, + i___29265: undefined, + i___29283: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11068,7 +11068,7 @@ function controller_Controller_constructor__P54478_mk(s) { -function controller_addController__P56377(s) { +function controller_addController__P21380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11082,17 +11082,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___56376); + r0 = pxsim_numops_toBoolDecr(globals._players___21379); 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___56376 = (r0); + globals._players___21379 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___56376; + s.tmp_0 = r0 = globals._players___21379; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -11102,12 +11102,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P56377.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__P21380.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__P56377_mk(s) { +function controller_addController__P21380_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P56377, depth: s.depth + 1, + parent: s, fn: controller_addController__P21380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11119,7 +11119,7 @@ function controller_addController__P56377_mk(s) { -function helpers_arrayFilter__P52659(s) { +function helpers_arrayFilter__P17659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11129,31 +11129,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___61409 = undefined; - s.len___61411 = undefined; - s.i___61414 = undefined; - s.v___61419 = undefined; + s.res___26412 = undefined; + s.len___26414 = undefined; + s.i___26417 = undefined; + s.v___26422 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___61409 = (r0); + s.res___26412 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___61411 = (r0); - s.i___61414 = (0); + s.len___26414 = (r0); + s.i___26417 = (0); case 1: - r0 = (s.i___61414 < s.len___61411); + r0 = (s.i___26417 < s.len___26414); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___61414); - s.v___61419 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___26417); + s.v___26422 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___61419; - s.tmp_1.arg1 = s.i___61414; + s.tmp_1.arg0 = s.v___26422; + s.tmp_1.arg1 = s.i___26417; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: @@ -11161,30 +11161,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___61409, s.v___61419); + r0 = pxsim_Array__push(s.res___26412, s.v___26422); case 2: case 3: - r0 = (s.i___61414 + 1); - s.i___61414 = (r0); + r0 = (s.i___26417 + 1); + s.i___26417 = (r0); { step = 1; continue; } case 4: - r0 = s.res___61409; + r0 = s.res___26412; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P52659.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__P17659.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__P52659_mk(s) { +function helpers_arrayFilter__P17659_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P52659, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P17659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___61409: undefined, - len___61411: undefined, - i___61414: undefined, - v___61419: undefined, + res___26412: undefined, + len___26414: undefined, + i___26417: undefined, + v___26422: undefined, arg0: undefined, arg1: undefined, } } @@ -11193,7 +11193,7 @@ function helpers_arrayFilter__P52659_mk(s) { -function controller__moveSprites__P54473(s) { +function controller__moveSprites__P19473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11203,13 +11203,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P52658_mk(s); - s.tmp_1 = controller_players__P54469_mk(s); + s.tmp_0 = helpers_arrayForEach__P17658_mk(s); + s.tmp_1 = controller_players__P19469_mk(s); s.callLocIdx = 150; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P63984; + s.tmp_0.arg1 = inline__P28987; s.callLocIdx = 152; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -11217,12 +11217,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P54473.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P19473.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__P54473_mk(s) { +function controller__moveSprites__P19473_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P54473, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P19473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11232,7 +11232,7 @@ function controller__moveSprites__P54473_mk(s) { -function inline__P63984(s) { +function inline__P28987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11246,7 +11246,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P54498_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P19498_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 151; s.pc = 1; return s.tmp_0; case 1: @@ -11255,12 +11255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P63984.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P28987.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__P63984_mk(s) { +function inline__P28987_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P63984, depth: s.depth + 1, + parent: s, fn: inline__P28987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11270,7 +11270,7 @@ function inline__P63984_mk(s) { -function controller_Controller___preUpdate__P54498(s) { +function controller_Controller___preUpdate__P19498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11280,20 +11280,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___63991 = undefined; - s.svx___63992 = undefined; - s.svy___63993 = undefined; - s.svxInCricle___64028 = undefined; - s.svyInCircle___64030 = undefined; - s.sq___64032 = undefined; - s.scale___64047 = undefined; + s.deadSprites___28994 = undefined; + s.svx___28995 = undefined; + s.svy___28996 = undefined; + s.svxInCricle___29031 = undefined; + s.svyInCircle___29033 = undefined; + s.sq___29035 = undefined; + s.scale___29050 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P54479_mk(s); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P19479_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 162; s.pc = 18; return s.tmp_3; case 18: @@ -11309,21 +11309,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___63991 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___63991, false); + s.deadSprites___28994 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___28994, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___63992 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___63992, 0); + s.svx___28995 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___28995, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___63993 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___63993, 0); + s.svy___28996 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___28996, 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___63992; - s.tmp_5 = controller_Button_pressureLevel__P54464_mk(s); - s.tmp_6 = controller_Controller_right__P54484_mk(s); + s.tmp_1 = r0 = s.svx___28995; + s.tmp_5 = controller_Button_pressureLevel__P19464_mk(s); + s.tmp_6 = controller_Controller_right__P19484_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 163; s.pc = 20; return s.tmp_6; case 20: @@ -11333,8 +11333,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P54464_mk(s); - s.tmp_9 = controller_Controller_left__P54483_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P19464_mk(s); + s.tmp_9 = controller_Controller_left__P19483_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 165; s.pc = 22; return s.tmp_9; case 22: @@ -11349,9 +11349,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___63993; - s.tmp_4 = controller_Button_pressureLevel__P54464_mk(s); - s.tmp_5 = controller_Controller_down__P54486_mk(s); + s.tmp_0 = r0 = s.svy___28996; + s.tmp_4 = controller_Button_pressureLevel__P19464_mk(s); + s.tmp_5 = controller_Controller_down__P19486_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 167; s.pc = 24; return s.tmp_5; case 24: @@ -11361,8 +11361,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P54464_mk(s); - s.tmp_8 = controller_Controller_up__P54485_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P19464_mk(s); + s.tmp_8 = controller_Controller_up__P19485_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 169; s.pc = 26; return s.tmp_8; case 26: @@ -11379,14 +11379,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C54454_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P54484_mk(s); + s.tmp_1 = controller_Button__C19454_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P19484_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 171; 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__C54454_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C19454_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: @@ -11401,14 +11401,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C54454_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P54483_mk(s); + s.tmp_5 = controller_Button__C19454_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P19483_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 172; 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__C54454_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C19454_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: @@ -11423,18 +11423,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___63992; + s.tmp_8 = r0 = s.svx___28995; 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__C54454_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P54486_mk(s); + s.tmp_1 = controller_Button__C19454_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P19486_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 173; 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__C54454_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C19454_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: @@ -11449,14 +11449,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C54454_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P54485_mk(s); + s.tmp_5 = controller_Button__C19454_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P19485_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 174; 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__C54454_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C19454_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: @@ -11471,57 +11471,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___63993; + s.tmp_8 = r0 = s.svy___28996; 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___64028 = (r0); - s.tmp_0 = r0 = s.svxInCricle___64028; - r0 = pxsim_pxtrt_ldlocRef(s.svx___63992); + s.svxInCricle___29031 = (r0); + s.tmp_0 = r0 = s.svxInCricle___29031; + r0 = pxsim_pxtrt_ldlocRef(s.svx___28995); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___64030 = (r0); - s.tmp_0 = r0 = s.svyInCircle___64030; - r0 = pxsim_pxtrt_ldlocRef(s.svy___63993); + s.svyInCircle___29033 = (r0); + s.tmp_0 = r0 = s.svyInCircle___29033; + r0 = pxsim_pxtrt_ldlocRef(s.svy___28996); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___63992); + r0 = pxsim_pxtrt_ldlocRef(s.svx___28995); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___63992); + r0 = pxsim_pxtrt_ldlocRef(s.svx___28995); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___63993); + r0 = pxsim_pxtrt_ldlocRef(s.svy___28996); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___63993); + r0 = pxsim_pxtrt_ldlocRef(s.svy___28996); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___64032 = (r0); - r0 = (s.sq___64032 > 65536); + s.sq___29035 = (r0); + r0 = (s.sq___29035 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___64032); + r0 = (65536 / s.sq___29035); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___64047 = (r0); - s.tmp_0 = r0 = s.svxInCricle___64028; - s.tmp_3 = r0 = s.scale___64047; - r0 = pxsim_pxtrt_ldlocRef(s.svx___63992); + s.scale___29050 = (r0); + s.tmp_0 = r0 = s.svxInCricle___29031; + s.tmp_3 = r0 = s.scale___29050; + r0 = pxsim_pxtrt_ldlocRef(s.svx___28995); 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___64030; - s.tmp_3 = r0 = s.scale___64047; - r0 = pxsim_pxtrt_ldlocRef(s.svy___63993); + s.tmp_0 = r0 = s.svyInCircle___29033; + s.tmp_3 = r0 = s.scale___29050; + r0 = pxsim_pxtrt_ldlocRef(s.svy___28996); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -11530,15 +11530,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, inline__P64065); + r0 = pxsim_pxtcore_mkAction(5, inline__P29068); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___63991); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___63992); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___63993); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___64028); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___64030); - s.tmp_1 = helpers_arrayForEach__P52658_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P54479_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___28994); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___28995); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___28996); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___29031); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___29033); + s.tmp_1 = helpers_arrayForEach__P17658_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P19479_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 175; s.pc = 36; return s.tmp_2; case 36: @@ -11548,20 +11548,20 @@ switch (step) { s.callLocIdx = 183; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___63991); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___28994); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P54480_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P19480_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P52659_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P54479_mk(s); + s.tmp_2 = helpers_arrayFilter__P17659_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P19479_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 184; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P64122; + s.tmp_2.arg1 = inline__P29125; s.callLocIdx = 185; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -11576,12 +11576,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P54498.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__P19498.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__P54498_mk(s) { +function controller_Controller___preUpdate__P19498_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P54498, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P19498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11593,13 +11593,13 @@ function controller_Controller___preUpdate__P54498_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___63991: undefined, - svx___63992: undefined, - svy___63993: undefined, - svxInCricle___64028: undefined, - svyInCircle___64030: undefined, - sq___64032: undefined, - scale___64047: undefined, + deadSprites___28994: undefined, + svx___28995: undefined, + svy___28996: undefined, + svxInCricle___29031: undefined, + svyInCircle___29033: undefined, + sq___29035: undefined, + scale___29050: undefined, arg0: undefined, } } @@ -11607,7 +11607,7 @@ function controller_Controller___preUpdate__P54498_mk(s) { -function inline__P64065(s) { +function inline__P29068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11617,9 +11617,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___64068 = undefined; - s.vx___64069 = undefined; - s.vy___64070 = undefined; + s.s___29071 = undefined; + s.vx___29072 = undefined; + s.vy___29073 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -11637,7 +11637,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___64068 = (r0); + s.s___29071 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -11650,7 +11650,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___64069 = (r0); + s.vx___29072 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -11663,8 +11663,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___64070 = (r0); - r0 = s.s___64068.fields["flags"]; + s.vy___29073 = (r0); + r0 = s.s___29071.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -11678,14 +11678,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___64069); + r0 = pxsim_numops_toBoolDecr(s.vx___29072); if (!r0) { step = 3; continue; } - r0 = (s.s___64068).fields["_vx"] = (0); + r0 = (s.s___29071).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___64070); + r0 = pxsim_numops_toBoolDecr(s.vy___29073); if (!r0) { step = 5; continue; } - r0 = (s.s___64068).fields["_vy"] = (0); + r0 = (s.s___29071).fields["_vy"] = (0); case 5: case 6: case 7: @@ -11703,48 +11703,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___64069; + s.tmp_2 = r0 = s.vx___29072; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___64070; + r0 = s.vy___29073; 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___64068; + s.tmp_4 = r0 = s.s___29071; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___64069); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___29072); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___64068; + s.tmp_0 = r0 = s.s___29071; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___64070); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___29073); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___64069); + r0 = pxsim_numops_toBoolDecr(s.vx___29072); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___64068; + s.tmp_0 = r0 = s.s___29071; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___64069); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___29072); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___64070); + r0 = pxsim_numops_toBoolDecr(s.vy___29073); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___64068; + s.tmp_0 = r0 = s.s___29071; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___64070); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___29073); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -11761,12 +11761,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64065.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P29068.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__P64065_mk(s) { +function inline__P29068_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64065, depth: s.depth + 1, + parent: s, fn: inline__P29068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11775,9 +11775,9 @@ function inline__P64065_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___64068: undefined, - vx___64069: undefined, - vy___64070: undefined, + s___29071: undefined, + vx___29072: undefined, + vy___29073: undefined, arg0: undefined, } } @@ -11785,7 +11785,7 @@ function inline__P64065_mk(s) { -function inline__P64122(s) { +function inline__P29125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11810,12 +11810,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64122.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P29125.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__P64122_mk(s) { +function inline__P29125_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64122, depth: s.depth + 1, + parent: s, fn: inline__P29125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11827,7 +11827,7 @@ function inline__P64122_mk(s) { -function controller_Controller_down__P54486(s) { +function controller_Controller_down__P19486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11842,7 +11842,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -11851,13 +11851,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P54486.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__P54486.isGetter = true; +controller_Controller_down__P19486.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__P19486.isGetter = true; -function controller_Controller_down__P54486_mk(s) { +function controller_Controller_down__P19486_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P54486, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P19486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11868,7 +11868,7 @@ function controller_Controller_down__P54486_mk(s) { -function controller_Controller_button__P56378(s) { +function controller_Controller_button__P21381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11884,7 +11884,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -11893,12 +11893,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P56378.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__P21381.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__P56378_mk(s) { +function controller_Controller_button__P21381_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P56378, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P21381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11910,7 +11910,7 @@ function controller_Controller_button__P56378_mk(s) { -function controller_Controller_up__P54485(s) { +function controller_Controller_up__P19485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11925,7 +11925,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -11934,13 +11934,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P54485.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__P54485.isGetter = true; +controller_Controller_up__P19485.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__P19485.isGetter = true; -function controller_Controller_up__P54485_mk(s) { +function controller_Controller_up__P19485_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P54485, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P19485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11951,7 +11951,7 @@ function controller_Controller_up__P54485_mk(s) { -function controller_Controller_right__P54484(s) { +function controller_Controller_right__P19484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11966,7 +11966,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -11975,13 +11975,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P54484.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__P54484.isGetter = true; +controller_Controller_right__P19484.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__P19484.isGetter = true; -function controller_Controller_right__P54484_mk(s) { +function controller_Controller_right__P19484_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P54484, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P19484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11992,7 +11992,7 @@ function controller_Controller_right__P54484_mk(s) { -function controller_Controller_left__P54483(s) { +function controller_Controller_left__P19483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12007,7 +12007,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -12016,13 +12016,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P54483.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__P54483.isGetter = true; +controller_Controller_left__P19483.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__P19483.isGetter = true; -function controller_Controller_left__P54483_mk(s) { +function controller_Controller_left__P19483_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P54483, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P19483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12033,7 +12033,7 @@ function controller_Controller_left__P54483_mk(s) { -function controller_Controller__controlledSprites__P54480(s) { +function controller_Controller__controlledSprites__P19480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12049,8 +12049,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P55080_mk(s); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P20083_mk(s); s.callLocIdx = 156; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -12063,12 +12063,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P54480.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__P19480.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__P54480_mk(s) { +function controller_Controller__controlledSprites__P19480_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P54480, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P19480, 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 controller_Controller__controlledSprites__P54480_mk(s) { -function controller_Controller__controlledSprites__P54479(s) { +function controller_Controller__controlledSprites__P19479(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12096,8 +12096,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P55080_mk(s); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P20083_mk(s); s.callLocIdx = 155; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -12109,13 +12109,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P54479.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__P54479.isGetter = true; +controller_Controller__controlledSprites__P19479.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__P19479.isGetter = true; -function controller_Controller__controlledSprites__P54479_mk(s) { +function controller_Controller__controlledSprites__P19479_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P54479, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P19479, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12127,7 +12127,7 @@ function controller_Controller__controlledSprites__P54479_mk(s) { -function controller_Button_pressureLevel__P54464(s) { +function controller_Button_pressureLevel__P19464(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12142,16 +12142,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C54454_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C19454_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__C54454_v0_1_mk(s); + s.tmp_3 = controller_Button__C19454_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C54454_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C19454_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: @@ -12180,12 +12180,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P54464.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__P19464.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__P54464_mk(s) { +function controller_Button_pressureLevel__P19464_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P54464, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P19464, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12200,7 +12200,7 @@ function controller_Button_pressureLevel__P54464_mk(s) { -function controller_Button_isPressed__P54463(s) { +function controller_Button_isPressed__P19463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12215,17 +12215,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C54454_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C19454_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P54463.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__P19463.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__P54463_mk(s) { +function controller_Button_isPressed__P19463_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P54463, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P19463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12234,7 +12234,7 @@ function controller_Button_isPressed__P54463_mk(s) { -function Fx_imul__P52707(s) { +function Fx_imul__P17707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12253,12 +12253,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P52707.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__P17707.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__P52707_mk(s) { +function Fx_imul__P17707_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P52707, depth: s.depth + 1, + parent: s, fn: Fx_imul__P17707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12268,7 +12268,7 @@ function Fx_imul__P52707_mk(s) { -function power_checkDeepSleep__P54257(s) { +function power_checkDeepSleep__P19257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12278,13 +12278,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___62958 = undefined; - s.to___62961 = undefined; - s.tmp_0 = power_init__P56277_mk(s); + s.p___27961 = undefined; + s.to___27964 = undefined; + s.tmp_0 = power_init__P21280_mk(s); s.callLocIdx = 74; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___56275; + s.tmp_0 = r0 = globals._poked___21278; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -12294,8 +12294,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___62958 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___56276; + s.p___27961 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___21279; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -12305,8 +12305,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___62961 = (s.tmp_1); - r0 = (s.to___62961 > 0); + s.to___27964 = (s.tmp_1); + r0 = (s.to___27964 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -12315,9 +12315,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___62958); + r0 = (s.tmp_2 - s.p___27961); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___62961); + r0 = (s.tmp_1 > s.to___27964); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -12343,12 +12343,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P54257.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P19257.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__P54257_mk(s) { +function power_checkDeepSleep__P19257_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P54257, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P19257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12357,15 +12357,15 @@ function power_checkDeepSleep__P54257_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___62958: undefined, - to___62961: undefined, + p___27961: undefined, + to___27964: undefined, } } -function power_init__P56277(s) { +function power_init__P21280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12375,7 +12375,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___56276 !== undefined); + r0 = (globals._timeout___21279 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -12385,21 +12385,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___56276 = (r0); - r0 = (globals._timeout___56276 > 0); + globals._timeout___21279 = (r0); + r0 = (globals._timeout___21279 > 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___56276 < 300000); + r0 = (globals._timeout___21279 < 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___56276 = (300000); + globals._timeout___21279 = (300000); case 5: case 6: case 7: @@ -12407,12 +12407,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P56277.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P21280.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__P56277_mk(s) { +function power_init__P21280_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P56277, depth: s.depth + 1, + parent: s, fn: power_init__P21280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12422,7 +12422,7 @@ function power_init__P56277_mk(s) { -function power_poke__P54256(s) { +function power_poke__P19256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12432,22 +12432,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P56277_mk(s); + s.tmp_0 = power_init__P21280_mk(s); s.callLocIdx = 73; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___56275 = (r0); + globals._poked___21278 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P54256.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P19256.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__P54256_mk(s) { +function power_poke__P19256_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P54256, depth: s.depth + 1, + parent: s, fn: power_poke__P19256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -12456,7 +12456,7 @@ function power_poke__P54256_mk(s) { -function control_EventContext_deltaTime__P52940(s) { +function control_EventContext_deltaTime__P17940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12471,20 +12471,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C52935_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C17935_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__P52940.info = {"start":1995,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P52940.isGetter = true; +control_EventContext_deltaTime__P17940.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__P17940.isGetter = true; -function control_EventContext_deltaTime__P52940_mk(s) { +function control_EventContext_deltaTime__P17940_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P52940, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P17940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12494,7 +12494,7 @@ function control_EventContext_deltaTime__P52940_mk(s) { -function scene_Scene_constructor__P54988(s) { +function scene_Scene_constructor__P19991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12511,36 +12511,36 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C54967_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C19970_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__C54724_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C19724_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P54725_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P19725_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; s.tmp_1.arg3 = 4; - s.callLocIdx = 805; s.pc = 1; return s.tmp_1; + s.callLocIdx = 809; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C54908_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C19911_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P54912_mk(s); + s.tmp_1 = scene_Camera_constructor__P19915_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 806; s.pc = 2; return s.tmp_1; + s.callLocIdx = 810; 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__C54816_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C19816_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P54820_mk(s); + s.tmp_1 = scene_Background_constructor__P19820_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 807; s.pc = 3; return s.tmp_1; + s.callLocIdx = 811; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["background"] = (s.tmp_0); @@ -12593,12 +12593,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P54988.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__P19991.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__P54988_mk(s) { +function scene_Scene_constructor__P19991_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P54988, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P19991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12611,7 +12611,7 @@ function scene_Scene_constructor__P54988_mk(s) { -function scene_Camera_constructor__P54912(s) { +function scene_Camera_constructor__P19915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12626,7 +12626,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C54908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C19911_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -12635,12 +12635,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P54912.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__P19915.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__P54912_mk(s) { +function scene_Camera_constructor__P19915_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P54912, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P19915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12649,7 +12649,7 @@ function scene_Camera_constructor__P54912_mk(s) { -function scene_Background_constructor__P54820(s) { +function scene_Background_constructor__P19820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12665,7 +12665,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C54816_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C19816_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -12676,12 +12676,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P54820.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__P19820.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__P54820_mk(s) { +function scene_Background_constructor__P19820_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P54820, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P19820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12693,7 +12693,7 @@ function scene_Background_constructor__P54820_mk(s) { -function ArcadePhysicsEngine_constructor__P54725(s) { +function ArcadePhysicsEngine_constructor__P19725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12711,33 +12711,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_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__C54645_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C19645_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P54646_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P19646_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 443; 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__P54727_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P19727_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 444; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P54731_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P19731_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 445; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P54729_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P19729_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 446; s.pc = 4; return s.tmp_0; @@ -12747,12 +12747,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P54725.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__P19725.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__P54725_mk(s) { +function ArcadePhysicsEngine_constructor__P19725_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P54725, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P19725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12766,7 +12766,7 @@ function ArcadePhysicsEngine_constructor__P54725_mk(s) { -function ArcadePhysicsEngine_maxStep__P54731(s) { +function ArcadePhysicsEngine_maxStep__P19731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12782,7 +12782,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12793,12 +12793,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P54731.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__P19731.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__P54731_mk(s) { +function ArcadePhysicsEngine_maxStep__P19731_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P54731, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P19731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12811,7 +12811,7 @@ function ArcadePhysicsEngine_maxStep__P54731_mk(s) { -function ArcadePhysicsEngine_maxStep__P54730(s) { +function ArcadePhysicsEngine_maxStep__P19730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12826,7 +12826,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12835,13 +12835,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P54730.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__P54730.isGetter = true; +ArcadePhysicsEngine_maxStep__P19730.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__P19730.isGetter = true; -function ArcadePhysicsEngine_maxStep__P54730_mk(s) { +function ArcadePhysicsEngine_maxStep__P19730_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P54730, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P19730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12852,7 +12852,7 @@ function ArcadePhysicsEngine_maxStep__P54730_mk(s) { -function Fx_toInt__P52716(s) { +function Fx_toInt__P17716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12872,12 +12872,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P52716.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__P17716.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__P52716_mk(s) { +function Fx_toInt__P17716_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P52716, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P17716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12887,7 +12887,7 @@ function Fx_toInt__P52716_mk(s) { -function ArcadePhysicsEngine_minStep__P54729(s) { +function ArcadePhysicsEngine_minStep__P19729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12903,7 +12903,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12914,12 +12914,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P54729.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__P19729.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__P54729_mk(s) { +function ArcadePhysicsEngine_minStep__P19729_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P54729, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P19729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12932,7 +12932,7 @@ function ArcadePhysicsEngine_minStep__P54729_mk(s) { -function ArcadePhysicsEngine_minStep__P54728(s) { +function ArcadePhysicsEngine_minStep__P19728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12947,7 +12947,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12956,13 +12956,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P54728.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__P54728.isGetter = true; +ArcadePhysicsEngine_minStep__P19728.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__P19728.isGetter = true; -function ArcadePhysicsEngine_minStep__P54728_mk(s) { +function ArcadePhysicsEngine_minStep__P19728_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P54728, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P19728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12973,7 +12973,7 @@ function ArcadePhysicsEngine_minStep__P54728_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P54727(s) { +function ArcadePhysicsEngine_maxSpeed__P19727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12989,7 +12989,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -13006,12 +13006,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P54727.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__P19727.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__P54727_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P19727_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P54727, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P19727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13024,7 +13024,7 @@ function ArcadePhysicsEngine_maxSpeed__P54727_mk(s) { -function Fx_neg__P52701(s) { +function Fx_neg__P17701(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13042,12 +13042,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P52701.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__P17701.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__P52701_mk(s) { +function Fx_neg__P17701_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P52701, depth: s.depth + 1, + parent: s, fn: Fx_neg__P17701, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13056,7 +13056,7 @@ function Fx_neg__P52701_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P54726(s) { +function ArcadePhysicsEngine_maxSpeed__P19726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13071,7 +13071,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -13080,13 +13080,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P54726.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__P54726.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P19726.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__P19726.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P54726_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P19726_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P54726, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P19726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13097,7 +13097,7 @@ function ArcadePhysicsEngine_maxSpeed__P54726_mk(s) { -function PhysicsEngine_constructor__P54711(s) { +function PhysicsEngine_constructor__P19711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13112,17 +13112,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C54710_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C19710_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P54711.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__P19711.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__P54711_mk(s) { +function PhysicsEngine_constructor__P19711_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P54711, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P19711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13131,7 +13131,7 @@ function PhysicsEngine_constructor__P54711_mk(s) { -function sprites_SpriteMap_constructor__P54646(s) { +function sprites_SpriteMap_constructor__P19646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13146,7 +13146,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C54645_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -13155,12 +13155,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P54646.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__P19646.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__P54646_mk(s) { +function sprites_SpriteMap_constructor__P19646_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P54646, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P19646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13171,7 +13171,7 @@ function sprites_SpriteMap_constructor__P54646_mk(s) { -function music_Melody_constructor__P54152(s) { +function music_Melody_constructor__P19152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13187,18 +13187,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C54149_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C19149_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P54152.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__P19152.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__P54152_mk(s) { +function music_Melody_constructor__P19152_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P54152, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P19152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13208,7 +13208,7 @@ function music_Melody_constructor__P54152_mk(s) { -function control_pushEventContext__P52949(s) { +function control_pushEventContext__P17949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13218,63 +13218,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___64411 = undefined; - s.n___64417 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___56218); + s.ctx___29414 = undefined; + s.n___29420 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___21221); 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___56218 = (r0); + globals.eventContexts___21221 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P52948_mk(s); + s.tmp_0 = control_eventContext__P17948_mk(s); s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___64411 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___64411); + s.ctx___29414 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___29414); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P52942_mk(s); - s.tmp_0.arg0 = s.ctx___64411; + s.tmp_0 = control_EventContext_unregister__P17942_mk(s); + s.tmp_0.arg0 = s.ctx___29414; s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C52935_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C17935_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P52939_mk(s); + s.tmp_1 = control_EventContext_constructor__P17939_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 56; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___64417 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___56218, s.n___64417); - r0 = s.n___64417; + s.n___29420 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___21221, s.n___29420); + r0 = s.n___29420; return leave(s, r0) default: oops() } } } -control_pushEventContext__P52949.info = {"start":7021,"length":340,"line":213,"column":4,"endLine":224,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P17949.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__P52949_mk(s) { +function control_pushEventContext__P17949_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P52949, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P17949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___64411: undefined, - n___64417: undefined, + ctx___29414: undefined, + n___29420: undefined, } } -function control_EventContext_unregister__P52942(s) { +function control_EventContext_unregister__P17942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13284,37 +13284,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___64443 = undefined; - s.unnamed396___U1 = undefined; - s.unnamed397___U2 = undefined; + s.h___29449 = undefined; + s.unnamed172___U1 = undefined; + s.unnamed173___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C52935_VT)) failedCast(r0); - s.h___64443 = (undefined); + if (!checkSubtype(r0, control_EventContext__C17935_VT)) failedCast(r0); + s.h___29449 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed396___U1 = (r0); - s.unnamed397___U2 = (0); + s.unnamed172___U1 = (r0); + s.unnamed173___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed397___U2; - r0 = pxsim_Array__length(s.unnamed396___U1); + s.tmp_0 = r0 = s.unnamed173___U2; + r0 = pxsim_Array__length(s.unnamed172___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed396___U1, s.unnamed397___U2); - s.h___64443 = (r0); - s.tmp_2 = control_EventHandler_unregister__P56212_mk(s); - s.tmp_2.arg0 = s.h___64443; + r0 = pxsim_Array__getAt(s.unnamed172___U1, s.unnamed173___U2); + s.h___29449 = (r0); + s.tmp_2 = control_EventHandler_unregister__P21215_mk(s); + s.tmp_2.arg0 = s.h___29449; s.callLocIdx = 50; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed397___U2 + 1); - s.unnamed397___U2 = (r0); + r0 = (s.unnamed173___U2 + 1); + s.unnamed173___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed396___U1 = (undefined); + s.unnamed172___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -13325,19 +13325,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P52942.info = {"start":4432,"length":131,"line":134,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P17942.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__P52942_mk(s) { +function control_EventContext_unregister__P17942_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P52942, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P17942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___64443: undefined, - unnamed396___U1: undefined, - unnamed397___U2: undefined, + h___29449: undefined, + unnamed172___U1: undefined, + unnamed173___U2: undefined, arg0: undefined, } } @@ -13345,7 +13345,7 @@ function control_EventContext_unregister__P52942_mk(s) { -function control_EventHandler_unregister__P56212(s) { +function control_EventHandler_unregister__P21215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13360,24 +13360,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C56210_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C21213_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__P56214, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P21217, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P56212.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__P21215.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__P56212_mk(s) { +function control_EventHandler_unregister__P21215_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P56212, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P21215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13389,7 +13389,7 @@ function control_EventHandler_unregister__P56212_mk(s) { -function control_doNothing__P56214(s) { +function control_doNothing__P21217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13403,12 +13403,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P56214.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P21217.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__P56214_mk(s) { +function control_doNothing__P21217_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P56214, depth: s.depth + 1, + parent: s, fn: control_doNothing__P21217, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13416,7 +13416,7 @@ function control_doNothing__P56214_mk(s) { -function control_EventContext_constructor__P52939(s) { +function control_EventContext_constructor__P17939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13431,7 +13431,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C52935_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C17935_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -13441,16 +13441,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___17937); + 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___17937 = (r0); + case 1: + case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P52939.info = {"start":1740,"length":245,"line":58,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P17939.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__P52939_mk(s) { +function control_EventContext_constructor__P17939_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P52939, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P17939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13461,7 +13471,7 @@ function control_EventContext_constructor__P52939_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P54504(s) { +function controller_pauseUntilAnyButtonIsPressed__P19504(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13481,12 +13491,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P54504.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P19504.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__P54504_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P19504_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P54504, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P19504, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13494,7 +13504,7 @@ function controller_pauseUntilAnyButtonIsPressed__P54504_mk(s) { -function game_setWaitAnyButton__P55081(s) { +function game_setWaitAnyButton__P20084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13508,17 +13518,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___56538 = (s.arg0); + globals.__waitAnyButton___21541 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P55081.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__P20084.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__P55081_mk(s) { +function game_setWaitAnyButton__P20084_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P55081, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P20084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13527,7 +13537,7 @@ function game_setWaitAnyButton__P55081_mk(s) { -function Math_abs__P52674(s) { +function Math_abs__P17674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13556,12 +13566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P52674.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__P17674.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__P52674_mk(s) { +function Math_abs__P17674_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P52674, depth: s.depth + 1, + parent: s, fn: Math_abs__P17674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13572,7 +13582,7 @@ function Math_abs__P52674_mk(s) { -function Math_sign__P52675(s) { +function Math_sign__P17675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13607,12 +13617,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P52675.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__P17675.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__P52675_mk(s) { +function Math_sign__P17675_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P52675, depth: s.depth + 1, + parent: s, fn: Math_sign__P17675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13623,7 +13633,7 @@ function Math_sign__P52675_mk(s) { -function texteffects_TextEffect_constructor__P55381(s) { +function texteffects_TextEffect_constructor__P20384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13639,18 +13649,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, texteffects_TextEffect__C55379_VT)) failedCast(r0); + if (!checkSubtype(r0, texteffects_TextEffect__C20382_VT)) failedCast(r0); r0 = (s.arg0).fields["getState"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -texteffects_TextEffect_constructor__P55381.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__P20384.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__P55381_mk(s) { +function texteffects_TextEffect_constructor__P20384_mk(s) { checkStack(s.depth); return { - parent: s, fn: texteffects_TextEffect_constructor__P55381, depth: s.depth + 1, + parent: s, fn: texteffects_TextEffect_constructor__P20384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13660,7 +13670,7 @@ function texteffects_TextEffect_constructor__P55381_mk(s) { -function Math_FastRandom_constructor__P55136(s) { +function Math_FastRandom_constructor__P20139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13676,7 +13686,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C55134_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C20137_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -13691,12 +13701,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P55136.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__P20139.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__P55136_mk(s) { +function Math_FastRandom_constructor__P20139_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P55136, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P20139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13707,7 +13717,7 @@ function Math_FastRandom_constructor__P55136_mk(s) { -function control_ramSize__P52886(s) { +function control_ramSize__P17886(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13732,12 +13742,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P52886.info = {"start":5058,"length":100,"line":172,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P17886.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__P52886_mk(s) { +function control_ramSize__P17886_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P52886, depth: s.depth + 1, + parent: s, fn: control_ramSize__P17886, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13747,7 +13757,7 @@ function control_ramSize__P52886_mk(s) { -function control__ramSize__P56181(s) { +function control__ramSize__P21184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13761,12 +13771,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P56181.info = {"start":4938,"length":60,"line":167,"column":4,"endLine":169,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P21184.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__P56181_mk(s) { +function control__ramSize__P21184_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P56181, depth: s.depth + 1, + parent: s, fn: control__ramSize__P21184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13774,7 +13784,7 @@ function control__ramSize__P56181_mk(s) { -function game_consoleOverlay_listener__P56867(s) { +function game_consoleOverlay_listener__P21870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13789,7 +13799,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___56832); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___21835); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -13809,39 +13819,39 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P52658_mk(s); - s.tmp_5 = helpers_arrayFilter__P52659_mk(s); - s.tmp_6 = helpers_stringSplit__P52668_mk(s); + s.tmp_4 = helpers_arrayForEach__P17658_mk(s); + s.tmp_5 = helpers_arrayFilter__P17659_mk(s); + s.tmp_6 = helpers_stringSplit__P17668_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1028; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1033; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P64670; - s.callLocIdx = 1029; s.pc = 9; return s.tmp_5; + s.tmp_5.arg1 = inline__P29676; + s.callLocIdx = 1034; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P64675; - s.callLocIdx = 1031; s.pc = 8; return s.tmp_4; + s.tmp_4.arg1 = inline__P29681; + s.callLocIdx = 1036; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___56832); + r0 = pxsim_Array__length(globals.consoleStrings___21835); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___56845); + r0 = (s.tmp_1 > globals.consoleLines___21848); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P52649_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___56832; + s.tmp_2 = helpers_arraySplice__P17649_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___21835; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___56832); + r0 = pxsim_Array__length(globals.consoleStrings___21835); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___56845); + r0 = (s.tmp_3 - globals.consoleLines___21848); s.tmp_2.arg2 = r0; - s.callLocIdx = 1032; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1037; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; case 5: @@ -13851,12 +13861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P56867.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__P21870.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__P56867_mk(s) { +function game_consoleOverlay_listener__P21870_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P56867, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P21870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13873,7 +13883,7 @@ function game_consoleOverlay_listener__P56867_mk(s) { -function inline__P64670(s) { +function inline__P29676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13897,12 +13907,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64670.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P29676.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__P64670_mk(s) { +function inline__P29676_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64670, depth: s.depth + 1, + parent: s, fn: inline__P29676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13914,7 +13924,7 @@ function inline__P64670_mk(s) { -function inline__P64675(s) { +function inline__P29681(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13924,45 +13934,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___64677 = undefined; + s.j___29683 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___64677 = (0); + s.j___29683 = (0); case 1: - s.tmp_1 = r0 = s.j___64677; + s.tmp_1 = r0 = s.j___29683; 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___56832; - s.tmp_5 = helpers_stringSlice__P52666_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___21835; + s.tmp_5 = helpers_stringSlice__P17666_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___64677; - r0 = (s.j___64677 + globals.consoleColumns___56855); + s.tmp_5.arg1 = s.j___29683; + r0 = (s.j___29683 + globals.consoleColumns___21858); s.tmp_5.arg2 = r0; - s.callLocIdx = 1030; s.pc = 3; return s.tmp_5; + s.callLocIdx = 1035; 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___64677 + globals.consoleColumns___56855); - s.j___64677 = (r0); + r0 = (s.j___29683 + globals.consoleColumns___21858); + s.j___29683 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P64675.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P29681.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__P64675_mk(s) { +function inline__P29681_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64675, depth: s.depth + 1, + parent: s, fn: inline__P29681, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13970,7 +13980,7 @@ function inline__P64675_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___64677: undefined, + j___29683: undefined, arg0: undefined, } } @@ -13978,7 +13988,7 @@ function inline__P64675_mk(s) { -function console_addListener__P52923(s) { +function console_addListener__P17923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14001,7 +14011,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___56196, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___21199, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -14012,18 +14022,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___56196, s.arg0); + r0 = pxsim_Array__push(globals.listeners___21199, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P52923.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__P17923.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__P52923_mk(s) { +function console_addListener__P17923_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P52923, depth: s.depth + 1, + parent: s, fn: console_addListener__P17923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14036,7 +14046,7 @@ function console_addListener__P52923_mk(s) { -function inline__P56195(s) { +function inline__P21198(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14056,12 +14066,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P56195.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__P21198.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__P56195_mk(s) { +function inline__P21198_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P56195, depth: s.depth + 1, + parent: s, fn: inline__P21198, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -14071,7 +14081,7 @@ function inline__P56195_mk(s) { -function scene_systemMenu_register__P55181(s) { +function scene_systemMenu_register__P20184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14081,16 +14091,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___56786); + r0 = pxsim_numops_toBoolDecr(globals.instance___21789); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P54461_mk(s); - s.tmp_0.arg0 = globals.menu___54434; + s.tmp_0 = controller_Button_onEvent__P19461_mk(s); + s.tmp_0.arg0 = globals.menu___19434; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P55182; - s.callLocIdx = 1015; s.pc = 4; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P20185; + s.callLocIdx = 1020; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -14098,12 +14108,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P55181.info = {"start":12678,"length":193,"line":379,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} +scene_systemMenu_register__P20184.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__P55181_mk(s) { +function scene_systemMenu_register__P20184_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P55181, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P20184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14112,7 +14122,7 @@ function scene_systemMenu_register__P55181_mk(s) { -function scene_systemMenu_showSystemMenu__P55182(s) { +function scene_systemMenu_showSystemMenu__P20185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14122,28 +14132,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___56786); + r0 = pxsim_numops_toBoolDecr(globals.instance___21789); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P55084_mk(s); - s.callLocIdx = 1016; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_pushScene__P20087_mk(s); + s.callLocIdx = 1021; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C55170_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C20173_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P55171_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P20174_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P55178; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P20181; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1017; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1022; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___56786 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P55172_mk(s); - s.tmp_0.arg0 = globals.instance___56786; - s.callLocIdx = 1018; s.pc = 6; return s.tmp_0; + globals.instance___21789 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P20175_mk(s); + s.tmp_0.arg0 = globals.instance___21789; + s.callLocIdx = 1023; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -14151,12 +14161,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P55182.info = {"start":12877,"length":172,"line":385,"column":4,"endLine":390,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} +scene_systemMenu_showSystemMenu__P20185.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__P55182_mk(s) { +function scene_systemMenu_showSystemMenu__P20185_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P55182, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P20185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14166,7 +14176,7 @@ function scene_systemMenu_showSystemMenu__P55182_mk(s) { -function scene_systemMenu_buildOptionList__P55178(s) { +function scene_systemMenu_buildOptionList__P20181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14176,136 +14186,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___65489 = undefined; + s.options___30495 = undefined; r0 = pxsim_Array__mk(); - s.options___65489 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C55162_VT); + s.options___30495 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C20165_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P55163_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P20166_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___55192; - s.tmp_1.arg2 = inline__P65497; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P56792; - s.callLocIdx = 998; s.pc = 5; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___20195; + s.tmp_1.arg2 = inline__P30503; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P21795; + s.callLocIdx = 1003; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___65489, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C55162_VT); + r0 = pxsim_Array__push(s.options___30495, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C20165_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P55163_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P20166_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___55189; - s.tmp_1.arg2 = inline__P65511; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P56791; - s.callLocIdx = 1000; s.pc = 6; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___20192; + s.tmp_1.arg2 = inline__P30517; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P21794; + s.callLocIdx = 1005; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___65489, s.tmp_0); + r0 = pxsim_Array__push(s.options___30495, 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__C55162_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C20165_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P55163_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P20166_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___55190; - s.tmp_2.arg2 = inline__P65526; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P56794; - s.callLocIdx = 1003; s.pc = 7; return s.tmp_2; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___20193; + s.tmp_2.arg2 = inline__P30532; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P21797; + s.callLocIdx = 1008; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___65489, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C55162_VT); + r0 = pxsim_Array__push(s.options___30495, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C20165_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P55163_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P20166_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___55195; - s.tmp_1.arg2 = inline__P65541; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P56793; - s.callLocIdx = 1005; s.pc = 8; return s.tmp_1; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___20198; + s.tmp_1.arg2 = inline__P30547; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P21796; + s.callLocIdx = 1010; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___65489, s.tmp_0); + r0 = pxsim_Array__push(s.options___30495, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C55162_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C20165_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P55163_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P20166_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___55196; - s.tmp_1.arg2 = inline__P65556; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P56796; - s.callLocIdx = 1006; s.pc = 9; return s.tmp_1; + s.tmp_1.arg1 = globals.STATS_ICON___20199; + s.tmp_1.arg2 = inline__P30562; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P21799; + s.callLocIdx = 1011; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___65489, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C55162_VT); + r0 = pxsim_Array__push(s.options___30495, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C20165_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P55163_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P20166_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___55194; - s.tmp_1.arg2 = inline__P65565; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P56797; - s.callLocIdx = 1008; s.pc = 10; return s.tmp_1; + s.tmp_1.arg1 = globals.CONSOLE_ICON___20197; + s.tmp_1.arg2 = inline__P30571; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P21800; + s.callLocIdx = 1013; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___65489, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C55162_VT); + r0 = pxsim_Array__push(s.options___30495, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C20165_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P55163_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P20166_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___55193; - s.tmp_1.arg2 = inline__P65574; - s.tmp_1.arg3 = scene_systemMenu_sleep__P56798; - s.callLocIdx = 1009; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = globals.SLEEP_ICON___20196; + s.tmp_1.arg2 = inline__P30580; + s.tmp_1.arg3 = scene_systemMenu_sleep__P21801; + s.callLocIdx = 1014; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___65489, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___56787); + r0 = pxsim_Array__push(s.options___30495, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___21790); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P52662_mk(s); - s.tmp_0.arg0 = s.options___65489; - s.tmp_0.arg1 = globals.customMenuOptions___56787; - s.callLocIdx = 1010; s.pc = 12; return s.tmp_0; + s.tmp_0 = helpers_arrayConcat__P17662_mk(s); + s.tmp_0.arg0 = s.options___30495; + s.tmp_0.arg1 = globals.customMenuOptions___21790; + s.callLocIdx = 1015; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___65489 = (r0); + s.options___30495 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C55162_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C20165_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P55163_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P20166_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___55191; - s.tmp_1.arg2 = inline__P65587; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P55177; - s.callLocIdx = 1011; s.pc = 13; return s.tmp_1; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___20194; + s.tmp_1.arg2 = inline__P30593; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P20180; + s.callLocIdx = 1016; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___65489, s.tmp_0); - r0 = s.options___65489; + r0 = pxsim_Array__push(s.options___30495, s.tmp_0); + r0 = s.options___30495; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P55178.info = {"start":10384,"length":1149,"line":331,"column":4,"endLine":351,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} +scene_systemMenu_buildOptionList__P20181.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__P55178_mk(s) { +function scene_systemMenu_buildOptionList__P20181_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P55178, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P20181, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___65489: undefined, + options___30495: undefined, } } -function inline__P65497(s) { +function inline__P30503(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14315,8 +14325,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P54144_mk(s); - s.callLocIdx = 997; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P19144_mk(s); + s.callLocIdx = 1002; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -14335,12 +14345,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65497.info = {"start":10529,"length":39,"line":334,"column":54,"endLine":334,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P30503.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P65497_mk(s) { +function inline__P30503_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65497, depth: s.depth + 1, + parent: s, fn: inline__P30503, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14352,7 +14362,7 @@ function inline__P65497_mk(s) { -function inline__P65511(s) { +function inline__P30517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14362,8 +14372,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P54144_mk(s); - s.callLocIdx = 999; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P19144_mk(s); + s.callLocIdx = 1004; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -14382,12 +14392,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65511.info = {"start":10636,"length":37,"line":335,"column":52,"endLine":335,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P30517.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P65511_mk(s) { +function inline__P30517_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65511, depth: s.depth + 1, + parent: s, fn: inline__P30517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14399,7 +14409,7 @@ function inline__P65511_mk(s) { -function inline__P65526(s) { +function inline__P30532(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14409,7 +14419,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___54275; + r0 = globals.brightness___19275; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -14426,12 +14436,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65526.info = {"start":10795,"length":48,"line":337,"column":62,"endLine":337,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P30532.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P65526_mk(s) { +function inline__P30532_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65526, depth: s.depth + 1, + parent: s, fn: inline__P30532, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14442,7 +14452,7 @@ function inline__P65526_mk(s) { -function inline__P65541(s) { +function inline__P30547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14452,7 +14462,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___54275; + r0 = globals.brightness___19275; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -14469,12 +14479,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65541.info = {"start":10923,"length":46,"line":338,"column":60,"endLine":338,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P30547.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P65541_mk(s) { +function inline__P30547_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65541, depth: s.depth + 1, + parent: s, fn: inline__P30547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14485,7 +14495,7 @@ function inline__P65541_mk(s) { -function inline__P65556(s) { +function inline__P30562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14495,7 +14505,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___55077); + r0 = pxsim_numops_toBoolDecr(globals.stats___20080); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -14508,12 +14518,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65556.info = {"start":11045,"length":46,"line":340,"column":48,"endLine":340,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P30562.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P65556_mk(s) { +function inline__P30562_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65556, depth: s.depth + 1, + parent: s, fn: inline__P30562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14522,7 +14532,7 @@ function inline__P65556_mk(s) { -function inline__P65565(s) { +function inline__P30571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14532,7 +14542,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___56832); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___21835); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -14553,12 +14563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65565.info = {"start":11158,"length":71,"line":341,"column":50,"endLine":341,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P30571.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P65565_mk(s) { +function inline__P30571_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65565, depth: s.depth + 1, + parent: s, fn: inline__P30571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14571,7 +14581,7 @@ function inline__P65565_mk(s) { -function inline__P65574(s) { +function inline__P30580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14585,12 +14595,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65574.info = {"start":11296,"length":13,"line":342,"column":48,"endLine":342,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P30580.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P65574_mk(s) { +function inline__P30580_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65574, depth: s.depth + 1, + parent: s, fn: inline__P30580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14598,7 +14608,7 @@ function inline__P65574_mk(s) { -function inline__P65587(s) { +function inline__P30593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14612,12 +14622,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65587.info = {"start":11475,"length":13,"line":348,"column":53,"endLine":348,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P30593.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P65587_mk(s) { +function inline__P30593_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65587, depth: s.depth + 1, + parent: s, fn: inline__P30593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14625,7 +14635,7 @@ function inline__P65587_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P56799(s) { +function scene_systemMenu_setScreenBrightnessSupported__P21802(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14639,12 +14649,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P56799.info = {"start":10283,"length":95,"line":327,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} +scene_systemMenu_setScreenBrightnessSupported__P21802.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__P56799_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P21802_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P56799, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P21802, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14652,7 +14662,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P56799_mk(s) { -function scene_systemMenu_sleep__P56798(s) { +function scene_systemMenu_sleep__P21801(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14667,12 +14677,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P56798.info = {"start":9957,"length":51,"line":313,"column":4,"endLine":315,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} +scene_systemMenu_sleep__P21801.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__P56798_mk(s) { +function scene_systemMenu_sleep__P21801_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P56798, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P21801, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14680,7 +14690,7 @@ function scene_systemMenu_sleep__P56798_mk(s) { -function scene_systemMenu_toggleConsole__P56797(s) { +function scene_systemMenu_toggleConsole__P21800(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14690,7 +14700,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___56832); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___21835); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -14700,23 +14710,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P55201_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P20204_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; - s.callLocIdx = 991; s.pc = 3; return s.tmp_4; + s.callLocIdx = 996; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P55201_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P20204_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; - s.callLocIdx = 992; s.pc = 4; return s.tmp_0; + s.callLocIdx = 997; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P52920_mk(s); + s.tmp_0 = console_log__P17920_mk(s); s.tmp_0.arg0 = "console"; - s.callLocIdx = 993; s.pc = 5; return s.tmp_0; + s.callLocIdx = 998; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -14724,12 +14734,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P56797.info = {"start":9712,"length":239,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} +scene_systemMenu_toggleConsole__P21800.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__P56797_mk(s) { +function scene_systemMenu_toggleConsole__P21800_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P56797, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P21800, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14742,7 +14752,7 @@ function scene_systemMenu_toggleConsole__P56797_mk(s) { -function game_consoleOverlay_setVisible__P55201(s) { +function game_consoleOverlay_setVisible__P20204(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14758,7 +14768,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___56832); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___21835); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -14779,26 +14789,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___56832 = (s.tmp_6); + globals.consoleStrings___21835 = (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___56831 = (s.arg1); + globals.consoleColor___21834 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P55201.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__P20204.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__P55201_mk(s) { +function game_consoleOverlay_setVisible__P20204_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P55201, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P20204, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14815,7 +14825,7 @@ function game_consoleOverlay_setVisible__P55201_mk(s) { -function console_log__P52920(s) { +function console_log__P17920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14829,7 +14839,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P52916_mk(s); + s.tmp_0 = console_add__P17916_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 33; s.pc = 1; return s.tmp_0; @@ -14839,12 +14849,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P52920.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__P17920.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__P52920_mk(s) { +function console_log__P17920_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P52920, depth: s.depth + 1, + parent: s, fn: console_log__P17920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14854,7 +14864,7 @@ function console_log__P52920_mk(s) { -function console_add__P52916(s) { +function console_add__P17916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14864,58 +14874,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___65626 = undefined; - s.i___65635 = undefined; + s.text___30632 = undefined; + s.i___30641 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___52915); + r0 = (s.arg0 < globals.minPriority___17915); 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__P52922_mk(s); + s.tmp_1 = console_inspect__P17922_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 31; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___65626 = (r0); - if ((s.text___65626) && (s.text___65626).vtable) { + s.text___30632 = (r0); + if ((s.text___30632) && (s.text___30632).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___65626); + pxsim_String__stringConv(s.text___30632); checkResumeConsumed(); return; - } else { s.retval = (s.text___65626) + ""; } + } else { s.retval = (s.text___30632) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___65626 = (r0); - s.i___65635 = (0); + s.text___30632 = (r0); + s.i___30641 = (0); case 3: - s.tmp_1 = r0 = s.i___65635; - r0 = pxsim_Array__length(globals.listeners___56196); + s.tmp_1 = r0 = s.i___30641; + r0 = pxsim_Array__length(globals.listeners___21199); 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___56196, s.i___65635); + r0 = pxsim_Array__getAt(globals.listeners___21199, s.i___30641); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___65626; + s.tmp_3.arg1 = s.text___30632; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 32; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___65635 + 1); - s.i___65635 = (r0); + r0 = (s.i___30641 + 1); + s.i___30641 = (r0); { step = 3; continue; } case 4: case 5: @@ -14923,19 +14933,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P52916.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__P17916.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__P52916_mk(s) { +function console_add__P17916_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P52916, depth: s.depth + 1, + parent: s, fn: console_add__P17916, 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___65626: undefined, - i___65635: undefined, + text___30632: undefined, + i___30641: undefined, arg0: undefined, arg1: undefined, } } @@ -14944,7 +14954,7 @@ function console_add__P52916_mk(s) { -function console_inspect__P52922(s) { +function console_inspect__P17922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14954,10 +14964,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___65666 = undefined; - s.asString___65684 = undefined; - s.keys___65696 = undefined; - s.snipped___65700 = undefined; + s.asArr___30672 = undefined; + s.asString___30690 = undefined; + s.keys___30702 = undefined; + s.snipped___30706 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14998,15 +15008,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___65666 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___65666); + s.asArr___30672 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___30672); 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__P52652_mk(s); - s.tmp_2.arg0 = s.asArr___65666; + s.tmp_2 = helpers_arrayJoin__P17652_mk(s); + s.tmp_2.arg0 = s.asArr___30672; s.tmp_2.arg1 = ","; s.callLocIdx = 34; s.pc = 19; return s.tmp_2; case 19: @@ -15016,9 +15026,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P52652_mk(s); - s.tmp_8 = helpers_arraySlice__P52663_mk(s); - s.tmp_8.arg0 = s.asArr___65666; + s.tmp_7 = helpers_arrayJoin__P17652_mk(s); + s.tmp_8 = helpers_arraySlice__P17663_mk(s); + s.tmp_8.arg0 = s.asArr___30672; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 35; s.pc = 21; return s.tmp_8; @@ -15058,46 +15068,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___65684 = (r0); - r0 = (s.asString___65684 != "[object Object]"); + s.asString___30690 = (r0); + r0 = (s.asString___30690 != "[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___65684 != "[Object]"); + r0 = (s.asString___30690 != "[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___65684; + r0 = s.asString___30690; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___65696 = (r0); - r0 = pxsim_Array__length(s.keys___65696); + s.keys___30702 = (r0); + r0 = pxsim_Array__length(s.keys___30702); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___65700 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___65700); + s.snipped___30706 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___30706); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P52663_mk(s); - s.tmp_0.arg0 = s.keys___65696; + s.tmp_0 = helpers_arraySlice__P17663_mk(s); + s.tmp_0.arg0 = s.keys___30702; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___65696 = (r0); + s.keys___30702 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P65717); + r0 = pxsim_pxtcore_mkAction(1, inline__P30723); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___65700); + r0 = pxsim_numops_toBoolDecr(s.snipped___30706); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -15106,8 +15116,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P52661_mk(s); - s.tmp_7.arg0 = s.keys___65696; + s.tmp_7 = helpers_arrayReduce__P17661_mk(s); + s.tmp_7.arg0 = s.keys___30702; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -15156,12 +15166,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P52922.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__P17922.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__P52922_mk(s) { +function console_inspect__P17922_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P52922, depth: s.depth + 1, + parent: s, fn: console_inspect__P17922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15174,10 +15184,10 @@ function console_inspect__P52922_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___65666: undefined, - asString___65684: undefined, - keys___65696: undefined, - snipped___65700: undefined, + asArr___30672: undefined, + asString___30690: undefined, + keys___30702: undefined, + snipped___30706: undefined, arg0: undefined, arg1: undefined, } } @@ -15186,7 +15196,7 @@ function console_inspect__P52922_mk(s) { -function inline__P65717(s) { +function inline__P30723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15249,12 +15259,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P65717.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__P30723.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__P65717_mk(s) { +function inline__P30723_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65717, depth: s.depth + 1, + parent: s, fn: inline__P30723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15272,7 +15282,7 @@ function inline__P65717_mk(s) { -function helpers_arrayReduce__P52661(s) { +function helpers_arrayReduce__P17661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15282,8 +15292,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___65744 = undefined; - s.i___65747 = undefined; + s.len___30750 = undefined; + s.i___30753 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15291,43 +15301,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___65744 = (r0); - s.i___65747 = (0); + s.len___30750 = (r0); + s.i___30753 = (0); case 1: - r0 = (s.i___65747 < s.len___65744); + r0 = (s.i___30753 < s.len___30750); 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___65747); + r0 = pxsim_Array__getAt(s.arg0, s.i___30753); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___65747; + s.tmp_1.arg2 = s.i___30753; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___65747 + 1); - s.i___65747 = (r0); + r0 = (s.i___30753 + 1); + s.i___30753 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P52661.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__P17661.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__P52661_mk(s) { +function helpers_arrayReduce__P17661_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P52661, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P17661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___65744: undefined, - i___65747: undefined, + len___30750: undefined, + i___30753: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15337,7 +15347,7 @@ function helpers_arrayReduce__P52661_mk(s) { -function helpers_arrayJoin__P52652(s) { +function helpers_arrayJoin__P17652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15347,9 +15357,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___65772 = undefined; - s.len___65773 = undefined; - s.i___65776 = undefined; + s.r___30778 = undefined; + s.len___30779 = undefined; + s.i___30782 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15372,16 +15382,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___65772 = (r0); + s.r___30778 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___65773 = (r0); - s.i___65776 = (0); + s.len___30779 = (r0); + s.i___30782 = (0); case 5: - r0 = (s.i___65776 < s.len___65773); + r0 = (s.i___30782 < s.len___30779); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___65776 > 0); + r0 = (s.i___30782 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -15394,12 +15404,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___65772) && (s.r___65772).vtable) { + if ((s.r___30778) && (s.r___30778).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___65772); + pxsim_String__stringConv(s.r___30778); checkResumeConsumed(); return; - } else { s.retval = (s.r___65772) + ""; } + } else { s.retval = (s.r___30778) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -15413,10 +15423,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___65772 = (r0); + s.r___30778 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___65776); + r0 = pxsim_Array__getAt(s.arg0, s.i___30782); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -15425,7 +15435,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___65776); + r0 = pxsim_Array__getAt(s.arg0, s.i___30782); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -15436,16 +15446,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___65776); + r0 = pxsim_Array__getAt(s.arg0, s.i___30782); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___65772) && (s.r___65772).vtable) { + if ((s.r___30778) && (s.r___30778).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___65772); + pxsim_String__stringConv(s.r___30778); checkResumeConsumed(); return; - } else { s.retval = (s.r___65772) + ""; } + } else { s.retval = (s.r___30778) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -15459,21 +15469,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___65772 = (r0); - r0 = (s.i___65776 + 1); - s.i___65776 = (r0); + s.r___30778 = (r0); + r0 = (s.i___30782 + 1); + s.i___30782 = (r0); { step = 5; continue; } case 14: - r0 = s.r___65772; + r0 = s.r___30778; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P52652.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__P17652.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__P52652_mk(s) { +function helpers_arrayJoin__P17652_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P52652, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P17652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15482,9 +15492,9 @@ function helpers_arrayJoin__P52652_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___65772: undefined, - len___65773: undefined, - i___65776: undefined, + r___30778: undefined, + len___30779: undefined, + i___30782: undefined, arg0: undefined, arg1: undefined, } } @@ -15493,7 +15503,7 @@ function helpers_arrayJoin__P52652_mk(s) { -function scene_systemMenu_toggleStats__P56796(s) { +function scene_systemMenu_toggleStats__P21799(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15503,29 +15513,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___55077); + r0 = pxsim_numops_toBoolDecr(globals.stats___20080); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___55077 = (r0); + globals.stats___20080 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___20080); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = globals.control_EventContext_onStats___17938; + 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___17938; + r0 = pxsim_String_.mkEmpty(); + s.tmp_3.arg0 = r0; + setupLambda(s.tmp_3, s.tmp_3.argL); + s.callLocIdx = 994; s.pc = 5; return s.tmp_3; + case 5: + r0 = s.retval; + case 3: + case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P56796.info = {"start":9642,"length":64,"line":300,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} +scene_systemMenu_toggleStats__P21799.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__P56796_mk(s) { +function scene_systemMenu_toggleStats__P21799_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P56796, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P21799, 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, } } -function scene_systemMenu_brightnessDown__P56794(s) { +function scene_systemMenu_brightnessDown__P21797(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15535,24 +15573,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P56795_mk(s); - r0 = globals.brightness___54275; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P21798_mk(s); + r0 = globals.brightness___19275; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 986; s.pc = 1; return s.tmp_0; + s.callLocIdx = 990; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P56794.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__P21797.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__P56794_mk(s) { +function scene_systemMenu_brightnessDown__P21797_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P56794, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P21797, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15562,7 +15600,7 @@ function scene_systemMenu_brightnessDown__P56794_mk(s) { -function scene_systemMenu_setScreenBrightness__P56795(s) { +function scene_systemMenu_setScreenBrightness__P21798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15576,29 +15614,29 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P54286_mk(s); - s.tmp_0.arg0 = globals.screen___54353; + s.tmp_0 = helpers_setScreenBrightness__P19286_mk(s); + s.tmp_0.arg0 = globals.screen___19353; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 987; s.pc = 1; return s.tmp_0; + s.callLocIdx = 991; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P54380_mk(s); + s.tmp_0 = settings_writeNumber__P19380_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___54275; + r0 = globals.brightness___19275; s.tmp_0.arg1 = r0; - s.callLocIdx = 989; s.pc = 2; return s.tmp_0; + s.callLocIdx = 993; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P56795.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__P21798.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__P56795_mk(s) { +function scene_systemMenu_setScreenBrightness__P21798_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P56795, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P21798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15608,7 +15646,7 @@ function scene_systemMenu_setScreenBrightness__P56795_mk(s) { -function settings_writeNumber__P54380(s) { +function settings_writeNumber__P19380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15626,9 +15664,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__P54378_mk(s); + s.tmp_1 = settings_writeBuffer__P19378_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P52728_mk(s); + s.tmp_2 = msgpack_packNumberArray__P17728_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 121; s.pc = 2; return s.tmp_2; case 2: @@ -15641,12 +15679,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P54380.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__P19380.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__P54380_mk(s) { +function settings_writeNumber__P19380_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P54380, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P19380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15659,7 +15697,7 @@ function settings_writeNumber__P54380_mk(s) { -function settings_writeBuffer__P54378(s) { +function settings_writeBuffer__P19378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15686,12 +15724,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P54378.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__P19378.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__P54378_mk(s) { +function settings_writeBuffer__P19378_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P54378, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P19378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15702,7 +15740,7 @@ function settings_writeBuffer__P54378_mk(s) { -function msgpack_packNumberArray__P52728(s) { +function msgpack_packNumberArray__P17728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15712,100 +15750,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___65857 = undefined; - s.n___65859 = undefined; - s.unnamed388___U2 = undefined; - s.unnamed389___U3 = undefined; - s.buf___65869 = undefined; - s.n___65875 = undefined; - s.unnamed390___U6 = undefined; - s.unnamed391___U7 = undefined; + s.off___30868 = undefined; + s.n___30870 = undefined; + s.unnamed164___U2 = undefined; + s.unnamed165___U3 = undefined; + s.buf___30880 = undefined; + s.n___30886 = undefined; + s.unnamed166___U6 = undefined; + s.unnamed167___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___65857 = (0); - s.n___65859 = (undefined); - s.unnamed388___U2 = (s.arg0); - s.unnamed389___U3 = (0); + s.off___30868 = (0); + s.n___30870 = (undefined); + s.unnamed164___U2 = (s.arg0); + s.unnamed165___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed389___U3; - r0 = pxsim_Array__length(s.unnamed388___U2); + s.tmp_0 = r0 = s.unnamed165___U3; + r0 = pxsim_Array__length(s.unnamed164___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed388___U2, s.unnamed389___U3); - s.n___65859 = (r0); - s.tmp_2 = r0 = s.off___65857; - s.tmp_4 = msgpack_packNumberCore__P56159_mk(s); + r0 = pxsim_Array__getAt(s.unnamed164___U2, s.unnamed165___U3); + s.n___30870 = (r0); + s.tmp_2 = r0 = s.off___30868; + s.tmp_4 = msgpack_packNumberCore__P21162_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___65857; - s.tmp_4.arg2 = s.n___65859; + s.tmp_4.arg1 = s.off___30868; + s.tmp_4.arg2 = s.n___30870; s.callLocIdx = 21; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___65857 = (r0); - r0 = (s.unnamed389___U3 + 1); - s.unnamed389___U3 = (r0); + s.off___30868 = (r0); + r0 = (s.unnamed165___U3 + 1); + s.unnamed165___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed388___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___65857); - s.buf___65869 = (r0); - s.off___65857 = (0); - s.n___65875 = (undefined); - s.unnamed390___U6 = (s.arg0); - s.unnamed391___U7 = (0); + s.unnamed164___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___30868); + s.buf___30880 = (r0); + s.off___30868 = (0); + s.n___30886 = (undefined); + s.unnamed166___U6 = (s.arg0); + s.unnamed167___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed391___U7; - r0 = pxsim_Array__length(s.unnamed390___U6); + s.tmp_0 = r0 = s.unnamed167___U7; + r0 = pxsim_Array__length(s.unnamed166___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed390___U6, s.unnamed391___U7); - s.n___65875 = (r0); - s.tmp_2 = r0 = s.off___65857; - s.tmp_4 = msgpack_packNumberCore__P56159_mk(s); - s.tmp_4.arg0 = s.buf___65869; - s.tmp_4.arg1 = s.off___65857; - s.tmp_4.arg2 = s.n___65875; + r0 = pxsim_Array__getAt(s.unnamed166___U6, s.unnamed167___U7); + s.n___30886 = (r0); + s.tmp_2 = r0 = s.off___30868; + s.tmp_4 = msgpack_packNumberCore__P21162_mk(s); + s.tmp_4.arg0 = s.buf___30880; + s.tmp_4.arg1 = s.off___30868; + s.tmp_4.arg2 = s.n___30886; s.callLocIdx = 22; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___65857 = (r0); - r0 = (s.unnamed391___U7 + 1); - s.unnamed391___U7 = (r0); + s.off___30868 = (r0); + r0 = (s.unnamed167___U7 + 1); + s.unnamed167___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed390___U6 = (undefined); - r0 = s.buf___65869; + s.unnamed166___U6 = (undefined); + r0 = s.buf___30880; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P52728.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__P17728.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__P52728_mk(s) { +function msgpack_packNumberArray__P17728_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P52728, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P17728, 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___65857: undefined, - n___65859: undefined, - unnamed388___U2: undefined, - unnamed389___U3: undefined, - buf___65869: undefined, - n___65875: undefined, - unnamed390___U6: undefined, - unnamed391___U7: undefined, + off___30868: undefined, + n___30870: undefined, + unnamed164___U2: undefined, + unnamed165___U3: undefined, + buf___30880: undefined, + n___30886: undefined, + unnamed166___U6: undefined, + unnamed167___U7: undefined, arg0: undefined, } } @@ -15813,7 +15851,7 @@ function msgpack_packNumberArray__P52728_mk(s) { -function msgpack_packNumberCore__P56159(s) { +function msgpack_packNumberCore__P21162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15823,15 +15861,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___65889 = undefined; - s.fmt___65932 = undefined; + s.tag___30900 = undefined; + s.fmt___30943 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___65889 = (203); + s.tag___30900 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -15881,17 +15919,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___65889 = (204); + s.tag___30900 = (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___65889 = (205); + s.tag___30900 = (205); { step = 10; continue; } case 9: - s.tag___65889 = (206); + s.tag___30900 = (206); case 10: case 11: { step = 17; continue; } @@ -15900,41 +15938,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___65889 = (208); + s.tag___30900 = (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___65889 = (209); + s.tag___30900 = (209); { step = 15; continue; } case 14: - s.tag___65889 = (210); + s.tag___30900 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P56158_mk(s); - s.tmp_0.arg0 = s.tag___65889; + s.tmp_0 = msgpack_tagFormat__P21161_mk(s); + s.tmp_0.arg0 = s.tag___30900; s.callLocIdx = 17; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___65932 = (r0); + s.fmt___30943 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___65889); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___30900); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___65932; + s.tmp_1 = r0 = s.fmt___30943; 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__P52719_mk(s); - s.tmp_1.arg0 = s.fmt___65932; + s.tmp_1 = pins_sizeOf__P17719_mk(s); + s.tmp_1.arg0 = s.fmt___30943; s.callLocIdx = 18; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -15944,12 +15982,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P56159.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__P21162.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__P56159_mk(s) { +function msgpack_packNumberCore__P21162_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P56159, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P21162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15959,8 +15997,8 @@ function msgpack_packNumberCore__P56159_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___65889: undefined, - fmt___65932: undefined, + tag___30900: undefined, + fmt___30943: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15970,7 +16008,7 @@ function msgpack_packNumberCore__P56159_mk(s) { -function msgpack_tagFormat__P56158(s) { +function msgpack_tagFormat__P21161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16030,12 +16068,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P56158.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__P21161.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__P56158_mk(s) { +function msgpack_tagFormat__P21161_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P56158, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P21161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16045,7 +16083,7 @@ function msgpack_tagFormat__P56158_mk(s) { -function pins_sizeOf__P52719(s) { +function pins_sizeOf__P17719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16059,7 +16097,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P52755_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P17755_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 16; s.pc = 1; return s.tmp_0; case 1: @@ -16067,12 +16105,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P52719.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__P17719.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__P52719_mk(s) { +function pins_sizeOf__P17719_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P52719, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P17719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16082,7 +16120,7 @@ function pins_sizeOf__P52719_mk(s) { -function Buffer_sizeOfNumberFormat__P52755(s) { +function Buffer_sizeOfNumberFormat__P17755(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16161,12 +16199,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P52755.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__P17755.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__P52755_mk(s) { +function Buffer_sizeOfNumberFormat__P17755_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P52755, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P17755, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16176,7 +16214,7 @@ function Buffer_sizeOfNumberFormat__P52755_mk(s) { -function helpers_setScreenBrightness__P54286(s) { +function helpers_setScreenBrightness__P19286(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16191,7 +16229,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P52673_mk(s); + s.tmp_0 = Math_clamp__P17673_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -16200,18 +16238,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___54275 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___54275); + globals.brightness___19275 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___19275); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P54286.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__P19286.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__P54286_mk(s) { +function helpers_setScreenBrightness__P19286_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P54286, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P19286, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16222,7 +16260,7 @@ function helpers_setScreenBrightness__P54286_mk(s) { -function scene_systemMenu_brightnessUp__P56793(s) { +function scene_systemMenu_brightnessUp__P21796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16232,24 +16270,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P56795_mk(s); - r0 = globals.brightness___54275; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P21798_mk(s); + r0 = globals.brightness___19275; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 984; s.pc = 1; return s.tmp_0; + s.callLocIdx = 988; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P56793.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__P21796.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__P56793_mk(s) { +function scene_systemMenu_brightnessUp__P21796_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P56793, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P21796, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16259,7 +16297,7 @@ function scene_systemMenu_brightnessUp__P56793_mk(s) { -function scene_systemMenu_volumeDown__P56792(s) { +function scene_systemMenu_volumeDown__P21795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16269,54 +16307,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___66205 = undefined; - s.remainder___66208 = undefined; - s.newVolume___66211 = undefined; - s.tmp_0 = music_volume__P54144_mk(s); - s.callLocIdx = 981; s.pc = 3; return s.tmp_0; + s.v___31216 = undefined; + s.remainder___31219 = undefined; + s.newVolume___31222 = undefined; + s.tmp_0 = music_volume__P19144_mk(s); + s.callLocIdx = 985; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___66205 = (r0); - r0 = (s.v___66205 % 32); - s.remainder___66208 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___66208); + s.v___31216 = (r0); + r0 = (s.v___31216 % 32); + s.remainder___31219 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___31219); if (!r0) { step = 1; continue; } - r0 = s.remainder___66208; + r0 = s.remainder___31219; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___66205 - s.tmp_0); - s.newVolume___66211 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P56790_mk(s); - s.tmp_0.arg0 = s.newVolume___66211; - s.callLocIdx = 982; s.pc = 4; return s.tmp_0; + r0 = (s.v___31216 - s.tmp_0); + s.newVolume___31222 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P21793_mk(s); + s.tmp_0.arg0 = s.newVolume___31222; + s.callLocIdx = 986; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P56792.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__P21795.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__P56792_mk(s) { +function scene_systemMenu_volumeDown__P21795_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P56792, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P21795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___66205: undefined, - remainder___66208: undefined, - newVolume___66211: undefined, + v___31216: undefined, + remainder___31219: undefined, + newVolume___31222: undefined, } } -function scene_systemMenu_setVolume__P56790(s) { +function scene_systemMenu_setVolume__P21793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16330,33 +16368,33 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P54143_mk(s); + s.tmp_0 = music_setVolume__P19143_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 976; s.pc = 1; return s.tmp_0; + s.callLocIdx = 980; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P54145_mk(s); + s.tmp_0 = music_playTone__P19145_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; - s.callLocIdx = 977; s.pc = 2; return s.tmp_0; + s.callLocIdx = 981; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P54380_mk(s); + s.tmp_0 = settings_writeNumber__P19380_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 978; s.pc = 3; return s.tmp_0; + s.callLocIdx = 982; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P56790.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__P21793.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__P56790_mk(s) { +function scene_systemMenu_setVolume__P21793_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P56790, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P21793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16366,7 +16404,7 @@ function scene_systemMenu_setVolume__P56790_mk(s) { -function music_playTone__P54145(s) { +function music_playTone__P19145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16376,7 +16414,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___66046 = undefined; + s.id___31057 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16401,7 +16439,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P56254_mk(s); + s.tmp_2 = music_playNoteCore__P21257_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -16409,7 +16447,7 @@ switch (step) { s.callLocIdx = 65; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P52953_mk(s); + s.tmp_0 = pause__P17953_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 66; s.pc = 6; return s.tmp_0; @@ -16417,13 +16455,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___56256 + 1); + r0 = (globals.playToneID___21259 + 1); s.tmp_0 = r0; - globals.playToneID___56256 = (r0); - s.id___66046 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P66052); + globals.playToneID___21259 = (r0); + s.id___31057 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P31063); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___66046); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___31057); 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); @@ -16432,17 +16470,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P54145.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__P19145.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__P54145_mk(s) { +function music_playTone__P19145_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P54145, depth: s.depth + 1, + parent: s, fn: music_playTone__P19145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___66046: undefined, + id___31057: undefined, arg0: undefined, arg1: undefined, } } @@ -16451,7 +16489,7 @@ function music_playTone__P54145_mk(s) { -function inline__P66052(s) { +function inline__P31063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16461,14 +16499,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___66053 = undefined; - s.now___66063 = undefined; - s.d___66066 = undefined; - s.t___66070 = undefined; + s.pos___31064 = undefined; + s.now___31074 = undefined; + s.d___31077 = undefined; + s.t___31081 = undefined; r0 = pxsim.control.millis(); - s.pos___66053 = (r0); + s.pos___31064 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___56256); + r0 = (s.caps[0] == globals.playToneID___21259); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -16484,30 +16522,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___66063 = (r0); - r0 = (s.pos___66053 - s.now___66063); - s.d___66066 = (r0); - s.tmp_0 = Math_min__P52677_mk(s); + s.now___31074 = (r0); + r0 = (s.pos___31064 - s.now___31074); + s.d___31077 = (r0); + s.tmp_0 = Math_min__P17677_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 67; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___66070 = (r0); + s.t___31081 = (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___66070); + r0 = (s.tmp_2 - s.t___31081); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___66053 + s.t___66070); - s.pos___66053 = (r0); - s.tmp_0 = music_playNoteCore__P56254_mk(s); - r0 = (s.d___66066 - 1); + r0 = (s.pos___31064 + s.t___31081); + s.pos___31064 = (r0); + s.tmp_0 = music_playNoteCore__P21257_mk(s); + r0 = (s.d___31077 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___66070; + s.tmp_0.arg2 = s.t___31081; s.callLocIdx = 68; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -16517,16 +16555,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P52953_mk(s); - r0 = (s.d___66066 + s.t___66070); + s.tmp_2 = pause__P17953_mk(s); + r0 = (s.d___31077 + s.t___31081); s.tmp_2.arg0 = r0; s.callLocIdx = 69; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P52953_mk(s); - r0 = (s.d___66066 + s.t___66070); + s.tmp_0 = pause__P17953_mk(s); + r0 = (s.d___31077 + s.t___31081); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -16540,27 +16578,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P66052.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P31063.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P66052_mk(s) { +function inline__P31063_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P66052, depth: s.depth + 1, + parent: s, fn: inline__P31063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___66053: undefined, - now___66063: undefined, - d___66066: undefined, - t___66070: undefined, + pos___31064: undefined, + now___31074: undefined, + d___31077: undefined, + t___31081: undefined, } } -function music_playNoteCore__P56254(s) { +function music_playNoteCore__P21257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16570,7 +16608,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___66100 = undefined; + s.buf___31111 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16578,16 +16616,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___66100 = (r0); - s.tmp_0 = music_addNote__P56261_mk(s); - s.tmp_0.arg0 = s.buf___66100; + s.buf___31111 = (r0); + s.tmp_0 = music_addNote__P21264_mk(s); + s.tmp_0.arg0 = s.buf___31111; 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__P54144_mk(s); + s.tmp_1 = music_volume__P19144_mk(s); s.callLocIdx = 63; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -16596,21 +16634,21 @@ switch (step) { s.callLocIdx = 64; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___66100); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___31111); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P56254.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__P21257.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__P56254_mk(s) { +function music_playNoteCore__P21257_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P56254, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P21257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___66100: undefined, + buf___31111: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16620,7 +16658,7 @@ function music_playNoteCore__P56254_mk(s) { -function music_addNote__P56261(s) { +function music_addNote__P21264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16688,12 +16726,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P56261.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__P21264.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__P56261_mk(s) { +function music_addNote__P21264_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P56261, depth: s.depth + 1, + parent: s, fn: music_addNote__P21264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16714,7 +16752,7 @@ function music_addNote__P56261_mk(s) { -function music_setVolume__P54143(s) { +function music_setVolume__P19143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16728,7 +16766,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P52673_mk(s); + s.tmp_0 = Math_clamp__P17673_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -16736,8 +16774,8 @@ switch (step) { s.callLocIdx = 60; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___56249 = (r0); - r0 = (globals.globalVolume___56249 > 0); + globals.globalVolume___21252 = (r0); + r0 = (globals.globalVolume___21252 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -16753,12 +16791,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P54143.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__P19143.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__P54143_mk(s) { +function music_setVolume__P19143_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P54143, depth: s.depth + 1, + parent: s, fn: music_setVolume__P19143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16769,7 +16807,7 @@ function music_setVolume__P54143_mk(s) { -function music_enableAmp__P56252(s) { +function music_enableAmp__P21255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16787,12 +16825,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P56252.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__P21255.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__P56252_mk(s) { +function music_enableAmp__P21255_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P56252, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P21255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16801,7 +16839,7 @@ function music_enableAmp__P56252_mk(s) { -function scene_systemMenu_volumeUp__P56791(s) { +function scene_systemMenu_volumeUp__P21794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16811,47 +16849,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___66014 = undefined; - s.remainder___66017 = undefined; - s.newVolume___66020 = undefined; - s.tmp_0 = music_volume__P54144_mk(s); - s.callLocIdx = 979; s.pc = 1; return s.tmp_0; + s.v___31025 = undefined; + s.remainder___31028 = undefined; + s.newVolume___31031 = undefined; + s.tmp_0 = music_volume__P19144_mk(s); + s.callLocIdx = 983; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___66014 = (r0); - r0 = (s.v___66014 % 32); - s.remainder___66017 = (r0); - r0 = (s.v___66014 + 32); + s.v___31025 = (r0); + r0 = (s.v___31025 % 32); + s.remainder___31028 = (r0); + r0 = (s.v___31025 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___66017); - s.newVolume___66020 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P56790_mk(s); - s.tmp_0.arg0 = s.newVolume___66020; - s.callLocIdx = 980; s.pc = 2; return s.tmp_0; + r0 = (s.tmp_0 - s.remainder___31028); + s.newVolume___31031 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P21793_mk(s); + s.tmp_0.arg0 = s.newVolume___31031; + s.callLocIdx = 984; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P56791.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__P21794.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__P56791_mk(s) { +function scene_systemMenu_volumeUp__P21794_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P56791, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P21794, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___66014: undefined, - remainder___66017: undefined, - newVolume___66020: undefined, + v___31025: undefined, + remainder___31028: undefined, + newVolume___31031: undefined, } } -function game_consoleOverlay_isVisible__P55199(s) { +function game_consoleOverlay_isVisible__P20202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16861,7 +16899,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___56832); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___21835); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -16871,12 +16909,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P55199.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__P20202.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__P55199_mk(s) { +function game_consoleOverlay_isVisible__P20202_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P55199, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P20202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16887,7 +16925,7 @@ function game_consoleOverlay_isVisible__P55199_mk(s) { -function scene_systemMenu_closeMenu__P55177(s) { +function scene_systemMenu_closeMenu__P20180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16897,21 +16935,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___56786); + r0 = pxsim_numops_toBoolDecr(globals.instance___21789); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P55176_mk(s); - s.tmp_0.arg0 = globals.instance___56786; - s.callLocIdx = 994; s.pc = 3; return s.tmp_0; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P20179_mk(s); + s.tmp_0.arg0 = globals.instance___21789; + s.callLocIdx = 999; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___56786 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P54505_mk(s); + globals.instance___21789 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P19505_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 995; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1000; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P55085_mk(s); - s.callLocIdx = 996; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_popScene__P20088_mk(s); + s.callLocIdx = 1001; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -16920,12 +16958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P55177.info = {"start":10014,"length":216,"line":317,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} +scene_systemMenu_closeMenu__P20180.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__P55177_mk(s) { +function scene_systemMenu_closeMenu__P20180_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P55177, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P20180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16934,7 +16972,7 @@ function scene_systemMenu_closeMenu__P55177_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P55176(s) { +function scene_systemMenu_PauseMenu_dispose__P20179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16949,16 +16987,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C55170_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C20173_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__P52658_mk(s); + s.tmp_1 = helpers_arrayForEach__P17658_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P65322; - s.callLocIdx = 972; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = inline__P30328; + s.callLocIdx = 976; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["options"] = (undefined); @@ -16968,12 +17006,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P55176.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__P20179.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__P55176_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P20179_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P55176, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P20179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16984,7 +17022,7 @@ function scene_systemMenu_PauseMenu_dispose__P55176_mk(s) { -function inline__P65322(s) { +function inline__P30328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16998,21 +17036,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P55169_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P20172_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 971; s.pc = 1; return s.tmp_0; + s.callLocIdx = 975; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P65322.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P30328.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__P65322_mk(s) { +function inline__P30328_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65322, depth: s.depth + 1, + parent: s, fn: inline__P30328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17022,7 +17060,7 @@ function inline__P65322_mk(s) { -function scene_systemMenu_MenuOption_dispose__P55169(s) { +function scene_systemMenu_MenuOption_dispose__P20172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17037,25 +17075,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C55162_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C20165_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__P54638_mk(s); + s.tmp_1 = Sprite_destroy__P19638_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.tmp_1.arg2 = undefined; - s.callLocIdx = 891; s.pc = 3; return s.tmp_1; + s.callLocIdx = 895; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P54638_mk(s); + s.tmp_0 = Sprite_destroy__P19638_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 892; s.pc = 4; return s.tmp_0; + s.callLocIdx = 896; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["card"] = (undefined); @@ -17066,12 +17104,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P55169.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__P20172.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__P55169_mk(s) { +function scene_systemMenu_MenuOption_dispose__P20172_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P55169, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P20172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17082,7 +17120,7 @@ function scene_systemMenu_MenuOption_dispose__P55169_mk(s) { -function Sprite_destroy__P54638(s) { +function Sprite_destroy__P19638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17099,7 +17137,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -17117,7 +17155,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__P55340_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P20343_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -17127,7 +17165,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P54639_mk(s); + s.tmp_0 = Sprite__destroyCore__P19639_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 375; s.pc = 7; return s.tmp_0; case 7: @@ -17138,12 +17176,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P54638.info = {"start":28323,"length":293,"line":858,"column":4,"endLine":867,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P19638.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__P54638_mk(s) { +function Sprite_destroy__P19638_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P54638, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P19638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17159,7 +17197,7 @@ function Sprite_destroy__P54638_mk(s) { -function effects_ParticleEffect_destroy__P55340(s) { +function effects_ParticleEffect_destroy__P20343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17177,15 +17215,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C55337_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P54630_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C20340_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P19630_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = true; - s.callLocIdx = 1155; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1160; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P55339_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P20342_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -17202,7 +17240,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg4 = r0; - s.callLocIdx = 1156; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1161; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -17217,22 +17255,22 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg1).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = effects_ImageEffect_applyTo__P55366_mk(s); - s.tmp_0.arg0 = globals.dissolve___55369; + s.tmp_0 = effects_ImageEffect_applyTo__P20369_mk(s); + s.tmp_0.arg0 = globals.dissolve___20372; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1157; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1162; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P55340.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__P20343.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__P55340_mk(s) { +function effects_ParticleEffect_destroy__P20343_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P55340, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P20343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17250,7 +17288,7 @@ function effects_ParticleEffect_destroy__P55340_mk(s) { -function inline__P60653(s) { +function inline__P25656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17260,11 +17298,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___60656 = undefined; - s.x___60667 = undefined; - s.y___60673 = undefined; - s.w___60679 = undefined; - s.h___60683 = undefined; + s.i___25659 = undefined; + s.x___25670 = undefined; + s.y___25676 = undefined; + s.w___25682 = undefined; + s.h___25686 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17277,13 +17315,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___60656 = (r0); + s.i___25659 = (r0); case 1: - r0 = (s.i___60656 > 0); + r0 = (s.i___25659 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P55138_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P20141_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -17291,8 +17329,8 @@ switch (step) { s.callLocIdx = 39; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___60667 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P55138_mk(s); + s.x___25670 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P20141_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -17300,56 +17338,56 @@ switch (step) { s.callLocIdx = 40; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___60673 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P55138_mk(s); + s.y___25676 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P20141_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 41; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___60679 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P55138_mk(s); + s.w___25682 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P20141_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___60683 = (r0); - s.tmp_0 = helpers_imageDrawRect__P54282_mk(s); + s.h___25686 = (r0); + s.tmp_0 = helpers_imageDrawRect__P19282_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___60667; - s.tmp_0.arg2 = s.y___60673; - s.tmp_0.arg3 = s.w___60679; - s.tmp_0.arg4 = s.h___60683; + s.tmp_0.arg1 = s.x___25670; + s.tmp_0.arg2 = s.y___25676; + s.tmp_0.arg3 = s.w___25682; + s.tmp_0.arg4 = s.h___25686; s.tmp_0.arg5 = 0; s.callLocIdx = 43; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___60656 - 1); - s.i___60656 = (r0); + r0 = (s.i___25659 - 1); + s.i___25659 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P60653.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__P25656.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__P60653_mk(s) { +function inline__P25656_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60653, depth: s.depth + 1, + parent: s, fn: inline__P25656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___60656: undefined, - x___60667: undefined, - y___60673: undefined, - w___60679: undefined, - h___60683: undefined, + i___25659: undefined, + x___25670: undefined, + y___25676: undefined, + w___25682: undefined, + h___25686: undefined, arg0: undefined, arg1: undefined, } } @@ -17358,7 +17396,7 @@ function inline__P60653_mk(s) { -function helpers_imageDrawRect__P54282(s) { +function helpers_imageDrawRect__P19282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17397,7 +17435,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P54281_mk(s); + s.tmp_0 = helpers_imageDrawLine__P19281_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -17408,7 +17446,7 @@ switch (step) { s.callLocIdx = 82; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P54281_mk(s); + s.tmp_0 = helpers_imageDrawLine__P19281_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -17419,7 +17457,7 @@ switch (step) { s.callLocIdx = 83; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P54281_mk(s); + s.tmp_0 = helpers_imageDrawLine__P19281_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -17432,7 +17470,7 @@ switch (step) { s.callLocIdx = 84; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P54281_mk(s); + s.tmp_0 = helpers_imageDrawLine__P19281_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -17450,12 +17488,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P54282.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__P19282.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__P54282_mk(s) { +function helpers_imageDrawRect__P19282_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P54282, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P19282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17471,7 +17509,7 @@ function helpers_imageDrawRect__P54282_mk(s) { -function helpers_imageDrawLine__P54281(s) { +function helpers_imageDrawLine__P19281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17491,14 +17529,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P56286_mk(s); + s.tmp_2 = helpers_pack__P21289_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 80; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P56286_mk(s); + s.tmp_4 = helpers_pack__P21289_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 81; s.pc = 2; return s.tmp_4; @@ -17510,12 +17548,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P54281.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__P19281.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__P54281_mk(s) { +function helpers_imageDrawLine__P19281_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P54281, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P19281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17534,7 +17572,7 @@ function helpers_imageDrawLine__P54281_mk(s) { -function effects_ImageEffect_applyTo__P55366(s) { +function effects_ImageEffect_applyTo__P20369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17544,14 +17582,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___60817 = undefined; + s.clonedImage___25820 = 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__C55364_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C20367_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -17577,17 +17615,17 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___60817 = (r0); - s.tmp_0 = effects_ImageEffect_change__P55367_mk(s); + s.clonedImage___25820 = (r0); + s.tmp_0 = effects_ImageEffect_change__P20370_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___60817; - s.callLocIdx = 1168; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___25820; + s.callLocIdx = 1173; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P54607_mk(s); + s.tmp_0 = Sprite_setImage__P19607_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___60817; - s.callLocIdx = 1169; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___25820; + s.callLocIdx = 1174; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 5: @@ -17595,12 +17633,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P55366.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__P20369.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__P55366_mk(s) { +function effects_ImageEffect_applyTo__P20369_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P55366, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P20369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17608,7 +17646,7 @@ function effects_ImageEffect_applyTo__P55366_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___60817: undefined, + clonedImage___25820: undefined, arg0: undefined, arg1: undefined, } } @@ -17617,7 +17655,7 @@ function effects_ImageEffect_applyTo__P55366_mk(s) { -function effects_ImageEffect_change__P55367(s) { +function effects_ImageEffect_change__P20370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17633,7 +17671,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C55364_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C20367_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -17641,12 +17679,12 @@ switch (step) { s.tmp_0.arg2 = r0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "effect"), 3); - s.callLocIdx = 1170; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1175; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["effect"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1170; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1170; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 1170; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1175; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1175; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1175; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -17654,12 +17692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P55367.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__P20370.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__P55367_mk(s) { +function effects_ImageEffect_change__P20370_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P55367, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P20370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17670,7 +17708,7 @@ function effects_ImageEffect_change__P55367_mk(s) { -function Sprite_setImage__P54607(s) { +function Sprite_setImage__P19607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17686,7 +17724,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -17697,7 +17735,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite_setHitbox__P54608_mk(s); + s.tmp_0 = Sprite_setHitbox__P19608_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 248; s.pc = 4; return s.tmp_0; case 4: @@ -17707,12 +17745,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P54607.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__P19607.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__P54607_mk(s) { +function Sprite_setImage__P19607_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P54607, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P19607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17724,7 +17762,7 @@ function Sprite_setImage__P54607_mk(s) { -function Sprite_setHitbox__P54608(s) { +function Sprite_setHitbox__P19608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17734,29 +17772,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___60836 = undefined; - s.oMinX___60844 = undefined; - s.oMinY___60848 = undefined; - s.oMaxX___60852 = undefined; - s.oMaxY___60859 = undefined; - s.nMinX___60866 = undefined; - s.nMinY___60869 = undefined; - s.nMaxX___60872 = undefined; - s.nMaxY___60878 = undefined; - s.xDiff___60884 = undefined; - s.yDiff___60895 = undefined; + s.newHitBox___25839 = undefined; + s.oMinX___25847 = undefined; + s.oMinY___25851 = undefined; + s.oMaxX___25855 = undefined; + s.oMaxY___25862 = undefined; + s.nMinX___25869 = undefined; + s.nMinY___25872 = undefined; + s.nMaxX___25875 = undefined; + s.nMaxY___25881 = undefined; + s.xDiff___25887 = undefined; + s.yDiff___25898 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_0 = game_calculateHitBox__P54521_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_0 = game_calculateHitBox__P19521_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 249; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.newHitBox___60836 = (r0); + s.newHitBox___25839 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -17765,95 +17803,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___60836); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___25839); { step = 7; continue; } case 1: case 2: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___60844 = (r0); + s.oMinX___25847 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___60848 = (r0); + s.oMinY___25851 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___60844 + s.tmp_0); - s.oMaxX___60852 = (r0); + r0 = (s.oMinX___25847 + s.tmp_0); + s.oMaxX___25855 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___60848 + s.tmp_0); - s.oMaxY___60859 = (r0); - r0 = s.newHitBox___60836.fields["ox"]; - s.nMinX___60866 = (r0); - r0 = s.newHitBox___60836.fields["oy"]; - s.nMinY___60869 = (r0); - r0 = s.newHitBox___60836.fields["width"]; + r0 = (s.oMinY___25851 + s.tmp_0); + s.oMaxY___25862 = (r0); + r0 = s.newHitBox___25839.fields["ox"]; + s.nMinX___25869 = (r0); + r0 = s.newHitBox___25839.fields["oy"]; + s.nMinY___25872 = (r0); + r0 = s.newHitBox___25839.fields["width"]; s.tmp_0 = r0; - r0 = (s.nMinX___60866 + s.tmp_0); - s.nMaxX___60872 = (r0); - r0 = s.newHitBox___60836.fields["height"]; + r0 = (s.nMinX___25869 + s.tmp_0); + s.nMaxX___25875 = (r0); + r0 = s.newHitBox___25839.fields["height"]; s.tmp_0 = r0; - r0 = (s.nMinY___60869 + s.tmp_0); - s.nMaxY___60878 = (r0); - s.tmp_1 = Fx_abs__P52711_mk(s); - r0 = (s.oMinX___60844 - s.nMinX___60866); + r0 = (s.nMinY___25872 + s.tmp_0); + s.nMaxY___25881 = (r0); + s.tmp_1 = Fx_abs__P17711_mk(s); + r0 = (s.oMinX___25847 - s.nMinX___25869); s.tmp_1.arg0 = r0; s.callLocIdx = 255; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P52711_mk(s); - r0 = (s.oMaxX___60852 - s.nMaxX___60872); + s.tmp_3 = Fx_abs__P17711_mk(s); + r0 = (s.oMaxX___25855 - s.nMaxX___25875); s.tmp_3.arg0 = r0; s.callLocIdx = 257; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___60884 = (r0); - s.tmp_1 = Fx_abs__P52711_mk(s); - r0 = (s.oMinY___60848 - s.nMinY___60869); + s.xDiff___25887 = (r0); + s.tmp_1 = Fx_abs__P17711_mk(s); + r0 = (s.oMinY___25851 - s.nMinY___25872); s.tmp_1.arg0 = r0; s.callLocIdx = 260; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P52711_mk(s); - r0 = (s.oMaxY___60859 - s.nMaxY___60878); + s.tmp_3 = Fx_abs__P17711_mk(s); + r0 = (s.oMaxY___25862 - s.nMaxY___25881); s.tmp_3.arg0 = r0; s.callLocIdx = 262; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___60895 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___60836); - r0 = (s.xDiff___60884 <= 512); + s.yDiff___25898 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___25839); + r0 = (s.xDiff___25887 <= 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___60844); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___25847); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___60852 - s.oMinX___60844); + r0 = (s.oMaxX___25855 - s.oMinX___25847); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 3: case 4: - r0 = (s.yDiff___60895 <= 512); + r0 = (s.yDiff___25898 <= 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___60848); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___25851); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___60859 - s.oMinY___60848); + r0 = (s.oMaxY___25862 - s.oMinY___25851); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 5: @@ -17863,28 +17901,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P54608.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__P19608.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__P54608_mk(s) { +function Sprite_setHitbox__P19608_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P54608, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P19608, 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___60836: undefined, - oMinX___60844: undefined, - oMinY___60848: undefined, - oMaxX___60852: undefined, - oMaxY___60859: undefined, - nMinX___60866: undefined, - nMinY___60869: undefined, - nMaxX___60872: undefined, - nMaxY___60878: undefined, - xDiff___60884: undefined, - yDiff___60895: undefined, + newHitBox___25839: undefined, + oMinX___25847: undefined, + oMinY___25851: undefined, + oMaxX___25855: undefined, + oMaxY___25862: undefined, + nMinX___25869: undefined, + nMinY___25872: undefined, + nMaxX___25875: undefined, + nMaxY___25881: undefined, + xDiff___25887: undefined, + yDiff___25898: undefined, arg0: undefined, } } @@ -17892,7 +17930,7 @@ function Sprite_setHitbox__P54608_mk(s) { -function game_calculateHitBox__P54521(s) { +function game_calculateHitBox__P19521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17902,104 +17940,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___60957 = undefined; - s.minX___60960 = undefined; - s.minY___60963 = undefined; - s.maxX___60966 = undefined; - s.maxY___60967 = undefined; - s.c___60968 = undefined; - s.r___60974 = undefined; - s.width___61005 = undefined; - s.height___61011 = undefined; + s.i___25960 = undefined; + s.minX___25963 = undefined; + s.minY___25966 = undefined; + s.maxX___25969 = undefined; + s.maxY___25970 = undefined; + s.c___25971 = undefined; + s.r___25977 = undefined; + s.width___26008 = undefined; + s.height___26014 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - s.i___60957 = (r0); - r0 = pxsim_ImageMethods.width(s.i___60957); - s.minX___60960 = (r0); - r0 = pxsim_ImageMethods.height(s.i___60957); - s.minY___60963 = (r0); - s.maxX___60966 = (0); - s.maxY___60967 = (0); - s.c___60968 = (0); + s.i___25960 = (r0); + r0 = pxsim_ImageMethods.width(s.i___25960); + s.minX___25963 = (r0); + r0 = pxsim_ImageMethods.height(s.i___25960); + s.minY___25966 = (r0); + s.maxX___25969 = (0); + s.maxY___25970 = (0); + s.c___25971 = (0); case 1: - s.tmp_1 = r0 = s.c___60968; - r0 = pxsim_ImageMethods.width(s.i___60957); + s.tmp_1 = r0 = s.c___25971; + r0 = pxsim_ImageMethods.width(s.i___25960); 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___60974 = (0); + s.r___25977 = (0); case 2: - s.tmp_1 = r0 = s.r___60974; - r0 = pxsim_ImageMethods.height(s.i___60957); + s.tmp_1 = r0 = s.r___25977; + r0 = pxsim_ImageMethods.height(s.i___25960); 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___60957, s.c___60968, s.r___60974); + r0 = pxsim_ImageMethods.getPixel(s.i___25960, s.c___25971, s.r___25977); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Math_min__P52677_mk(s); - s.tmp_4.arg0 = s.minX___60960; - s.tmp_4.arg1 = s.c___60968; + s.tmp_4 = Math_min__P17677_mk(s); + s.tmp_4.arg0 = s.minX___25963; + s.tmp_4.arg1 = s.c___25971; s.callLocIdx = 206; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.minX___60960 = (r0); - s.tmp_0 = Math_min__P52677_mk(s); - s.tmp_0.arg0 = s.minY___60963; - s.tmp_0.arg1 = s.r___60974; + s.minX___25963 = (r0); + s.tmp_0 = Math_min__P17677_mk(s); + s.tmp_0.arg0 = s.minY___25966; + s.tmp_0.arg1 = s.r___25977; s.callLocIdx = 207; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.minY___60963 = (r0); - s.tmp_0 = Math_max__P52676_mk(s); - s.tmp_0.arg0 = s.maxX___60966; - s.tmp_0.arg1 = s.c___60968; + s.minY___25966 = (r0); + s.tmp_0 = Math_max__P17676_mk(s); + s.tmp_0.arg0 = s.maxX___25969; + s.tmp_0.arg1 = s.c___25971; s.callLocIdx = 208; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.maxX___60966 = (r0); - s.tmp_0 = Math_max__P52676_mk(s); - s.tmp_0.arg0 = s.maxY___60967; - s.tmp_0.arg1 = s.r___60974; + s.maxX___25969 = (r0); + s.tmp_0 = Math_max__P17676_mk(s); + s.tmp_0.arg0 = s.maxY___25970; + s.tmp_0.arg1 = s.r___25977; s.callLocIdx = 209; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___60967 = (r0); + s.maxY___25970 = (r0); case 3: case 4: - r0 = (s.r___60974 + 1); - s.r___60974 = (r0); + r0 = (s.r___25977 + 1); + s.r___25977 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___60968 + 1); - s.c___60968 = (r0); + r0 = (s.c___25971 + 1); + s.c___25971 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___60966 - s.minX___60960); + r0 = (s.maxX___25969 - s.minX___25963); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___61005 = (r0); - r0 = (s.maxY___60967 - s.minY___60963); + s.width___26008 = (r0); + r0 = (s.maxY___25970 - s.minY___25966); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___61011 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C54510_VT); + s.height___26014 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C19510_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P54516_mk(s); + s.tmp_1 = game_Hitbox_constructor__P19516_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___61005; - s.tmp_1.arg3 = s.height___61011; - s.tmp_1.arg4 = s.minX___60960; - s.tmp_1.arg5 = s.minY___60963; + s.tmp_1.arg2 = s.width___26008; + s.tmp_1.arg3 = s.height___26014; + s.tmp_1.arg4 = s.minX___25963; + s.tmp_1.arg5 = s.minY___25966; s.callLocIdx = 210; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -18007,27 +18045,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P54521.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__P19521.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__P54521_mk(s) { +function game_calculateHitBox__P19521_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P54521, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P19521, 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___60957: undefined, - minX___60960: undefined, - minY___60963: undefined, - maxX___60966: undefined, - maxY___60967: undefined, - c___60968: undefined, - r___60974: undefined, - width___61005: undefined, - height___61011: undefined, + i___25960: undefined, + minX___25963: undefined, + minY___25966: undefined, + maxX___25969: undefined, + maxY___25970: undefined, + c___25971: undefined, + r___25977: undefined, + width___26008: undefined, + height___26014: undefined, arg0: undefined, } } @@ -18035,7 +18073,7 @@ function game_calculateHitBox__P54521_mk(s) { -function game_Hitbox_constructor__P54516(s) { +function game_Hitbox_constructor__P19516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18055,7 +18093,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C54510_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C19510_VT)) failedCast(r0); r0 = (s.arg0).fields["parent"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = (s.arg2 * 256); @@ -18085,12 +18123,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P54516.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__P19516.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__P54516_mk(s) { +function game_Hitbox_constructor__P19516_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P54516, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P19516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18107,7 +18145,7 @@ function game_Hitbox_constructor__P54516_mk(s) { -function Fx_abs__P52711(s) { +function Fx_abs__P17711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18137,12 +18175,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P52711.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__P17711.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__P52711_mk(s) { +function Fx_abs__P17711_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P52711, depth: s.depth + 1, + parent: s, fn: Fx_abs__P17711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18152,7 +18190,7 @@ function Fx_abs__P52711_mk(s) { -function Fx_sub__P52705(s) { +function Fx_sub__P17705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18171,12 +18209,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P52705.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__P17705.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__P52705_mk(s) { +function Fx_sub__P17705_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P52705, depth: s.depth + 1, + parent: s, fn: Fx_sub__P17705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18186,7 +18224,7 @@ function Fx_sub__P52705_mk(s) { -function Sprite_image__P54606(s) { +function Sprite_image__P19606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18201,18 +18239,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P54606.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__P54606.isGetter = true; +Sprite_image__P19606.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__P19606.isGetter = true; -function Sprite_image__P54606_mk(s) { +function Sprite_image__P19606_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P54606, depth: s.depth + 1, + parent: s, fn: Sprite_image__P19606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18221,7 +18259,7 @@ function Sprite_image__P54606_mk(s) { -function effects_ParticleEffect_start__P55339(s) { +function effects_ParticleEffect_start__P20342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18231,7 +18269,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___61067 = undefined; + s.src___26070 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18241,7 +18279,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C55337_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C20340_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18268,18 +18306,18 @@ switch (step) { s.tmp_4.arg2 = s.tmp_3; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "sourceFactory"), 3); - s.callLocIdx = 1153; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1158; s.pc = 10; return s.tmp_4; } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["sourceFactory"]; - if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1153; s.pc = 10; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1153; s.pc = 10; return s.tmp_4;; } - else { s.callLocIdx = 1153; s.pc = 10; return s.tmp_4; } + if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1158; s.pc = 10; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1158; s.pc = 10; return s.tmp_4;; } + else { s.callLocIdx = 1158; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; - s.src___61067 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P55237_mk(s); - s.tmp_0.arg0 = s.src___61067; + s.src___26070 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P20240_mk(s); + s.tmp_0.arg0 = s.src___26070; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -18288,7 +18326,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1154; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1159; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -18304,7 +18342,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___61067).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___26070).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -18312,19 +18350,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P55339.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__P20342.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__P55339_mk(s) { +function effects_ParticleEffect_start__P20342_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P55339, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P20342, 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___61067: undefined, + src___26070: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18336,7 +18374,7 @@ function effects_ParticleEffect_start__P55339_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P55237(s) { +function particles_ParticleSource_setRelativeToCamera__P20240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18352,7 +18390,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18378,12 +18416,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P55237.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__P20240.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__P55237_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P20240_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P55237, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P20240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18398,7 +18436,7 @@ function particles_ParticleSource_setRelativeToCamera__P55237_mk(s) { -function Sprite_setFlag__P54630(s) { +function Sprite_setFlag__P19630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18415,7 +18453,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18450,7 +18488,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = Sprite_setFlag__P54630_mk(s); + s.tmp_2 = Sprite_setFlag__P19630_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 512; @@ -18464,12 +18502,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P54630.info = {"start":23807,"length":292,"line":731,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P19630.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__P54630_mk(s) { +function Sprite_setFlag__P19630_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P54630, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P19630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18485,7 +18523,7 @@ function Sprite_setFlag__P54630_mk(s) { -function Sprite__destroyCore__P54639(s) { +function Sprite__destroyCore__P19639(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18495,29 +18533,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___60536 = undefined; + s.scene___25539 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P55080_mk(s); + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 376; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___60536 = (r0); + s.scene___25539 = (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__P54638_mk(s); + s.tmp_1 = Sprite_destroy__P19638_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -18527,7 +18565,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.scene___60536.fields["allSprites"]; + r0 = s.scene___25539.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -18539,7 +18577,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.scene___60536.fields["spritesByKind"]; + r0 = s.scene___25539.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -18549,8 +18587,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__P54669_mk(s); - r0 = s.scene___60536.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P19669_mk(s); + r0 = s.scene___25539.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -18562,11 +18600,11 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.tmp_0 = PhysicsEngine__C54710_v1_2_mk(s); - r0 = s.scene___60536.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C19710_v1_2_mk(s); + r0 = s.scene___25539.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C54710_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C19710_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: @@ -18590,15 +18628,15 @@ switch (step) { r0 = s.retval; case 7: case 8: - r0 = pxsim_pxtcore_mkAction(1, inline__P60573); + r0 = pxsim_pxtcore_mkAction(1, inline__P25576); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P60579); + r0 = pxsim_pxtcore_mkAction(1, inline__P25582); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P52658_mk(s); - s.tmp_3 = helpers_arrayFilter__P52659_mk(s); - r0 = s.scene___60536.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P17658_mk(s); + s.tmp_3 = helpers_arrayFilter__P17659_mk(s); + r0 = s.scene___25539.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 384; s.pc = 15; return s.tmp_3; @@ -18613,12 +18651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P54639.info = {"start":28622,"length":693,"line":869,"column":4,"endLine":885,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P19639.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__P54639_mk(s) { +function Sprite__destroyCore__P19639_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P54639, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P19639, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18628,7 +18666,7 @@ function Sprite__destroyCore__P54639_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___60536: undefined, + scene___25539: undefined, arg0: undefined, } } @@ -18636,7 +18674,7 @@ function Sprite__destroyCore__P54639_mk(s) { -function inline__P60573(s) { +function inline__P25576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18658,12 +18696,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60573.info = {"start":29238,"length":26,"line":883,"column":20,"endLine":883,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P25576.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__P60573_mk(s) { +function inline__P25576_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60573, depth: s.depth + 1, + parent: s, fn: inline__P25576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18674,7 +18712,7 @@ function inline__P60573_mk(s) { -function inline__P60579(s) { +function inline__P25582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18706,12 +18744,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60579.info = {"start":29287,"length":20,"line":884,"column":21,"endLine":884,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P25582.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__P60579_mk(s) { +function inline__P25582_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60579, depth: s.depth + 1, + parent: s, fn: inline__P25582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18721,7 +18759,7 @@ function inline__P60579_mk(s) { -function PhysicsEngine_removeSprite__P54713(s) { +function PhysicsEngine_removeSprite__P19713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18737,17 +18775,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C54710_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C19710_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P54713.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__P19713.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__P54713_mk(s) { +function PhysicsEngine_removeSprite__P19713_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P54713, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P19713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18757,7 +18795,7 @@ function PhysicsEngine_removeSprite__P54713_mk(s) { -function sprites_SpriteSet_remove__P54669(s) { +function sprites_SpriteSet_remove__P19669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18767,26 +18805,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___60587 = undefined; + s.i___25590 = 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__C54662_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C19662_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___60587 = (r0); - r0 = (s.i___60587 > -1); + s.i___25590 = (r0); + r0 = (s.i___25590 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P52649_mk(s); + s.tmp_1 = helpers_arraySplice__P17649_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___60587; + s.tmp_1.arg1 = s.i___25590; s.tmp_1.arg2 = 1; s.callLocIdx = 433; s.pc = 4; return s.tmp_1; case 4: @@ -18800,16 +18838,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P54669.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__P19669.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__P54669_mk(s) { +function sprites_SpriteSet_remove__P19669_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P54669, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P19669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___60587: undefined, + i___25590: undefined, arg0: undefined, arg1: undefined, } } @@ -18818,7 +18856,7 @@ function sprites_SpriteSet_remove__P54669_mk(s) { -function Sprite_kind__P54621(s) { +function Sprite_kind__P19621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18833,17 +18871,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P54621.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__P19621.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__P54621_mk(s) { +function Sprite_kind__P19621_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P54621, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P19621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18852,7 +18890,7 @@ function Sprite_kind__P54621_mk(s) { -function game_popScene__P55085(s) { +function game_popScene__P20088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18862,59 +18900,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___65251 = undefined; - s.tmp_0 = game_currentScene__P55080_mk(s); - s.callLocIdx = 856; s.pc = 11; return s.tmp_0; + s.oldScene___30257 = undefined; + s.tmp_0 = game_currentScene__P20083_mk(s); + s.callLocIdx = 860; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___65251 = (r0); - s.tmp_0 = r0 = globals._sceneStack___56535; + s.oldScene___30257 = (r0); + s.tmp_0 = r0 = globals._sceneStack___21538; 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___56535); + r0 = pxsim_Array__length(globals._sceneStack___21538); 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___56535); - globals._scene___56534 = (r0); - s.tmp_0 = control_popEventContext__P52950_mk(s); - s.callLocIdx = 857; s.pc = 12; return s.tmp_0; + r0 = pxsim_Array_.pop(globals._sceneStack___21538); + globals._scene___21537 = (r0); + s.tmp_0 = control_popEventContext__P17950_mk(s); + s.callLocIdx = 861; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___56534); + r0 = pxsim_numops_toBoolDecr(globals._scene___21537); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P52950_mk(s); - s.callLocIdx = 858; s.pc = 13; return s.tmp_0; + s.tmp_0 = control_popEventContext__P17950_mk(s); + s.callLocIdx = 862; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___56534 = (undefined); + globals._scene___21537 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___56534); + r0 = pxsim_numops_toBoolDecr(globals._scene___21537); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P55258_mk(s); - s.callLocIdx = 859; s.pc = 14; return s.tmp_0; + s.tmp_0 = particles_enableAll__P20261_mk(s); + s.callLocIdx = 863; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___56537); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___21540); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P65272); + r0 = pxsim_pxtcore_mkAction(1, inline__P30278); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___65251); - s.tmp_1 = helpers_arrayForEach__P52658_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___56537; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___30257); + s.tmp_1 = helpers_arrayForEach__P17658_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___21540; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 861; s.pc = 15; return s.tmp_1; + s.callLocIdx = 865; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; case 9: @@ -18923,23 +18961,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P55085.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P20088.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__P55085_mk(s) { +function game_popScene__P20088_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P55085, depth: s.depth + 1, + parent: s, fn: game_popScene__P20088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___65251: undefined, + oldScene___30257: undefined, } } -function inline__P65272(s) { +function inline__P30278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18957,19 +18995,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 860; s.pc = 1; return s.tmp_0; + s.callLocIdx = 864; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P65272.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P30278.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__P65272_mk(s) { +function inline__P30278_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65272, depth: s.depth + 1, + parent: s, fn: inline__P30278, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18979,7 +19017,7 @@ function inline__P65272_mk(s) { -function particles_enableAll__P55258(s) { +function particles_enableAll__P20261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18989,22 +19027,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___65276 = undefined; - s.tmp_0 = particles_particleSources__P56898_mk(s); - s.callLocIdx = 1099; s.pc = 3; return s.tmp_0; + s.sources___30282 = undefined; + s.tmp_0 = particles_particleSources__P21901_mk(s); + s.callLocIdx = 1104; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___65276 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___65276); + s.sources___30282 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___30282); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P52658_mk(s); - s.tmp_0.arg0 = s.sources___65276; - s.tmp_0.arg1 = inline__P65282; - s.callLocIdx = 1101; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P17658_mk(s); + s.tmp_0.arg0 = s.sources___30282; + s.tmp_0.arg1 = inline__P30288; + s.callLocIdx = 1106; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P56894_mk(s); - s.callLocIdx = 1102; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P21897_mk(s); + s.callLocIdx = 1107; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -19013,22 +19051,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P55258.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P20261.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__P55258_mk(s) { +function particles_enableAll__P20261_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P55258, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P20261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___65276: undefined, + sources___30282: undefined, } } -function inline__P65282(s) { +function inline__P30288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19042,22 +19080,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P55239_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P20242_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1100; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1105; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = true; return leave(s, r0) default: oops() } } } -inline__P65282.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P30288.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__P65282_mk(s) { +function inline__P30288_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P65282, depth: s.depth + 1, + parent: s, fn: inline__P30288, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19067,7 +19105,7 @@ function inline__P65282_mk(s) { -function control_popEventContext__P52950(s) { +function control_popEventContext__P17950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19077,9 +19115,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___65289 = undefined; - s.context___65297 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___56218); + s.ctx___30295 = undefined; + s.context___30303 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___21221); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19088,9 +19126,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___56218); - s.ctx___65289 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___65289); + r0 = pxsim_Array_.pop(globals.eventContexts___21221); + s.ctx___30295 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___30295); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19099,53 +19137,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P52942_mk(s); - s.tmp_2.arg0 = s.ctx___65289; + s.tmp_2 = control_EventContext_unregister__P17942_mk(s); + s.tmp_2.arg0 = s.ctx___30295; s.callLocIdx = 57; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___56218; - r0 = pxsim_Array__length(globals.eventContexts___56218); + s.tmp_0 = r0 = globals.eventContexts___21221; + r0 = pxsim_Array__length(globals.eventContexts___21221); 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___65297 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___65297); + s.context___30303 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___30303); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P52941_mk(s); - s.tmp_0.arg0 = s.context___65297; + s.tmp_0 = control_EventContext_register__P17941_mk(s); + s.tmp_0.arg0 = s.context___30303; s.callLocIdx = 58; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___56218 = (undefined); + globals.eventContexts___21221 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P52950.info = {"start":7466,"length":413,"line":229,"column":4,"endLine":243,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P17950.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__P52950_mk(s) { +function control_popEventContext__P17950_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P52950, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P17950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___65289: undefined, - context___65297: undefined, + ctx___30295: undefined, + context___30303: undefined, } } -function control_EventContext_register__P52941(s) { +function control_EventContext_register__P17941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19155,38 +19193,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___65310 = undefined; - s.unnamed394___U1 = undefined; - s.unnamed395___U2 = undefined; + s.h___30316 = undefined; + s.unnamed170___U1 = undefined; + s.unnamed171___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C52935_VT)) failedCast(r0); - s.h___65310 = (undefined); + if (!checkSubtype(r0, control_EventContext__C17935_VT)) failedCast(r0); + s.h___30316 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed394___U1 = (r0); - s.unnamed395___U2 = (0); + s.unnamed170___U1 = (r0); + s.unnamed171___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed395___U2; - r0 = pxsim_Array__length(s.unnamed394___U1); + s.tmp_0 = r0 = s.unnamed171___U2; + r0 = pxsim_Array__length(s.unnamed170___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed394___U1, s.unnamed395___U2); - s.h___65310 = (r0); - s.tmp_2 = control_EventHandler_register__P56211_mk(s); - s.tmp_2.arg0 = s.h___65310; + r0 = pxsim_Array__getAt(s.unnamed170___U1, s.unnamed171___U2); + s.h___30316 = (r0); + s.tmp_2 = control_EventHandler_register__P21214_mk(s); + s.tmp_2.arg0 = s.h___30316; s.callLocIdx = 48; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed395___U2 + 1); - s.unnamed395___U2 = (r0); + r0 = (s.unnamed171___U2 + 1); + s.unnamed171___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed394___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P56216_mk(s); + s.unnamed170___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P21219_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 49; s.pc = 4; return s.tmp_0; case 4: @@ -19195,19 +19233,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P52941.info = {"start":4284,"length":138,"line":128,"column":8,"endLine":132,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P17941.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__P52941_mk(s) { +function control_EventContext_register__P17941_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P52941, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P17941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___65310: undefined, - unnamed394___U1: undefined, - unnamed395___U2: undefined, + h___30316: undefined, + unnamed170___U1: undefined, + unnamed171___U2: undefined, arg0: undefined, } } @@ -19215,7 +19253,7 @@ function control_EventContext_register__P52941_mk(s) { -function controller__setUserEventsEnabled__P54505(s) { +function controller__setUserEventsEnabled__P19505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19229,17 +19267,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___56363 = (s.arg0); + globals._userEventsEnabled___21366 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P54505.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__P19505.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__P54505_mk(s) { +function controller__setUserEventsEnabled__P19505_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P54505, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P19505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19248,7 +19286,7 @@ function controller__setUserEventsEnabled__P54505_mk(s) { -function scene_systemMenu_MenuOption_constructor__P55163(s) { +function scene_systemMenu_MenuOption_constructor__P20166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19266,7 +19304,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C55162_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C20165_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -19274,12 +19312,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P55163.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__P20166.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__P55163_mk(s) { +function scene_systemMenu_MenuOption_constructor__P20166_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P55163, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P20166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19291,7 +19329,7 @@ function scene_systemMenu_MenuOption_constructor__P55163_mk(s) { -function helpers_screenBrightness__P54287(s) { +function helpers_screenBrightness__P19287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19305,16 +19343,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___54275; + r0 = globals.brightness___19275; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P54287.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__P19287.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__P54287_mk(s) { +function helpers_screenBrightness__P19287_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P54287, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P19287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19323,7 +19361,7 @@ function helpers_screenBrightness__P54287_mk(s) { -function music_volume__P54144(s) { +function music_volume__P19144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19333,20 +19371,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P56253_mk(s); + s.tmp_0 = music_initVolume__P21256_mk(s); s.callLocIdx = 62; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___56249; + r0 = globals.globalVolume___21252; return leave(s, r0) default: oops() } } } -music_volume__P54144.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P19144.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__P54144_mk(s) { +function music_volume__P19144_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P54144, depth: s.depth + 1, + parent: s, fn: music_volume__P19144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19355,7 +19393,7 @@ function music_volume__P54144_mk(s) { -function music_initVolume__P56253(s) { +function music_initVolume__P21256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19365,12 +19403,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___56249 === null); + r0 = (globals.globalVolume___21252 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___56249 = (0); - s.tmp_0 = music_setVolume__P54143_mk(s); + globals.globalVolume___21252 = (0); + s.tmp_0 = music_setVolume__P19143_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 59; s.pc = 3; return s.tmp_0; @@ -19382,12 +19420,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P56253.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P21256.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__P56253_mk(s) { +function music_initVolume__P21256_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P56253, depth: s.depth + 1, + parent: s, fn: music_initVolume__P21256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19396,7 +19434,7 @@ function music_initVolume__P56253_mk(s) { -function helpers_arrayConcat__P52662(s) { +function helpers_arrayConcat__P17662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19406,74 +19444,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___65592 = undefined; - s.value___65595 = undefined; - s.unnamed384___U2 = undefined; - s.unnamed385___U3 = undefined; - s.value___65602 = undefined; - s.unnamed386___U5 = undefined; - s.unnamed387___U6 = undefined; + s.out___30598 = undefined; + s.value___30601 = undefined; + s.unnamed160___U2 = undefined; + s.unnamed161___U3 = undefined; + s.value___30608 = undefined; + s.unnamed162___U5 = undefined; + s.unnamed163___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___65592 = (r0); - s.value___65595 = (undefined); - s.unnamed384___U2 = (s.arg0); - s.unnamed385___U3 = (0); + s.out___30598 = (r0); + s.value___30601 = (undefined); + s.unnamed160___U2 = (s.arg0); + s.unnamed161___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed385___U3; - r0 = pxsim_Array__length(s.unnamed384___U2); + s.tmp_0 = r0 = s.unnamed161___U3; + r0 = pxsim_Array__length(s.unnamed160___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed384___U2, s.unnamed385___U3); - s.value___65595 = (r0); - r0 = pxsim_Array__push(s.out___65592, s.value___65595); - r0 = (s.unnamed385___U3 + 1); - s.unnamed385___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed160___U2, s.unnamed161___U3); + s.value___30601 = (r0); + r0 = pxsim_Array__push(s.out___30598, s.value___30601); + r0 = (s.unnamed161___U3 + 1); + s.unnamed161___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed384___U2 = (undefined); - s.value___65602 = (undefined); - s.unnamed386___U5 = (s.arg1); - s.unnamed387___U6 = (0); + s.unnamed160___U2 = (undefined); + s.value___30608 = (undefined); + s.unnamed162___U5 = (s.arg1); + s.unnamed163___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed387___U6; - r0 = pxsim_Array__length(s.unnamed386___U5); + s.tmp_0 = r0 = s.unnamed163___U6; + r0 = pxsim_Array__length(s.unnamed162___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed386___U5, s.unnamed387___U6); - s.value___65602 = (r0); - r0 = pxsim_Array__push(s.out___65592, s.value___65602); - r0 = (s.unnamed387___U6 + 1); - s.unnamed387___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed162___U5, s.unnamed163___U6); + s.value___30608 = (r0); + r0 = pxsim_Array__push(s.out___30598, s.value___30608); + r0 = (s.unnamed163___U6 + 1); + s.unnamed163___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed386___U5 = (undefined); - r0 = s.out___65592; + s.unnamed162___U5 = (undefined); + r0 = s.out___30598; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P52662.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__P17662.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__P52662_mk(s) { +function helpers_arrayConcat__P17662_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P52662, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P17662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___65592: undefined, - value___65595: undefined, - unnamed384___U2: undefined, - unnamed385___U3: undefined, - value___65602: undefined, - unnamed386___U5: undefined, - unnamed387___U6: undefined, + out___30598: undefined, + value___30601: undefined, + unnamed160___U2: undefined, + unnamed161___U3: undefined, + value___30608: undefined, + unnamed162___U5: undefined, + unnamed163___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -19482,7 +19520,7 @@ function helpers_arrayConcat__P52662_mk(s) { -function scene_systemMenu_PauseMenu_show__P55172(s) { +function scene_systemMenu_PauseMenu_show__P20175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19492,34 +19530,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___64755 = undefined; - s.i___64756 = undefined; + s.current___29761 = undefined; + s.i___29762 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C55170_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C20173_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "generator"), 1); - s.callLocIdx = 904; s.pc = 3; return s.tmp_2; + s.callLocIdx = 908; s.pc = 3; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["generator"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 904; s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 904; s.pc = 3; return s.tmp_2;; } - else { s.callLocIdx = 904; s.pc = 3; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 908; s.pc = 3; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 908; s.pc = 3; return s.tmp_2;; } + else { s.callLocIdx = 908; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___64756 = (0); + s.i___29762 = (0); case 1: - s.tmp_1 = r0 = s.i___64756; + s.tmp_1 = r0 = s.i___29762; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19530,22 +19568,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___64756); - s.current___64755 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P55164_mk(s); - s.tmp_0.arg0 = s.current___64755; - s.callLocIdx = 905; s.pc = 4; return s.tmp_0; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___29762); + s.current___29761 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P20167_mk(s); + s.tmp_0.arg0 = s.current___29761; + s.callLocIdx = 909; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P55167_mk(s); - s.tmp_0.arg0 = s.current___64755; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P20170_mk(s); + s.tmp_0.arg0 = s.current___29761; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 906; s.pc = 5; return s.tmp_0; + s.callLocIdx = 910; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P55165_mk(s); - s.tmp_0.arg0 = s.current___64755; + s.tmp_0 = scene_systemMenu_MenuOption_position__P20168_mk(s); + s.tmp_0.arg0 = s.current___29761; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -19555,12 +19593,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["padding"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["padding"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 907; s.pc = 7; return s.tmp_2; } + else { s.callLocIdx = 911; s.pc = 7; return s.tmp_2; } } case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___64756; + s.tmp_5 = r0 = s.i___29762; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -19570,7 +19608,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardsPerRow"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 908; s.pc = 8; return s.tmp_7; } + else { s.callLocIdx = 912; s.pc = 8; return s.tmp_7; } } case 8: r0 = s.retval; @@ -19586,7 +19624,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["cardWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["cardWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 909; s.pc = 9; return s.tmp_10; } + else { s.callLocIdx = 913; s.pc = 9; return s.tmp_10; } } case 9: r0 = s.retval; @@ -19600,7 +19638,7 @@ switch (step) { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["cardSpacing"]; if (s.tmp_12.fn == null) { s.retval = s.tmp_12.arg0.fields["cardSpacing"]; } else if (!s.tmp_12.fn.isGetter) { s.retval = bind(s.tmp_12); } - else { s.callLocIdx = 910; s.pc = 10; return s.tmp_12; } + else { s.callLocIdx = 914; s.pc = 10; return s.tmp_12; } } case 10: r0 = s.retval; @@ -19620,12 +19658,12 @@ switch (step) { s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["cardsTop"]; if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["cardsTop"]; } else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.callLocIdx = 911; s.pc = 11; return s.tmp_14; } + else { s.callLocIdx = 915; s.pc = 11; return s.tmp_14; } } case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___64756; + s.tmp_17 = r0 = s.i___29762; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -19635,7 +19673,7 @@ switch (step) { s.tmp_19.fn = s.tmp_19.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_19.fn == null) { s.retval = s.tmp_19.arg0.fields["cardsPerRow"]; } else if (!s.tmp_19.fn.isGetter) { s.retval = bind(s.tmp_19); } - else { s.callLocIdx = 912; s.pc = 12; return s.tmp_19; } + else { s.callLocIdx = 916; s.pc = 12; return s.tmp_19; } } case 12: r0 = s.retval; @@ -19651,7 +19689,7 @@ switch (step) { s.tmp_22.fn = s.tmp_22.arg0.vtable.iface["cardWidth"]; if (s.tmp_22.fn == null) { s.retval = s.tmp_22.arg0.fields["cardWidth"]; } else if (!s.tmp_22.fn.isGetter) { s.retval = bind(s.tmp_22); } - else { s.callLocIdx = 913; s.pc = 13; return s.tmp_22; } + else { s.callLocIdx = 917; s.pc = 13; return s.tmp_22; } } case 13: r0 = s.retval; @@ -19665,7 +19703,7 @@ switch (step) { s.tmp_24.fn = s.tmp_24.arg0.vtable.iface["cardSpacing"]; if (s.tmp_24.fn == null) { s.retval = s.tmp_24.arg0.fields["cardSpacing"]; } else if (!s.tmp_24.fn.isGetter) { s.retval = bind(s.tmp_24); } - else { s.callLocIdx = 914; s.pc = 14; return s.tmp_24; } + else { s.callLocIdx = 918; s.pc = 14; return s.tmp_24; } } case 14: r0 = s.retval; @@ -19676,116 +19714,116 @@ switch (step) { s.tmp_15 = r0; r0 = (s.tmp_13 + s.tmp_15); s.tmp_0.arg2 = r0; - s.callLocIdx = 915; s.pc = 6; return s.tmp_0; + s.callLocIdx = 919; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___64756 + 1); - s.i___64756 = (r0); + r0 = (s.i___29762 + 1); + s.i___29762 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P54505_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P19505_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 916; s.pc = 15; return s.tmp_0; + s.callLocIdx = 920; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P64819); + r0 = pxsim_pxtcore_mkAction(1, inline__P29825); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P54461_mk(s); - s.tmp_1.arg0 = globals.A___54428; + s.tmp_1 = controller_Button_onEvent__P19461_mk(s); + s.tmp_1.arg0 = globals.A___19428; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 918; s.pc = 16; return s.tmp_1; + s.callLocIdx = 922; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P64839); + r0 = pxsim_pxtcore_mkAction(1, inline__P29845); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P54461_mk(s); - s.tmp_1.arg0 = globals.A___54428; + s.tmp_1 = controller_Button_onEvent__P19461_mk(s); + s.tmp_1.arg0 = globals.A___19428; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 920; s.pc = 17; return s.tmp_1; + s.callLocIdx = 924; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P54461_mk(s); - s.tmp_0.arg0 = globals.B___54429; + s.tmp_0 = controller_Button_onEvent__P19461_mk(s); + s.tmp_0.arg0 = globals.B___19429; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P64868; - s.callLocIdx = 922; s.pc = 18; return s.tmp_0; + s.tmp_0.arg2 = inline__P29874; + s.callLocIdx = 926; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P54461_mk(s); - s.tmp_0.arg0 = globals.menu___54434; + s.tmp_0 = controller_Button_onEvent__P19461_mk(s); + s.tmp_0.arg0 = globals.menu___19434; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P64873; - s.callLocIdx = 924; s.pc = 19; return s.tmp_0; + s.tmp_0.arg2 = inline__P29879; + s.callLocIdx = 928; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P64878); + r0 = pxsim_pxtcore_mkAction(1, inline__P29884); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P54461_mk(s); - s.tmp_1.arg0 = globals.up___54431; + s.tmp_1 = controller_Button_onEvent__P19461_mk(s); + s.tmp_1.arg0 = globals.up___19431; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 928; s.pc = 20; return s.tmp_1; + s.callLocIdx = 932; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P64890); + r0 = pxsim_pxtcore_mkAction(1, inline__P29896); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P54461_mk(s); - s.tmp_1.arg0 = globals.left___54430; + s.tmp_1 = controller_Button_onEvent__P19461_mk(s); + s.tmp_1.arg0 = globals.left___19430; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 931; s.pc = 21; return s.tmp_1; + s.callLocIdx = 935; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P64899); + r0 = pxsim_pxtcore_mkAction(1, inline__P29905); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P54461_mk(s); - s.tmp_1.arg0 = globals.down___54433; + s.tmp_1 = controller_Button_onEvent__P19461_mk(s); + s.tmp_1.arg0 = globals.down___19433; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 935; s.pc = 22; return s.tmp_1; + s.callLocIdx = 939; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P64915); + r0 = pxsim_pxtcore_mkAction(1, inline__P29921); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P54461_mk(s); - s.tmp_1.arg0 = globals.right___54432; + s.tmp_1 = controller_Button_onEvent__P19461_mk(s); + s.tmp_1.arg0 = globals.right___19432; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 938; s.pc = 23; return s.tmp_1; + s.callLocIdx = 942; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P64927); + r0 = pxsim_pxtcore_mkAction(1, inline__P29933); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P55095_mk(s); + s.tmp_1 = game_onShade__P20098_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 941; s.pc = 24; return s.tmp_1; + s.callLocIdx = 945; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P55174_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P20177_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 942; s.pc = 25; return s.tmp_0; + s.callLocIdx = 946; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P55172.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__P20175.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__P55172_mk(s) { +function scene_systemMenu_PauseMenu_show__P20175_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P55172, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P20175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19812,8 +19850,8 @@ function scene_systemMenu_PauseMenu_show__P55172_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___64755: undefined, - i___64756: undefined, + current___29761: undefined, + i___29762: undefined, arg0: undefined, } } @@ -19821,7 +19859,7 @@ function scene_systemMenu_PauseMenu_show__P55172_mk(s) { -function inline__P64819(s) { +function inline__P29825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19859,7 +19897,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P55168_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P20171_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -19867,7 +19905,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 1; - s.callLocIdx = 917; s.pc = 6; return s.tmp_8; + s.callLocIdx = 921; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; case 5: @@ -19875,12 +19913,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64819.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P29825.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P64819_mk(s) { +function inline__P29825_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64819, depth: s.depth + 1, + parent: s, fn: inline__P29825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19899,7 +19937,7 @@ function inline__P64819_mk(s) { -function inline__P64839(s) { +function inline__P29845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19937,7 +19975,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P55168_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P20171_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -19945,7 +19983,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 0; - s.callLocIdx = 919; s.pc = 6; return s.tmp_8; + s.callLocIdx = 923; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; r0 = s.caps[0].fields["options"]; @@ -19961,12 +19999,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P64839.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P29845.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P64839_mk(s) { +function inline__P29845_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64839, depth: s.depth + 1, + parent: s, fn: inline__P29845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19985,7 +20023,7 @@ function inline__P64839_mk(s) { -function inline__P64868(s) { +function inline__P29874(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19995,20 +20033,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P55177_mk(s); - s.callLocIdx = 921; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P20180_mk(s); + s.callLocIdx = 925; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P64868.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P29874.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P64868_mk(s) { +function inline__P29874_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64868, depth: s.depth + 1, + parent: s, fn: inline__P29874, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20017,7 +20055,7 @@ function inline__P64868_mk(s) { -function inline__P64873(s) { +function inline__P29879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20027,20 +20065,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P55177_mk(s); - s.callLocIdx = 923; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P20180_mk(s); + s.callLocIdx = 927; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P64873.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P29879.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P64873_mk(s) { +function inline__P29879_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64873, depth: s.depth + 1, + parent: s, fn: inline__P29879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20049,7 +20087,7 @@ function inline__P64873_mk(s) { -function inline__P64878(s) { +function inline__P29884(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20059,9 +20097,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P55174_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P20177_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P52676_mk(s); + s.tmp_1 = Math_max__P17676_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -20074,30 +20112,30 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["cardsPerRow"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 925; s.pc = 3; return s.tmp_4; } + else { s.callLocIdx = 929; s.pc = 3; return s.tmp_4; } } case 3: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); s.tmp_1.arg1 = r0; - s.callLocIdx = 926; s.pc = 2; return s.tmp_1; + s.callLocIdx = 930; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 927; s.pc = 1; return s.tmp_0; + s.callLocIdx = 931; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P64878.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P29884.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P64878_mk(s) { +function inline__P29884_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64878, depth: s.depth + 1, + parent: s, fn: inline__P29884, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20110,7 +20148,7 @@ function inline__P64878_mk(s) { -function inline__P64890(s) { +function inline__P29896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20120,31 +20158,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P55174_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P20177_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P52676_mk(s); + s.tmp_1 = Math_max__P17676_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 929; s.pc = 2; return s.tmp_1; + s.callLocIdx = 933; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 930; s.pc = 1; return s.tmp_0; + s.callLocIdx = 934; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P64890.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P29896.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P64890_mk(s) { +function inline__P29896_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64890, depth: s.depth + 1, + parent: s, fn: inline__P29896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20155,7 +20193,7 @@ function inline__P64890_mk(s) { -function inline__P64899(s) { +function inline__P29905(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20165,9 +20203,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P55174_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P20177_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P52677_mk(s); + s.tmp_1 = Math_min__P17677_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20185,30 +20223,30 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["cardsPerRow"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 932; s.pc = 3; return s.tmp_6; } + else { s.callLocIdx = 936; s.pc = 3; return s.tmp_6; } } case 3: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_1.arg1 = r0; - s.callLocIdx = 933; s.pc = 2; return s.tmp_1; + s.callLocIdx = 937; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 934; s.pc = 1; return s.tmp_0; + s.callLocIdx = 938; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P64899.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P29905.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P64899_mk(s) { +function inline__P29905_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64899, depth: s.depth + 1, + parent: s, fn: inline__P29905, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20223,7 +20261,7 @@ function inline__P64899_mk(s) { -function inline__P64915(s) { +function inline__P29921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20233,9 +20271,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P55174_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P20177_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P52677_mk(s); + s.tmp_1 = Math_min__P17677_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20246,23 +20284,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 936; s.pc = 2; return s.tmp_1; + s.callLocIdx = 940; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 937; s.pc = 1; return s.tmp_0; + s.callLocIdx = 941; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P64915.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P29921.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P64915_mk(s) { +function inline__P29921_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64915, depth: s.depth + 1, + parent: s, fn: inline__P29921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20275,7 +20313,7 @@ function inline__P64915_mk(s) { -function inline__P64927(s) { +function inline__P29933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20285,26 +20323,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P55173_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P20176_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 939; s.pc = 1; return s.tmp_0; + s.callLocIdx = 943; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P55175_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P20178_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 940; s.pc = 2; return s.tmp_0; + s.callLocIdx = 944; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P64927.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P29933.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P64927_mk(s) { +function inline__P29933_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P64927, depth: s.depth + 1, + parent: s, fn: inline__P29933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20313,7 +20351,7 @@ function inline__P64927_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P55175(s) { +function scene_systemMenu_PauseMenu_drawText__P20178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20328,7 +20366,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C55170_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C20173_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20340,11 +20378,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P54279_mk(s); - s.tmp_3.arg0 = globals.screen___54353; + s.tmp_3 = helpers_imageFillRect__P19279_mk(s); + s.tmp_3.arg0 = globals.screen___19353; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20355,7 +20393,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardsTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardsTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 953; s.pc = 5; return s.tmp_5; } + else { s.callLocIdx = 957; s.pc = 5; return s.tmp_5; } } case 5: r0 = s.retval; @@ -20363,11 +20401,11 @@ switch (step) { r0 = (s.tmp_4 - 2); s.tmp_3.arg4 = r0; s.tmp_3.arg5 = 15; - s.callLocIdx = 954; s.pc = 4; return s.tmp_3; + s.callLocIdx = 958; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P54310_mk(s); - s.tmp_0.arg0 = globals.screen___54353; + s.tmp_0 = helpers_imagePrintCenter__P19310_mk(s); + s.tmp_0.arg0 = globals.screen___19353; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -20377,7 +20415,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["headerText"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["headerText"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 955; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 959; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; @@ -20393,16 +20431,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["headerFont"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["headerFont"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 956; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 960; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 957; s.pc = 6; return s.tmp_0; + s.callLocIdx = 961; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P54279_mk(s); - s.tmp_0.arg0 = globals.screen___54353; + s.tmp_0 = helpers_imageFillRect__P19279_mk(s); + s.tmp_0.arg0 = globals.screen___19353; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20413,16 +20451,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 958; s.pc = 10; return s.tmp_2; } + else { s.callLocIdx = 962; s.pc = 10; return s.tmp_2; } } case 10: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20433,7 +20471,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoTop"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoTop"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 959; s.pc = 11; return s.tmp_6; } + else { s.callLocIdx = 963; s.pc = 11; return s.tmp_6; } } case 11: r0 = s.retval; @@ -20443,11 +20481,11 @@ switch (step) { r0 = (s.tmp_3 + 6); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; - s.callLocIdx = 960; s.pc = 9; return s.tmp_0; + s.callLocIdx = 964; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P54279_mk(s); - s.tmp_0.arg0 = globals.screen___54353; + s.tmp_0 = helpers_imageFillRect__P19279_mk(s); + s.tmp_0.arg0 = globals.screen___19353; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -20457,7 +20495,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["padding"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["padding"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 961; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 965; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -20471,12 +20509,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 962; s.pc = 14; return s.tmp_2; } + else { s.callLocIdx = 966; s.pc = 14; return s.tmp_2; } } case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20487,7 +20525,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["padding"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["padding"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 963; s.pc = 15; return s.tmp_6; } + else { s.callLocIdx = 967; s.pc = 15; return s.tmp_6; } } case 15: r0 = s.retval; @@ -20506,7 +20544,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["infoFont"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["infoFont"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 964; s.pc = 17; return s.tmp_9; } + else { s.callLocIdx = 968; s.pc = 17; return s.tmp_9; } } case 17: r0 = s.retval; @@ -20517,7 +20555,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charHeight"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charHeight"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 965; s.pc = 16; return s.tmp_8; } + else { s.callLocIdx = 969; s.pc = 16; return s.tmp_8; } } case 16: r0 = s.retval; @@ -20525,11 +20563,11 @@ switch (step) { r0 = (s.tmp_7 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 966; s.pc = 12; return s.tmp_0; + s.callLocIdx = 970; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P54310_mk(s); - s.tmp_0.arg0 = globals.screen___54353; + s.tmp_0 = helpers_imagePrintCenter__P19310_mk(s); + s.tmp_0.arg0 = globals.screen___19353; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -20539,12 +20577,12 @@ switch (step) { s.tmp_1.arg0 = r0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "getText"), 1); - s.callLocIdx = 967; s.pc = 19; return s.tmp_1; + s.callLocIdx = 971; s.pc = 19; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["getText"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 967; s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 967; s.pc = 19; return s.tmp_1;; } - else { s.callLocIdx = 967; s.pc = 19; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 971; s.pc = 19; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 971; s.pc = 19; return s.tmp_1;; } + else { s.callLocIdx = 971; s.pc = 19; return s.tmp_1; } } case 19: r0 = s.retval; @@ -20558,7 +20596,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["infoTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["infoTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 968; s.pc = 20; return s.tmp_5; } + else { s.callLocIdx = 972; s.pc = 20; return s.tmp_5; } } case 20: r0 = s.retval; @@ -20575,12 +20613,12 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoFont"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoFont"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 969; s.pc = 21; return s.tmp_6; } + else { s.callLocIdx = 973; s.pc = 21; return s.tmp_6; } } case 21: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 970; s.pc = 18; return s.tmp_0; + s.callLocIdx = 974; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: @@ -20588,12 +20626,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P55175.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__P20178.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__P55175_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P20178_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P55175, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P20178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20612,7 +20650,7 @@ function scene_systemMenu_PauseMenu_drawText__P55175_mk(s) { -function helpers_imagePrintCenter__P54310(s) { +function helpers_imagePrintCenter__P19310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20622,8 +20660,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___65014 = undefined; - s.x___65020 = undefined; + s.w___30020 = undefined; + s.x___30026 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20638,7 +20676,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P54298_mk(s); + s.tmp_2 = image_getFontForText__P19298_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 93; s.pc = 3; return s.tmp_2; case 3: @@ -20662,17 +20700,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___65014 = (r0); + s.w___30020 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___65014); + r0 = (s.tmp_1 - s.w___30020); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___65020 = (r0); - s.tmp_0 = helpers_imagePrint__P54311_mk(s); + s.x___30026 = (r0); + s.tmp_0 = helpers_imagePrint__P19311_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___65020; + s.tmp_0.arg2 = s.x___30026; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -20684,18 +20722,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P54310.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__P19310.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__P54310_mk(s) { +function helpers_imagePrintCenter__P19310_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P54310, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P19310, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___65014: undefined, - x___65020: undefined, + w___30020: undefined, + x___30026: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20707,7 +20745,7 @@ function helpers_imagePrintCenter__P54310_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P55174(s) { +function scene_systemMenu_PauseMenu_setSelection__P20177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20723,7 +20761,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C55170_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C20173_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20743,7 +20781,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__P55168_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P20171_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -20751,7 +20789,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = 2; - s.callLocIdx = 950; s.pc = 10; return s.tmp_6; + s.callLocIdx = 954; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; case 3: @@ -20765,9 +20803,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C54454_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___54428; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C54454_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C19454_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___19428; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C19454_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: @@ -20782,7 +20820,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P55168_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P20171_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -20790,14 +20828,14 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 951; s.pc = 12; return s.tmp_6; + s.callLocIdx = 955; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P56789_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P21792_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 952; s.pc = 13; return s.tmp_0; + s.callLocIdx = 956; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 9: @@ -20805,12 +20843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P55174.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__P20177.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__P55174_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P20177_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P55174, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P20177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20829,7 +20867,7 @@ function scene_systemMenu_PauseMenu_setSelection__P55174_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P56789(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P21792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20839,13 +20877,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___65203 = undefined; + s.row___30209 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C55170_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C20173_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -20857,23 +20895,23 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["cardsPerRow"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 973; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 977; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___65203 = (r0); + s.row___30209 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___65203 === s.tmp_1); + r0 = (s.row___30209 === 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___65203 - 1); + r0 = (s.row___30209 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -20888,7 +20926,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___65203 > s.tmp_6); + r0 = (s.row___30209 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -20919,7 +20957,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardSpacing"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardSpacing"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 974; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 978; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; @@ -20933,7 +20971,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardWidth"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardWidth"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 975; s.pc = 10; return s.tmp_7; } + else { s.callLocIdx = 979; s.pc = 10; return s.tmp_7; } } case 10: r0 = s.retval; @@ -20948,12 +20986,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P56789.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__P21792.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__P56789_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P21792_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P56789, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P21792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20965,7 +21003,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P56789_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___65203: undefined, + row___30209: undefined, arg0: undefined, } } @@ -20973,7 +21011,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P56789_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P55173(s) { +function scene_systemMenu_PauseMenu_onUpdate__P20176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20983,22 +21021,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___65036 = undefined; - s.i___65040 = undefined; - s.dt___65069 = undefined; + s.t___30042 = undefined; + s.i___30046 = undefined; + s.dt___30075 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C55170_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C20173_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___65036 = (r0); - s.i___65040 = (0); + s.t___30042 = (r0); + s.i___30046 = (0); case 1: - s.tmp_1 = r0 = s.i___65040; + s.tmp_1 = r0 = s.i___30046; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -21007,13 +21045,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__P55166_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P20169_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___65040); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___30046); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___65036; - s.tmp_11 = r0 = s.i___65040; + s.tmp_8 = r0 = s.t___30042; + s.tmp_11 = r0 = s.i___30046; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -21023,7 +21061,7 @@ switch (step) { s.tmp_13.fn = s.tmp_13.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_13.fn == null) { s.retval = s.tmp_13.arg0.fields["cardsPerRow"]; } else if (!s.tmp_13.fn.isGetter) { s.retval = bind(s.tmp_13); } - else { s.callLocIdx = 943; s.pc = 11; return s.tmp_13; } + else { s.callLocIdx = 947; s.pc = 11; return s.tmp_13; } } case 11: r0 = s.retval; @@ -21038,15 +21076,15 @@ switch (step) { s.tmp_6 = r0; r0 = (2 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 944; s.pc = 10; return s.tmp_4; + s.callLocIdx = 948; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___65040 + 1); - s.i___65040 = (r0); + r0 = (s.i___30046 + 1); + s.i___30046 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P55080_mk(s); - s.callLocIdx = 945; s.pc = 12; return s.tmp_1; + s.tmp_1 = game_currentScene__P20083_mk(s); + s.callLocIdx = 949; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -21054,7 +21092,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___65069 = (r0); + s.dt___30075 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -21066,7 +21104,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___65069 * 100); + r0 = (s.dt___30075 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -21084,7 +21122,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___65069 * 100); + r0 = (s.dt___30075 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -21094,14 +21132,14 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P52674_mk(s); + s.tmp_2 = Math_abs__P17674_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2.arg0 = r0; - s.callLocIdx = 947; s.pc = 13; return s.tmp_2; + s.callLocIdx = 951; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -21114,16 +21152,16 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P54916_mk(s); - s.tmp_1 = game_currentScene__P55080_mk(s); - s.callLocIdx = 948; s.pc = 15; return s.tmp_1; + s.tmp_0 = scene_Camera_offsetY__P19919_mk(s); + s.tmp_1 = game_currentScene__P20083_mk(s); + s.callLocIdx = 952; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; r0 = r0.fields["camera"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["scrollOffset"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 949; s.pc = 14; return s.tmp_0; + s.callLocIdx = 953; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 9: @@ -21131,12 +21169,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P55173.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__P20176.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__P55173_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P20176_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P55173, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P20176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21152,9 +21190,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P55173_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___65036: undefined, - i___65040: undefined, - dt___65069: undefined, + t___30042: undefined, + i___30046: undefined, + dt___30075: undefined, arg0: undefined, } } @@ -21162,7 +21200,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P55173_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P55166(s) { +function scene_systemMenu_MenuOption_setOffset__P20169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21178,40 +21216,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C55162_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P54618_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C20165_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P19618_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; s.tmp_1 = r0; r0 = (s.tmp_1 + s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 886; s.pc = 1; return s.tmp_0; + s.callLocIdx = 890; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P54579_mk(s); + s.tmp_0 = Sprite_y__P19579_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P54578_mk(s); + s.tmp_1 = Sprite_y__P19578_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 887; s.pc = 3; return s.tmp_1; + s.callLocIdx = 891; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 888; s.pc = 2; return s.tmp_0; + s.callLocIdx = 892; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P55166.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__P20169.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__P55166_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P20169_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P55166, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P20169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21223,7 +21261,7 @@ function scene_systemMenu_MenuOption_setOffset__P55166_mk(s) { -function Sprite_top__P54618(s) { +function Sprite_top__P19618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21233,22 +21271,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___65145 = undefined; + s.physics___30151 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P55080_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 275; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___65145 = (r0); - s.tmp_0 = PhysicsEngine__C54710_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___65145; + s.physics___30151 = (r0); + s.tmp_0 = PhysicsEngine__C19710_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___30151; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -21259,7 +21297,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__C54710_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C19710_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: @@ -21268,18 +21306,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P54618.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__P19618.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__P54618_mk(s) { +function Sprite_top__P19618_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P54618, depth: s.depth + 1, + parent: s, fn: Sprite_top__P19618, 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___65145: undefined, + physics___30151: undefined, arg0: undefined, arg1: undefined, } } @@ -21288,7 +21326,7 @@ function Sprite_top__P54618_mk(s) { -function PhysicsEngine_moveSprite__P54714(s) { +function PhysicsEngine_moveSprite__P19714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21306,17 +21344,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C54710_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C19710_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P54714.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__P19714.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__P54714_mk(s) { +function PhysicsEngine_moveSprite__P19714_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P54714, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P19714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21328,7 +21366,7 @@ function PhysicsEngine_moveSprite__P54714_mk(s) { -function Sprite_top__P54617(s) { +function Sprite_top__P19617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21343,20 +21381,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54617.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__P54617.isGetter = true; +Sprite_top__P19617.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__P19617.isGetter = true; -function Sprite_top__P54617_mk(s) { +function Sprite_top__P19617_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P54617, depth: s.depth + 1, + parent: s, fn: Sprite_top__P19617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21366,7 +21404,7 @@ function Sprite_top__P54617_mk(s) { -function Sprite_y__P54579(s) { +function Sprite_y__P19579(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21382,8 +21420,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P54618_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P19618_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -21401,12 +21439,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P54579.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__P19579.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__P54579_mk(s) { +function Sprite_y__P19579_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P54579, depth: s.depth + 1, + parent: s, fn: Sprite_y__P19579, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21421,7 +21459,7 @@ function Sprite_y__P54579_mk(s) { -function scene_systemMenu_MenuOption_setState__P55168(s) { +function scene_systemMenu_MenuOption_setState__P20171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21437,7 +21475,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C55162_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C20165_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -21448,9 +21486,9 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P56788_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P21791_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 890; s.pc = 4; return s.tmp_0; + s.callLocIdx = 894; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -21458,12 +21496,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P55168.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__P20171.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__P55168_mk(s) { +function scene_systemMenu_MenuOption_setState__P20171_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P55168, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P20171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21475,7 +21513,7 @@ function scene_systemMenu_MenuOption_setState__P55168_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P56788(s) { +function scene_systemMenu_MenuOption_updateCard__P21791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21490,7 +21528,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C55162_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C20165_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -21513,7 +21551,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P54607_mk(s); + s.tmp_4 = Sprite_setImage__P19607_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -21525,17 +21563,17 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 893; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 897; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 894; s.pc = 8; return s.tmp_4; + s.callLocIdx = 898; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P54607_mk(s); + s.tmp_0 = Sprite_setImage__P19607_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -21547,17 +21585,17 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 895; s.pc = 11; return s.tmp_1; } + else { s.callLocIdx = 899; s.pc = 11; return s.tmp_1; } } case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 896; s.pc = 10; return s.tmp_0; + s.callLocIdx = 900; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P54607_mk(s); + s.tmp_0 = Sprite_setImage__P19607_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -21569,39 +21607,39 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 897; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 901; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 898; s.pc = 12; return s.tmp_0; + s.callLocIdx = 902; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P54577_mk(s); + s.tmp_0 = Sprite_x__P19577_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P54576_mk(s); + s.tmp_1 = Sprite_x__P19576_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 899; s.pc = 15; return s.tmp_1; + s.callLocIdx = 903; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 900; s.pc = 14; return s.tmp_0; + s.callLocIdx = 904; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P54579_mk(s); + s.tmp_0 = Sprite_y__P19579_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P54578_mk(s); + s.tmp_1 = Sprite_y__P19578_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 901; s.pc = 17; return s.tmp_1; + s.callLocIdx = 905; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 902; s.pc = 16; return s.tmp_0; + s.callLocIdx = 906; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 7: @@ -21609,12 +21647,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P56788.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__P21791.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__P56788_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P21791_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P56788, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P21791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21629,7 +21667,7 @@ function scene_systemMenu_MenuOption_updateCard__P56788_mk(s) { -function Sprite_x__P54577(s) { +function Sprite_x__P19577(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21645,8 +21683,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P54614_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P19614_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -21664,12 +21702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P54577.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__P19577.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__P54577_mk(s) { +function Sprite_x__P19577_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P54577, depth: s.depth + 1, + parent: s, fn: Sprite_x__P19577, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21684,7 +21722,7 @@ function Sprite_x__P54577_mk(s) { -function Sprite_left__P54614(s) { +function Sprite_left__P19614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21694,22 +21732,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___65411 = undefined; + s.physics___30417 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P55080_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 267; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___65411 = (r0); - s.tmp_0 = PhysicsEngine__C54710_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___65411; + s.physics___30417 = (r0); + s.tmp_0 = PhysicsEngine__C19710_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___30417; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21720,7 +21758,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__C54710_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C19710_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: @@ -21729,18 +21767,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P54614.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__P19614.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__P54614_mk(s) { +function Sprite_left__P19614_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P54614, depth: s.depth + 1, + parent: s, fn: Sprite_left__P19614, 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___65411: undefined, + physics___30417: undefined, arg0: undefined, arg1: undefined, } } @@ -21749,7 +21787,7 @@ function Sprite_left__P54614_mk(s) { -function Sprite_left__P54613(s) { +function Sprite_left__P19613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21764,20 +21802,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54613.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__P54613.isGetter = true; +Sprite_left__P19613.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__P19613.isGetter = true; -function Sprite_left__P54613_mk(s) { +function Sprite_left__P19613_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P54613, depth: s.depth + 1, + parent: s, fn: Sprite_left__P19613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21787,7 +21825,7 @@ function Sprite_left__P54613_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P55167(s) { +function scene_systemMenu_MenuOption_setTheme__P20170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21803,23 +21841,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C55162_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C20165_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P56788_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P21791_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 889; s.pc = 1; return s.tmp_0; + s.callLocIdx = 893; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P55167.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__P20170.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__P55167_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P20170_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P55167, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P20170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21830,7 +21868,7 @@ function scene_systemMenu_MenuOption_setTheme__P55167_mk(s) { -function scene_systemMenu_MenuOption_position__P55165(s) { +function scene_systemMenu_MenuOption_position__P20168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21847,58 +21885,58 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C55162_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C20165_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P54614_mk(s); + s.tmp_0 = Sprite_left__P19614_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 880; s.pc = 1; return s.tmp_0; + s.callLocIdx = 884; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P54618_mk(s); + s.tmp_0 = Sprite_top__P19618_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 881; s.pc = 2; return s.tmp_0; + s.callLocIdx = 885; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P54577_mk(s); + s.tmp_0 = Sprite_x__P19577_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P54576_mk(s); + s.tmp_1 = Sprite_x__P19576_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 882; s.pc = 4; return s.tmp_1; + s.callLocIdx = 886; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 883; s.pc = 3; return s.tmp_0; + s.callLocIdx = 887; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P54579_mk(s); + s.tmp_0 = Sprite_y__P19579_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P54578_mk(s); + s.tmp_1 = Sprite_y__P19578_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 884; s.pc = 6; return s.tmp_1; + s.callLocIdx = 888; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 885; s.pc = 5; return s.tmp_0; + s.callLocIdx = 889; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P55165.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__P20168.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__P55165_mk(s) { +function scene_systemMenu_MenuOption_position__P20168_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P55165, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P20168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21911,7 +21949,7 @@ function scene_systemMenu_MenuOption_position__P55165_mk(s) { -function scene_systemMenu_MenuOption_show__P55164(s) { +function scene_systemMenu_MenuOption_show__P20167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21926,7 +21964,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C55162_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C20165_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -21940,21 +21978,21 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["basicCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["basicCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 875; s.pc = 3; return s.tmp_1; } + else { s.callLocIdx = 879; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___55186; + r0 = globals.CARD_NORMAL___20189; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P54525_mk(s); + s.tmp_5 = sprites_create__P19525_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; - s.callLocIdx = 876; s.pc = 4; return s.tmp_5; + s.callLocIdx = 880; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -21969,16 +22007,16 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 877; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 881; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P54525_mk(s); + s.tmp_2 = sprites_create__P19525_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; - s.callLocIdx = 878; s.pc = 6; return s.tmp_2; + s.callLocIdx = 882; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -21993,7 +22031,7 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 879; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 883; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -22002,12 +22040,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P55164.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__P20167.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__P55164_mk(s) { +function scene_systemMenu_MenuOption_show__P20167_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P55164, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P20167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22022,7 +22060,7 @@ function scene_systemMenu_MenuOption_show__P55164_mk(s) { -function sprites_create__P54525(s) { +function sprites_create__P19525(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22032,51 +22070,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___61508 = undefined; - s.sprite___61511 = undefined; + s.scene___26511 = undefined; + s.sprite___26514 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P55080_mk(s); + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 211; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___61508 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C54567_VT); + s.scene___26511 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C19567_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P54604_mk(s); + s.tmp_1 = Sprite_constructor__P19604_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 212; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___61511 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P54622_mk(s); - s.tmp_0.arg0 = s.sprite___61511; + s.sprite___26514 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P19622_mk(s); + s.tmp_0.arg0 = s.sprite___26514; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 213; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C54710_v0_2_mk(s); - r0 = s.scene___61508.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C19710_v0_2_mk(s); + r0 = s.scene___26511.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___61511; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C54710_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___26514; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C19710_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__P61526); + r0 = pxsim_pxtcore_mkAction(1, inline__P26529); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P61532); + r0 = pxsim_pxtcore_mkAction(1, inline__P26535); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___61511); - s.tmp_2 = helpers_arrayForEach__P52658_mk(s); - s.tmp_3 = helpers_arrayFilter__P52659_mk(s); - r0 = s.scene___61508.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___26514); + s.tmp_2 = helpers_arrayForEach__P17658_mk(s); + s.tmp_3 = helpers_arrayFilter__P17659_mk(s); + r0 = s.scene___26511.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 214; s.pc = 6; return s.tmp_3; @@ -22087,23 +22125,23 @@ switch (step) { s.callLocIdx = 216; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___61511; + r0 = s.sprite___26514; return leave(s, r0) default: oops() } } } -sprites_create__P54525.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__P19525.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__P54525_mk(s) { +function sprites_create__P19525_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P54525, depth: s.depth + 1, + parent: s, fn: sprites_create__P19525, 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___61508: undefined, - sprite___61511: undefined, + scene___26511: undefined, + sprite___26514: undefined, arg0: undefined, arg1: undefined, } } @@ -22112,7 +22150,7 @@ function sprites_create__P54525_mk(s) { -function inline__P61526(s) { +function inline__P26529(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22132,12 +22170,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61526.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P26529.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__P61526_mk(s) { +function inline__P26529_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61526, depth: s.depth + 1, + parent: s, fn: inline__P26529, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22147,7 +22185,7 @@ function inline__P61526_mk(s) { -function inline__P61532(s) { +function inline__P26535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22179,12 +22217,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P61532.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P26535.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__P61532_mk(s) { +function inline__P26535_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P61532, depth: s.depth + 1, + parent: s, fn: inline__P26535, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22194,7 +22232,7 @@ function inline__P61532_mk(s) { -function PhysicsEngine_addSprite__P54712(s) { +function PhysicsEngine_addSprite__P19712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22210,17 +22248,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C54710_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C19710_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P54712.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__P19712.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__P54712_mk(s) { +function PhysicsEngine_addSprite__P19712_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P54712, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P19712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22230,7 +22268,7 @@ function PhysicsEngine_addSprite__P54712_mk(s) { -function Sprite_setKind__P54622(s) { +function Sprite_setKind__P19622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22240,15 +22278,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___61216 = undefined; - s.overlapMap___61245 = undefined; + s.spritesByKind___26219 = undefined; + s.overlapMap___26248 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -22267,12 +22305,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P55080_mk(s); + s.tmp_3 = game_currentScene__P20083_mk(s); s.callLocIdx = 282; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___61216 = (r0); + s.spritesByKind___26219 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -22284,16 +22322,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___61216, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___26219, 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__P54669_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P19669_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___61216, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___26219, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 283; s.pc = 17; return s.tmp_4; @@ -22305,7 +22343,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___61216, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___26219, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -22313,18 +22351,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__C54662_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C19662_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P54664_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P19664_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 284; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___61216, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___26219, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P54667_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___61216, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P19667_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___26219, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 285; s.pc = 19; return s.tmp_0; @@ -22332,13 +22370,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P55080_mk(s); + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 286; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___61245 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___61245, s.arg1); + s.overlapMap___26248 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___26248, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22346,7 +22384,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___61245; + s.tmp_3 = r0 = s.overlapMap___26248; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -22354,7 +22392,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___61245, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___26248, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -22363,12 +22401,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P54622.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__P19622.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__P54622_mk(s) { +function Sprite_setKind__P19622_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P54622, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P19622, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22376,8 +22414,8 @@ function Sprite_setKind__P54622_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___61216: undefined, - overlapMap___61245: undefined, + spritesByKind___26219: undefined, + overlapMap___26248: undefined, arg0: undefined, arg1: undefined, } } @@ -22386,7 +22424,7 @@ function Sprite_setKind__P54622_mk(s) { -function sprites_SpriteSet_add__P54667(s) { +function sprites_SpriteSet_add__P19667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22402,7 +22440,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C54662_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C19662_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -22433,12 +22471,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P54667.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__P19667.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__P54667_mk(s) { +function sprites_SpriteSet_add__P19667_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P54667, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P19667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22454,7 +22492,7 @@ function sprites_SpriteSet_add__P54667_mk(s) { -function sprites_SpriteSet_contains__P54670(s) { +function sprites_SpriteSet_contains__P19670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22470,7 +22508,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C54662_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C19662_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -22479,12 +22517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P54670.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__P19670.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__P54670_mk(s) { +function sprites_SpriteSet_contains__P19670_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P54670, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P19670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22496,7 +22534,7 @@ function sprites_SpriteSet_contains__P54670_mk(s) { -function sprites_SpriteSet_constructor__P54664(s) { +function sprites_SpriteSet_constructor__P19664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22511,7 +22549,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C54662_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C19662_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -22520,12 +22558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P54664.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__P19664.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__P54664_mk(s) { +function sprites_SpriteSet_constructor__P19664_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P54664, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P19664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22536,7 +22574,7 @@ function sprites_SpriteSet_constructor__P54664_mk(s) { -function Sprite_constructor__P54604(s) { +function Sprite_constructor__P19604(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22552,15 +22590,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P54411_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P19411_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 237; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -22574,7 +22612,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___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -22593,50 +22631,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__P54581_mk(s); + s.tmp_0 = Sprite_vx__P19581_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 240; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P54583_mk(s); + s.tmp_0 = Sprite_vy__P19583_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 241; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P54585_mk(s); + s.tmp_0 = Sprite_ax__P19585_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 242; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P54587_mk(s); + s.tmp_0 = Sprite_ay__P19587_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 243; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P54589_mk(s); + s.tmp_0 = Sprite_fx__P19589_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 244; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P54591_mk(s); + s.tmp_0 = Sprite_fy__P19591_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 245; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P54607_mk(s); + s.tmp_0 = Sprite_setImage__P19607_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 246; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P54622_mk(s); + s.tmp_0 = Sprite_setKind__P19622_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 247; s.pc = 9; return s.tmp_0; @@ -22656,12 +22694,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P54604.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__P19604.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__P54604_mk(s) { +function Sprite_constructor__P19604_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P54604, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P19604, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22678,7 +22716,7 @@ function Sprite_constructor__P54604_mk(s) { -function Sprite_fy__P54591(s) { +function Sprite_fy__P19591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22694,9 +22732,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P52676_mk(s); + s.tmp_3 = Math_max__P17676_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 235; s.pc = 1; return s.tmp_3; @@ -22712,12 +22750,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P54591.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__P19591.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__P54591_mk(s) { +function Sprite_fy__P19591_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P54591, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P19591, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22732,7 +22770,7 @@ function Sprite_fy__P54591_mk(s) { -function Sprite_fy__P54590(s) { +function Sprite_fy__P19590(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22747,20 +22785,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54590.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__P54590.isGetter = true; +Sprite_fy__P19590.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__P19590.isGetter = true; -function Sprite_fy__P54590_mk(s) { +function Sprite_fy__P19590_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P54590, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P19590, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22770,7 +22808,7 @@ function Sprite_fy__P54590_mk(s) { -function Sprite_fx__P54589(s) { +function Sprite_fx__P19589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22786,9 +22824,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P52676_mk(s); + s.tmp_3 = Math_max__P17676_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 232; s.pc = 1; return s.tmp_3; @@ -22804,12 +22842,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P54589.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__P19589.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__P54589_mk(s) { +function Sprite_fx__P19589_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P54589, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P19589, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22824,7 +22862,7 @@ function Sprite_fx__P54589_mk(s) { -function Sprite_fx__P54588(s) { +function Sprite_fx__P19588(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22839,20 +22877,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54588.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__P54588.isGetter = true; +Sprite_fx__P19588.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__P19588.isGetter = true; -function Sprite_fx__P54588_mk(s) { +function Sprite_fx__P19588_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P54588, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P19588, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22862,7 +22900,7 @@ function Sprite_fx__P54588_mk(s) { -function Sprite_ay__P54587(s) { +function Sprite_ay__P19587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22878,7 +22916,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -22889,12 +22927,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P54587.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__P19587.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__P54587_mk(s) { +function Sprite_ay__P19587_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P54587, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P19587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22907,7 +22945,7 @@ function Sprite_ay__P54587_mk(s) { -function Sprite_ay__P54586(s) { +function Sprite_ay__P19586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22922,20 +22960,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54586.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__P54586.isGetter = true; +Sprite_ay__P19586.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__P19586.isGetter = true; -function Sprite_ay__P54586_mk(s) { +function Sprite_ay__P19586_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P54586, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P19586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22945,7 +22983,7 @@ function Sprite_ay__P54586_mk(s) { -function Sprite_ax__P54585(s) { +function Sprite_ax__P19585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22961,7 +22999,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -22972,12 +23010,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P54585.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__P19585.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__P54585_mk(s) { +function Sprite_ax__P19585_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P54585, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P19585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22990,7 +23028,7 @@ function Sprite_ax__P54585_mk(s) { -function Sprite_ax__P54584(s) { +function Sprite_ax__P19584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23005,20 +23043,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54584.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__P54584.isGetter = true; +Sprite_ax__P19584.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__P19584.isGetter = true; -function Sprite_ax__P54584_mk(s) { +function Sprite_ax__P19584_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P54584, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P19584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23028,7 +23066,7 @@ function Sprite_ax__P54584_mk(s) { -function Sprite_vy__P54583(s) { +function Sprite_vy__P19583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23044,7 +23082,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -23055,12 +23093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P54583.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__P19583.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__P54583_mk(s) { +function Sprite_vy__P19583_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P54583, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P19583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23073,7 +23111,7 @@ function Sprite_vy__P54583_mk(s) { -function Sprite_vy__P54582(s) { +function Sprite_vy__P19582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23088,20 +23126,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54582.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__P54582.isGetter = true; +Sprite_vy__P19582.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__P19582.isGetter = true; -function Sprite_vy__P54582_mk(s) { +function Sprite_vy__P19582_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P54582, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P19582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23111,7 +23149,7 @@ function Sprite_vy__P54582_mk(s) { -function Sprite_vx__P54581(s) { +function Sprite_vx__P19581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23127,7 +23165,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -23138,12 +23176,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P54581.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__P19581.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__P54581_mk(s) { +function Sprite_vx__P19581_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P54581, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P19581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23156,7 +23194,7 @@ function Sprite_vx__P54581_mk(s) { -function Sprite_vx__P54580(s) { +function Sprite_vx__P19580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23171,20 +23209,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54580.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__P54580.isGetter = true; +Sprite_vx__P19580.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__P19580.isGetter = true; -function Sprite_vx__P54580_mk(s) { +function Sprite_vx__P19580_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P54580, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P19580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23194,7 +23232,7 @@ function Sprite_vx__P54580_mk(s) { -function game_onShade__P55095(s) { +function game_onShade__P20098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23208,9 +23246,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P56542_mk(s); + s.tmp_0 = game_init__P21545_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 871; s.pc = 4; return s.tmp_0; + s.callLocIdx = 875; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -23222,11 +23260,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P54931_mk(s); + s.tmp_2 = scene_createRenderable__P19934_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 872; s.pc = 5; return s.tmp_2; + s.callLocIdx = 876; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -23234,12 +23272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P55095.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__P20098.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__P55095_mk(s) { +function game_onShade__P20098_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P55095, depth: s.depth + 1, + parent: s, fn: game_onShade__P20098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23251,7 +23289,7 @@ function game_onShade__P55095_mk(s) { -function scene_createRenderable__P54931(s) { +function scene_createRenderable__P19934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23261,14 +23299,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___59998 = undefined; + s.renderable___25001 = 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__C54926_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C19929_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -23276,35 +23314,35 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P60004; + r0 = inline__P25007; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P54927_mk(s); + s.tmp_3 = scene_Renderable_constructor__P19930_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = s.arg0; - s.callLocIdx = 804; s.pc = 3; return s.tmp_3; + s.callLocIdx = 808; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___59998 = (s.tmp_0); - r0 = s.renderable___59998; + s.renderable___25001 = (s.tmp_0); + r0 = s.renderable___25001; return leave(s, r0) default: oops() } } } -scene_createRenderable__P54931.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__P19934.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__P54931_mk(s) { +function scene_createRenderable__P19934_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P54931, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P19934, 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___59998: undefined, + renderable___25001: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23314,7 +23352,7 @@ function scene_createRenderable__P54931_mk(s) { -function inline__P60004(s) { +function inline__P25007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23328,12 +23366,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P60004.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P25007.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P60004_mk(s) { +function inline__P25007_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P60004, depth: s.depth + 1, + parent: s, fn: inline__P25007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -23341,7 +23379,7 @@ function inline__P60004_mk(s) { -function scene_Renderable_constructor__P54927(s) { +function scene_Renderable_constructor__P19930(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23359,25 +23397,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C54926_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C19929_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P54411_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P19411_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 801; s.pc = 1; return s.tmp_0; + s.callLocIdx = 805; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P54927.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__P19930.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__P54927_mk(s) { +function scene_Renderable_constructor__P19930_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P54927, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P19930, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23390,7 +23428,7 @@ function scene_Renderable_constructor__P54927_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P55171(s) { +function scene_systemMenu_PauseMenu_constructor__P20174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23407,7 +23445,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C55170_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C20173_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -23415,13 +23453,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P55179_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___55186); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P20182_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___20189); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = undefined; - s.callLocIdx = 903; s.pc = 3; return s.tmp_1; + s.callLocIdx = 907; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -23435,12 +23473,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P55171.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__P20174.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__P55171_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P20174_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P55171, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P20174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23454,7 +23492,7 @@ function scene_systemMenu_PauseMenu_constructor__P55171_mk(s) { -function scene_systemMenu_buildMenuTheme__P55179(s) { +function scene_systemMenu_buildMenuTheme__P20182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23464,7 +23502,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___66250 = undefined; + s.cardsPerRow___31261 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23472,19 +23510,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); 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___66250 = (r0); + s.cardsPerRow___31261 = (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___54296; + r0 = globals.font8___19296; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -23495,9 +23533,9 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P54299_mk(s); + s.tmp_1 = image_doubledFont__P19299_mk(s); s.tmp_1.arg0 = s.arg2; - s.callLocIdx = 1012; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1017; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 4: @@ -23508,12 +23546,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___66250); - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___31261); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_3 = r0; - r0 = (s.cardsPerRow___66250 * s.arg0); + r0 = (s.cardsPerRow___31261 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___66250 - 1); + r0 = (s.cardsPerRow___31261 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -23534,7 +23572,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charHeight"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charHeight"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 1013; s.pc = 6; return s.tmp_11; } + else { s.callLocIdx = 1018; s.pc = 6; return s.tmp_11; } } case 6: r0 = s.retval; @@ -23544,7 +23582,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___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -23554,7 +23592,7 @@ switch (step) { s.tmp_16.fn = s.tmp_16.arg0.vtable.iface["charHeight"]; if (s.tmp_16.fn == null) { s.retval = s.tmp_16.arg0.fields["charHeight"]; } else if (!s.tmp_16.fn.isGetter) { s.retval = bind(s.tmp_16); } - else { s.callLocIdx = 1014; s.pc = 7; return s.tmp_16; } + else { s.callLocIdx = 1019; s.pc = 7; return s.tmp_16; } } case 7: r0 = s.retval; @@ -23565,19 +23603,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___55187); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___55188); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___55186); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___20190); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___20191); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___20189); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P55179.info = {"start":11539,"length":906,"line":353,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} +scene_systemMenu_buildMenuTheme__P20182.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__P55179_mk(s) { +function scene_systemMenu_buildMenuTheme__P20182_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P55179, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P20182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23596,7 +23634,7 @@ function scene_systemMenu_buildMenuTheme__P55179_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___66250: undefined, + cardsPerRow___31261: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23607,7 +23645,7 @@ function scene_systemMenu_buildMenuTheme__P55179_mk(s) { -function image_doubledFont__P54299(s) { +function image_doubledFont__P19299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23621,7 +23659,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P54300_mk(s); + s.tmp_0 = image_scaledFont__P19300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 87; s.pc = 1; return s.tmp_0; @@ -23630,12 +23668,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P54299.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__P19299.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__P54299_mk(s) { +function image_doubledFont__P19299_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P54299, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P19299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23645,7 +23683,7 @@ function image_doubledFont__P54299_mk(s) { -function image_scaledFont__P54300(s) { +function image_scaledFont__P19300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23760,12 +23798,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P54300.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__P19300.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__P54300_mk(s) { +function image_scaledFont__P19300_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P54300, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P19300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23791,7 +23829,7 @@ function image_scaledFont__P54300_mk(s) { -function game_pushScene__P55084(s) { +function game_pushScene__P20087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23801,45 +23839,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___66329 = undefined; - s.tmp_0 = game_currentScene__P55080_mk(s); - s.callLocIdx = 850; s.pc = 5; return s.tmp_0; + s.oldScene___31340 = undefined; + s.tmp_0 = game_currentScene__P20083_mk(s); + s.callLocIdx = 854; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___66329 = (r0); - s.tmp_0 = particles_clearAll__P55256_mk(s); - s.callLocIdx = 851; s.pc = 6; return s.tmp_0; + s.oldScene___31340 = (r0); + s.tmp_0 = particles_clearAll__P20259_mk(s); + s.callLocIdx = 855; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P55257_mk(s); - s.callLocIdx = 852; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_disableAll__P20260_mk(s); + s.callLocIdx = 856; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___56535); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___21538); 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___56535 = (r0); + globals._sceneStack___21538 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___56535, globals._scene___56534); - s.tmp_0 = game_init__P56542_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___21538, globals._scene___21537); + s.tmp_0 = game_init__P21545_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 853; s.pc = 8; return s.tmp_0; + s.callLocIdx = 857; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___56536); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___21539); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P66346); + r0 = pxsim_pxtcore_mkAction(1, inline__P31357); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___66329); - s.tmp_1 = helpers_arrayForEach__P52658_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___56536; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___31340); + s.tmp_1 = helpers_arrayForEach__P17658_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___21539; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 855; s.pc = 9; return s.tmp_1; + s.callLocIdx = 859; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -23848,23 +23886,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P55084.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P20087.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__P55084_mk(s) { +function game_pushScene__P20087_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P55084, depth: s.depth + 1, + parent: s, fn: game_pushScene__P20087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___66329: undefined, + oldScene___31340: undefined, } } -function inline__P66346(s) { +function inline__P31357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23882,19 +23920,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 854; s.pc = 1; return s.tmp_0; + s.callLocIdx = 858; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P66346.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P31357.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__P66346_mk(s) { +function inline__P31357_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P66346, depth: s.depth + 1, + parent: s, fn: inline__P31357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23904,7 +23942,7 @@ function inline__P66346_mk(s) { -function particles_disableAll__P55257(s) { +function particles_disableAll__P20260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23914,22 +23952,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___66350 = undefined; - s.tmp_0 = particles_particleSources__P56898_mk(s); - s.callLocIdx = 1095; s.pc = 3; return s.tmp_0; + s.sources___31361 = undefined; + s.tmp_0 = particles_particleSources__P21901_mk(s); + s.callLocIdx = 1100; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___66350 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___66350); + s.sources___31361 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___31361); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P52658_mk(s); - s.tmp_0.arg0 = s.sources___66350; - s.tmp_0.arg1 = inline__P66356; - s.callLocIdx = 1097; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P17658_mk(s); + s.tmp_0.arg0 = s.sources___31361; + s.tmp_0.arg1 = inline__P31367; + s.callLocIdx = 1102; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P56894_mk(s); - s.callLocIdx = 1098; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P21897_mk(s); + s.callLocIdx = 1103; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -23938,22 +23976,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P55257.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P20260.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__P55257_mk(s) { +function particles_disableAll__P20260_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P55257, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P20260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___66350: undefined, + sources___31361: undefined, } } -function inline__P66356(s) { +function inline__P31367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23967,22 +24005,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P55239_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P20242_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1096; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1101; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = false; return leave(s, r0) default: oops() } } } -inline__P66356.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P31367.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__P66356_mk(s) { +function inline__P31367_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P66356, depth: s.depth + 1, + parent: s, fn: inline__P31367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23992,7 +24030,7 @@ function inline__P66356_mk(s) { -function particles_clearAll__P55256(s) { +function particles_clearAll__P20259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24002,22 +24040,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___66361 = undefined; - s.tmp_0 = particles_particleSources__P56898_mk(s); - s.callLocIdx = 1091; s.pc = 3; return s.tmp_0; + s.sources___31372 = undefined; + s.tmp_0 = particles_particleSources__P21901_mk(s); + s.callLocIdx = 1096; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___66361 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___66361); + s.sources___31372 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___31372); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P52658_mk(s); - s.tmp_0.arg0 = s.sources___66361; - s.tmp_0.arg1 = inline__P66367; - s.callLocIdx = 1093; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P17658_mk(s); + s.tmp_0.arg0 = s.sources___31372; + s.tmp_0.arg1 = inline__P31378; + s.callLocIdx = 1098; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P56894_mk(s); - s.callLocIdx = 1094; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P21897_mk(s); + s.callLocIdx = 1099; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -24026,22 +24064,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P55256.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P20259.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__P55256_mk(s) { +function particles_clearAll__P20259_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P55256, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P20259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___66361: undefined, + sources___31372: undefined, } } -function inline__P66367(s) { +function inline__P31378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24055,21 +24093,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P55241_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P20244_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1092; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1097; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P66367.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P31378.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__P66367_mk(s) { +function inline__P31378_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P66367, depth: s.depth + 1, + parent: s, fn: inline__P31378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24079,7 +24117,7 @@ function inline__P66367_mk(s) { -function controller_Button_onEvent__P54461(s) { +function controller_Button_onEvent__P19461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24096,8 +24134,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C54454_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P52931_mk(s); + if (!checkSubtype(r0, controller_Button__C19454_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P17931_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -24110,12 +24148,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P54461.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__P19461.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__P54461_mk(s) { +function controller_Button_onEvent__P19461_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P54461, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P19461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24127,7 +24165,7 @@ function controller_Button_onEvent__P54461_mk(s) { -function scene_systemMenu_initScreen__P56801(s) { +function scene_systemMenu_initScreen__P21804(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24137,21 +24175,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___66381 = undefined; - s.tmp_0 = settings_readNumber__P54384_mk(s); + s.brightness___31392 = undefined; + s.tmp_0 = settings_readNumber__P19384_mk(s); s.tmp_0.arg0 = "#brightness"; - s.callLocIdx = 1021; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1026; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___66381 = (r0); - r0 = (s.brightness___66381 !== undefined); + s.brightness___31392 = (r0); + r0 = (s.brightness___31392 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P54286_mk(s); - s.tmp_1.arg0 = globals.screen___54353; - s.tmp_1.arg1 = s.brightness___66381; - s.callLocIdx = 1022; s.pc = 4; return s.tmp_1; + s.tmp_1 = helpers_setScreenBrightness__P19286_mk(s); + s.tmp_1.arg0 = globals.screen___19353; + s.tmp_1.arg1 = s.brightness___31392; + s.callLocIdx = 1027; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -24160,23 +24198,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P56801.info = {"start":13273,"length":175,"line":402,"column":4,"endLine":406,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initScreen","argumentNames":[]} +scene_systemMenu_initScreen__P21804.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__P56801_mk(s) { +function scene_systemMenu_initScreen__P21804_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P56801, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P21804, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___66381: undefined, + brightness___31392: undefined, } } -function settings_readNumber__P54384(s) { +function settings_readNumber__P19384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24186,15 +24224,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___66392 = undefined; - s.nums___66399 = undefined; + s.buf___31403 = undefined; + s.nums___31410 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___66392 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___66392); + s.buf___31403 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___31403); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24204,20 +24242,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P52727_mk(s); - s.tmp_2.arg0 = s.buf___66392; + s.tmp_2 = msgpack_unpackNumberArray__P17727_mk(s); + s.tmp_2.arg0 = s.buf___31403; s.tmp_2.arg1 = 0; s.callLocIdx = 125; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___66399 = (r0); - s.tmp_0 = r0 = s.nums___66399; + s.nums___31410 = (r0); + s.tmp_0 = r0 = s.nums___31410; 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___66399); + r0 = pxsim_Array__length(s.nums___31410); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -24225,7 +24263,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___66399, 0); + r0 = pxsim_Array__getAt(s.nums___31410, 0); { step = 7; continue; } case 4: case 5: @@ -24237,18 +24275,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P54384.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__P19384.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__P54384_mk(s) { +function settings_readNumber__P19384_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P54384, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P19384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___66392: undefined, - nums___66399: undefined, + buf___31403: undefined, + nums___31410: undefined, arg0: undefined, } } @@ -24256,7 +24294,7 @@ function settings_readNumber__P54384_mk(s) { -function settings_readBuffer__P54382(s) { +function settings_readBuffer__P19382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24274,12 +24312,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P54382.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__P19382.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__P54382_mk(s) { +function settings_readBuffer__P19382_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P54382, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P19382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -24288,7 +24326,7 @@ function settings_readBuffer__P54382_mk(s) { -function msgpack_unpackNumberArray__P52727(s) { +function msgpack_unpackNumberArray__P17727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24298,16 +24336,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___66412 = undefined; - s.fmt___66419 = undefined; - s.v___66428 = undefined; + s.res___31423 = undefined; + s.fmt___31430 = undefined; + s.v___31439 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___66412 = (r0); + s.res___31423 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -24319,14 +24357,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P56158_mk(s); + s.tmp_4 = msgpack_tagFormat__P21161_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 19; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___66419 = (r0); - r0 = (s.fmt___66419 === null); + s.fmt___31430 = (r0); + r0 = (s.fmt___31430 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -24334,21 +24372,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___66428 = (r0); - r0 = (-31 <= s.v___66428); + s.v___31439 = (r0); + r0 = (-31 <= s.v___31439); 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___66428 <= 127); + r0 = (s.v___31439 <= 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___66412, s.v___66428); + r0 = pxsim_Array__push(s.res___31423, s.v___31439); { step = 5; continue; } case 4: r0 = null; @@ -24356,13 +24394,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___66412; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___66419, s.arg1); + s.tmp_0 = r0 = s.res___31423; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___31430, 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__P52719_mk(s); - s.tmp_2.arg0 = s.fmt___66419; + s.tmp_2 = pins_sizeOf__P17719_mk(s); + s.tmp_2.arg0 = s.fmt___31430; s.callLocIdx = 20; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -24383,26 +24421,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___66412; + r0 = s.res___31423; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P52727.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__P17727.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__P52727_mk(s) { +function msgpack_unpackNumberArray__P17727_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P52727, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P17727, 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___66412: undefined, - fmt___66419: undefined, - v___66428: undefined, + res___31423: undefined, + fmt___31430: undefined, + v___31439: undefined, arg0: undefined, arg1: undefined, } } @@ -24411,7 +24449,7 @@ function msgpack_unpackNumberArray__P52727_mk(s) { -function scene_systemMenu_initVolume__P56800(s) { +function scene_systemMenu_initVolume__P21803(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24421,20 +24459,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___66473 = undefined; - s.tmp_0 = settings_readNumber__P54384_mk(s); + s.vol___31484 = undefined; + s.tmp_0 = settings_readNumber__P19384_mk(s); s.tmp_0.arg0 = "#volume"; - s.callLocIdx = 1019; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1024; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___66473 = (r0); - r0 = (s.vol___66473 !== undefined); + s.vol___31484 = (r0); + r0 = (s.vol___31484 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P54143_mk(s); - s.tmp_1.arg0 = s.vol___66473; - s.callLocIdx = 1020; s.pc = 4; return s.tmp_1; + s.tmp_1 = music_setVolume__P19143_mk(s); + s.tmp_1.arg0 = s.vol___31484; + s.callLocIdx = 1025; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -24443,23 +24481,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P56800.info = {"start":13123,"length":144,"line":396,"column":4,"endLine":400,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} +scene_systemMenu_initVolume__P21803.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__P56800_mk(s) { +function scene_systemMenu_initVolume__P21803_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P56800, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P21803, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___66473: undefined, + vol___31484: undefined, } } -function game_currentScene__P55080(s) { +function game_currentScene__P20083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24469,21 +24507,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P56542_mk(s); + s.tmp_0 = game_init__P21545_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 845; s.pc = 1; return s.tmp_0; + s.callLocIdx = 849; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___56534; + r0 = globals._scene___21537; return leave(s, r0) default: oops() } } } -game_currentScene__P55080.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P20083.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__P55080_mk(s) { +function game_currentScene__P20083_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P55080, depth: s.depth + 1, + parent: s, fn: game_currentScene__P20083, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24492,7 +24530,7 @@ function game_currentScene__P55080_mk(s) { -function game_addScenePopHandler__P55099(s) { +function game_addScenePopHandler__P20102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24506,35 +24544,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___56537); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___21540); 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___56537 = (r0); + globals._scenePopHandlers___21540 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___56537, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___21540, 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___56537, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___21540, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P55099.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__P20102.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__P55099_mk(s) { +function game_addScenePopHandler__P20102_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P55099, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P20102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24545,7 +24583,7 @@ function game_addScenePopHandler__P55099_mk(s) { -function game_addScenePushHandler__P55097(s) { +function game_addScenePushHandler__P20100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24559,35 +24597,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___56536); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___21539); 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___56536 = (r0); + globals._scenePushHandlers___21539 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___56536, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___21539, 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___56536, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___21539, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P55097.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__P20100.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__P55097_mk(s) { +function game_addScenePushHandler__P20100_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P55097, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P20100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24598,7 +24636,7 @@ function game_addScenePushHandler__P55097_mk(s) { -function Fx8__P52695(s) { +function Fx8__P17695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24618,12 +24656,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P52695.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P17695.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__P52695_mk(s) { +function Fx8__P17695_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P52695, depth: s.depth + 1, + parent: s, fn: Fx8__P17695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24633,7 +24671,7 @@ function Fx8__P52695_mk(s) { -function SpriteKind_create__P54678(s) { +function SpriteKind_create__P19678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24643,26 +24681,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___56387 === undefined); + r0 = (globals.nextKind___21390 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___56387 = (1000); + globals.nextKind___21390 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___56387; + s.tmp_0 = r0 = globals.nextKind___21390; r0 = (s.tmp_0 + 1); - globals.nextKind___56387 = (r0); + globals.nextKind___21390 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P54678.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P19678.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__P54678_mk(s) { +function SpriteKind_create__P19678_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P54678, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P19678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24671,7 +24709,7 @@ function SpriteKind_create__P54678_mk(s) { -function controller_Button_constructor__P54460(s) { +function controller_Button_constructor__P19460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24688,7 +24726,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C54454_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C19454_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -24698,13 +24736,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__P66549); + r0 = pxsim_pxtcore_mkAction(1, inline__P31560); 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__P66556); + r0 = pxsim_pxtcore_mkAction(1, inline__P31567); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -24723,12 +24761,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P54460.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__P19460.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__P54460_mk(s) { +function controller_Button_constructor__P19460_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P54460, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P19460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24742,7 +24780,7 @@ function controller_Button_constructor__P54460_mk(s) { -function inline__P66549(s) { +function inline__P31560(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24752,7 +24790,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P54465_mk(s); + s.tmp_0 = controller_Button_setPressed__P19465_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 137; s.pc = 1; return s.tmp_0; @@ -24762,12 +24800,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P66549.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P31560.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P66549_mk(s) { +function inline__P31560_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P66549, depth: s.depth + 1, + parent: s, fn: inline__P31560, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24776,7 +24814,7 @@ function inline__P66549_mk(s) { -function inline__P66556(s) { +function inline__P31567(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24786,7 +24824,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P54465_mk(s); + s.tmp_0 = controller_Button_setPressed__P19465_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 138; s.pc = 1; return s.tmp_0; @@ -24796,12 +24834,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P66556.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P31567.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P66556_mk(s) { +function inline__P31567_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P66556, depth: s.depth + 1, + parent: s, fn: inline__P31567, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24810,7 +24848,7 @@ function inline__P66556_mk(s) { -function controller_setupButton__P56369(s) { +function controller_setupButton__P21372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24829,12 +24867,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P56369.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__P21372.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__P56369_mk(s) { +function controller_setupButton__P21372_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P56369, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P21372, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24844,7 +24882,7 @@ function controller_setupButton__P56369_mk(s) { -function controller_Button_setPressed__P54465(s) { +function controller_Button_setPressed__P19465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24860,14 +24898,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C54454_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C19454_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__P54256_mk(s); + s.tmp_2 = power_poke__P19256_mk(s); s.callLocIdx = 141; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -24875,7 +24913,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__P54494_mk(s); + s.tmp_1 = controller_Controller_connected__P19494_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -24890,7 +24928,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__P56371_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P21374_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 143; s.pc = 9; return s.tmp_0; case 9: @@ -24898,7 +24936,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P56370_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P21373_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 144; s.pc = 10; return s.tmp_0; case 10: @@ -24910,12 +24948,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P54465.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__P19465.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__P54465_mk(s) { +function controller_Button_setPressed__P19465_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P54465, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P19465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24928,7 +24966,7 @@ function controller_Button_setPressed__P54465_mk(s) { -function controller_Button_raiseButtonDown__P56371(s) { +function controller_Button_raiseButtonDown__P21374(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24943,8 +24981,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C54454_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___56363); + if (!checkSubtype(r0, controller_Button__C19454_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___21366); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -24959,12 +24997,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P56371.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__P21374.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__P56371_mk(s) { +function controller_Button_raiseButtonDown__P21374_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P56371, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P21374, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24974,7 +25012,7 @@ function controller_Button_raiseButtonDown__P56371_mk(s) { -function controller_Button_raiseButtonUp__P56370(s) { +function controller_Button_raiseButtonUp__P21373(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24989,8 +25027,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C54454_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___56363); + if (!checkSubtype(r0, controller_Button__C19454_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___21366); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -25005,12 +25043,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P56370.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__P21373.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__P56370_mk(s) { +function controller_Button_raiseButtonUp__P21373_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P56370, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P21373, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25020,7 +25058,7 @@ function controller_Button_raiseButtonUp__P56370_mk(s) { -function controller_Controller_connected__P54494(s) { +function controller_Controller_connected__P19494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25036,7 +25074,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -25064,12 +25102,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P54494.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__P19494.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__P54494_mk(s) { +function controller_Controller_connected__P19494_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P54494, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P19494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25082,7 +25120,7 @@ function controller_Controller_connected__P54494_mk(s) { -function controller_Controller_id__P54481(s) { +function controller_Controller_id__P19481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25097,18 +25135,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P54481.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__P54481.isGetter = true; +controller_Controller_id__P19481.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__P19481.isGetter = true; -function controller_Controller_id__P54481_mk(s) { +function controller_Controller_id__P19481_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P54481, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P19481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25117,7 +25155,7 @@ function controller_Controller_id__P54481_mk(s) { -function controller_Controller_connected__P54493(s) { +function controller_Controller_connected__P19493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25132,18 +25170,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C54474_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C19474_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P54493.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__P54493.isGetter = true; +controller_Controller_connected__P19493.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__P19493.isGetter = true; -function controller_Controller_connected__P54493_mk(s) { +function controller_Controller_connected__P19493_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P54493, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P19493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25152,7 +25190,7 @@ function controller_Controller_connected__P54493_mk(s) { -function settings_initScopes__P56336(s) { +function settings_initScopes__P21339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25162,17 +25200,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___66634 = undefined; - s.tmp_1 = settings_runNumber__P54376_mk(s); + s.rn___31645 = undefined; + s.tmp_1 = settings_runNumber__P19376_mk(s); s.callLocIdx = 116; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___66634 = (r0); - s.tmp_0 = settings_writeNumber__P54380_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___56324; - s.tmp_0.arg1 = s.rn___66634; + s.rn___31645 = (r0); + s.tmp_0 = settings_writeNumber__P19380_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___21327; + s.tmp_0.arg1 = s.rn___31645; s.callLocIdx = 117; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -25181,8 +25219,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___66634); - s.tmp_0 = settings_setScope__P56335_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___31645); + s.tmp_0 = settings_setScope__P21338_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 118; s.pc = 3; return s.tmp_0; @@ -25192,23 +25230,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P56336.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P21339.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__P56336_mk(s) { +function settings_initScopes__P21339_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P56336, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P21339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___66634: undefined, + rn___31645: undefined, } } -function settings_setScope__P56335(s) { +function settings_setScope__P21338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25218,7 +25256,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___66663 = undefined; + s.currScope___31674 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -25243,19 +25281,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P54383_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___56325; + s.tmp_0 = settings_readString__P19383_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___21328; s.callLocIdx = 114; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___66663 = (r0); - r0 = (s.currScope___66663 != s.arg0); + s.currScope___31674 = (r0); + r0 = (s.currScope___31674 != 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__P54379_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___56325; + s.tmp_0 = settings_writeString__P19379_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___21328; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 115; s.pc = 8; return s.tmp_0; case 8: @@ -25266,18 +25304,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P56335.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__P21338.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__P56335_mk(s) { +function settings_setScope__P21338_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P56335, depth: s.depth + 1, + parent: s, fn: settings_setScope__P21338, 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___66663: undefined, + currScope___31674: undefined, arg0: undefined, } } @@ -25285,7 +25323,7 @@ function settings_setScope__P56335_mk(s) { -function settings_readString__P54383(s) { +function settings_readString__P19383(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25295,14 +25333,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___66684 = undefined; + s.buf___31695 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___66684 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___66684); + s.buf___31695 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___31695); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -25312,7 +25350,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___66684); + r0 = pxsim.BufferMethods.toString(s.buf___31695); { step = 3; continue; } case 2: r0 = undefined; @@ -25320,16 +25358,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P54383.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__P19383.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__P54383_mk(s) { +function settings_readString__P19383_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P54383, depth: s.depth + 1, + parent: s, fn: settings_readString__P19383, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___66684: undefined, + buf___31695: undefined, arg0: undefined, } } @@ -25337,7 +25375,7 @@ function settings_readString__P54383_mk(s) { -function settings_writeString__P54379(s) { +function settings_writeString__P19379(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25352,7 +25390,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P54378_mk(s); + s.tmp_0 = settings_writeBuffer__P19378_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -25363,12 +25401,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P54379.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__P19379.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__P54379_mk(s) { +function settings_writeString__P19379_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P54379, depth: s.depth + 1, + parent: s, fn: settings_writeString__P19379, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25379,7 +25417,7 @@ function settings_writeString__P54379_mk(s) { -function settings_runNumber__P54376(s) { +function settings_runNumber__P19376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25389,8 +25427,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P54384_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___56324; + s.tmp_1 = settings_readNumber__P19384_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___21327; s.callLocIdx = 113; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -25408,12 +25446,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P54376.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P19376.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__P54376_mk(s) { +function settings_runNumber__P19376_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P54376, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P19376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25424,7 +25462,7 @@ function settings_runNumber__P54376_mk(s) { -function control___screen_setupUpdate__P54315(s) { +function control___screen_setupUpdate__P19315(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25438,8 +25476,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___56293 = (true); - globals.__update___56291 = (s.arg0); + globals.__updated___21296 = (true); + globals.__update___21294 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -25450,12 +25488,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P54315.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__P19315.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__P54315_mk(s) { +function control___screen_setupUpdate__P19315_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P54315, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P19315, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25465,7 +25503,7 @@ function control___screen_setupUpdate__P54315_mk(s) { -function control___screen_update__P54314(s) { +function control___screen_update__P19314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25475,27 +25513,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___56291); + r0 = pxsim_numops_toBoolDecr(globals.__update___21294); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___56291; + s.tmp_0.argL = globals.__update___21294; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 108; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___56293 = (true); + globals.__updated___21296 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P54314.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__P19314.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__P54314_mk(s) { +function control___screen_update__P19314_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P54314, depth: s.depth + 1, + parent: s, fn: control___screen_update__P19314, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -25504,7 +25542,7 @@ function control___screen_update__P54314_mk(s) { -function pause__P52953(s) { +function pause__P17953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25528,12 +25566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P52953.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P17953.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__P52953_mk(s) { +function pause__P17953_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P52953, depth: s.depth + 1, + parent: s, fn: pause__P17953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25542,7 +25580,7 @@ function pause__P52953_mk(s) { -function sprites_SpriteSet_toString__P54673(s) { +function sprites_SpriteSet_toString__P19673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25557,7 +25595,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C54662_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C19662_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -25579,12 +25617,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P54673.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__P19673.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__P54673_mk(s) { +function sprites_SpriteSet_toString__P19673_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P54673, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P19673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25598,7 +25636,7 @@ function sprites_SpriteSet_toString__P54673_mk(s) { -function sprites_SpriteSet_length__P54665(s) { +function sprites_SpriteSet_length__P19665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25613,20 +25651,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C54662_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C19662_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__P54665.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__P54665.isGetter = true; +sprites_SpriteSet_length__P19665.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__P19665.isGetter = true; -function sprites_SpriteSet_length__P54665_mk(s) { +function sprites_SpriteSet_length__P19665_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P54665, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P19665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25636,7 +25674,7 @@ function sprites_SpriteSet_length__P54665_mk(s) { -function music_Melody_toString__P54158(s) { +function music_Melody_toString__P19158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25651,17 +25689,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C54149_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C19149_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P54158.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__P19158.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__P54158_mk(s) { +function music_Melody_toString__P19158_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P54158, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P19158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25670,7 +25708,7 @@ function music_Melody_toString__P54158_mk(s) { -function sprites_SpriteMap_toString__P54653(s) { +function sprites_SpriteMap_toString__P19653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25685,7 +25723,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C54645_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -25705,10 +25743,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P52659_mk(s); + s.tmp_10 = helpers_arrayFilter__P17659_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P66724; + s.tmp_10.arg1 = inline__P31735; s.callLocIdx = 430; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -25730,12 +25768,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P54653.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__P19653.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__P54653_mk(s) { +function sprites_SpriteMap_toString__P19653_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P54653, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P19653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25755,7 +25793,7 @@ function sprites_SpriteMap_toString__P54653_mk(s) { -function inline__P66724(s) { +function inline__P31735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25779,12 +25817,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P66724.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P31735.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__P66724_mk(s) { +function inline__P31735_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P66724, depth: s.depth + 1, + parent: s, fn: inline__P31735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25796,7 +25834,7 @@ function inline__P66724_mk(s) { -function ArcadePhysicsEngine_moveSprite__P54738(s) { +function ArcadePhysicsEngine_moveSprite__P19738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25806,9 +25844,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___66762 = undefined; - s.maxDist___66772 = undefined; - s.ms___66792 = undefined; + s.tm___31773 = undefined; + s.maxDist___31783 = undefined; + s.ms___31803 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25817,7 +25855,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -25846,19 +25884,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_4 = game_currentScene__P55080_mk(s); - s.callLocIdx = 638; s.pc = 16; return s.tmp_4; + s.tmp_4 = game_currentScene__P20083_mk(s); + s.callLocIdx = 642; s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___66762 = (r0); - s.tmp_0 = r0 = s.tm___66762; + s.tm___31773 = (r0); + s.tmp_0 = r0 = s.tm___31773; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___66762.fields["_map"]; + r0 = s.tm___31773.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -25884,41 +25922,41 @@ switch (step) { r0 = (s.tmp_8 + 128); s.tmp_9 = r0; r0 = (s.tmp_9 >> 8); - s.maxDist___66772 = (r0); - s.tmp_2 = Math_abs__P52674_mk(s); + s.maxDist___31783 = (r0); + s.tmp_2 = Math_abs__P17674_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 642; s.pc = 17; return s.tmp_2; + s.callLocIdx = 646; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___66772); + r0 = (s.tmp_1 <= s.maxDist___31783); 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__P52674_mk(s); + s.tmp_5 = Math_abs__P17674_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); s.tmp_5.arg0 = r0; - s.callLocIdx = 644; s.pc = 18; return s.tmp_5; + s.callLocIdx = 648; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___66772); + r0 = (s.tmp_4 <= s.maxDist___31783); 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__C54722_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C19722_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P54723_mk(s); + s.tmp_9 = MovingSprite_constructor__P19723_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -25929,23 +25967,23 @@ switch (step) { s.tmp_9.arg5 = s.arg3; s.tmp_9.arg6 = s.arg2; s.tmp_9.arg7 = s.arg3; - s.callLocIdx = 645; s.pc = 19; return s.tmp_9; + s.callLocIdx = 649; s.pc = 19; return s.tmp_9; case 19: r0 = s.retval; - s.ms___66792 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P56409_mk(s); + s.ms___31803 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P21412_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___66792; - s.tmp_0.arg2 = s.tm___66762; - s.callLocIdx = 646; s.pc = 20; return s.tmp_0; + s.tmp_0.arg1 = s.ms___31803; + s.tmp_0.arg2 = s.tm___31773; + s.callLocIdx = 650; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 12; continue; } case 7: - s.tmp_1 = tiles_TileMap_isOnWall__P54889_mk(s); - s.tmp_1.arg0 = s.tm___66762; + s.tmp_1 = tiles_TileMap_isOnWall__P19889_mk(s); + s.tmp_1.arg0 = s.tm___31773; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 647; s.pc = 21; return s.tmp_1; + s.callLocIdx = 651; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; @@ -25954,11 +25992,11 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P56411_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P21414_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___66762; - s.callLocIdx = 648; s.pc = 22; return s.tmp_4; + s.tmp_4.arg2 = s.tm___31773; + s.callLocIdx = 652; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; s.tmp_3 = r0; @@ -25993,12 +26031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P54738.info = {"start":21343,"length":1276,"line":622,"column":4,"endLine":655,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P19738.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__P54738_mk(s) { +function ArcadePhysicsEngine_moveSprite__P19738_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P54738, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P19738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26010,9 +26048,9 @@ function ArcadePhysicsEngine_moveSprite__P54738_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___66762: undefined, - maxDist___66772: undefined, - ms___66792: undefined, + tm___31773: undefined, + maxDist___31783: undefined, + ms___31803: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26023,7 +26061,7 @@ function ArcadePhysicsEngine_moveSprite__P54738_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P56411(s) { +function ArcadePhysicsEngine_canResolveClipping__P21414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26033,19 +26071,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___66837 = undefined; - s.sz___66840 = undefined; - s.maxMove___66845 = undefined; - s.origY___66847 = undefined; - s.origX___66850 = undefined; - s.l___66853 = undefined; - s.r___66858 = undefined; - s.t___66863 = undefined; - s.b___66868 = undefined; - s.offset___66873 = undefined; - s.offset___66898 = undefined; - s.offset___66929 = undefined; - s.offset___66954 = undefined; + s.hbox___31848 = undefined; + s.sz___31851 = undefined; + s.maxMove___31856 = undefined; + s.origY___31858 = undefined; + s.origX___31861 = undefined; + s.l___31864 = undefined; + s.r___31869 = undefined; + s.t___31874 = undefined; + s.b___31879 = undefined; + s.offset___31884 = undefined; + s.offset___31909 = undefined; + s.offset___31940 = undefined; + s.offset___31965 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26053,7 +26091,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -26064,91 +26102,91 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite_setHitbox__P54608_mk(s); + s.tmp_4 = Sprite_setHitbox__P19608_mk(s); s.tmp_4.arg0 = s.arg1; - s.callLocIdx = 650; s.pc = 20; return s.tmp_4; + s.callLocIdx = 654; s.pc = 20; return s.tmp_4; case 20: r0 = s.retval; case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___66837 = (r0); + s.hbox___31848 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___66840 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P54730_mk(s); + s.sz___31851 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P19730_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 652; s.pc = 21; return s.tmp_0; + s.callLocIdx = 656; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___66845 = (r0); + s.maxMove___31856 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___66847 = (r0); + s.origY___31858 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___66850 = (r0); - s.tmp_1 = game_Hitbox_left__P54517_mk(s); - s.tmp_1.arg0 = s.hbox___66837; - s.callLocIdx = 653; s.pc = 22; return s.tmp_1; + s.origX___31861 = (r0); + s.tmp_1 = game_Hitbox_left__P19517_mk(s); + s.tmp_1.arg0 = s.hbox___31848; + s.callLocIdx = 657; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___66853 = (r0); - s.tmp_1 = game_Hitbox_right__P54519_mk(s); - s.tmp_1.arg0 = s.hbox___66837; - s.callLocIdx = 655; s.pc = 23; return s.tmp_1; + s.l___31864 = (r0); + s.tmp_1 = game_Hitbox_right__P19519_mk(s); + s.tmp_1.arg0 = s.hbox___31848; + s.callLocIdx = 659; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___66858 = (r0); - s.tmp_1 = game_Hitbox_top__P54518_mk(s); - s.tmp_1.arg0 = s.hbox___66837; - s.callLocIdx = 657; s.pc = 24; return s.tmp_1; + s.r___31869 = (r0); + s.tmp_1 = game_Hitbox_top__P19518_mk(s); + s.tmp_1.arg0 = s.hbox___31848; + s.callLocIdx = 661; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___66863 = (r0); - s.tmp_1 = game_Hitbox_bottom__P54520_mk(s); - s.tmp_1.arg0 = s.hbox___66837; - s.callLocIdx = 659; s.pc = 25; return s.tmp_1; + s.t___31874 = (r0); + s.tmp_1 = game_Hitbox_bottom__P19520_mk(s); + s.tmp_1.arg0 = s.hbox___31848; + s.callLocIdx = 663; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___66868 = (r0); - r0 = (s.b___66868 + 1); + s.b___31879 = (r0); + r0 = (s.b___31879 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___66840); - s.offset___66873 = (r0); - r0 = (s.offset___66873 <= s.maxMove___66845); + r0 = (s.tmp_0 % s.sz___31851); + s.offset___31884 = (r0); + r0 = (s.offset___31884 <= s.maxMove___31856); 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___66873 * 256); + r0 = (s.offset___31884 * 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__P54889_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P19889_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 663; s.pc = 26; return s.tmp_3; + s.callLocIdx = 667; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; s.tmp_2 = r0; @@ -26162,38 +26200,38 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___66847); + r0 = (s.arg1).fields["_y"] = (s.origY___31858); case 4: case 5: case 6: - r0 = (s.t___66863 / s.sz___66840); + r0 = (s.t___31874 / s.sz___31851); 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___66840); + r0 = (s.tmp_1 * s.sz___31851); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___66863); - s.offset___66898 = (r0); - r0 = (s.offset___66898 <= s.maxMove___66845); + r0 = (s.tmp_0 - s.t___31874); + s.offset___31909 = (r0); + r0 = (s.offset___31909 <= s.maxMove___31856); 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___66898 * 256); + r0 = (s.offset___31909 * 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__P54889_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P19889_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 666; s.pc = 27; return s.tmp_3; + s.callLocIdx = 670; s.pc = 27; return s.tmp_3; case 27: r0 = s.retval; s.tmp_2 = r0; @@ -26207,32 +26245,32 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___66847); + r0 = (s.arg1).fields["_y"] = (s.origY___31858); case 8: case 9: case 10: - r0 = (s.r___66858 + 1); + r0 = (s.r___31869 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___66840); - s.offset___66929 = (r0); - r0 = (s.offset___66929 <= s.maxMove___66845); + r0 = (s.tmp_0 % s.sz___31851); + s.offset___31940 = (r0); + r0 = (s.offset___31940 <= s.maxMove___31856); 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___66929 * 256); + r0 = (s.offset___31940 * 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__P54889_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P19889_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 669; s.pc = 28; return s.tmp_3; + s.callLocIdx = 673; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -26246,38 +26284,38 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___66850); + r0 = (s.arg1).fields["_x"] = (s.origX___31861); case 12: case 13: case 14: - r0 = (s.l___66853 / s.sz___66840); + r0 = (s.l___31864 / s.sz___31851); 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___66840); + r0 = (s.tmp_1 * s.sz___31851); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___66853); - s.offset___66954 = (r0); - r0 = (s.offset___66954 <= s.maxMove___66845); + r0 = (s.tmp_0 - s.l___31864); + s.offset___31965 = (r0); + r0 = (s.offset___31965 <= s.maxMove___31856); 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___66954 * 256); + r0 = (s.offset___31965 * 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__P54889_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P19889_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 672; s.pc = 29; return s.tmp_3; + s.callLocIdx = 676; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; @@ -26291,7 +26329,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___66850); + r0 = (s.arg1).fields["_x"] = (s.origX___31861); case 16: case 17: case 18: @@ -26300,12 +26338,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P56411.info = {"start":22715,"length":2135,"line":658,"column":4,"endLine":729,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P21414.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__P56411_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P21414_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P56411, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P21414, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26313,19 +26351,19 @@ function ArcadePhysicsEngine_canResolveClipping__P56411_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___66837: undefined, - sz___66840: undefined, - maxMove___66845: undefined, - origY___66847: undefined, - origX___66850: undefined, - l___66853: undefined, - r___66858: undefined, - t___66863: undefined, - b___66868: undefined, - offset___66873: undefined, - offset___66898: undefined, - offset___66929: undefined, - offset___66954: undefined, + hbox___31848: undefined, + sz___31851: undefined, + maxMove___31856: undefined, + origY___31858: undefined, + origX___31861: undefined, + l___31864: undefined, + r___31869: undefined, + t___31874: undefined, + b___31879: undefined, + offset___31884: undefined, + offset___31909: undefined, + offset___31940: undefined, + offset___31965: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26335,7 +26373,7 @@ function ArcadePhysicsEngine_canResolveClipping__P56411_mk(s) { -function Sprite_isStatic__P54609(s) { +function Sprite_isStatic__P19609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26350,19 +26388,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54609.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__P19609.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__P54609_mk(s) { +function Sprite_isStatic__P19609_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P54609, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P19609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26372,7 +26410,7 @@ function Sprite_isStatic__P54609_mk(s) { -function game_Hitbox_bottom__P54520(s) { +function game_Hitbox_bottom__P19520(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26387,10 +26425,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C54510_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C19510_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P54518_mk(s); + s.tmp_3 = game_Hitbox_top__P19518_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 202; s.pc = 1; return s.tmp_3; case 1: @@ -26402,13 +26440,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P54520.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__P54520.isGetter = true; +game_Hitbox_bottom__P19520.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__P19520.isGetter = true; -function game_Hitbox_bottom__P54520_mk(s) { +function game_Hitbox_bottom__P19520_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P54520, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P19520, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26421,7 +26459,7 @@ function game_Hitbox_bottom__P54520_mk(s) { -function game_Hitbox_right__P54519(s) { +function game_Hitbox_right__P19519(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26436,10 +26474,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C54510_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C19510_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P54517_mk(s); + s.tmp_3 = game_Hitbox_left__P19517_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 199; s.pc = 1; return s.tmp_3; case 1: @@ -26451,13 +26489,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P54519.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__P54519.isGetter = true; +game_Hitbox_right__P19519.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__P19519.isGetter = true; -function game_Hitbox_right__P54519_mk(s) { +function game_Hitbox_right__P19519_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P54519, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P19519, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26470,7 +26508,7 @@ function game_Hitbox_right__P54519_mk(s) { -function game_Hitbox_top__P54518(s) { +function game_Hitbox_top__P19518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26485,7 +26523,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C54510_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C19510_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -26495,13 +26533,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P54518.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__P54518.isGetter = true; +game_Hitbox_top__P19518.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__P19518.isGetter = true; -function game_Hitbox_top__P54518_mk(s) { +function game_Hitbox_top__P19518_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P54518, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P19518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26512,7 +26550,7 @@ function game_Hitbox_top__P54518_mk(s) { -function game_Hitbox_left__P54517(s) { +function game_Hitbox_left__P19517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26527,7 +26565,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C54510_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C19510_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -26537,13 +26575,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P54517.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__P54517.isGetter = true; +game_Hitbox_left__P19517.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__P19517.isGetter = true; -function game_Hitbox_left__P54517_mk(s) { +function game_Hitbox_left__P19517_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P54517, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P19517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26554,7 +26592,7 @@ function game_Hitbox_left__P54517_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P56409(s) { +function ArcadePhysicsEngine_tilemapCollisions__P21412(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26564,38 +26602,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___67079 = undefined; - s.hbox___67102 = undefined; - s.tileScale___67105 = undefined; - s.tileSize___67108 = undefined; - s.xDiff___67112 = undefined; - s.yDiff___67119 = undefined; - s.overlappedTiles___67126 = undefined; - s.right___67131 = undefined; - s.x0___67135 = undefined; - s.collidedTiles___67150 = undefined; - s.y___67152 = undefined; - s.y0___67166 = undefined; - s.obstacle___67182 = undefined; - s.collisionDirection___67216 = undefined; - s.tile___67242 = undefined; - s.unnamed412___U15 = undefined; - s.unnamed413___U16 = undefined; - s.down___67320 = undefined; - s.y0___67324 = undefined; - s.collidedTiles___67339 = undefined; - s.overlappedTiles___67341 = undefined; - s.x___67343 = undefined; - s.x0___67353 = undefined; - s.obstacle___67367 = undefined; - s.collisionDirection___67401 = undefined; - s.tile___67427 = undefined; - s.unnamed414___U26 = undefined; - s.unnamed415___U27 = undefined; - s.x___67502 = undefined; - s.x0___67512 = undefined; - s.y___67522 = undefined; - s.y0___67532 = undefined; + s.s___32090 = undefined; + s.hbox___32113 = undefined; + s.tileScale___32116 = undefined; + s.tileSize___32119 = undefined; + s.xDiff___32123 = undefined; + s.yDiff___32130 = undefined; + s.overlappedTiles___32137 = undefined; + s.right___32142 = undefined; + s.x0___32146 = undefined; + s.collidedTiles___32161 = undefined; + s.y___32163 = undefined; + s.y0___32177 = undefined; + s.obstacle___32193 = undefined; + s.collisionDirection___32227 = undefined; + s.tile___32253 = undefined; + s.unnamed188___U15 = undefined; + s.unnamed189___U16 = undefined; + s.down___32331 = undefined; + s.y0___32335 = undefined; + s.collidedTiles___32350 = undefined; + s.overlappedTiles___32352 = undefined; + s.x___32354 = undefined; + s.x0___32364 = undefined; + s.obstacle___32378 = undefined; + s.collisionDirection___32412 = undefined; + s.tile___32438 = undefined; + s.unnamed190___U26 = undefined; + s.unnamed191___U27 = undefined; + s.x___32513 = undefined; + s.x0___32523 = undefined; + s.y___32533 = undefined; + s.y0___32543 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26603,19 +26641,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___67079 = (r0); - r0 = s.s___67079.fields["flags"]; + s.s___32090 = (r0); + r0 = s.s___32090.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__P54889_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P19889_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.s___67079; - s.callLocIdx = 531; s.pc = 84; return s.tmp_3; + s.tmp_3.arg1 = s.s___32090; + s.callLocIdx = 535; s.pc = 84; return s.tmp_3; case 84: r0 = s.retval; s.tmp_2 = r0; @@ -26624,7 +26662,7 @@ switch (step) { { step = 83; continue; } { step = 2; continue; } case 1: - s.tmp_4 = r0 = s.s___67079; + s.tmp_4 = r0 = s.s___32090; r0 = s.tmp_4.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & -257); @@ -26633,7 +26671,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___67079.fields["_image"]; + r0 = s.s___32090.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -26643,53 +26681,53 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite_setHitbox__P54608_mk(s); - s.tmp_4.arg0 = s.s___67079; - s.callLocIdx = 533; s.pc = 85; return s.tmp_4; + s.tmp_4 = Sprite_setHitbox__P19608_mk(s); + s.tmp_4.arg0 = s.s___32090; + s.callLocIdx = 537; s.pc = 85; return s.tmp_4; case 85: r0 = s.retval; case 5: case 6: - r0 = s.s___67079.fields["_hitbox"]; - s.hbox___67102 = (r0); + r0 = s.s___32090.fields["_hitbox"]; + s.hbox___32113 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___67105 = (r0); - r0 = (1 << s.tileScale___67105); - s.tileSize___67108 = (r0); - r0 = s.s___67079.fields["_x"]; + s.tileScale___32116 = (r0); + r0 = (1 << s.tileScale___32116); + s.tileSize___32119 = (r0); + r0 = s.s___32090.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___67079.fields["_lastX"]; + r0 = s.s___32090.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___67112 = (r0); - r0 = s.s___67079.fields["_y"]; + s.xDiff___32123 = (r0); + r0 = s.s___32090.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___67079.fields["_lastY"]; + r0 = s.s___32090.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___67119 = (r0); + s.yDiff___32130 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___67126 = (r0); - r0 = (s.xDiff___67112 !== 0); + s.overlappedTiles___32137 = (r0); + r0 = (s.xDiff___32123 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___67112 > 0); - s.right___67131 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___67131); + r0 = (s.xDiff___32123 > 0); + s.right___32142 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___32142); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P54519_mk(s); - s.tmp_1.arg0 = s.hbox___67102; - s.callLocIdx = 537; s.pc = 86; return s.tmp_1; + s.tmp_1 = game_Hitbox_right__P19519_mk(s); + s.tmp_1.arg0 = s.hbox___32113; + s.callLocIdx = 541; s.pc = 86; return s.tmp_1; case 86: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P54517_mk(s); - s.tmp_3.arg0 = s.hbox___67102; - s.callLocIdx = 539; s.pc = 87; return s.tmp_3; + s.tmp_3 = game_Hitbox_left__P19517_mk(s); + s.tmp_3.arg0 = s.hbox___32113; + s.callLocIdx = 543; s.pc = 87; return s.tmp_3; case 87: r0 = s.retval; s.tmp_2 = r0; @@ -26699,30 +26737,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___67105 + 8); + r0 = (s.tileScale___32116 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___67135 = (r0); + s.x0___32146 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___67150 = (r0); - s.tmp_1 = game_Hitbox_top__P54518_mk(s); - s.tmp_1.arg0 = s.hbox___67102; - s.callLocIdx = 543; s.pc = 88; return s.tmp_1; + s.collidedTiles___32161 = (r0); + s.tmp_1 = game_Hitbox_top__P19518_mk(s); + s.tmp_1.arg0 = s.hbox___32113; + s.callLocIdx = 547; s.pc = 88; return s.tmp_1; case 88: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___67119); - s.y___67152 = (r0); + r0 = (s.tmp_0 - s.yDiff___32130); + s.y___32163 = (r0); case 9: - s.tmp_1 = r0 = s.y___67152; - s.tmp_3 = r0 = s.tileSize___67108; - s.tmp_6 = game_Hitbox_bottom__P54520_mk(s); - s.tmp_6.arg0 = s.hbox___67102; - s.callLocIdx = 545; s.pc = 89; return s.tmp_6; + s.tmp_1 = r0 = s.y___32163; + s.tmp_3 = r0 = s.tileSize___32119; + s.tmp_6 = game_Hitbox_bottom__P19520_mk(s); + s.tmp_6.arg0 = s.hbox___32113; + s.callLocIdx = 549; s.pc = 89; return s.tmp_6; case 89: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___67119); + r0 = (s.tmp_5 - s.yDiff___32130); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -26732,51 +26770,51 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P52712_mk(s); - s.tmp_10.arg0 = s.y___67152; - s.tmp_12 = game_Hitbox_bottom__P54520_mk(s); - s.tmp_12.arg0 = s.hbox___67102; - s.callLocIdx = 548; s.pc = 91; return s.tmp_12; + s.tmp_10 = Fx_min__P17712_mk(s); + s.tmp_10.arg0 = s.y___32163; + s.tmp_12 = game_Hitbox_bottom__P19520_mk(s); + s.tmp_12.arg0 = s.hbox___32113; + s.callLocIdx = 552; s.pc = 91; return s.tmp_12; case 91: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___67119); + r0 = (s.tmp_11 - s.yDiff___32130); s.tmp_10.arg1 = r0; - s.callLocIdx = 550; s.pc = 90; return s.tmp_10; + s.callLocIdx = 554; s.pc = 90; return s.tmp_10; case 90: r0 = s.retval; s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___67105 + 8); + r0 = (s.tileScale___32116 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___67166 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P54887_mk(s); + s.y0___32177 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P19887_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___67135; - s.tmp_1.arg2 = s.y0___67166; - s.callLocIdx = 553; s.pc = 92; return s.tmp_1; + s.tmp_1.arg1 = s.x0___32146; + s.tmp_1.arg2 = s.y0___32177; + s.callLocIdx = 557; 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__P54888_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P19888_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___67135; - s.tmp_2.arg2 = s.y0___67166; - s.callLocIdx = 554; s.pc = 93; return s.tmp_2; + s.tmp_2.arg1 = s.x0___32146; + s.tmp_2.arg2 = s.y0___32177; + s.callLocIdx = 558; s.pc = 93; return s.tmp_2; case 93: r0 = s.retval; - s.obstacle___67182 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P67190); + s.obstacle___32193 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P32201); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___67182); - s.tmp_4 = helpers_arraySome__P52656_mk(s); - s.tmp_4.arg0 = s.collidedTiles___67150; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___32193); + s.tmp_4 = helpers_arraySome__P17656_mk(s); + s.tmp_4.arg0 = s.collidedTiles___32161; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 555; s.pc = 94; return s.tmp_4; + s.callLocIdx = 559; s.pc = 94; return s.tmp_4; case 94: r0 = s.retval; s.tmp_3 = r0; @@ -26786,33 +26824,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___67150, s.obstacle___67182); + r0 = pxsim_Array__push(s.collidedTiles___32161, s.obstacle___32193); case 10: case 11: { step = 13; continue; } case 12: - s.tmp_0 = r0 = s.overlappedTiles___67126; - s.tmp_2 = tiles_TileMap_getTile__P54880_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___32137; + s.tmp_2 = tiles_TileMap_getTile__P19880_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___67135; - s.tmp_2.arg2 = s.y0___67166; - s.callLocIdx = 556; s.pc = 95; return s.tmp_2; + s.tmp_2.arg1 = s.x0___32146; + s.tmp_2.arg2 = s.y0___32177; + s.callLocIdx = 560; 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___67108 << 8); + r0 = (s.tileSize___32119 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___67152); - s.y___67152 = (r0); + r0 = (s.tmp_0 + s.y___32163); + s.y___32163 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___67150); + r0 = pxsim_Array__length(s.collidedTiles___32161); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___67131); + r0 = pxsim_numops_toBoolDecr(s.right___32142); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -26821,23 +26859,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___67216 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___67131); + s.collisionDirection___32227 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___32142); if (!r0) { step = 17; continue; } - r0 = (s.x0___67135 << s.tileScale___67105); + r0 = (s.x0___32146 << s.tileScale___32116); 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___67102.fields["width"]; + r0 = s.hbox___32113.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___67135 + 1); + r0 = (s.x0___32146 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___67105); + r0 = (s.tmp_5 << s.tileScale___32116); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -26845,52 +26883,52 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___67079; - r0 = s.hbox___67102.fields["ox"]; + s.tmp_8 = r0 = s.s___32090; + r0 = s.hbox___32113.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___67242 = (undefined); - s.unnamed412___U15 = (s.collidedTiles___67150); - s.unnamed413___U16 = (0); + s.tile___32253 = (undefined); + s.unnamed188___U15 = (s.collidedTiles___32161); + s.unnamed189___U16 = (0); case 19: - s.tmp_0 = r0 = s.unnamed413___U16; - r0 = pxsim_Array__length(s.unnamed412___U15); + s.tmp_0 = r0 = s.unnamed189___U16; + r0 = pxsim_Array__length(s.unnamed188___U15); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed412___U15, s.unnamed413___U16); - s.tile___67242 = (r0); - s.tmp_2 = Sprite_registerObstacle__P54636_mk(s); - s.tmp_2.arg0 = s.s___67079; - s.tmp_2.arg1 = s.collisionDirection___67216; - s.tmp_2.arg2 = s.tile___67242; + r0 = pxsim_Array__getAt(s.unnamed188___U15, s.unnamed189___U16); + s.tile___32253 = (r0); + s.tmp_2 = Sprite_registerObstacle__P19636_mk(s); + s.tmp_2.arg0 = s.s___32090; + s.tmp_2.arg1 = s.collisionDirection___32227; + s.tmp_2.arg2 = s.tile___32253; s.tmp_2.arg3 = s.arg2; - s.callLocIdx = 562; s.pc = 96; return s.tmp_2; + s.callLocIdx = 566; s.pc = 96; return s.tmp_2; case 96: r0 = s.retval; - r0 = (s.unnamed413___U16 + 1); - s.unnamed413___U16 = (r0); + r0 = (s.unnamed189___U16 + 1); + s.unnamed189___U16 = (r0); { step = 19; continue; } case 20: - s.unnamed412___U15 = (undefined); - r0 = s.s___67079.fields["flags"]; + s.unnamed188___U15 = (undefined); + r0 = s.s___32090.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__P54638_mk(s); - s.tmp_2.arg0 = s.s___67079; + s.tmp_2 = Sprite_destroy__P19638_mk(s); + s.tmp_2.arg0 = s.s___32090; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 563; s.pc = 97; return s.tmp_2; + s.callLocIdx = 567; s.pc = 97; return s.tmp_2; case 97: r0 = s.retval; { step = 36; continue; } case 21: - r0 = s.s___67079.fields["_vx"]; + r0 = s.s___32090.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -26898,13 +26936,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = s.s___67079.fields["flags"]; + r0 = s.s___32090.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___67131); + r0 = pxsim_numops_toBoolDecr(s.right___32142); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -26913,9 +26951,9 @@ switch (step) { r0 = s.tmp_5; { step = 23; continue; } case 22: - s.tmp_8 = Sprite_vx__P54580_mk(s); - s.tmp_8.arg0 = s.s___67079; - s.callLocIdx = 564; s.pc = 98; return s.tmp_8; + s.tmp_8 = Sprite_vx__P19580_mk(s); + s.tmp_8.arg0 = s.s___32090; + s.callLocIdx = 568; s.pc = 98; return s.tmp_8; case 98: r0 = s.retval; s.tmp_7 = r0; @@ -26928,15 +26966,15 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 24: - s.tmp_10 = r0 = s.right___67131; + s.tmp_10 = r0 = s.right___32142; 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__P54580_mk(s); - s.tmp_12.arg0 = s.s___67079; - s.callLocIdx = 565; s.pc = 99; return s.tmp_12; + s.tmp_12 = Sprite_vx__P19580_mk(s); + s.tmp_12.arg0 = s.s___32090; + s.callLocIdx = 569; s.pc = 99; return s.tmp_12; case 99: r0 = s.retval; s.tmp_11 = r0; @@ -26950,8 +26988,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___67079; - r0 = s.s___67079.fields["_vx"]; + s.tmp_15 = r0 = s.s___32090; + r0 = s.s___32090.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -26973,29 +27011,29 @@ switch (step) { { step = 31; continue; } case 30: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___67079).fields["_vx"] = (0); + r0 = (s.s___32090).fields["_vx"] = (0); case 31: { step = 35; continue; } case 32: - s.tmp_2 = Math_sign__P52675_mk(s); - r0 = s.s___67079.fields["_vx"]; + s.tmp_2 = Math_sign__P17675_mk(s); + r0 = s.s___32090.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 570; s.pc = 100; return s.tmp_2; + s.callLocIdx = 574; s.pc = 100; return s.tmp_2; case 100: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P52675_mk(s); + s.tmp_6 = Math_sign__P17675_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_6.arg0 = r0; - s.callLocIdx = 572; s.pc = 101; return s.tmp_6; + s.callLocIdx = 576; s.pc = 101; return s.tmp_6; case 101: r0 = s.retval; s.tmp_5 = r0; @@ -27012,26 +27050,26 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___67119 !== 0); + r0 = (s.yDiff___32130 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 73; continue; } - r0 = (s.yDiff___67119 > 0); - s.down___67320 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___67320); + r0 = (s.yDiff___32130 > 0); + s.down___32331 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___32331); if (!r0) { step = 41; continue; } - s.tmp_1 = game_Hitbox_bottom__P54520_mk(s); - s.tmp_1.arg0 = s.hbox___67102; - s.callLocIdx = 573; s.pc = 102; return s.tmp_1; + s.tmp_1 = game_Hitbox_bottom__P19520_mk(s); + s.tmp_1.arg0 = s.hbox___32113; + s.callLocIdx = 577; s.pc = 102; return s.tmp_1; case 102: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 256); { step = 42; continue; } case 41: - s.tmp_3 = game_Hitbox_top__P54518_mk(s); - s.tmp_3.arg0 = s.hbox___67102; - s.callLocIdx = 575; s.pc = 103; return s.tmp_3; + s.tmp_3 = game_Hitbox_top__P19518_mk(s); + s.tmp_3.arg0 = s.hbox___32113; + s.callLocIdx = 579; s.pc = 103; return s.tmp_3; case 103: r0 = s.retval; s.tmp_2 = r0; @@ -27041,26 +27079,26 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___67105 + 8); + r0 = (s.tileScale___32116 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___67324 = (r0); + s.y0___32335 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___67339 = (r0); + s.collidedTiles___32350 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___67341 = (r0); - s.tmp_0 = game_Hitbox_left__P54517_mk(s); - s.tmp_0.arg0 = s.hbox___67102; - s.callLocIdx = 579; s.pc = 104; return s.tmp_0; + s.overlappedTiles___32352 = (r0); + s.tmp_0 = game_Hitbox_left__P19517_mk(s); + s.tmp_0.arg0 = s.hbox___32113; + s.callLocIdx = 583; s.pc = 104; return s.tmp_0; case 104: r0 = s.retval; - s.x___67343 = (r0); + s.x___32354 = (r0); case 43: - s.tmp_1 = r0 = s.x___67343; - s.tmp_3 = r0 = s.tileSize___67108; - s.tmp_5 = game_Hitbox_right__P54519_mk(s); - s.tmp_5.arg0 = s.hbox___67102; - s.callLocIdx = 580; s.pc = 105; return s.tmp_5; + s.tmp_1 = r0 = s.x___32354; + s.tmp_3 = r0 = s.tileSize___32119; + s.tmp_5 = game_Hitbox_right__P19519_mk(s); + s.tmp_5.arg0 = s.hbox___32113; + s.callLocIdx = 584; s.pc = 105; return s.tmp_5; case 105: r0 = s.retval; s.tmp_4 = r0; @@ -27072,49 +27110,49 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_9 = Fx_min__P52712_mk(s); - s.tmp_9.arg0 = s.x___67343; - s.tmp_10 = game_Hitbox_right__P54519_mk(s); - s.tmp_10.arg0 = s.hbox___67102; - s.callLocIdx = 582; s.pc = 107; return s.tmp_10; + s.tmp_9 = Fx_min__P17712_mk(s); + s.tmp_9.arg0 = s.x___32354; + s.tmp_10 = game_Hitbox_right__P19519_mk(s); + s.tmp_10.arg0 = s.hbox___32113; + s.callLocIdx = 586; s.pc = 107; return s.tmp_10; case 107: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 583; s.pc = 106; return s.tmp_9; + s.callLocIdx = 587; s.pc = 106; return s.tmp_9; case 106: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___67105 + 8); + r0 = (s.tileScale___32116 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___67353 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P54887_mk(s); + s.x0___32364 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P19887_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___67353; - s.tmp_1.arg2 = s.y0___67324; - s.callLocIdx = 586; s.pc = 108; return s.tmp_1; + s.tmp_1.arg1 = s.x0___32364; + s.tmp_1.arg2 = s.y0___32335; + s.callLocIdx = 590; 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__P54888_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P19888_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___67353; - s.tmp_2.arg2 = s.y0___67324; - s.callLocIdx = 587; s.pc = 109; return s.tmp_2; + s.tmp_2.arg1 = s.x0___32364; + s.tmp_2.arg2 = s.y0___32335; + s.callLocIdx = 591; s.pc = 109; return s.tmp_2; case 109: r0 = s.retval; - s.obstacle___67367 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P67375); + s.obstacle___32378 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P32386); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___67367); - s.tmp_4 = helpers_arraySome__P52656_mk(s); - s.tmp_4.arg0 = s.collidedTiles___67339; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___32378); + s.tmp_4 = helpers_arraySome__P17656_mk(s); + s.tmp_4.arg0 = s.collidedTiles___32350; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 588; s.pc = 110; return s.tmp_4; + s.callLocIdx = 592; s.pc = 110; return s.tmp_4; case 110: r0 = s.retval; s.tmp_3 = r0; @@ -27124,33 +27162,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___67339, s.obstacle___67367); + r0 = pxsim_Array__push(s.collidedTiles___32350, s.obstacle___32378); case 44: case 45: { step = 47; continue; } case 46: - s.tmp_0 = r0 = s.overlappedTiles___67341; - s.tmp_2 = tiles_TileMap_getTile__P54880_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___32352; + s.tmp_2 = tiles_TileMap_getTile__P19880_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___67353; - s.tmp_2.arg2 = s.y0___67324; - s.callLocIdx = 589; s.pc = 111; return s.tmp_2; + s.tmp_2.arg1 = s.x0___32364; + s.tmp_2.arg2 = s.y0___32335; + s.callLocIdx = 593; 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___67108 << 8); + r0 = (s.tileSize___32119 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___67343); - s.x___67343 = (r0); + r0 = (s.tmp_0 + s.x___32354); + s.x___32354 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___67339); + r0 = pxsim_Array__length(s.collidedTiles___32350); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___67320); + r0 = pxsim_numops_toBoolDecr(s.down___32331); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -27159,23 +27197,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___67401 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___67320); + s.collisionDirection___32412 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___32331); if (!r0) { step = 51; continue; } - r0 = (s.y0___67324 << s.tileScale___67105); + r0 = (s.y0___32335 << s.tileScale___32116); 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___67102.fields["height"]; + r0 = s.hbox___32113.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___67324 + 1); + r0 = (s.y0___32335 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___67105); + r0 = (s.tmp_5 << s.tileScale___32116); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -27183,52 +27221,52 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___67079; - r0 = s.hbox___67102.fields["oy"]; + s.tmp_8 = r0 = s.s___32090; + r0 = s.hbox___32113.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___67427 = (undefined); - s.unnamed414___U26 = (s.collidedTiles___67339); - s.unnamed415___U27 = (0); + s.tile___32438 = (undefined); + s.unnamed190___U26 = (s.collidedTiles___32350); + s.unnamed191___U27 = (0); case 53: - s.tmp_0 = r0 = s.unnamed415___U27; - r0 = pxsim_Array__length(s.unnamed414___U26); + s.tmp_0 = r0 = s.unnamed191___U27; + r0 = pxsim_Array__length(s.unnamed190___U26); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 54; continue; } - r0 = pxsim_Array__getAt(s.unnamed414___U26, s.unnamed415___U27); - s.tile___67427 = (r0); - s.tmp_2 = Sprite_registerObstacle__P54636_mk(s); - s.tmp_2.arg0 = s.s___67079; - s.tmp_2.arg1 = s.collisionDirection___67401; - s.tmp_2.arg2 = s.tile___67427; + r0 = pxsim_Array__getAt(s.unnamed190___U26, s.unnamed191___U27); + s.tile___32438 = (r0); + s.tmp_2 = Sprite_registerObstacle__P19636_mk(s); + s.tmp_2.arg0 = s.s___32090; + s.tmp_2.arg1 = s.collisionDirection___32412; + s.tmp_2.arg2 = s.tile___32438; s.tmp_2.arg3 = s.arg2; - s.callLocIdx = 595; s.pc = 112; return s.tmp_2; + s.callLocIdx = 599; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; - r0 = (s.unnamed415___U27 + 1); - s.unnamed415___U27 = (r0); + r0 = (s.unnamed191___U27 + 1); + s.unnamed191___U27 = (r0); { step = 53; continue; } case 54: - s.unnamed414___U26 = (undefined); - r0 = s.s___67079.fields["flags"]; + s.unnamed190___U26 = (undefined); + r0 = s.s___32090.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__P54638_mk(s); - s.tmp_2.arg0 = s.s___67079; + s.tmp_2 = Sprite_destroy__P19638_mk(s); + s.tmp_2.arg0 = s.s___32090; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 596; s.pc = 113; return s.tmp_2; + s.callLocIdx = 600; s.pc = 113; return s.tmp_2; case 113: r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___67079.fields["_vy"]; + r0 = s.s___32090.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -27236,13 +27274,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___67079.fields["flags"]; + r0 = s.s___32090.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___67320); + r0 = pxsim_numops_toBoolDecr(s.down___32331); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -27251,9 +27289,9 @@ switch (step) { r0 = s.tmp_5; { step = 57; continue; } case 56: - s.tmp_8 = Sprite_vy__P54582_mk(s); - s.tmp_8.arg0 = s.s___67079; - s.callLocIdx = 597; s.pc = 114; return s.tmp_8; + s.tmp_8 = Sprite_vy__P19582_mk(s); + s.tmp_8.arg0 = s.s___32090; + s.callLocIdx = 601; s.pc = 114; return s.tmp_8; case 114: r0 = s.retval; s.tmp_7 = r0; @@ -27266,15 +27304,15 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___67320; + s.tmp_10 = r0 = s.down___32331; 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__P54582_mk(s); - s.tmp_12.arg0 = s.s___67079; - s.callLocIdx = 598; s.pc = 115; return s.tmp_12; + s.tmp_12 = Sprite_vy__P19582_mk(s); + s.tmp_12.arg0 = s.s___32090; + s.callLocIdx = 602; s.pc = 115; return s.tmp_12; case 115: r0 = s.retval; s.tmp_11 = r0; @@ -27288,8 +27326,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___67079; - r0 = s.s___67079.fields["_vy"]; + s.tmp_15 = r0 = s.s___32090; + r0 = s.s___32090.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -27311,29 +27349,29 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___67079).fields["_vy"] = (0); + r0 = (s.s___32090).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: - s.tmp_2 = Math_sign__P52675_mk(s); - r0 = s.s___67079.fields["_vy"]; + s.tmp_2 = Math_sign__P17675_mk(s); + r0 = s.s___32090.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 603; s.pc = 116; return s.tmp_2; + s.callLocIdx = 607; s.pc = 116; return s.tmp_2; case 116: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P52675_mk(s); + s.tmp_6 = Math_sign__P17675_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_6.arg0 = r0; - s.callLocIdx = 605; s.pc = 117; return s.tmp_6; + s.callLocIdx = 609; s.pc = 117; return s.tmp_6; case 117: r0 = s.retval; s.tmp_5 = r0; @@ -27350,18 +27388,18 @@ switch (step) { case 72: case 73: case 74: - s.tmp_0 = game_Hitbox_left__P54517_mk(s); - s.tmp_0.arg0 = s.hbox___67102; - s.callLocIdx = 606; s.pc = 118; return s.tmp_0; + s.tmp_0 = game_Hitbox_left__P19517_mk(s); + s.tmp_0.arg0 = s.hbox___32113; + s.callLocIdx = 610; s.pc = 118; return s.tmp_0; case 118: r0 = s.retval; - s.x___67502 = (r0); + s.x___32513 = (r0); case 75: - s.tmp_1 = r0 = s.x___67502; - s.tmp_3 = r0 = s.tileSize___67108; - s.tmp_5 = game_Hitbox_right__P54519_mk(s); - s.tmp_5.arg0 = s.hbox___67102; - s.callLocIdx = 607; s.pc = 119; return s.tmp_5; + s.tmp_1 = r0 = s.x___32513; + s.tmp_3 = r0 = s.tileSize___32119; + s.tmp_5 = game_Hitbox_right__P19519_mk(s); + s.tmp_5.arg0 = s.hbox___32113; + s.callLocIdx = 611; s.pc = 119; return s.tmp_5; case 119: r0 = s.retval; s.tmp_4 = r0; @@ -27373,36 +27411,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 80; continue; } - s.tmp_9 = Fx_min__P52712_mk(s); - s.tmp_9.arg0 = s.x___67502; - s.tmp_10 = game_Hitbox_right__P54519_mk(s); - s.tmp_10.arg0 = s.hbox___67102; - s.callLocIdx = 609; s.pc = 121; return s.tmp_10; + s.tmp_9 = Fx_min__P17712_mk(s); + s.tmp_9.arg0 = s.x___32513; + s.tmp_10 = game_Hitbox_right__P19519_mk(s); + s.tmp_10.arg0 = s.hbox___32113; + s.callLocIdx = 613; s.pc = 121; return s.tmp_10; case 121: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 610; s.pc = 120; return s.tmp_9; + s.callLocIdx = 614; s.pc = 120; return s.tmp_9; case 120: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___67105 + 8); + r0 = (s.tileScale___32116 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___67512 = (r0); - s.tmp_0 = game_Hitbox_top__P54518_mk(s); - s.tmp_0.arg0 = s.hbox___67102; - s.callLocIdx = 613; s.pc = 122; return s.tmp_0; + s.x0___32523 = (r0); + s.tmp_0 = game_Hitbox_top__P19518_mk(s); + s.tmp_0.arg0 = s.hbox___32113; + s.callLocIdx = 617; s.pc = 122; return s.tmp_0; case 122: r0 = s.retval; - s.y___67522 = (r0); + s.y___32533 = (r0); case 76: - s.tmp_1 = r0 = s.y___67522; - s.tmp_3 = r0 = s.tileSize___67108; - s.tmp_5 = game_Hitbox_bottom__P54520_mk(s); - s.tmp_5.arg0 = s.hbox___67102; - s.callLocIdx = 614; s.pc = 123; return s.tmp_5; + s.tmp_1 = r0 = s.y___32533; + s.tmp_3 = r0 = s.tileSize___32119; + s.tmp_5 = game_Hitbox_bottom__P19520_mk(s); + s.tmp_5.arg0 = s.hbox___32113; + s.callLocIdx = 618; s.pc = 123; return s.tmp_5; case 123: r0 = s.retval; s.tmp_4 = r0; @@ -27414,29 +27452,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - s.tmp_9 = Fx_min__P52712_mk(s); - s.tmp_9.arg0 = s.y___67522; - s.tmp_10 = game_Hitbox_bottom__P54520_mk(s); - s.tmp_10.arg0 = s.hbox___67102; - s.callLocIdx = 616; s.pc = 125; return s.tmp_10; + s.tmp_9 = Fx_min__P17712_mk(s); + s.tmp_9.arg0 = s.y___32533; + s.tmp_10 = game_Hitbox_bottom__P19520_mk(s); + s.tmp_10.arg0 = s.hbox___32113; + s.callLocIdx = 620; s.pc = 125; return s.tmp_10; case 125: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 617; s.pc = 124; return s.tmp_9; + s.callLocIdx = 621; s.pc = 124; return s.tmp_9; case 124: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___67105 + 8); + r0 = (s.tileScale___32116 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___67532 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P54887_mk(s); + s.y0___32543 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P19887_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___67512; - s.tmp_3.arg2 = s.y0___67532; - s.callLocIdx = 620; s.pc = 126; return s.tmp_3; + s.tmp_3.arg1 = s.x0___32523; + s.tmp_3.arg2 = s.y0___32543; + s.callLocIdx = 624; s.pc = 126; return s.tmp_3; case 126: r0 = s.retval; s.tmp_2 = r0; @@ -27446,39 +27484,39 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 77; continue; } - s.tmp_4 = r0 = s.overlappedTiles___67126; - s.tmp_6 = tiles_TileMap_getTile__P54880_mk(s); + s.tmp_4 = r0 = s.overlappedTiles___32137; + s.tmp_6 = tiles_TileMap_getTile__P19880_mk(s); s.tmp_6.arg0 = s.arg2; - s.tmp_6.arg1 = s.x0___67512; - s.tmp_6.arg2 = s.y0___67532; - s.callLocIdx = 621; s.pc = 127; return s.tmp_6; + s.tmp_6.arg1 = s.x0___32523; + s.tmp_6.arg2 = s.y0___32543; + s.callLocIdx = 625; s.pc = 127; return s.tmp_6; case 127: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_4, s.tmp_5); case 77: case 78: - r0 = (s.tileSize___67108 << 8); + r0 = (s.tileSize___32119 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___67522); - s.y___67522 = (r0); + r0 = (s.tmp_0 + s.y___32533); + s.y___32533 = (r0); { step = 76; continue; } case 79: - r0 = (s.tileSize___67108 << 8); + r0 = (s.tileSize___32119 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___67502); - s.x___67502 = (r0); + r0 = (s.tmp_0 + s.x___32513); + s.x___32513 = (r0); { step = 75; continue; } case 80: - r0 = pxsim_Array__length(s.overlappedTiles___67126); + r0 = pxsim_Array__length(s.overlappedTiles___32137); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P56410_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P21413_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___67079; - s.tmp_1.arg2 = s.overlappedTiles___67126; - s.callLocIdx = 624; s.pc = 128; return s.tmp_1; + s.tmp_1.arg1 = s.s___32090; + s.tmp_1.arg2 = s.overlappedTiles___32137; + s.callLocIdx = 628; s.pc = 128; return s.tmp_1; case 128: r0 = s.retval; case 81: @@ -27488,12 +27526,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P56409.info = {"start":11417,"length":8619,"line":350,"column":4,"endLine":586,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P21412.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__P56409_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P21412_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P56409, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P21412, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27513,38 +27551,38 @@ function ArcadePhysicsEngine_tilemapCollisions__P56409_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___67079: undefined, - hbox___67102: undefined, - tileScale___67105: undefined, - tileSize___67108: undefined, - xDiff___67112: undefined, - yDiff___67119: undefined, - overlappedTiles___67126: undefined, - right___67131: undefined, - x0___67135: undefined, - collidedTiles___67150: undefined, - y___67152: undefined, - y0___67166: undefined, - obstacle___67182: undefined, - collisionDirection___67216: undefined, - tile___67242: undefined, - unnamed412___U15: undefined, - unnamed413___U16: undefined, - down___67320: undefined, - y0___67324: undefined, - collidedTiles___67339: undefined, - overlappedTiles___67341: undefined, - x___67343: undefined, - x0___67353: undefined, - obstacle___67367: undefined, - collisionDirection___67401: undefined, - tile___67427: undefined, - unnamed414___U26: undefined, - unnamed415___U27: undefined, - x___67502: undefined, - x0___67512: undefined, - y___67522: undefined, - y0___67532: undefined, + s___32090: undefined, + hbox___32113: undefined, + tileScale___32116: undefined, + tileSize___32119: undefined, + xDiff___32123: undefined, + yDiff___32130: undefined, + overlappedTiles___32137: undefined, + right___32142: undefined, + x0___32146: undefined, + collidedTiles___32161: undefined, + y___32163: undefined, + y0___32177: undefined, + obstacle___32193: undefined, + collisionDirection___32227: undefined, + tile___32253: undefined, + unnamed188___U15: undefined, + unnamed189___U16: undefined, + down___32331: undefined, + y0___32335: undefined, + collidedTiles___32350: undefined, + overlappedTiles___32352: undefined, + x___32354: undefined, + x0___32364: undefined, + obstacle___32378: undefined, + collisionDirection___32412: undefined, + tile___32438: undefined, + unnamed190___U26: undefined, + unnamed191___U27: undefined, + x___32513: undefined, + x0___32523: undefined, + y___32533: undefined, + y0___32543: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27554,7 +27592,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P56409_mk(s) { -function inline__P67190(s) { +function inline__P32201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27576,12 +27614,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67190.info = {"start":13538,"length":39,"line":414,"column":44,"endLine":414,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P32201.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__P67190_mk(s) { +function inline__P32201_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67190, depth: s.depth + 1, + parent: s, fn: inline__P32201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27592,7 +27630,7 @@ function inline__P67190_mk(s) { -function inline__P67375(s) { +function inline__P32386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27614,12 +27652,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67375.info = {"start":16773,"length":39,"line":496,"column":44,"endLine":496,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P32386.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__P67375_mk(s) { +function inline__P32386_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67375, depth: s.depth + 1, + parent: s, fn: inline__P32386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27630,7 +27668,7 @@ function inline__P67375_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P56410(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P21413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27640,11 +27678,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___67571 = undefined; - s.tile___67574 = undefined; - s.unnamed416___U2 = undefined; - s.unnamed417___U3 = undefined; - s.tileOverlapHandlers___67595 = undefined; + s.alreadyHandled___32582 = undefined; + s.tile___32585 = undefined; + s.unnamed192___U2 = undefined; + s.unnamed193___U3 = undefined; + s.tileOverlapHandlers___32606 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27652,27 +27690,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___67571 = (r0); - s.tile___67574 = (undefined); - s.unnamed416___U2 = (s.arg2); - s.unnamed417___U3 = (0); + s.alreadyHandled___32582 = (r0); + s.tile___32585 = (undefined); + s.unnamed192___U2 = (s.arg2); + s.unnamed193___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed417___U3; - r0 = pxsim_Array__length(s.unnamed416___U2); + s.tmp_0 = r0 = s.unnamed193___U3; + r0 = pxsim_Array__length(s.unnamed192___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed416___U2, s.unnamed417___U3); - s.tile___67574 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P67578); + r0 = pxsim_Array__getAt(s.unnamed192___U2, s.unnamed193___U3); + s.tile___32585 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P32589); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___67574); - s.tmp_4 = helpers_arraySome__P52656_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___67571; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___32585); + s.tmp_4 = helpers_arraySome__P17656_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___32582; s.tmp_4.arg1 = s.tmp_2; - s.callLocIdx = 629; s.pc = 8; return s.tmp_4; + s.callLocIdx = 633; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -27681,64 +27719,64 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___67571, s.tile___67574); - s.tmp_0 = game_currentScene__P55080_mk(s); - s.callLocIdx = 630; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array__push(s.alreadyHandled___32582, s.tile___32585); + s.tmp_0 = game_currentScene__P20083_mk(s); + s.callLocIdx = 634; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___67595 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___67595); + s.tileOverlapHandlers___32606 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___32606); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P67603); + r0 = pxsim_pxtcore_mkAction(2, inline__P32614); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___67574); - r0 = pxsim_pxtcore_mkAction(2, inline__P67619); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___32585); + r0 = pxsim_pxtcore_mkAction(2, inline__P32630); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___67574); - s.tmp_2 = helpers_arrayForEach__P52658_mk(s); - s.tmp_3 = helpers_arrayFilter__P52659_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___67595; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___32585); + s.tmp_2 = helpers_arrayForEach__P17658_mk(s); + s.tmp_3 = helpers_arrayFilter__P17659_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___32606; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 633; s.pc = 11; return s.tmp_3; + s.callLocIdx = 637; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 635; s.pc = 10; return s.tmp_2; + s.callLocIdx = 639; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; case 4: case 5: case 6: - r0 = (s.unnamed417___U3 + 1); - s.unnamed417___U3 = (r0); + r0 = (s.unnamed193___U3 + 1); + s.unnamed193___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed416___U2 = (undefined); + s.unnamed192___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P56410.info = {"start":20313,"length":699,"line":594,"column":4,"endLine":610,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P21413.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__P56410_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P21413_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P56410, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P21413, 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___67571: undefined, - tile___67574: undefined, - unnamed416___U2: undefined, - unnamed417___U3: undefined, - tileOverlapHandlers___67595: undefined, + alreadyHandled___32582: undefined, + tile___32585: undefined, + unnamed192___U2: undefined, + unnamed193___U3: undefined, + tileOverlapHandlers___32606: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27748,7 +27786,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P56410_mk(s) { -function inline__P67578(s) { +function inline__P32589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27785,12 +27823,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67578.info = {"start":20526,"length":45,"line":598,"column":36,"endLine":598,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +inline__P32589.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__P67578_mk(s) { +function inline__P32589_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67578, depth: s.depth + 1, + parent: s, fn: inline__P32589, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27805,7 +27843,7 @@ function inline__P67578_mk(s) { -function inline__P67603(s) { +function inline__P32614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27832,9 +27870,9 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P54896_mk(s); + s.tmp_5 = tiles_getTileImage__P19896_mk(s); s.tmp_5.arg0 = s.caps[1]; - s.callLocIdx = 632; s.pc = 3; return s.tmp_5; + s.callLocIdx = 636; s.pc = 3; return s.tmp_5; case 3: r0 = s.retval; s.tmp_4 = r0; @@ -27846,12 +27884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67603.info = {"start":20840,"length":81,"line":606,"column":28,"endLine":606,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P32614.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__P67603_mk(s) { +function inline__P32614_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67603, depth: s.depth + 1, + parent: s, fn: inline__P32614, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27867,7 +27905,7 @@ function inline__P67603_mk(s) { -function inline__P67619(s) { +function inline__P32630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27887,12 +27925,12 @@ switch (step) { s.tmp_0.arg2 = s.caps[1]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 634; s.pc = 1; return s.tmp_0; + s.callLocIdx = 638; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 634; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 634; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 634; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 638; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 638; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 638; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -27900,12 +27938,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67619.info = {"start":20952,"length":28,"line":607,"column":29,"endLine":607,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P32630.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__P67619_mk(s) { +function inline__P32630_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67619, depth: s.depth + 1, + parent: s, fn: inline__P32630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27915,7 +27953,7 @@ function inline__P67619_mk(s) { -function tiles_getTileImage__P54896(s) { +function tiles_getTileImage__P19896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27925,16 +27963,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___67627 = undefined; + s.scene___32638 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P55080_mk(s); - s.callLocIdx = 775; s.pc = 6; return s.tmp_0; + s.tmp_0 = game_currentScene__P20083_mk(s); + s.callLocIdx = 779; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___67627 = (r0); + s.scene___32638 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -27944,7 +27982,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___67627.fields["tileMap"]; + r0 = s.scene___32638.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -27954,32 +27992,32 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex67637); + r0 = pxsim.image.ofBuffer(_hex32648); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P54890_mk(s); - r0 = s.scene___67627.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P19890_mk(s); + r0 = s.scene___32638.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P54846_mk(s); + s.tmp_6 = tiles_Location_tileSet__P19846_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 776; s.pc = 8; return s.tmp_6; + s.callLocIdx = 780; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5.arg1 = r0; - s.callLocIdx = 777; s.pc = 7; return s.tmp_5; + s.callLocIdx = 781; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; case 5: return leave(s, r0) default: oops() } } } -tiles_getTileImage__P54896.info = {"start":16582,"length":207,"line":524,"column":4,"endLine":528,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P19896.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__P54896_mk(s) { +function tiles_getTileImage__P19896_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P54896, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P19896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27988,16 +28026,16 @@ function tiles_getTileImage__P54896_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___67627: undefined, + scene___32638: undefined, arg0: undefined, } } -const _hex67637 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex32648 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P54890(s) { +function tiles_TileMap_getTileImage__P19890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28013,23 +28051,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P54864_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P19864_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 765; s.pc = 1; return s.tmp_0; + s.callLocIdx = 769; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P54890.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__P19890.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__P54890_mk(s) { +function tiles_TileMap_getTileImage__P19890_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P54890, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P19890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28040,7 +28078,7 @@ function tiles_TileMap_getTileImage__P54890_mk(s) { -function tiles_TileMapData_getTileImage__P54864(s) { +function tiles_TileMapData_getTileImage__P19864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28050,25 +28088,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___59887 = undefined; - s.cachedImage___59891 = undefined; - s.originalImage___59897 = undefined; + s.size___24890 = undefined; + s.cachedImage___24894 = undefined; + s.originalImage___24900 = 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__C54855_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C19855_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___59887 = (r0); + s.size___24890 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___59891 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___59891); + s.cachedImage___24894 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___24894); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28077,58 +28115,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___59897 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___59897); + s.originalImage___24900 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___24900); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___59897); + r0 = pxsim_ImageMethods.width(s.originalImage___24900); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___59887); + r0 = (s.tmp_1 <= s.size___24890); 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___59897); + r0 = pxsim_ImageMethods.height(s.originalImage___24900); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___59887); + r0 = (s.tmp_2 <= s.size___24890); 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___59891 = (s.originalImage___59897); + s.cachedImage___24894 = (s.originalImage___24900); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___59887, s.size___59887); - s.cachedImage___59891 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___59891, s.originalImage___59897, 0, 0); + r0 = pxsim.image.create(s.size___24890, s.size___24890); + s.cachedImage___24894 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___24894, s.originalImage___24900, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___59891); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___24894); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___59891; + r0 = s.cachedImage___24894; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P54864.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__P19864.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__P54864_mk(s) { +function tiles_TileMapData_getTileImage__P19864_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P54864, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P19864, 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___59887: undefined, - cachedImage___59891: undefined, - originalImage___59897: undefined, + size___24890: undefined, + cachedImage___24894: undefined, + originalImage___24900: undefined, arg0: undefined, arg1: undefined, } } @@ -28137,7 +28175,7 @@ function tiles_TileMapData_getTileImage__P54864_mk(s) { -function tiles_TileMapData_scale__P54859(s) { +function tiles_TileMapData_scale__P19859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28152,18 +28190,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C54855_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C19855_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P54859.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__P54859.isGetter = true; +tiles_TileMapData_scale__P19859.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__P19859.isGetter = true; -function tiles_TileMapData_scale__P54859_mk(s) { +function tiles_TileMapData_scale__P19859_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P54859, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P19859, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28172,7 +28210,7 @@ function tiles_TileMapData_scale__P54859_mk(s) { -function tiles_Location_tileSet__P54846(s) { +function tiles_Location_tileSet__P19846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28187,27 +28225,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C54840_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P54881_mk(s); + if (!checkSubtype(r0, tiles_Location__C19840_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P19881_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["_row"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 687; s.pc = 1; return s.tmp_0; + s.callLocIdx = 691; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P54846.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__P54846.isGetter = true; +tiles_Location_tileSet__P19846.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__P19846.isGetter = true; -function tiles_Location_tileSet__P54846_mk(s) { +function tiles_Location_tileSet__P19846_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P54846, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P19846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28217,7 +28255,7 @@ function tiles_Location_tileSet__P54846_mk(s) { -function tiles_TileMap_getTileIndex__P54881(s) { +function tiles_TileMap_getTileIndex__P19881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28234,24 +28272,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P54861_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P19861_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 715; s.pc = 1; return s.tmp_0; + s.callLocIdx = 719; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P54881.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__P19881.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__P54881_mk(s) { +function tiles_TileMap_getTileIndex__P19881_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P54881, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P19881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28263,7 +28301,7 @@ function tiles_TileMap_getTileIndex__P54881_mk(s) { -function tiles_TileMapData_getTile__P54861(s) { +function tiles_TileMapData_getTile__P19861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28280,12 +28318,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C54855_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P54867_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C19855_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P19867_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 692; s.pc = 4; return s.tmp_1; + s.callLocIdx = 696; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0; @@ -28314,12 +28352,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P54861.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__P19861.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__P54861_mk(s) { +function tiles_TileMapData_getTile__P19861_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P54861, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P19861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28339,7 +28377,7 @@ function tiles_TileMapData_getTile__P54861_mk(s) { -function tiles_TileMapData_isOutsideMap__P54867(s) { +function tiles_TileMapData_isOutsideMap__P19867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28356,7 +28394,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C54855_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C19855_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -28396,12 +28434,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P54867.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__P19867.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__P54867_mk(s) { +function tiles_TileMapData_isOutsideMap__P19867_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P54867, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P19867, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28420,7 +28458,7 @@ function tiles_TileMapData_isOutsideMap__P54867_mk(s) { -function tiles_Location_row__P54842(s) { +function tiles_Location_row__P19842(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28435,18 +28473,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C54840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C19840_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P54842.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__P54842.isGetter = true; +tiles_Location_row__P19842.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__P19842.isGetter = true; -function tiles_Location_row__P54842_mk(s) { +function tiles_Location_row__P19842_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P54842, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P19842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28455,7 +28493,7 @@ function tiles_Location_row__P54842_mk(s) { -function tiles_Location_col__P54841(s) { +function tiles_Location_col__P19841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28470,18 +28508,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C54840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C19840_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_col__P54841.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__P54841.isGetter = true; +tiles_Location_col__P19841.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__P19841.isGetter = true; -function tiles_Location_col__P54841_mk(s) { +function tiles_Location_col__P19841_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P54841, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P19841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28490,7 +28528,7 @@ function tiles_Location_col__P54841_mk(s) { -function tiles_TileMap_getObstacle__P54888(s) { +function tiles_TileMap_getObstacle__P19888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28500,8 +28538,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___67745 = undefined; - s.tile___67757 = undefined; + s.index___32756 = undefined; + s.tile___32768 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28509,13 +28547,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P54867_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P19867_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 744; s.pc = 3; return s.tmp_1; + s.callLocIdx = 748; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -28524,31 +28562,31 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P54861_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P19861_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 745; s.pc = 4; return s.tmp_2; + s.callLocIdx = 749; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___67745 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P54864_mk(s); + s.index___32756 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P19864_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___67745; - s.callLocIdx = 746; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = s.index___32756; + s.callLocIdx = 750; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___67757 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C54697_VT); + s.tile___32768 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C19697_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P54703_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P19703_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___67757; + s.tmp_1.arg1 = s.tile___32768; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -28561,20 +28599,20 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___67745; - s.callLocIdx = 750; s.pc = 6; return s.tmp_1; + s.tmp_1.arg5 = s.index___32756; + s.callLocIdx = 754; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P54888.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__P19888.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__P54888_mk(s) { +function tiles_TileMap_getObstacle__P19888_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P54888, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P19888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28582,8 +28620,8 @@ function tiles_TileMap_getObstacle__P54888_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___67745: undefined, - tile___67757: undefined, + index___32756: undefined, + tile___32768: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28593,7 +28631,7 @@ function tiles_TileMap_getObstacle__P54888_mk(s) { -function tiles_TileMap_layer__P54876(s) { +function tiles_TileMap_layer__P19876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28608,18 +28646,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P54876.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__P54876.isGetter = true; +tiles_TileMap_layer__P19876.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__P19876.isGetter = true; -function tiles_TileMap_layer__P54876_mk(s) { +function tiles_TileMap_layer__P19876_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P54876, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P19876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28628,7 +28666,7 @@ function tiles_TileMap_layer__P54876_mk(s) { -function sprites_StaticObstacle_constructor__P54703(s) { +function sprites_StaticObstacle_constructor__P19703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28648,7 +28686,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C54697_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C19697_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -28658,12 +28696,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P54703.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__P19703.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__P54703_mk(s) { +function sprites_StaticObstacle_constructor__P19703_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P54703, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P19703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28677,7 +28715,7 @@ function sprites_StaticObstacle_constructor__P54703_mk(s) { -function tiles_TileMap_isObstacle__P54887(s) { +function tiles_TileMap_isObstacle__P19887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28694,7 +28732,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -28715,12 +28753,12 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P54867_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P19867_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; s.tmp_8.arg2 = s.arg2; - s.callLocIdx = 742; s.pc = 6; return s.tmp_8; + s.callLocIdx = 746; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; s.tmp_7 = r0; @@ -28741,12 +28779,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P54887.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__P19887.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__P54887_mk(s) { +function tiles_TileMap_isObstacle__P19887_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P54887, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P19887, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28769,7 +28807,7 @@ function tiles_TileMap_isObstacle__P54887_mk(s) { -function tiles_TileMapData_isWall__P54866(s) { +function tiles_TileMapData_isWall__P19866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28786,7 +28824,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C54855_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C19855_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -28795,12 +28833,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P54866.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__P19866.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__P54866_mk(s) { +function tiles_TileMapData_isWall__P19866_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P54866, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P19866, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28813,7 +28851,7 @@ function tiles_TileMapData_isWall__P54866_mk(s) { -function tiles_TileMap_getTile__P54880(s) { +function tiles_TileMap_getTile__P19880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28830,27 +28868,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C54840_VT); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C19840_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P54843_mk(s); + s.tmp_1 = tiles_Location_constructor__P19843_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 713; s.pc = 1; return s.tmp_1; + s.callLocIdx = 717; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P54880.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__P19880.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__P54880_mk(s) { +function tiles_TileMap_getTile__P19880_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P54880, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P19880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28863,7 +28901,7 @@ function tiles_TileMap_getTile__P54880_mk(s) { -function tiles_Location_constructor__P54843(s) { +function tiles_Location_constructor__P19843(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28881,7 +28919,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C54840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C19840_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -28889,12 +28927,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P54843.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__P19843.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__P54843_mk(s) { +function tiles_Location_constructor__P19843_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P54843, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P19843, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28906,7 +28944,7 @@ function tiles_Location_constructor__P54843_mk(s) { -function Sprite_registerObstacle__P54636(s) { +function Sprite_registerObstacle__P19636(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28916,10 +28954,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___67658 = undefined; - s.wallCollisionHandlers___67665 = undefined; - s.wallHandlersToRun___67690 = undefined; - s.asTileLocation___67703 = undefined; + s.collisionHandlers___32669 = undefined; + s.wallCollisionHandlers___32676 = undefined; + s.wallHandlersToRun___32701 = undefined; + s.asTileLocation___32714 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28928,11 +28966,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P55080_mk(s); + s.tmp_1 = game_currentScene__P20083_mk(s); s.callLocIdx = 357; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -28952,24 +28990,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___67658 = (r0); - s.tmp_0 = game_currentScene__P55080_mk(s); + s.collisionHandlers___32669 = (r0); + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 359; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___67665 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___67658); + s.wallCollisionHandlers___32676 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___32669); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P67673); + r0 = pxsim_pxtcore_mkAction(1, inline__P32684); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P67679); + r0 = pxsim_pxtcore_mkAction(1, inline__P32690); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P52658_mk(s); - s.tmp_3 = helpers_arrayFilter__P52659_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___67658; + s.tmp_2 = helpers_arrayForEach__P17658_mk(s); + s.tmp_3 = helpers_arrayFilter__P17659_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___32669; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 361; s.pc = 13; return s.tmp_3; case 13: @@ -28981,7 +29019,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___67665); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___32676); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -28989,7 +29027,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P55080_mk(s); + s.tmp_1 = game_currentScene__P20083_mk(s); s.callLocIdx = 364; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -28998,21 +29036,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, inline__P67692); + r0 = pxsim_pxtcore_mkAction(1, inline__P32703); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P52659_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___67665; + s.tmp_1 = helpers_arrayFilter__P17659_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___32676; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 366; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___67690 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___67690); + s.wallHandlersToRun___32701 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___32701); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P54880_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P19880_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -29051,13 +29089,13 @@ switch (step) { s.callLocIdx = 371; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___67703 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P67719); + s.asTileLocation___32714 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P32730); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___67703); - s.tmp_1 = helpers_arrayForEach__P52658_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___67690; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___32714); + s.tmp_1 = helpers_arrayForEach__P17658_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___32701; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 373; s.pc = 19; return s.tmp_1; case 19: @@ -29070,12 +29108,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P54636.info = {"start":26843,"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__P19636.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__P54636_mk(s) { +function Sprite_registerObstacle__P19636_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P54636, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P19636, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29085,10 +29123,10 @@ function Sprite_registerObstacle__P54636_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___67658: undefined, - wallCollisionHandlers___67665: undefined, - wallHandlersToRun___67690: undefined, - asTileLocation___67703: undefined, + collisionHandlers___32669: undefined, + wallCollisionHandlers___32676: undefined, + wallHandlersToRun___32701: undefined, + asTileLocation___32714: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29099,7 +29137,7 @@ function Sprite_registerObstacle__P54636_mk(s) { -function inline__P67673(s) { +function inline__P32684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29121,12 +29159,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67673.info = {"start":27241,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P32684.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__P67673_mk(s) { +function inline__P32684_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67673, depth: s.depth + 1, + parent: s, fn: inline__P32684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29137,7 +29175,7 @@ function inline__P67673_mk(s) { -function inline__P67679(s) { +function inline__P32690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29169,12 +29207,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67679.info = {"start":27294,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P32690.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__P67679_mk(s) { +function inline__P32690_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67679, depth: s.depth + 1, + parent: s, fn: inline__P32690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29184,7 +29222,7 @@ function inline__P67679_mk(s) { -function inline__P67692(s) { +function inline__P32703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29206,12 +29244,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67692.info = {"start":27500,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P32703.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__P67692_mk(s) { +function inline__P32703_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67692, depth: s.depth + 1, + parent: s, fn: inline__P32703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29222,7 +29260,7 @@ function inline__P67692_mk(s) { -function inline__P67719(s) { +function inline__P32730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29255,12 +29293,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67719.info = {"start":27740,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P32730.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__P67719_mk(s) { +function inline__P32730_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67719, depth: s.depth + 1, + parent: s, fn: inline__P32730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29270,7 +29308,7 @@ function inline__P67719_mk(s) { -function Fx_min__P52712(s) { +function Fx_min__P17712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29301,12 +29339,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P52712.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__P17712.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__P52712_mk(s) { +function Fx_min__P17712_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P52712, depth: s.depth + 1, + parent: s, fn: Fx_min__P17712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29317,7 +29355,7 @@ function Fx_min__P52712_mk(s) { -function Fx_iadd__P52704(s) { +function Fx_iadd__P17704(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29338,12 +29376,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P52704.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__P17704.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__P52704_mk(s) { +function Fx_iadd__P17704_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P52704, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P17704, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29354,7 +29392,7 @@ function Fx_iadd__P52704_mk(s) { -function Fx_toIntShifted__P52702(s) { +function Fx_toIntShifted__P17702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29376,12 +29414,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P52702.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__P17702.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__P52702_mk(s) { +function Fx_toIntShifted__P17702_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P52702, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P17702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29393,7 +29431,7 @@ function Fx_toIntShifted__P52702_mk(s) { -function helpers_arraySome__P52656(s) { +function helpers_arraySome__P17656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29403,26 +29441,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___67727 = undefined; - s.i___67730 = undefined; + s.len___32738 = undefined; + s.i___32741 = 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___67727 = (r0); - s.i___67730 = (0); + s.len___32738 = (r0); + s.i___32741 = (0); case 1: - r0 = (s.i___67730 < s.len___67727); + r0 = (s.i___32741 < s.len___32738); 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___67730); + r0 = pxsim_Array__getAt(s.arg0, s.i___32741); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___67730; + s.tmp_2.arg1 = s.i___32741; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: @@ -29434,8 +29472,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___67730 + 1); - s.i___67730 = (r0); + r0 = (s.i___32741 + 1); + s.i___32741 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -29443,18 +29481,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P52656.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__P17656.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__P52656_mk(s) { +function helpers_arraySome__P17656_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P52656, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P17656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___67727: undefined, - i___67730: undefined, + len___32738: undefined, + i___32741: undefined, arg0: undefined, arg1: undefined, } } @@ -29463,7 +29501,7 @@ function helpers_arraySome__P52656_mk(s) { -function tiles_TileMap_isOnWall__P54889(s) { +function tiles_TileMap_isOnWall__P19889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29473,25 +29511,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___67020 = undefined; - s.left___67023 = undefined; - s.right___67029 = undefined; - s.top___67035 = undefined; - s.bottom___67041 = undefined; - s.col___67047 = undefined; - s.row___67053 = undefined; + s.hbox___32031 = undefined; + s.left___32034 = undefined; + s.right___32040 = undefined; + s.top___32046 = undefined; + s.bottom___32052 = undefined; + s.col___32058 = undefined; + s.row___32064 = 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__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___67020 = (r0); - s.tmp_1 = game_Hitbox_left__P54517_mk(s); - s.tmp_1.arg0 = s.hbox___67020; - s.callLocIdx = 751; s.pc = 8; return s.tmp_1; + s.hbox___32031 = (r0); + s.tmp_1 = game_Hitbox_left__P19517_mk(s); + s.tmp_1.arg0 = s.hbox___32031; + s.callLocIdx = 755; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -29500,10 +29538,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___67023 = (r0); - s.tmp_1 = game_Hitbox_right__P54519_mk(s); - s.tmp_1.arg0 = s.hbox___67020; - s.callLocIdx = 754; s.pc = 9; return s.tmp_1; + s.left___32034 = (r0); + s.tmp_1 = game_Hitbox_right__P19519_mk(s); + s.tmp_1.arg0 = s.hbox___32031; + s.callLocIdx = 758; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -29512,10 +29550,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___67029 = (r0); - s.tmp_1 = game_Hitbox_top__P54518_mk(s); - s.tmp_1.arg0 = s.hbox___67020; - s.callLocIdx = 757; s.pc = 10; return s.tmp_1; + s.right___32040 = (r0); + s.tmp_1 = game_Hitbox_top__P19518_mk(s); + s.tmp_1.arg0 = s.hbox___32031; + s.callLocIdx = 761; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; @@ -29524,10 +29562,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___67035 = (r0); - s.tmp_1 = game_Hitbox_bottom__P54520_mk(s); - s.tmp_1.arg0 = s.hbox___67020; - s.callLocIdx = 760; s.pc = 11; return s.tmp_1; + s.top___32046 = (r0); + s.tmp_1 = game_Hitbox_bottom__P19520_mk(s); + s.tmp_1.arg0 = s.hbox___32031; + s.callLocIdx = 764; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -29536,24 +29574,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___67041 = (r0); - s.col___67047 = (s.left___67023); + s.bottom___32052 = (r0); + s.col___32058 = (s.left___32034); case 1: - r0 = (s.col___67047 <= s.right___67029); + r0 = (s.col___32058 <= s.right___32040); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___67053 = (s.top___67035); + s.row___32064 = (s.top___32046); case 2: - r0 = (s.row___67053 <= s.bottom___67041); + r0 = (s.row___32064 <= s.bottom___32052); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P54887_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P19887_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___67047; - s.tmp_2.arg2 = s.row___67053; - s.callLocIdx = 763; s.pc = 12; return s.tmp_2; + s.tmp_2.arg1 = s.col___32058; + s.tmp_2.arg2 = s.row___32064; + s.callLocIdx = 767; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; @@ -29563,12 +29601,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___67053 + 1); - s.row___67053 = (r0); + r0 = (s.row___32064 + 1); + s.row___32064 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___67047 + 1); - s.col___67047 = (r0); + r0 = (s.col___32058 + 1); + s.col___32058 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -29576,24 +29614,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P54889.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__P19889.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__P54889_mk(s) { +function tiles_TileMap_isOnWall__P19889_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P54889, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P19889, 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___67020: undefined, - left___67023: undefined, - right___67029: undefined, - top___67035: undefined, - bottom___67041: undefined, - col___67047: undefined, - row___67053: undefined, + hbox___32031: undefined, + left___32034: undefined, + right___32040: undefined, + top___32046: undefined, + bottom___32052: undefined, + col___32058: undefined, + row___32064: undefined, arg0: undefined, arg1: undefined, } } @@ -29602,7 +29640,7 @@ function tiles_TileMap_isOnWall__P54889_mk(s) { -function MovingSprite_constructor__P54723(s) { +function MovingSprite_constructor__P19723(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29624,7 +29662,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C54722_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C19722_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -29636,12 +29674,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P54723.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__P19723.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__P54723_mk(s) { +function MovingSprite_constructor__P19723_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P54723, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P19723, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -29657,7 +29695,7 @@ function MovingSprite_constructor__P54723_mk(s) { -function ArcadePhysicsEngine_move__P54736(s) { +function ArcadePhysicsEngine_move__P19736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29667,34 +29705,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtf___67816 = undefined; - s.dtSec___67823 = undefined; - s.dt2___67827 = undefined; - s.scene___67831 = undefined; - s.tileMap___67834 = undefined; - s.movingSprites___67837 = undefined; - s.MAX_STEP_COUNT___67868 = undefined; - s.overlapHandlers___67879 = undefined; - s.selected___67886 = undefined; - s.buffers___67887 = undefined; - s.count___67891 = undefined; - s.currMovers___67901 = undefined; - s.remainingMovers___67908 = undefined; - s.ms___67913 = undefined; - s.unnamed406___U14 = undefined; - s.unnamed407___U15 = undefined; - s.s___67915 = undefined; - s.stepX___68008 = undefined; - s.stepY___68022 = undefined; + s.dtf___32827 = undefined; + s.dt2___32834 = undefined; + s.scene___32838 = undefined; + s.tileMap___32841 = undefined; + s.movingSprites___32844 = undefined; + s.MAX_STEP_COUNT___32875 = undefined; + s.overlapHandlers___32887 = undefined; + s.selected___32894 = undefined; + s.buffers___32895 = undefined; + s.count___32899 = undefined; + s.currMovers___32909 = undefined; + s.remainingMovers___32916 = undefined; + s.ms___32921 = undefined; + s.unnamed182___U13 = undefined; + s.unnamed183___U14 = undefined; + s.s___32923 = undefined; + s.stepX___33016 = undefined; + s.stepY___33030 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); - s.tmp_0 = Fx_min__P52712_mk(s); - s.tmp_0.arg0 = globals.MAX_TIME_STEP___54719; + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); + s.tmp_0 = Fx_min__P17712_mk(s); + s.tmp_0.arg0 = globals.MAX_TIME_STEP___19719; r0 = (s.arg1 * 1000); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); @@ -29704,95 +29741,95 @@ switch (step) { s.callLocIdx = 458; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtf___67816 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___67816, 1000); - s.dtSec___67823 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___67816, 2); - s.dt2___67827 = (r0); - s.tmp_0 = game_currentScene__P55080_mk(s); - s.callLocIdx = 461; s.pc = 48; return s.tmp_0; + s.dtf___32827 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___32827, 2); + s.dt2___32834 = (r0); + s.tmp_0 = game_currentScene__P20083_mk(s); + s.callLocIdx = 460; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___67831 = (r0); - r0 = s.scene___67831.fields["tileMap"]; - s.tileMap___67834 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P67839); + s.scene___32838 = (r0); + r0 = s.scene___32838.fields["tileMap"]; + s.tileMap___32841 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P32846); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtSec___67823); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___67827); - s.tmp_1 = helpers_arrayMap__P52655_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtf___32827); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___32834); + s.tmp_1 = helpers_arrayMap__P17655_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 463; s.pc = 49; return s.tmp_1; + s.callLocIdx = 462; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___67837 = (r0); - s.tmp_0 = helpers_arrayForEach__P52658_mk(s); + s.movingSprites___32844 = (r0); + s.tmp_0 = helpers_arrayForEach__P17658_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P67851; - s.callLocIdx = 467; s.pc = 50; return s.tmp_0; + s.tmp_0.arg1 = inline__P32858; + s.callLocIdx = 466; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P54651_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P19651_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 468; s.pc = 51; return s.tmp_0; + s.callLocIdx = 467; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P54650_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P19650_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 469; s.pc = 52; return s.tmp_0; + s.callLocIdx = 468; s.pc = 52; return s.tmp_0; case 52: r0 = s.retval; r0 = s.arg0.fields["maxVelocity"]; - s.tmp_2 = r0; - r0 = s.arg0.fields["minSingleStep"]; s.tmp_3 = r0; - r0 = (s.tmp_2 << 8); + r0 = s.arg0.fields["minSingleStep"]; s.tmp_4 = r0; - r0 = pxsim.Math_.idiv(s.tmp_4, s.tmp_3); - s.tmp_1 = r0; - r0 = pxsim.Math_.imul(s.tmp_1, s.dtSec___67823); + r0 = (s.tmp_3 << 8); s.tmp_5 = r0; - r0 = (s.tmp_5 >> 8); - s.tmp_0 = r0; - r0 = (s.tmp_0 + 128); + r0 = pxsim.Math_.idiv(s.tmp_5, s.tmp_4); + s.tmp_2 = r0; + r0 = pxsim.Math_.imul(s.tmp_2, s.dtf___32827); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); - s.MAX_STEP_COUNT___67868 = (r0); - s.tmp_0 = helpers_arraySlice__P52663_mk(s); - r0 = s.scene___67831.fields["overlapHandlers"]; + s.tmp_1 = r0; + r0 = pxsim.Math_.idiv(s.tmp_1, 1000); + s.tmp_0 = r0; + r0 = (s.tmp_0 + 128); + s.tmp_7 = r0; + r0 = (s.tmp_7 >> 8); + s.MAX_STEP_COUNT___32875 = (r0); + s.tmp_0 = helpers_arraySlice__P17663_mk(s); + r0 = s.scene___32838.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 473; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.overlapHandlers___67879 = (r0); - s.selected___67886 = (0); + s.overlapHandlers___32887 = (r0); + s.selected___32894 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___67837); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___32844); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___67887 = (s.tmp_0); - s.count___67891 = (0); + s.buffers___32895 = (s.tmp_0); + s.count___32899 = (0); case 1: - r0 = (s.count___67891 < s.MAX_STEP_COUNT___67868); + r0 = (s.count___32899 < s.MAX_STEP_COUNT___32875); 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___67887, s.selected___67886); + r0 = pxsim_Array__getAt(s.buffers___32895, s.selected___32894); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -29802,43 +29839,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___67887, s.selected___67886); - s.currMovers___67901 = (r0); - r0 = (s.selected___67886 ^ 1); - s.selected___67886 = (r0); - r0 = pxsim_Array__getAt(s.buffers___67887, s.selected___67886); - s.remainingMovers___67908 = (r0); - s.ms___67913 = (undefined); - s.unnamed406___U14 = (s.currMovers___67901); - s.unnamed407___U15 = (0); + r0 = pxsim_Array__getAt(s.buffers___32895, s.selected___32894); + s.currMovers___32909 = (r0); + r0 = (s.selected___32894 ^ 1); + s.selected___32894 = (r0); + r0 = pxsim_Array__getAt(s.buffers___32895, s.selected___32894); + s.remainingMovers___32916 = (r0); + s.ms___32921 = (undefined); + s.unnamed182___U13 = (s.currMovers___32909); + s.unnamed183___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed407___U15; - r0 = pxsim_Array__length(s.unnamed406___U14); + s.tmp_0 = r0 = s.unnamed183___U14; + r0 = pxsim_Array__length(s.unnamed182___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_Array__getAt(s.unnamed406___U14, s.unnamed407___U15); - s.ms___67913 = (r0); - r0 = s.ms___67913.fields["sprite"]; - s.s___67915 = (r0); - r0 = s.ms___67913.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed182___U13, s.unnamed183___U14); + s.ms___32921 = (r0); + r0 = s.ms___32921.fields["sprite"]; + s.s___32923 = (r0); + r0 = s.ms___32921.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___67915.fields["_vx"]; + r0 = s.s___32923.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___67915.fields["_vx"]; + r0 = s.s___32923.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___67913).fields["dx"] = (0); + r0 = (s.ms___32921).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___67915.fields["_vx"]; + r0 = s.s___32923.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -29847,7 +29884,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___67913.fields["cachedVx"]; + r0 = s.ms___32921.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -29858,7 +29895,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___67915.fields["_vx"]; + r0 = s.s___32923.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -29867,7 +29904,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___67913.fields["cachedVx"]; + r0 = s.ms___32921.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -29879,14 +29916,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___67913; - r0 = s.ms___67913.fields["dx"]; + s.tmp_9 = r0 = s.ms___32921; + r0 = s.ms___32921.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___67913; - r0 = s.ms___67913.fields["xStep"]; + s.tmp_0 = r0 = s.ms___32921; + r0 = s.ms___32921.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -29894,29 +29931,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___67915.fields["_vx"]; + r0 = s.s___32923.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___67913).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___32921).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___67913.fields["cachedVy"]; + r0 = s.ms___32921.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___67915.fields["_vy"]; + r0 = s.s___32923.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___67915.fields["_vy"]; + r0 = s.s___32923.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___67913).fields["dy"] = (0); + r0 = (s.ms___32921).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___67915.fields["_vy"]; + r0 = s.s___32923.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -29925,7 +29962,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___67913.fields["cachedVy"]; + r0 = s.ms___32921.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -29936,7 +29973,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___67915.fields["_vy"]; + r0 = s.s___32923.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -29945,7 +29982,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___67913.fields["cachedVy"]; + r0 = s.ms___32921.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -29957,14 +29994,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___67913; - r0 = s.ms___67913.fields["dy"]; + s.tmp_9 = r0 = s.ms___32921; + r0 = s.ms___32921.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___67913; - r0 = s.ms___67913.fields["yStep"]; + s.tmp_0 = r0 = s.ms___32921; + r0 = s.ms___32921.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -29972,20 +30009,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___67915.fields["_vy"]; + r0 = s.s___32923.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___67913).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___32921).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P52711_mk(s); - r0 = s.ms___67913.fields["xStep"]; + s.tmp_2 = Fx_abs__P17711_mk(s); + r0 = s.ms___32921.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 478; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P52711_mk(s); - r0 = s.ms___67913.fields["dx"]; + s.tmp_4 = Fx_abs__P17711_mk(s); + r0 = s.ms___32921.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 479; s.pc = 55; return s.tmp_4; case 55: @@ -29995,23 +30032,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___67913.fields["dx"]; + r0 = s.ms___32921.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___67913.fields["xStep"]; + r0 = s.ms___32921.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___68008 = (s.tmp_5); - s.tmp_2 = Fx_abs__P52711_mk(s); - r0 = s.ms___67913.fields["yStep"]; + s.stepX___33016 = (s.tmp_5); + s.tmp_2 = Fx_abs__P17711_mk(s); + r0 = s.ms___32921.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 480; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P52711_mk(s); - r0 = s.ms___67913.fields["dy"]; + s.tmp_4 = Fx_abs__P17711_mk(s); + r0 = s.ms___32921.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 481; s.pc = 57; return s.tmp_4; case 57: @@ -30021,45 +30058,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___67913.fields["dy"]; + r0 = s.ms___32921.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___67913.fields["yStep"]; + r0 = s.ms___32921.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___68022 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___67913; - r0 = s.ms___67913.fields["dx"]; + s.stepY___33030 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___32921; + r0 = s.ms___32921.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___68008); + r0 = (s.tmp_2 - s.stepX___33016); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___67913; - r0 = s.ms___67913.fields["dy"]; + s.tmp_0 = r0 = s.ms___32921; + r0 = s.ms___32921.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___68022); + r0 = (s.tmp_2 - s.stepY___33030); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___67915.fields["_x"]; + r0 = s.s___32923.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___67915).fields["_lastX"] = (s.tmp_0); - r0 = s.s___67915.fields["_y"]; + r0 = (s.s___32923).fields["_lastX"] = (s.tmp_0); + r0 = s.s___32923.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___67915).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___67915; - r0 = s.s___67915.fields["_x"]; + r0 = (s.s___32923).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___32923; + r0 = s.s___32923.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___68008); + r0 = (s.tmp_2 + s.stepX___33016); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___67915; - r0 = s.s___67915.fields["_y"]; + s.tmp_0 = r0 = s.s___32923; + r0 = s.s___32923.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___68022); + r0 = (s.tmp_2 + s.stepY___33030); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___67915.fields["flags"]; + r0 = s.s___32923.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -30069,20 +30106,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__P54652_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P19652_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___67915; + s.tmp_4.arg1 = s.s___32923; s.callLocIdx = 486; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; - s.tmp_0 = r0 = s.tileMap___67834; + s.tmp_0 = r0 = s.tileMap___32841; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 33; continue; } r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = s.tileMap___67834.fields["_map"]; + r0 = s.tileMap___32841.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -30096,10 +30133,10 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 35; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P56409_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P21412_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___67913; - s.tmp_6.arg2 = s.tileMap___67834; + s.tmp_6.arg1 = s.ms___32921; + s.tmp_6.arg2 = s.tileMap___32841; s.callLocIdx = 488; s.pc = 59; return s.tmp_6; case 59: r0 = s.retval; @@ -30107,70 +30144,70 @@ switch (step) { case 36: case 37: case 38: - s.tmp_2 = Fx_abs__P52711_mk(s); - r0 = s.ms___67913.fields["dx"]; + s.tmp_2 = Fx_abs__P17711_mk(s); + r0 = s.ms___32921.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 489; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___54721); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___19721); 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__P52711_mk(s); - r0 = s.ms___67913.fields["dy"]; + s.tmp_4 = Fx_abs__P17711_mk(s); + r0 = s.ms___32921.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 490; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___54721); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___19721); 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___67908, s.ms___67913); + r0 = pxsim_Array__push(s.remainingMovers___32916, s.ms___32921); case 41: case 42: - r0 = (s.unnamed407___U15 + 1); - s.unnamed407___U15 = (r0); + r0 = (s.unnamed183___U14 + 1); + s.unnamed183___U14 = (r0); { step = 4; continue; } case 43: - s.unnamed406___U14 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P56408_mk(s); + s.unnamed182___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P21411_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___67901; - s.tmp_0.arg2 = s.overlapHandlers___67879; + s.tmp_0.arg1 = s.currMovers___32909; + s.tmp_0.arg2 = s.overlapHandlers___32887; s.callLocIdx = 491; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___67901); + r0 = pxsim_Array__length(s.currMovers___32909); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___67901); + r0 = pxsim_Array_.pop(s.currMovers___32909); { step = 44; continue; } case 45: - r0 = (s.count___67891 + 1); - s.count___67891 = (r0); + r0 = (s.count___32899 + 1); + s.count___32899 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P54736.info = {"start":2551,"length":3932,"line":109,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P19736.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__P54736_mk(s) { +function ArcadePhysicsEngine_move__P19736_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P54736, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P19736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30184,25 +30221,24 @@ function ArcadePhysicsEngine_move__P54736_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtf___67816: undefined, - dtSec___67823: undefined, - dt2___67827: undefined, - scene___67831: undefined, - tileMap___67834: undefined, - movingSprites___67837: undefined, - MAX_STEP_COUNT___67868: undefined, - overlapHandlers___67879: undefined, - selected___67886: undefined, - buffers___67887: undefined, - count___67891: undefined, - currMovers___67901: undefined, - remainingMovers___67908: undefined, - ms___67913: undefined, - unnamed406___U14: undefined, - unnamed407___U15: undefined, - s___67915: undefined, - stepX___68008: undefined, - stepY___68022: undefined, + dtf___32827: undefined, + dt2___32834: undefined, + scene___32838: undefined, + tileMap___32841: undefined, + movingSprites___32844: undefined, + MAX_STEP_COUNT___32875: undefined, + overlapHandlers___32887: undefined, + selected___32894: undefined, + buffers___32895: undefined, + count___32899: undefined, + currMovers___32909: undefined, + remainingMovers___32916: undefined, + ms___32921: undefined, + unnamed182___U13: undefined, + unnamed183___U14: undefined, + s___32923: undefined, + stepX___33016: undefined, + stepY___33030: undefined, arg0: undefined, arg1: undefined, } } @@ -30211,7 +30247,7 @@ function ArcadePhysicsEngine_move__P54736_mk(s) { -function inline__P67839(s) { +function inline__P32846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30225,23 +30261,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P56407_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P21410_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; s.tmp_0.arg3 = s.caps[2]; - s.callLocIdx = 462; s.pc = 1; return s.tmp_0; + s.callLocIdx = 461; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -inline__P67839.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P32846.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__P67839_mk(s) { +function inline__P32846_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67839, depth: s.depth + 1, + parent: s, fn: inline__P32846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30251,7 +30287,7 @@ function inline__P67839_mk(s) { -function inline__P67851(s) { +function inline__P32858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30265,9 +30301,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P54580_mk(s); + s.tmp_1 = Sprite_vx__P19580_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 464; s.pc = 5; return s.tmp_1; + s.callLocIdx = 463; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; @@ -30276,9 +30312,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P54582_mk(s); + s.tmp_2 = Sprite_vy__P19582_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 465; s.pc = 6; return s.tmp_2; + s.callLocIdx = 464; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 2: @@ -30286,9 +30322,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P54635_mk(s); + s.tmp_4 = Sprite_clearObstacles__P19635_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 466; s.pc = 7; return s.tmp_4; + s.callLocIdx = 465; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; case 3: @@ -30297,12 +30333,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P67851.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P32858.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__P67851_mk(s) { +function inline__P32858_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P67851, depth: s.depth + 1, + parent: s, fn: inline__P32858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30316,7 +30352,7 @@ function inline__P67851_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P56408(s) { +function ArcadePhysicsEngine_spriteCollisions__P21411(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30326,18 +30362,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___68123 = undefined; - s.unnamed408___U1 = undefined; - s.unnamed409___U2 = undefined; - s.sprite___68125 = undefined; - s.overSprites___68132 = undefined; - s.overlapper___68140 = undefined; - s.unnamed410___U6 = undefined; - s.unnamed411___U7 = undefined; - s.thisKind___68146 = undefined; - s.otherKind___68150 = undefined; - s.higher___68163 = undefined; - s.lower___68172 = undefined; + s.ms___33131 = undefined; + s.unnamed184___U1 = undefined; + s.unnamed185___U2 = undefined; + s.sprite___33133 = undefined; + s.overSprites___33140 = undefined; + s.overlapper___33148 = undefined; + s.unnamed186___U6 = undefined; + s.unnamed187___U7 = undefined; + s.thisKind___33154 = undefined; + s.otherKind___33158 = undefined; + s.higher___33171 = undefined; + s.lower___33180 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30345,7 +30381,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -30357,20 +30393,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___68123 = (undefined); - s.unnamed408___U1 = (s.arg1); - s.unnamed409___U2 = (0); + s.ms___33131 = (undefined); + s.unnamed184___U1 = (s.arg1); + s.unnamed185___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed409___U2; - r0 = pxsim_Array__length(s.unnamed408___U1); + s.tmp_0 = r0 = s.unnamed185___U2; + r0 = pxsim_Array__length(s.unnamed184___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed408___U1, s.unnamed409___U2); - s.ms___68123 = (r0); - r0 = s.ms___68123.fields["sprite"]; - s.sprite___68125 = (r0); - r0 = s.sprite___68125.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed184___U1, s.unnamed185___U2); + s.ms___33131 = (r0); + r0 = s.ms___33131.fields["sprite"]; + s.sprite___33133 = (r0); + r0 = s.sprite___33133.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 515); s.tmp_0 = r0; @@ -30379,27 +30415,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P54648_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P19648_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___68123.fields["sprite"]; + r0 = s.ms___33131.fields["sprite"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 525; s.pc = 22; return s.tmp_2; + s.callLocIdx = 529; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___68132 = (r0); - s.overlapper___68140 = (undefined); - s.unnamed410___U6 = (s.overSprites___68132); - s.unnamed411___U7 = (0); + s.overSprites___33140 = (r0); + s.overlapper___33148 = (undefined); + s.unnamed186___U6 = (s.overSprites___33140); + s.unnamed187___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed411___U7; - r0 = pxsim_Array__length(s.unnamed410___U6); + s.tmp_0 = r0 = s.unnamed187___U7; + r0 = pxsim_Array__length(s.unnamed186___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed410___U6, s.unnamed411___U7); - s.overlapper___68140 = (r0); - r0 = s.overlapper___68140.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed186___U6, s.unnamed187___U7); + s.overlapper___33148 = (r0); + r0 = s.overlapper___33148.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -30408,13 +30444,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___68125.fields["_kind"]; - s.thisKind___68146 = (r0); - r0 = s.overlapper___68140.fields["_kind"]; - s.otherKind___68150 = (r0); - r0 = s.sprite___68125.fields["_kindsOverlappedWith"]; + r0 = s.sprite___33133.fields["_kind"]; + s.thisKind___33154 = (r0); + r0 = s.overlapper___33148.fields["_kind"]; + s.otherKind___33158 = (r0); + r0 = s.sprite___33133.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___68150, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___33158, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -30423,37 +30459,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___68125.fields["id"]; + r0 = s.sprite___33133.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___68140.fields["id"]; + r0 = s.overlapper___33148.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___68125; + r0 = s.sprite___33133; { step = 12; continue; } case 11: - r0 = s.overlapper___68140; + r0 = s.overlapper___33148; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___68163 = (s.tmp_6); - r0 = (s.higher___68163 === s.sprite___68125); + s.higher___33171 = (s.tmp_6); + r0 = (s.higher___33171 === s.sprite___33133); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___68140; + r0 = s.overlapper___33148; { step = 14; continue; } case 13: - r0 = s.sprite___68125; + r0 = s.sprite___33133; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___68172 = (s.tmp_1); - r0 = s.higher___68163.fields["_overlappers"]; + s.lower___33180 = (s.tmp_1); + r0 = s.higher___33171.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___68172.fields["id"]; + r0 = s.lower___33180.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -30461,54 +30497,54 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P68192); + r0 = pxsim_pxtcore_mkAction(2, inline__P33200); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___68146); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___68150); - r0 = pxsim_pxtcore_mkAction(5, inline__P68216); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___33154); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___33158); + r0 = pxsim_pxtcore_mkAction(5, inline__P33224); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___68163); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___68172); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___68125); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___68140); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___68146); - s.tmp_6 = helpers_arrayForEach__P52658_mk(s); - s.tmp_7 = helpers_arrayFilter__P52659_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___33171); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___33180); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___33133); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___33148); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___33154); + s.tmp_6 = helpers_arrayForEach__P17658_mk(s); + s.tmp_7 = helpers_arrayFilter__P17659_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; - s.callLocIdx = 528; s.pc = 24; return s.tmp_7; + s.callLocIdx = 532; s.pc = 24; return s.tmp_7; case 24: r0 = s.retval; s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 530; s.pc = 23; return s.tmp_6; + s.callLocIdx = 534; s.pc = 23; return s.tmp_6; case 23: r0 = s.retval; case 15: case 16: case 17: - r0 = (s.unnamed411___U7 + 1); - s.unnamed411___U7 = (r0); + r0 = (s.unnamed187___U7 + 1); + s.unnamed187___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed410___U6 = (undefined); + s.unnamed186___U6 = (undefined); case 19: - r0 = (s.unnamed409___U2 + 1); - s.unnamed409___U2 = (r0); + r0 = (s.unnamed185___U2 + 1); + s.unnamed185___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed408___U1 = (undefined); + s.unnamed184___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P56408.info = {"start":9157,"length":2254,"line":304,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P21411.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__P56408_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P21411_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P56408, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P21411, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30518,18 +30554,18 @@ function ArcadePhysicsEngine_spriteCollisions__P56408_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___68123: undefined, - unnamed408___U1: undefined, - unnamed409___U2: undefined, - sprite___68125: undefined, - overSprites___68132: undefined, - overlapper___68140: undefined, - unnamed410___U6: undefined, - unnamed411___U7: undefined, - thisKind___68146: undefined, - otherKind___68150: undefined, - higher___68163: undefined, - lower___68172: undefined, + ms___33131: undefined, + unnamed184___U1: undefined, + unnamed185___U2: undefined, + sprite___33133: undefined, + overSprites___33140: undefined, + overlapper___33148: undefined, + unnamed186___U6: undefined, + unnamed187___U7: undefined, + thisKind___33154: undefined, + otherKind___33158: undefined, + higher___33171: undefined, + lower___33180: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30539,7 +30575,7 @@ function ArcadePhysicsEngine_spriteCollisions__P56408_mk(s) { -function inline__P68192(s) { +function inline__P33200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30596,12 +30632,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P68192.info = {"start":10516,"length":137,"line":330,"column":32,"endLine":331,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P33200.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__P68192_mk(s) { +function inline__P33200_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P68192, depth: s.depth + 1, + parent: s, fn: inline__P33200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30619,7 +30655,7 @@ function inline__P68192_mk(s) { -function inline__P68216(s) { +function inline__P33224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30638,7 +30674,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__P68226); + r0 = pxsim_pxtcore_mkAction(6, inline__P33234); 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]); @@ -30651,12 +30687,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P68216.info = {"start":10713,"length":648,"line":333,"column":33,"endLine":344,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P33224.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__P68216_mk(s) { +function inline__P33224_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P68216, depth: s.depth + 1, + parent: s, fn: inline__P33224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30667,7 +30703,7 @@ function inline__P68216_mk(s) { -function inline__P68226(s) { +function inline__P33234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30723,12 +30759,12 @@ switch (step) { s.tmp_12.arg2 = s.tmp_11; if (!s.tmp_12.arg0.vtable.iface) { setupLambda(s.tmp_12, pxsim_pxtrt.mapGetByString(s.tmp_12.arg0, "handler"), 3); - s.callLocIdx = 529; s.pc = 7; return s.tmp_12; + s.callLocIdx = 533; s.pc = 7; return s.tmp_12; } else { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["handler"]; - if (s.tmp_12.fn == null) { setupLambda(s.tmp_12, s.tmp_12.arg0.fields["handler"], 3); s.callLocIdx = 529; s.pc = 7; return s.tmp_12; } - else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 529; s.pc = 7; return s.tmp_12;; } - else { s.callLocIdx = 529; s.pc = 7; return s.tmp_12; } + if (s.tmp_12.fn == null) { setupLambda(s.tmp_12, s.tmp_12.arg0.fields["handler"], 3); s.callLocIdx = 533; s.pc = 7; return s.tmp_12; } + else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 533; s.pc = 7; return s.tmp_12;; } + else { s.callLocIdx = 533; s.pc = 7; return s.tmp_12; } } case 7: r0 = s.retval; @@ -30743,12 +30779,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P68226.info = {"start":10834,"length":499,"line":335,"column":50,"endLine":343,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P33234.info = {"start":11276,"length":499,"line":355,"column":50,"endLine":363,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P68226_mk(s) { +function inline__P33234_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P68226, depth: s.depth + 1, + parent: s, fn: inline__P33234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30769,7 +30805,7 @@ function inline__P68226_mk(s) { -function sprites_SpriteMap_overlaps__P54648(s) { +function sprites_SpriteMap_overlaps__P19648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30779,47 +30815,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___68260 = undefined; - s.o___68264 = undefined; + s.n___33268 = undefined; + s.o___33272 = 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__C54645_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P54647_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P19647_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 403; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___68260 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P68266); + s.n___33268 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P33274); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P52659_mk(s); - s.tmp_1.arg0 = s.n___68260; + s.tmp_1 = helpers_arrayFilter__P17659_mk(s); + s.tmp_1.arg0 = s.n___33268; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 405; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___68264 = (r0); - r0 = s.o___68264; + s.o___33272 = (r0); + r0 = s.o___33272; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P54648.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__P19648.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__P54648_mk(s) { +function sprites_SpriteMap_overlaps__P19648_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P54648, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P19648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___68260: undefined, - o___68264: undefined, + n___33268: undefined, + o___33272: undefined, arg0: undefined, arg1: undefined, } } @@ -30828,7 +30864,7 @@ function sprites_SpriteMap_overlaps__P54648_mk(s) { -function inline__P68266(s) { +function inline__P33274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30842,7 +30878,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P54631_mk(s); + s.tmp_0 = Sprite_overlapsWith__P19631_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 404; s.pc = 1; return s.tmp_0; @@ -30851,12 +30887,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P68266.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P33274.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__P68266_mk(s) { +function inline__P33274_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P68266, depth: s.depth + 1, + parent: s, fn: inline__P33274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30866,7 +30902,7 @@ function inline__P68266_mk(s) { -function sprites_SpriteMap_neighbors__P54647(s) { +function sprites_SpriteMap_neighbors__P19647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30876,112 +30912,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___68308 = undefined; - s.layer___68310 = undefined; + s.n___33316 = undefined; + s.layer___33318 = 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__C54645_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___68308 = (r0); + s.n___33316 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___68310 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P56386_mk(s); + s.layer___33318 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P21389_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P54613_mk(s); + s.tmp_1 = Sprite_left__P19613_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 391; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P54617_mk(s); + s.tmp_2 = Sprite_top__P19617_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 392; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___68310; - s.tmp_0.arg4 = s.n___68308; + s.tmp_0.arg3 = s.layer___33318; + s.tmp_0.arg4 = s.n___33316; s.callLocIdx = 393; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P56386_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P21389_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P54613_mk(s); + s.tmp_1 = Sprite_left__P19613_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 394; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P54619_mk(s); + s.tmp_2 = Sprite_bottom__P19619_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 395; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___68310; - s.tmp_0.arg4 = s.n___68308; + s.tmp_0.arg3 = s.layer___33318; + s.tmp_0.arg4 = s.n___33316; s.callLocIdx = 396; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P56386_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P21389_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P54615_mk(s); + s.tmp_1 = Sprite_right__P19615_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 397; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P54617_mk(s); + s.tmp_2 = Sprite_top__P19617_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 398; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___68310; - s.tmp_0.arg4 = s.n___68308; + s.tmp_0.arg3 = s.layer___33318; + s.tmp_0.arg4 = s.n___33316; s.callLocIdx = 399; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P56386_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P21389_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P54615_mk(s); + s.tmp_1 = Sprite_right__P19615_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 400; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P54619_mk(s); + s.tmp_2 = Sprite_bottom__P19619_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 401; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___68310; - s.tmp_0.arg4 = s.n___68308; + s.tmp_0.arg3 = s.layer___33318; + s.tmp_0.arg4 = s.n___33316; s.callLocIdx = 402; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___68308, s.arg1); - r0 = s.n___68308; + r0 = pxsim_Array_.removeElement(s.n___33316, s.arg1); + r0 = s.n___33316; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P54647.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__P19647.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__P54647_mk(s) { +function sprites_SpriteMap_neighbors__P19647_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P54647, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P19647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___68308: undefined, - layer___68310: undefined, + n___33316: undefined, + layer___33318: undefined, arg0: undefined, arg1: undefined, } } @@ -30990,7 +31026,7 @@ function sprites_SpriteMap_neighbors__P54647_mk(s) { -function sprites_SpriteMap_mergeAtKey__P56386(s) { +function sprites_SpriteMap_mergeAtKey__P21389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31000,11 +31036,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___68363 = undefined; - s.bucket___68368 = undefined; - s.sprite___68375 = undefined; - s.unnamed404___U3 = undefined; - s.unnamed405___U4 = undefined; + s.k___33371 = undefined; + s.bucket___33376 = undefined; + s.sprite___33383 = undefined; + s.unnamed180___U3 = undefined; + s.unnamed181___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31014,33 +31050,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C54645_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P56384_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P21387_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 429; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___68363 = (r0); + s.k___33371 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___68363); - s.bucket___68368 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___68368); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___33371); + s.bucket___33376 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___33376); if (!r0) { step = 7; continue; } - s.sprite___68375 = (undefined); - s.unnamed404___U3 = (s.bucket___68368); - s.unnamed405___U4 = (0); + s.sprite___33383 = (undefined); + s.unnamed180___U3 = (s.bucket___33376); + s.unnamed181___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed405___U4; - r0 = pxsim_Array__length(s.unnamed404___U3); + s.tmp_0 = r0 = s.unnamed181___U4; + r0 = pxsim_Array__length(s.unnamed180___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed404___U3, s.unnamed405___U4); - s.sprite___68375 = (r0); - r0 = s.sprite___68375.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed180___U3, s.unnamed181___U4); + s.sprite___33383 = (r0); + r0 = s.sprite___33383.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -31049,7 +31085,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___68375, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___33383, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -31057,26 +31093,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___68375); + r0 = pxsim_Array__push(s.arg4, s.sprite___33383); case 4: case 5: - r0 = (s.unnamed405___U4 + 1); - s.unnamed405___U4 = (r0); + r0 = (s.unnamed181___U4 + 1); + s.unnamed181___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed404___U3 = (undefined); + s.unnamed180___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P56386.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__P21389.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__P56386_mk(s) { +function sprites_SpriteMap_mergeAtKey__P21389_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P56386, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P21389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31084,11 +31120,11 @@ function sprites_SpriteMap_mergeAtKey__P56386_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___68363: undefined, - bucket___68368: undefined, - sprite___68375: undefined, - unnamed404___U3: undefined, - unnamed405___U4: undefined, + k___33371: undefined, + bucket___33376: undefined, + sprite___33383: undefined, + unnamed180___U3: undefined, + unnamed181___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31100,7 +31136,7 @@ function sprites_SpriteMap_mergeAtKey__P56386_mk(s) { -function sprites_SpriteMap_key__P56384(s) { +function sprites_SpriteMap_key__P21387(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31110,8 +31146,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___68396 = undefined; - s.yi___68408 = undefined; + s.xi___33404 = undefined; + s.yi___33416 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31119,8 +31155,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C54645_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P52673_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P17673_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -31131,8 +31167,8 @@ switch (step) { s.callLocIdx = 417; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___68396 = (r0); - s.tmp_0 = Math_clamp__P52673_mk(s); + s.xi___33404 = (r0); + s.tmp_0 = Math_clamp__P17673_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -31143,28 +31179,28 @@ switch (step) { s.callLocIdx = 418; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___68408 = (r0); - s.tmp_0 = r0 = s.xi___68396; + s.yi___33416 = (r0); + s.tmp_0 = r0 = s.xi___33404; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___68408 * s.tmp_2); + r0 = (s.yi___33416 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P56384.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__P21387.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__P56384_mk(s) { +function sprites_SpriteMap_key__P21387_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P56384, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P21387, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___68396: undefined, - yi___68408: undefined, + xi___33404: undefined, + yi___33416: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31174,7 +31210,7 @@ function sprites_SpriteMap_key__P56384_mk(s) { -function Sprite_bottom__P54619(s) { +function Sprite_bottom__P19619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31189,8 +31225,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P54617_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P19617_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 278; s.pc = 1; return s.tmp_1; case 1: @@ -31204,13 +31240,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P54619.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__P54619.isGetter = true; +Sprite_bottom__P19619.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__P19619.isGetter = true; -function Sprite_bottom__P54619_mk(s) { +function Sprite_bottom__P19619_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P54619, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P19619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31223,7 +31259,7 @@ function Sprite_bottom__P54619_mk(s) { -function Sprite_height__P54612(s) { +function Sprite_height__P19612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31238,20 +31274,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54612.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__P54612.isGetter = true; +Sprite_height__P19612.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__P19612.isGetter = true; -function Sprite_height__P54612_mk(s) { +function Sprite_height__P19612_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P54612, depth: s.depth + 1, + parent: s, fn: Sprite_height__P19612, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31261,7 +31297,7 @@ function Sprite_height__P54612_mk(s) { -function Sprite_right__P54615(s) { +function Sprite_right__P19615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31276,8 +31312,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P54613_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P19613_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 270; s.pc = 1; return s.tmp_1; case 1: @@ -31291,13 +31327,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P54615.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__P54615.isGetter = true; +Sprite_right__P19615.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__P19615.isGetter = true; -function Sprite_right__P54615_mk(s) { +function Sprite_right__P19615_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P54615, depth: s.depth + 1, + parent: s, fn: Sprite_right__P19615, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31310,7 +31346,7 @@ function Sprite_right__P54615_mk(s) { -function Sprite_overlapsWith__P54631(s) { +function Sprite_overlapsWith__P19631(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31326,7 +31362,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -31359,13 +31395,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P54613_mk(s); + s.tmp_9 = Sprite_left__P19613_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 353; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = Sprite_left__P54613_mk(s); + s.tmp_11 = Sprite_left__P19613_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 354; s.pc = 9; return s.tmp_11; case 9: @@ -31373,13 +31409,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P54617_mk(s); + s.tmp_14 = Sprite_top__P19617_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 355; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; - s.tmp_16 = Sprite_top__P54617_mk(s); + s.tmp_16 = Sprite_top__P19617_mk(s); s.tmp_16.arg0 = s.arg1; s.callLocIdx = 356; s.pc = 11; return s.tmp_16; case 11: @@ -31392,12 +31428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P54631.info = {"start":24387,"length":434,"line":748,"column":4,"endLine":756,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P19631.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__P54631_mk(s) { +function Sprite_overlapsWith__P19631_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P54631, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P19631, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31424,7 +31460,7 @@ function Sprite_overlapsWith__P54631_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P56407(s) { +function ArcadePhysicsEngine_createMovingSprite__P21410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31434,16 +31470,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___68610 = undefined; - s.ovy___68615 = undefined; - s.fx___68641 = undefined; - s.c___68647 = undefined; - s.fy___68689 = undefined; - s.c___68695 = undefined; - s.dx___68734 = undefined; - s.dy___68743 = undefined; - s.xStep___68752 = undefined; - s.yStep___68754 = undefined; + s.ovx___33618 = undefined; + s.ovy___33623 = undefined; + s.fx___33650 = undefined; + s.c___33657 = undefined; + s.fy___33700 = undefined; + s.c___33707 = undefined; + s.dx___33746 = undefined; + s.dy___33755 = undefined; + s.xStep___33764 = undefined; + s.yStep___33766 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31452,23 +31488,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P56412_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P21415_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 492; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___68610 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P56412_mk(s); + s.ovx___33618 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P21415_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 493; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___68615 = (r0); + s.ovy___33623 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -31483,10 +31519,12 @@ switch (step) { r0 = s.arg1.fields["_vx"]; s.tmp_3 = r0; r0 = s.arg1.fields["_ax"]; - s.tmp_5 = r0; - r0 = pxsim.Math_.imul(s.tmp_5, s.arg2); s.tmp_6 = r0; - r0 = (s.tmp_6 >> 8); + r0 = pxsim.Math_.imul(s.tmp_6, s.arg2); + s.tmp_7 = r0; + r0 = (s.tmp_7 >> 8); + s.tmp_5 = r0; + r0 = pxsim.Math_.idiv(s.tmp_5, 1000); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; @@ -31498,45 +31536,47 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } r0 = s.arg1.fields["_fx"]; - s.tmp_1 = r0; - r0 = pxsim.Math_.imul(s.tmp_1, s.arg2); s.tmp_2 = r0; - r0 = (s.tmp_2 >> 8); - s.fx___68641 = (r0); + r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); + s.tmp_3 = r0; + r0 = (s.tmp_3 >> 8); + s.tmp_1 = r0; + r0 = pxsim.Math_.idiv(s.tmp_1, 1000); + s.fx___33650 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___68641); - s.c___68647 = (r0); - r0 = (s.c___68647 < 0); + r0 = (s.tmp_0 - s.fx___33650); + s.c___33657 = (r0); + r0 = (s.c___33657 < 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__P52712_mk(s); + s.tmp_3 = Fx_min__P17712_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___68641); + r0 = (s.tmp_4 + s.fx___33650); s.tmp_3.arg1 = r0; - s.callLocIdx = 499; s.pc = 27; return s.tmp_3; + s.callLocIdx = 501; s.pc = 27; return s.tmp_3; case 27: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___68647 > 0); + r0 = (s.c___33657 > 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__P52713_mk(s); + s.tmp_3 = Fx_max__P17713_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___68641); + r0 = (s.tmp_4 - s.fx___33650); s.tmp_3.arg1 = r0; - s.callLocIdx = 501; s.pc = 28; return s.tmp_3; + s.callLocIdx = 503; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -31557,10 +31597,12 @@ switch (step) { r0 = s.arg1.fields["_vy"]; s.tmp_3 = r0; r0 = s.arg1.fields["_ay"]; - s.tmp_5 = r0; - r0 = pxsim.Math_.imul(s.tmp_5, s.arg2); s.tmp_6 = r0; - r0 = (s.tmp_6 >> 8); + r0 = pxsim.Math_.imul(s.tmp_6, s.arg2); + s.tmp_7 = r0; + r0 = (s.tmp_7 >> 8); + s.tmp_5 = r0; + r0 = pxsim.Math_.idiv(s.tmp_5, 1000); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; @@ -31572,45 +31614,47 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } r0 = s.arg1.fields["_fy"]; - s.tmp_1 = r0; - r0 = pxsim.Math_.imul(s.tmp_1, s.arg2); s.tmp_2 = r0; - r0 = (s.tmp_2 >> 8); - s.fy___68689 = (r0); + r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); + s.tmp_3 = r0; + r0 = (s.tmp_3 >> 8); + s.tmp_1 = r0; + r0 = pxsim.Math_.idiv(s.tmp_1, 1000); + s.fy___33700 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___68689); - s.c___68695 = (r0); - r0 = (s.c___68695 < 0); + r0 = (s.tmp_0 - s.fy___33700); + s.c___33707 = (r0); + r0 = (s.c___33707 < 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__P52712_mk(s); + s.tmp_3 = Fx_min__P17712_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___68689); + r0 = (s.tmp_4 + s.fy___33700); s.tmp_3.arg1 = r0; - s.callLocIdx = 507; s.pc = 29; return s.tmp_3; + s.callLocIdx = 511; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___68695 > 0); + r0 = (s.c___33707 > 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__P52712_mk(s); + s.tmp_3 = Fx_min__P17712_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___68689); + r0 = (s.tmp_4 - s.fy___33700); s.tmp_3.arg1 = r0; - s.callLocIdx = 509; s.pc = 30; return s.tmp_3; + s.callLocIdx = 513; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; @@ -31624,51 +31668,51 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P56412_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P21415_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 510; s.pc = 31; return s.tmp_2; + s.callLocIdx = 514; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P56412_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P21415_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 511; s.pc = 32; return s.tmp_2; + s.callLocIdx = 515; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovx___68610); + r0 = (s.tmp_2 + s.ovx___33618); 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___68734 = (r0); + s.dx___33746 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovy___68615); + r0 = (s.tmp_2 + s.ovy___33623); 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___68743 = (r0); - s.xStep___68752 = (s.dx___68734); - s.yStep___68754 = (s.dy___68743); + s.dy___33755 = (r0); + s.xStep___33764 = (s.dx___33746); + s.yStep___33766 = (s.dy___33755); case 17: - s.tmp_2 = Fx_abs__P52711_mk(s); - s.tmp_2.arg0 = s.xStep___68752; - s.callLocIdx = 518; s.pc = 33; return s.tmp_2; + s.tmp_2 = Fx_abs__P17711_mk(s); + s.tmp_2.arg0 = s.xStep___33764; + s.callLocIdx = 522; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; @@ -31681,9 +31725,9 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P52711_mk(s); - s.tmp_5.arg0 = s.yStep___68754; - s.callLocIdx = 519; s.pc = 34; return s.tmp_5; + s.tmp_5 = Fx_abs__P17711_mk(s); + s.tmp_5.arg0 = s.yStep___33766; + s.callLocIdx = 523; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; s.tmp_4 = r0; @@ -31695,9 +31739,9 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P52711_mk(s); - s.tmp_10.arg0 = s.xStep___68752; - s.callLocIdx = 520; s.pc = 35; return s.tmp_10; + s.tmp_10 = Fx_abs__P17711_mk(s); + s.tmp_10.arg0 = s.xStep___33764; + s.callLocIdx = 524; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; s.tmp_9 = r0; @@ -31707,13 +31751,13 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 20; continue; } - r0 = pxsim.Math_.idiv(s.xStep___68752, 2); - s.xStep___68752 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___33764, 2); + s.xStep___33764 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P52711_mk(s); - s.tmp_2.arg0 = s.yStep___68754; - s.callLocIdx = 522; s.pc = 36; return s.tmp_2; + s.tmp_2 = Fx_abs__P17711_mk(s); + s.tmp_2.arg0 = s.yStep___33766; + s.callLocIdx = 526; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; @@ -31723,38 +31767,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = pxsim.Math_.idiv(s.yStep___68754, 2); - s.yStep___68754 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___33766, 2); + s.yStep___33766 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C54722_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C19722_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P54723_mk(s); + s.tmp_1 = MovingSprite_constructor__P19723_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___68734; - s.tmp_1.arg5 = s.dy___68743; - s.tmp_1.arg6 = s.xStep___68752; - s.tmp_1.arg7 = s.yStep___68754; - s.callLocIdx = 524; s.pc = 37; return s.tmp_1; + s.tmp_1.arg4 = s.dx___33746; + s.tmp_1.arg5 = s.dy___33755; + s.tmp_1.arg6 = s.xStep___33764; + s.tmp_1.arg7 = s.yStep___33766; + s.callLocIdx = 528; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P56407.info = {"start":6489,"length":2662,"line":211,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtSec","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P21410.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__P56407_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P21410_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P56407, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P21410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31768,16 +31812,16 @@ function ArcadePhysicsEngine_createMovingSprite__P56407_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___68610: undefined, - ovy___68615: undefined, - fx___68641: undefined, - c___68647: undefined, - fy___68689: undefined, - c___68695: undefined, - dx___68734: undefined, - dy___68743: undefined, - xStep___68752: undefined, - yStep___68754: undefined, + ovx___33618: undefined, + ovy___33623: undefined, + fx___33650: undefined, + c___33657: undefined, + fy___33700: undefined, + c___33707: undefined, + dx___33746: undefined, + dy___33755: undefined, + xStep___33764: undefined, + yStep___33766: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31788,7 +31832,7 @@ function ArcadePhysicsEngine_createMovingSprite__P56407_mk(s) { -function ArcadePhysicsEngine_constrain__P56412(s) { +function ArcadePhysicsEngine_constrain__P21415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31804,30 +31848,30 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P52713_mk(s); - s.tmp_1 = Fx_min__P52712_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P17713_mk(s); + s.tmp_1 = Fx_min__P17712_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 673; s.pc = 2; return s.tmp_1; + s.callLocIdx = 677; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["maxNegativeVelocity"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 674; s.pc = 1; return s.tmp_0; + s.callLocIdx = 678; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P56412.info = {"start":24856,"length":191,"line":731,"column":4,"endLine":739,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P21415.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__P56412_mk(s) { +function ArcadePhysicsEngine_constrain__P21415_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P56412, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P21415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31839,7 +31883,7 @@ function ArcadePhysicsEngine_constrain__P56412_mk(s) { -function Fx_max__P52713(s) { +function Fx_max__P17713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31870,12 +31914,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P52713.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__P17713.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__P52713_mk(s) { +function Fx_max__P17713_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P52713, depth: s.depth + 1, + parent: s, fn: Fx_max__P17713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31886,7 +31930,7 @@ function Fx_max__P52713_mk(s) { -function Fx_compare__P52710(s) { +function Fx_compare__P17710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31905,12 +31949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P52710.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__P17710.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__P52710_mk(s) { +function Fx_compare__P17710_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P52710, depth: s.depth + 1, + parent: s, fn: Fx_compare__P17710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31920,7 +31964,7 @@ function Fx_compare__P52710_mk(s) { -function sprites_SpriteMap_insertAABB__P54652(s) { +function sprites_SpriteMap_insertAABB__P19652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31930,31 +31974,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___68428 = undefined; - s.top___68431 = undefined; - s.xn___68434 = undefined; - s.yn___68445 = undefined; - s.x___68456 = undefined; - s.y___68461 = undefined; + s.left___33436 = undefined; + s.top___33439 = undefined; + s.xn___33442 = undefined; + s.yn___33453 = undefined; + s.x___33464 = undefined; + s.y___33469 = 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__C54645_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P54613_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P19613_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 420; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___68428 = (r0); - s.tmp_0 = Sprite_top__P54617_mk(s); + s.left___33436 = (r0); + s.tmp_0 = Sprite_top__P19617_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 421; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___68431 = (r0); + s.top___33439 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -31968,7 +32012,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___68434 = (r0); + s.xn___33442 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -31982,30 +32026,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___68445 = (r0); - s.x___68456 = (0); + s.yn___33453 = (r0); + s.x___33464 = (0); case 1: - r0 = (s.x___68456 <= s.xn___68434); + r0 = (s.x___33464 <= s.xn___33442); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___68461 = (0); + s.y___33469 = (0); case 2: - r0 = (s.y___68461 <= s.yn___68445); + r0 = (s.y___33469 <= s.yn___33453); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P56385_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P21388_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___68428; - s.tmp_4 = Math_min__P52677_mk(s); + s.tmp_2 = r0 = s.left___33436; + s.tmp_4 = Math_min__P17677_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___68456 * s.tmp_6); + r0 = (s.x___33464 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 425; s.pc = 8; return s.tmp_4; case 8: @@ -32013,15 +32057,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___68431; - s.tmp_9 = Math_min__P52677_mk(s); + s.tmp_7 = r0 = s.top___33439; + s.tmp_9 = Math_min__P17677_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___68461 * s.tmp_11); + r0 = (s.y___33469 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 427; s.pc = 9; return s.tmp_9; case 9: @@ -32033,24 +32077,24 @@ switch (step) { s.callLocIdx = 428; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___68461 + 1); - s.y___68461 = (r0); + r0 = (s.y___33469 + 1); + s.y___33469 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___68456 + 1); - s.x___68456 = (r0); + r0 = (s.x___33464 + 1); + s.x___33464 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P54652.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__P19652.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__P54652_mk(s) { +function sprites_SpriteMap_insertAABB__P19652_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P54652, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P19652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32064,12 +32108,12 @@ function sprites_SpriteMap_insertAABB__P54652_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___68428: undefined, - top___68431: undefined, - xn___68434: undefined, - yn___68445: undefined, - x___68456: undefined, - y___68461: undefined, + left___33436: undefined, + top___33439: undefined, + xn___33442: undefined, + yn___33453: undefined, + x___33464: undefined, + y___33469: undefined, arg0: undefined, arg1: undefined, } } @@ -32078,7 +32122,7 @@ function sprites_SpriteMap_insertAABB__P54652_mk(s) { -function sprites_SpriteMap_insertAtKey__P56385(s) { +function sprites_SpriteMap_insertAtKey__P21388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32088,8 +32132,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___68496 = undefined; - s.bucket___68501 = undefined; + s.k___33504 = undefined; + s.bucket___33509 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32098,20 +32142,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C54645_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P56384_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P21387_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 419; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___68496 = (r0); + s.k___33504 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___68496); - s.bucket___68501 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___68501); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___33504); + s.bucket___33509 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___33509); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -32119,40 +32163,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___68496; + s.tmp_3 = r0 = s.k___33504; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___68501 = (s.tmp_4); + s.bucket___33509 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___68501, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___33509, 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___68501, s.arg3); + r0 = pxsim_Array__push(s.bucket___33509, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P56385.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__P21388.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__P56385_mk(s) { +function sprites_SpriteMap_insertAtKey__P21388_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P56385, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P21388, 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___68496: undefined, - bucket___68501: undefined, + k___33504: undefined, + bucket___33509: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32163,7 +32207,7 @@ function sprites_SpriteMap_insertAtKey__P56385_mk(s) { -function sprites_SpriteMap_clear__P54651(s) { +function sprites_SpriteMap_clear__P19651(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32178,7 +32222,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C54645_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -32187,12 +32231,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P54651.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__P19651.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__P54651_mk(s) { +function sprites_SpriteMap_clear__P19651_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P54651, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P19651, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32203,7 +32247,7 @@ function sprites_SpriteMap_clear__P54651_mk(s) { -function sprites_SpriteMap_resizeBuckets__P54650(s) { +function sprites_SpriteMap_resizeBuckets__P19650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32213,107 +32257,107 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___68533 = undefined; - s.maxHeight___68534 = undefined; - s.sprite___68536 = undefined; - s.unnamed402___U3 = undefined; - s.unnamed403___U4 = undefined; - s.tMap___68552 = undefined; - s.areaWidth___68556 = undefined; - s.areaHeight___68563 = undefined; + s.maxWidth___33541 = undefined; + s.maxHeight___33542 = undefined; + s.sprite___33544 = undefined; + s.unnamed178___U3 = undefined; + s.unnamed179___U4 = undefined; + s.tMap___33560 = undefined; + s.areaWidth___33564 = undefined; + s.areaHeight___33571 = 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__C54645_VT)) failedCast(r0); - s.maxWidth___68533 = (0); - s.maxHeight___68534 = (0); - s.sprite___68536 = (undefined); - s.unnamed402___U3 = (s.arg1); - s.unnamed403___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); + s.maxWidth___33541 = (0); + s.maxHeight___33542 = (0); + s.sprite___33544 = (undefined); + s.unnamed178___U3 = (s.arg1); + s.unnamed179___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed403___U4; - r0 = pxsim_Array__length(s.unnamed402___U3); + s.tmp_0 = r0 = s.unnamed179___U4; + r0 = pxsim_Array__length(s.unnamed178___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed402___U3, s.unnamed403___U4); - s.sprite___68536 = (r0); - r0 = s.sprite___68536.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed178___U3, s.unnamed179___U4); + s.sprite___33544 = (r0); + r0 = s.sprite___33544.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___68533); + r0 = (s.tmp_3 > s.maxWidth___33541); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___68536.fields["_image"]; + r0 = s.sprite___33544.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___68533 = (r0); + s.maxWidth___33541 = (r0); case 2: case 3: - r0 = s.sprite___68536.fields["_image"]; + r0 = s.sprite___33544.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___68534); + r0 = (s.tmp_1 > s.maxHeight___33542); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___68536.fields["_image"]; + r0 = s.sprite___33544.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___68534 = (r0); + s.maxHeight___33542 = (r0); case 4: case 5: - r0 = (s.unnamed403___U4 + 1); - s.unnamed403___U4 = (r0); + r0 = (s.unnamed179___U4 + 1); + s.unnamed179___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed402___U3 = (undefined); - s.tmp_0 = game_currentScene__P55080_mk(s); + s.unnamed178___U3 = (undefined); + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 412; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___68552 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___68552); + s.tMap___33560 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___33560); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P54874_mk(s); - s.tmp_0.arg0 = s.tMap___68552; + s.tmp_0 = tiles_TileMap_areaWidth__P19874_mk(s); + s.tmp_0.arg0 = s.tMap___33560; s.callLocIdx = 413; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___68556 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___68552); + s.areaWidth___33564 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___33560); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P54875_mk(s); - s.tmp_0.arg0 = s.tMap___68552; + s.tmp_0 = tiles_TileMap_areaHeight__P19875_mk(s); + s.tmp_0.arg0 = s.tMap___33560; s.callLocIdx = 414; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___68563 = (s.tmp_1); + s.areaHeight___33571 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P52673_mk(s); + s.tmp_2 = Math_clamp__P17673_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___68556 >> 2); + r0 = (s.areaWidth___33564 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___68533 * 2); + r0 = (s.maxWidth___33541 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 415; s.pc = 14; return s.tmp_2; case 14: @@ -32321,11 +32365,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__P52673_mk(s); + s.tmp_2 = Math_clamp__P17673_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___68563 >> 2); + r0 = (s.areaHeight___33571 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___68534 * 2); + r0 = (s.maxHeight___33542 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 416; s.pc = 15; return s.tmp_2; case 15: @@ -32335,25 +32379,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___68563, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___33571, 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___68556, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___33564, 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__P54650.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__P19650.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__P54650_mk(s) { +function sprites_SpriteMap_resizeBuckets__P19650_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P54650, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P19650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32361,14 +32405,14 @@ function sprites_SpriteMap_resizeBuckets__P54650_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___68533: undefined, - maxHeight___68534: undefined, - sprite___68536: undefined, - unnamed402___U3: undefined, - unnamed403___U4: undefined, - tMap___68552: undefined, - areaWidth___68556: undefined, - areaHeight___68563: undefined, + maxWidth___33541: undefined, + maxHeight___33542: undefined, + sprite___33544: undefined, + unnamed178___U3: undefined, + unnamed179___U4: undefined, + tMap___33560: undefined, + areaWidth___33564: undefined, + areaHeight___33571: undefined, arg0: undefined, arg1: undefined, } } @@ -32377,7 +32421,7 @@ function sprites_SpriteMap_resizeBuckets__P54650_mk(s) { -function Sprite_clearObstacles__P54635(s) { +function Sprite_clearObstacles__P19635(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32392,7 +32436,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -32401,12 +32445,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P54635.info = {"start":26783,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P19635.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__P54635_mk(s) { +function Sprite_clearObstacles__P19635_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P54635, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P19635, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32417,7 +32461,7 @@ function Sprite_clearObstacles__P54635_mk(s) { -function Fx_idiv__P52709(s) { +function Fx_idiv__P17709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32436,12 +32480,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P52709.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__P17709.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__P52709_mk(s) { +function Fx_idiv__P17709_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P52709, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P17709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32451,7 +32495,7 @@ function Fx_idiv__P52709_mk(s) { -function Fx_div__P52708(s) { +function Fx_div__P17708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32472,12 +32516,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P52708.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__P17708.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__P52708_mk(s) { +function Fx_div__P17708_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P52708, depth: s.depth + 1, + parent: s, fn: Fx_div__P17708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32488,7 +32532,7 @@ function Fx_div__P52708_mk(s) { -function helpers_arrayMap__P52655(s) { +function helpers_arrayMap__P17655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32498,58 +32542,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___68823 = undefined; - s.len___68825 = undefined; - s.i___68828 = undefined; + s.res___33835 = undefined; + s.len___33837 = undefined; + s.i___33840 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___68823 = (r0); + s.res___33835 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___68825 = (r0); - s.i___68828 = (0); + s.len___33837 = (r0); + s.i___33840 = (0); case 1: - r0 = (s.i___68828 < s.len___68825); + r0 = (s.i___33840 < s.len___33837); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___68823; + s.tmp_1 = r0 = s.res___33835; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___68828); + r0 = pxsim_Array__getAt(s.arg0, s.i___33840); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___68828; + s.tmp_3.arg1 = s.i___33840; 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___68828 + 1); - s.i___68828 = (r0); + r0 = (s.i___33840 + 1); + s.i___33840 = (r0); { step = 1; continue; } case 2: - r0 = s.res___68823; + r0 = s.res___33835; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P52655.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__P17655.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__P52655_mk(s) { +function helpers_arrayMap__P17655_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P52655, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P17655, 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___68823: undefined, - len___68825: undefined, - i___68828: undefined, + res___33835: undefined, + len___33837: undefined, + i___33840: undefined, arg0: undefined, arg1: undefined, } } @@ -32558,7 +32602,7 @@ function helpers_arrayMap__P52655_mk(s) { -function ArcadePhysicsEngine_draw__P54735(s) { +function ArcadePhysicsEngine_draw__P19735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32573,8 +32617,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P54649_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P19649_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 456; s.pc = 1; return s.tmp_0; @@ -32584,12 +32628,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P54735.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__P19735.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__P54735_mk(s) { +function ArcadePhysicsEngine_draw__P19735_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P54735, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P19735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32599,7 +32643,7 @@ function ArcadePhysicsEngine_draw__P54735_mk(s) { -function sprites_SpriteMap_draw__P54649(s) { +function sprites_SpriteMap_draw__P19649(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32609,70 +32653,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___68855 = undefined; - s.y___68861 = undefined; - s.left___68867 = undefined; - s.top___68872 = undefined; - s.k___68877 = undefined; - s.b___68882 = undefined; + s.x___33867 = undefined; + s.y___33873 = undefined; + s.left___33879 = undefined; + s.top___33884 = undefined; + s.k___33889 = undefined; + s.b___33894 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C54645_VT)) failedCast(r0); - s.x___68855 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C19645_VT)) failedCast(r0); + s.x___33867 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___68855 < s.tmp_1); + r0 = (s.x___33867 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___68861 = (0); + s.y___33873 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___68861 < s.tmp_1); + r0 = (s.y___33873 < 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___68855 * s.tmp_2); - s.left___68867 = (r0); + r0 = (s.x___33867 * s.tmp_2); + s.left___33879 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___68861 * s.tmp_0); - s.top___68872 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P56384_mk(s); + r0 = (s.y___33873 * s.tmp_0); + s.top___33884 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P21387_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___68867; - s.tmp_0.arg2 = s.top___68872; + s.tmp_0.arg1 = s.left___33879; + s.tmp_0.arg2 = s.top___33884; s.callLocIdx = 406; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___68877 = (r0); + s.k___33889 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___68877); - s.b___68882 = (r0); - s.tmp_0 = r0 = s.b___68882; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___33889); + s.b___33894 = (r0); + s.tmp_0 = r0 = s.b___33894; 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___68882); + r0 = pxsim_Array__length(s.b___33894); 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__P54282_mk(s); - s.tmp_2.arg0 = globals.screen___54353; - s.tmp_2.arg1 = s.left___68867; - s.tmp_2.arg2 = s.top___68872; + s.tmp_2 = helpers_imageDrawRect__P19282_mk(s); + s.tmp_2.arg0 = globals.screen___19353; + s.tmp_2.arg1 = s.left___33879; + s.tmp_2.arg2 = s.top___33884; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -32683,34 +32727,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___68861 + 1); - s.y___68861 = (r0); + r0 = (s.y___33873 + 1); + s.y___33873 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___68855 + 1); - s.x___68855 = (r0); + r0 = (s.x___33867 + 1); + s.x___33867 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P54649.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__P19649.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__P54649_mk(s) { +function sprites_SpriteMap_draw__P19649_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P54649, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P19649, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___68855: undefined, - y___68861: undefined, - left___68867: undefined, - top___68872: undefined, - k___68877: undefined, - b___68882: undefined, + x___33867: undefined, + y___33873: undefined, + left___33879: undefined, + top___33884: undefined, + k___33889: undefined, + b___33894: undefined, arg0: undefined, } } @@ -32718,7 +32762,7 @@ function sprites_SpriteMap_draw__P54649_mk(s) { -function ArcadePhysicsEngine_removeSprite__P54734(s) { +function ArcadePhysicsEngine_removeSprite__P19734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32734,7 +32778,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -32742,12 +32786,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P54734.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__P19734.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__P54734_mk(s) { +function ArcadePhysicsEngine_removeSprite__P19734_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P54734, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P19734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32758,7 +32802,7 @@ function ArcadePhysicsEngine_removeSprite__P54734_mk(s) { -function ArcadePhysicsEngine_addSprite__P54733(s) { +function ArcadePhysicsEngine_addSprite__P19733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32768,31 +32812,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___68919 = undefined; + s.tm___33931 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C54724_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C19724_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__P55080_mk(s); + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 454; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___68919 = (r0); - s.tmp_0 = r0 = s.tm___68919; + s.tm___33931 = (r0); + s.tmp_0 = r0 = s.tm___33931; 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__P54889_mk(s); - s.tmp_1.arg0 = s.tm___68919; + s.tmp_1 = tiles_TileMap_isOnWall__P19889_mk(s); + s.tmp_1.arg0 = s.tm___33931; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 455; s.pc = 6; return s.tmp_1; case 6: @@ -32814,12 +32858,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P54733.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__P19733.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__P54733_mk(s) { +function ArcadePhysicsEngine_addSprite__P19733_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P54733, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P19733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32827,7 +32871,7 @@ function ArcadePhysicsEngine_addSprite__P54733_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___68919: undefined, + tm___33931: undefined, arg0: undefined, arg1: undefined, } } @@ -32836,7 +32880,7 @@ function ArcadePhysicsEngine_addSprite__P54733_mk(s) { -function tiles_TileMapData_constructor__P54856(s) { +function tiles_TileMapData_constructor__P19856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32855,14 +32899,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C54855_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C19855_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__P54860_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P19860_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; - s.callLocIdx = 691; s.pc = 1; return s.tmp_0; + s.callLocIdx = 695; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -32877,12 +32921,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P54856.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__P19856.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__P54856_mk(s) { +function tiles_TileMapData_constructor__P19856_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P54856, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P19856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32897,7 +32941,7 @@ function tiles_TileMapData_constructor__P54856_mk(s) { -function tiles_TileMapData_scale__P54860(s) { +function tiles_TileMapData_scale__P19860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32913,7 +32957,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C54855_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C19855_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -32923,12 +32967,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P54860.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__P19860.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__P54860_mk(s) { +function tiles_TileMapData_scale__P19860_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P54860, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P19860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32940,7 +32984,7 @@ function tiles_TileMapData_scale__P54860_mk(s) { -function tiles_TileMap_constructor__P54869(s) { +function tiles_TileMap_constructor__P19869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32956,34 +33000,34 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P54871_mk(s); + s.tmp_0 = tiles_TileMap_scale__P19871_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 699; s.pc = 1; return s.tmp_0; + s.callLocIdx = 703; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P59649); + r0 = pxsim_pxtcore_mkAction(1, inline__P24652); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = scene_createRenderable__P54931_mk(s); + s.tmp_1 = scene_createRenderable__P19934_mk(s); s.tmp_1.arg0 = -1; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; - s.callLocIdx = 701; s.pc = 2; return s.tmp_1; + s.callLocIdx = 705; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P54869.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__P19869.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__P54869_mk(s) { +function tiles_TileMap_constructor__P19869_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P54869, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P19869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32995,7 +33039,7 @@ function tiles_TileMap_constructor__P54869_mk(s) { -function inline__P59649(s) { +function inline__P24652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33010,23 +33054,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P56480_mk(s); + s.tmp_0 = tiles_TileMap_draw__P21483_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 700; s.pc = 1; return s.tmp_0; + s.callLocIdx = 704; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P59649.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__P24652.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__P59649_mk(s) { +function inline__P24652_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P59649, depth: s.depth + 1, + parent: s, fn: inline__P24652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33037,7 +33081,7 @@ function inline__P59649_mk(s) { -function tiles_TileMap_draw__P56480(s) { +function tiles_TileMap_draw__P21483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33047,21 +33091,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___59660 = undefined; - s.offsetX___59666 = undefined; - s.offsetY___59671 = undefined; - s.x0___59676 = undefined; - s.xn___59683 = undefined; - s.y0___59700 = undefined; - s.yn___59707 = undefined; - s.x___59724 = undefined; - s.y___59730 = undefined; - s.index___59736 = undefined; - s.tile___59743 = undefined; - s.x___59779 = undefined; - s.xLine___59785 = undefined; - s.y___59811 = undefined; - s.yLine___59817 = undefined; + s.bitmask___24663 = undefined; + s.offsetX___24669 = undefined; + s.offsetY___24674 = undefined; + s.x0___24679 = undefined; + s.xn___24686 = undefined; + s.y0___24703 = undefined; + s.yn___24710 = undefined; + s.x___24727 = undefined; + s.y___24733 = undefined; + s.index___24739 = undefined; + s.tile___24746 = undefined; + s.x___24782 = undefined; + s.xLine___24788 = undefined; + s.y___24814 = undefined; + s.yLine___24820 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33069,7 +33113,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -33094,16 +33138,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___59660 = (r0); + s.bitmask___24663 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___59660); - s.offsetX___59666 = (r0); + r0 = (s.tmp_0 & s.bitmask___24663); + s.offsetX___24669 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___59660); - s.offsetY___59671 = (r0); - s.tmp_0 = Math_max__P52676_mk(s); + r0 = (s.tmp_0 & s.bitmask___24663); + s.offsetY___24674 = (r0); + s.tmp_0 = Math_max__P17676_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -33111,11 +33155,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 724; s.pc = 24; return s.tmp_0; + s.callLocIdx = 728; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___59676 = (r0); - s.tmp_0 = Math_min__P52677_mk(s); + s.x0___24679 = (r0); + s.tmp_0 = Math_min__P17677_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -33132,11 +33176,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 727; s.pc = 25; return s.tmp_0; + s.callLocIdx = 731; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___59683 = (r0); - s.tmp_0 = Math_max__P52676_mk(s); + s.xn___24686 = (r0); + s.tmp_0 = Math_max__P17676_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -33144,11 +33188,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 729; s.pc = 26; return s.tmp_0; + s.callLocIdx = 733; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___59700 = (r0); - s.tmp_0 = Math_min__P52677_mk(s); + s.y0___24703 = (r0); + s.tmp_0 = Math_min__P17677_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -33165,95 +33209,95 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 732; s.pc = 27; return s.tmp_0; + s.callLocIdx = 736; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___59707 = (r0); - s.x___59724 = (s.x0___59676); + s.yn___24710 = (r0); + s.x___24727 = (s.x0___24679); case 3: - r0 = (s.x___59724 <= s.xn___59683); + r0 = (s.x___24727 <= s.xn___24686); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___59730 = (s.y0___59700); + s.y___24733 = (s.y0___24703); case 4: - r0 = (s.y___59730 <= s.yn___59707); + r0 = (s.y___24733 <= s.yn___24710); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P54861_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P19861_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___59724; - s.tmp_1.arg2 = s.y___59730; - s.callLocIdx = 733; s.pc = 28; return s.tmp_1; + s.tmp_1.arg1 = s.x___24727; + s.tmp_1.arg2 = s.y___24733; + s.callLocIdx = 737; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___59736 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P54864_mk(s); + s.index___24739 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P19864_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___59736; - s.callLocIdx = 734; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = s.index___24739; + s.callLocIdx = 738; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___59743 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___59743); + s.tile___24746 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___24746); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___59743; - r0 = (s.x___59724 - s.x0___59676); + s.tmp_1 = r0 = s.tile___24746; + r0 = (s.x___24727 - s.x0___24679); 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___59666); + r0 = (s.tmp_3 - s.offsetX___24669); s.tmp_2 = r0; - r0 = (s.y___59730 - s.y0___59700); + r0 = (s.y___24733 - s.y0___24703); 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___59671); + r0 = (s.tmp_7 - s.offsetY___24674); 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___59730 + 1); - s.y___59730 = (r0); + r0 = (s.y___24733 + 1); + s.y___24733 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___59724 + 1); - s.x___59724 = (r0); + r0 = (s.x___24727 + 1); + s.x___24727 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___55076); + r0 = pxsim_numops_toBoolDecr(globals.debug___20079); if (!r0) { step = 21; continue; } - s.x___59779 = (s.x0___59676); + s.x___24782 = (s.x0___24679); case 9: - r0 = (s.x___59779 <= s.xn___59683); + r0 = (s.x___24782 <= s.xn___24686); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___59779 - s.x0___59676); + r0 = (s.x___24782 - s.x0___24679); 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___59666); - s.xLine___59785 = (r0); - r0 = (s.xLine___59785 >= 0); + r0 = (s.tmp_1 - s.offsetX___24669); + s.xLine___24788 = (r0); + r0 = (s.xLine___24788 >= 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___59785; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + s.tmp_1 = r0 = s.xLine___24788; + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -33261,46 +33305,46 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P54281_mk(s); + s.tmp_4 = helpers_imageDrawLine__P19281_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___59785; + s.tmp_4.arg1 = s.xLine___24788; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___59785; + s.tmp_4.arg3 = s.xLine___24788; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; - s.callLocIdx = 738; s.pc = 30; return s.tmp_4; + s.callLocIdx = 742; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 12: case 13: - r0 = (s.x___59779 + 1); - s.x___59779 = (r0); + r0 = (s.x___24782 + 1); + s.x___24782 = (r0); { step = 9; continue; } case 14: - s.y___59811 = (s.y0___59700); + s.y___24814 = (s.y0___24703); case 15: - r0 = (s.y___59811 <= s.yn___59707); + r0 = (s.y___24814 <= s.yn___24710); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___59811 - s.y0___59700); + r0 = (s.y___24814 - s.y0___24703); 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___59671); - s.yLine___59817 = (r0); - r0 = (s.yLine___59817 >= 0); + r0 = (s.tmp_1 - s.offsetY___24674); + s.yLine___24820 = (r0); + r0 = (s.yLine___24820 >= 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___59817; - r0 = pxsim_ImageMethods.height(globals.screen___54353); + s.tmp_1 = r0 = s.yLine___24820; + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -33308,21 +33352,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P54281_mk(s); + s.tmp_4 = helpers_imageDrawLine__P19281_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___59817; + s.tmp_4.arg2 = s.yLine___24820; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___59817; + s.tmp_4.arg4 = s.yLine___24820; s.tmp_4.arg5 = 1; - s.callLocIdx = 740; s.pc = 31; return s.tmp_4; + s.callLocIdx = 744; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___59811 + 1); - s.y___59811 = (r0); + r0 = (s.y___24814 + 1); + s.y___24814 = (r0); { step = 15; continue; } case 20: case 21: @@ -33332,12 +33376,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P56480.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__P21483.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__P56480_mk(s) { +function tiles_TileMap_draw__P21483_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P56480, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P21483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33349,21 +33393,21 @@ function tiles_TileMap_draw__P56480_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___59660: undefined, - offsetX___59666: undefined, - offsetY___59671: undefined, - x0___59676: undefined, - xn___59683: undefined, - y0___59700: undefined, - yn___59707: undefined, - x___59724: undefined, - y___59730: undefined, - index___59736: undefined, - tile___59743: undefined, - x___59779: undefined, - xLine___59785: undefined, - y___59811: undefined, - yLine___59817: undefined, + bitmask___24663: undefined, + offsetX___24669: undefined, + offsetY___24674: undefined, + x0___24679: undefined, + xn___24686: undefined, + y0___24703: undefined, + yn___24710: undefined, + x___24727: undefined, + y___24733: undefined, + index___24739: undefined, + tile___24746: undefined, + x___24782: undefined, + xLine___24788: undefined, + y___24814: undefined, + yLine___24820: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33373,7 +33417,7 @@ function tiles_TileMap_draw__P56480_mk(s) { -function tiles_TileMap_scale__P54871(s) { +function tiles_TileMap_scale__P19871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33389,17 +33433,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_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__P54860_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P19860_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 702; s.pc = 3; return s.tmp_1; + s.callLocIdx = 706; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -33408,12 +33452,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P54871.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__P19871.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__P54871_mk(s) { +function tiles_TileMap_scale__P19871_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P54871, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P19871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33425,7 +33469,7 @@ function tiles_TileMap_scale__P54871_mk(s) { -function tiles_TileMap_data__P56478(s) { +function tiles_TileMap_data__P21481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33440,18 +33484,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C54868_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C19868_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P56478.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__P56478.isGetter = true; +tiles_TileMap_data__P21481.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__P21481.isGetter = true; -function tiles_TileMap_data__P56478_mk(s) { +function tiles_TileMap_data__P21481_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P56478, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P21481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33460,7 +33504,7 @@ function tiles_TileMap_data__P56478_mk(s) { -function Sprite_toString__P54641(s) { +function Sprite_toString__P19641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33475,7 +33519,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -33493,7 +33537,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P54576_mk(s); + s.tmp_14 = Sprite_x__P19576_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 387; s.pc = 2; return s.tmp_14; case 2: @@ -33512,7 +33556,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P54578_mk(s); + s.tmp_17 = Sprite_y__P19578_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 388; s.pc = 4; return s.tmp_17; case 4: @@ -33531,7 +33575,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P54580_mk(s); + s.tmp_20 = Sprite_vx__P19580_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 389; s.pc = 6; return s.tmp_20; case 6: @@ -33550,7 +33594,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P54582_mk(s); + s.tmp_23 = Sprite_vy__P19582_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 390; s.pc = 8; return s.tmp_23; case 8: @@ -33571,12 +33615,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P54641.info = {"start":33106,"length":93,"line":980,"column":4,"endLine":982,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P19641.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__P54641_mk(s) { +function Sprite_toString__P19641_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P54641, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P19641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33609,7 +33653,7 @@ function Sprite_toString__P54641_mk(s) { -function Sprite___update__P54629(s) { +function Sprite___update__P19629(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33619,8 +33663,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bounce___69230 = undefined; - s.tm___69235 = undefined; + s.bounce___34242 = undefined; + s.tm___34247 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33628,7 +33672,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -33650,7 +33694,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__P54639_mk(s); + s.tmp_0 = Sprite__destroyCore__P19639_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 323; s.pc = 33; return s.tmp_0; case 33: @@ -33668,7 +33712,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P54627_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P19627_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 324; s.pc = 34; return s.tmp_2; @@ -33679,7 +33723,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P54638_mk(s); + s.tmp_4 = Sprite_destroy__P19638_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -33691,13 +33735,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___69230 = (r0); - s.tmp_0 = game_currentScene__P55080_mk(s); + s.bounce___34242 = (r0); + s.tmp_0 = game_currentScene__P20083_mk(s); s.callLocIdx = 326; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___69235 = (r0); + s.tm___34247 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -33707,13 +33751,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___69230; + s.tmp_2 = r0 = s.bounce___34242; 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___69235); + r0 = pxsim_numops_toBoolDecr(s.tm___34247); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -33725,7 +33769,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P54613_mk(s); + s.tmp_8 = Sprite_left__P19613_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 327; s.pc = 37; return s.tmp_8; case 37: @@ -33737,18 +33781,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P54614_mk(s); + s.tmp_10 = Sprite_left__P19614_mk(s); s.tmp_10.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_10.arg1 = r0; s.callLocIdx = 330; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___69230); + r0 = pxsim_numops_toBoolDecr(s.bounce___34242); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P54581_mk(s); + s.tmp_0 = Sprite_vx__P19581_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P54580_mk(s); + s.tmp_2 = Sprite_vx__P19580_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 331; s.pc = 40; return s.tmp_2; case 40: @@ -33763,7 +33807,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P54615_mk(s); + s.tmp_2 = Sprite_right__P19615_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 333; s.pc = 41; return s.tmp_2; case 41: @@ -33771,7 +33815,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -33779,22 +33823,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P54616_mk(s); + s.tmp_6 = Sprite_right__P19616_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 336; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___69230); + r0 = pxsim_numops_toBoolDecr(s.bounce___34242); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P54581_mk(s); + s.tmp_0 = Sprite_vx__P19581_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P54580_mk(s); + s.tmp_2 = Sprite_vx__P19580_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 337; s.pc = 44; return s.tmp_2; case 44: @@ -33810,7 +33854,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P54617_mk(s); + s.tmp_2 = Sprite_top__P19617_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 339; s.pc = 45; return s.tmp_2; case 45: @@ -33822,18 +33866,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P54618_mk(s); + s.tmp_4 = Sprite_top__P19618_mk(s); s.tmp_4.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4.arg1 = r0; s.callLocIdx = 342; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___69230); + r0 = pxsim_numops_toBoolDecr(s.bounce___34242); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P54583_mk(s); + s.tmp_0 = Sprite_vy__P19583_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P54582_mk(s); + s.tmp_2 = Sprite_vy__P19582_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 343; s.pc = 48; return s.tmp_2; case 48: @@ -33848,7 +33892,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P54619_mk(s); + s.tmp_2 = Sprite_bottom__P19619_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 345; s.pc = 49; return s.tmp_2; case 49: @@ -33856,7 +33900,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -33864,22 +33908,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P54620_mk(s); + s.tmp_6 = Sprite_bottom__P19620_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.callLocIdx = 348; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___69230); + r0 = pxsim_numops_toBoolDecr(s.bounce___34242); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P54583_mk(s); + s.tmp_0 = Sprite_vy__P19583_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P54582_mk(s); + s.tmp_2 = Sprite_vy__P19582_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 349; s.pc = 52; return s.tmp_2; case 52: @@ -33922,12 +33966,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P54629.info = {"start":22164,"length":1390,"line":682,"column":4,"endLine":721,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P19629.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__P54629_mk(s) { +function Sprite___update__P19629_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P54629, depth: s.depth + 1, + parent: s, fn: Sprite___update__P19629, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33940,8 +33984,8 @@ function Sprite___update__P54629_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___69230: undefined, - tm___69235: undefined, + bounce___34242: undefined, + tm___34247: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33951,7 +33995,7 @@ function Sprite___update__P54629_mk(s) { -function Sprite_isOutOfScreen__P54627(s) { +function Sprite_isOutOfScreen__P19627(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33961,15 +34005,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___69324 = undefined; - s.oy___69332 = undefined; + s.ox___34336 = undefined; + s.oy___34344 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -33983,7 +34027,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___69324 = (s.tmp_2); + s.ox___34336 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -33997,14 +34041,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___69332 = (s.tmp_2); - s.tmp_3 = Sprite_right__P54615_mk(s); + s.oy___34344 = (s.tmp_2); + s.tmp_3 = Sprite_right__P19615_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 292; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___69324); + r0 = (s.tmp_2 - s.ox___34336); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -34013,13 +34057,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P54619_mk(s); + s.tmp_6 = Sprite_bottom__P19619_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 293; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___69332); + r0 = (s.tmp_5 - s.oy___34344); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -34030,15 +34074,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P54613_mk(s); + s.tmp_10 = Sprite_left__P19613_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 294; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___69324); + r0 = (s.tmp_9 - s.ox___34336); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -34049,15 +34093,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P54617_mk(s); + s.tmp_15 = Sprite_top__P19617_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 295; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___69332); + r0 = (s.tmp_14 - s.oy___34344); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -34067,12 +34111,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P54627.info = {"start":20411,"length":358,"line":636,"column":4,"endLine":640,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P19627.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__P54627_mk(s) { +function Sprite_isOutOfScreen__P19627_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P54627, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P19627, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34092,8 +34136,8 @@ function Sprite_isOutOfScreen__P54627_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___69324: undefined, - oy___69332: undefined, + ox___34336: undefined, + oy___34344: undefined, arg0: undefined, arg1: undefined, } } @@ -34102,7 +34146,7 @@ function Sprite_isOutOfScreen__P54627_mk(s) { -function Sprite_bottom__P54620(s) { +function Sprite_bottom__P19620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34118,8 +34162,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P54618_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P19618_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -34135,12 +34179,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P54620.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__P19620.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__P54620_mk(s) { +function Sprite_bottom__P19620_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P54620, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P19620, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34154,7 +34198,7 @@ function Sprite_bottom__P54620_mk(s) { -function Sprite_right__P54616(s) { +function Sprite_right__P19616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34170,8 +34214,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P54614_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P19614_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -34187,12 +34231,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P54616.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__P19616.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__P54616_mk(s) { +function Sprite_right__P19616_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P54616, depth: s.depth + 1, + parent: s, fn: Sprite_right__P19616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34206,7 +34250,7 @@ function Sprite_right__P54616_mk(s) { -function Sprite_width__P54611(s) { +function Sprite_width__P19611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34221,20 +34265,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_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__P54611.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__P54611.isGetter = true; +Sprite_width__P19611.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__P19611.isGetter = true; -function Sprite_width__P54611_mk(s) { +function Sprite_width__P19611_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P54611, depth: s.depth + 1, + parent: s, fn: Sprite_width__P19611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34244,7 +34288,7 @@ function Sprite_width__P54611_mk(s) { -function Sprite_data__P54593(s) { +function Sprite_data__P19593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34260,18 +34304,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P54593.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__P19593.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__P54593_mk(s) { +function Sprite_data__P19593_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P54593, depth: s.depth + 1, + parent: s, fn: Sprite_data__P19593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34281,7 +34325,7 @@ function Sprite_data__P54593_mk(s) { -function Sprite_data__P54592(s) { +function Sprite_data__P19592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34296,7 +34340,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -34315,13 +34359,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P54592.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__P54592.isGetter = true; +Sprite_data__P19592.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__P19592.isGetter = true; -function Sprite_data__P54592_mk(s) { +function Sprite_data__P19592_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P54592, depth: s.depth + 1, + parent: s, fn: Sprite_data__P19592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34335,7 +34379,7 @@ function Sprite_data__P54592_mk(s) { -function scene_BackgroundLayer_constructor__P54833(s) { +function scene_BackgroundLayer_constructor__P19833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34353,12 +34397,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C54826_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C19826_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P52676_mk(s); + s.tmp_2 = Math_max__P17676_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 682; s.pc = 7; return s.tmp_2; + s.callLocIdx = 686; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -34401,12 +34445,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P54833.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__P19833.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__P54833_mk(s) { +function scene_BackgroundLayer_constructor__P19833_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P54833, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P19833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34421,7 +34465,7 @@ function scene_BackgroundLayer_constructor__P54833_mk(s) { -function scene_Camera_y__P54918(s) { +function scene_Camera_y__P19921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34436,10 +34480,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C54908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C19911_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___54353); + r0 = pxsim_ImageMethods.height(globals.screen___19353); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -34447,13 +34491,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P54918.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__P54918.isGetter = true; +scene_Camera_y__P19921.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__P19921.isGetter = true; -function scene_Camera_y__P54918_mk(s) { +function scene_Camera_y__P19921_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P54918, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P19921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34465,7 +34509,7 @@ function scene_Camera_y__P54918_mk(s) { -function scene_Camera_x__P54917(s) { +function scene_Camera_x__P19920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34480,10 +34524,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C54908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C19911_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___54353); + r0 = pxsim_ImageMethods.width(globals.screen___19353); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -34491,13 +34535,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P54917.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__P54917.isGetter = true; +scene_Camera_x__P19920.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__P19920.isGetter = true; -function scene_Camera_x__P54917_mk(s) { +function scene_Camera_x__P19920_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P54917, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P19920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34509,7 +34553,7 @@ function scene_Camera_x__P54917_mk(s) { -function particles_ParticleSource___draw__P55232(s) { +function particles_ParticleSource___draw__P20235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34519,18 +34563,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___69079 = undefined; - s.left___69082 = undefined; - s.top___69092 = undefined; + s.current___34091 = undefined; + s.left___34094 = undefined; + s.top___34104 = 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__C55226_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___69079 = (r0); + s.current___34091 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -34548,7 +34592,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___69082 = (s.tmp_4); + s.left___34094 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -34566,49 +34610,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___69092 = (s.tmp_4); + s.top___34104 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___69079); + r0 = pxsim_numops_toBoolDecr(s.current___34091); if (!r0) { step = 8; continue; } - r0 = s.current___69079.fields["lifespan"]; + r0 = s.current___34091.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__P56890_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P21893_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___69079; - s.tmp_2.arg2 = s.left___69082; - s.tmp_2.arg3 = s.top___69092; - s.callLocIdx = 1055; s.pc = 9; return s.tmp_2; + s.tmp_2.arg1 = s.current___34091; + s.tmp_2.arg2 = s.left___34094; + s.tmp_2.arg3 = s.top___34104; + s.callLocIdx = 1060; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___69079.fields["next"]; - s.current___69079 = (r0); + r0 = s.current___34091.fields["next"]; + s.current___34091 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P55232.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__P20235.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__P55232_mk(s) { +function particles_ParticleSource___draw__P20235_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P55232, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P20235, 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___69079: undefined, - left___69082: undefined, - top___69092: undefined, + current___34091: undefined, + left___34094: undefined, + top___34104: undefined, arg0: undefined, arg1: undefined, } } @@ -34617,7 +34661,7 @@ function particles_ParticleSource___draw__P55232_mk(s) { -function particles_ParticleSource_drawParticle__P56890(s) { +function particles_ParticleSource_drawParticle__P21893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34635,8 +34679,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C55226_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C55262_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C20229_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C20265_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -34648,7 +34692,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__C55262_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C20265_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: @@ -34657,12 +34701,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P56890.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__P21893.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__P56890_mk(s) { +function particles_ParticleSource_drawParticle__P21893_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P56890, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P21893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34677,7 +34721,7 @@ function particles_ParticleSource_drawParticle__P56890_mk(s) { -function particles_ParticleFactory_drawParticle__P55265(s) { +function particles_ParticleFactory_drawParticle__P20268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34695,8 +34739,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C55262_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___54353; + if (!checkSubtype(r0, particles_ParticleFactory__C20265_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___19353; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -34710,12 +34754,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P55265.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__P20268.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__P55265_mk(s) { +function particles_ParticleFactory_drawParticle__P20268_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P55265, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P20268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34732,7 +34776,7 @@ function particles_ParticleFactory_drawParticle__P55265_mk(s) { -function sprites_BaseSprite___update__P54417(s) { +function sprites_BaseSprite___update__P19417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34749,17 +34793,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C54409_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C19409_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P54417.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__P19417.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__P54417_mk(s) { +function sprites_BaseSprite___update__P19417_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P54417, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P19417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34770,7 +34814,7 @@ function sprites_BaseSprite___update__P54417_mk(s) { -function sprites_BaseSprite___draw__P54415(s) { +function sprites_BaseSprite___draw__P19415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34786,10 +34830,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C54409_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C54409_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C19409_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C19409_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C54409_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C19409_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: @@ -34797,10 +34841,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C54409_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C19409_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C54409_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C19409_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: @@ -34811,12 +34855,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P54415.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__P19415.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__P54415_mk(s) { +function sprites_BaseSprite___draw__P19415_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P54415, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P19415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34829,7 +34873,7 @@ function sprites_BaseSprite___draw__P54415_mk(s) { -function sprites_BaseSprite___drawCore__P54416(s) { +function sprites_BaseSprite___drawCore__P19416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34845,17 +34889,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C54409_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C19409_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P54416.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__P19416.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__P54416_mk(s) { +function sprites_BaseSprite___drawCore__P19416_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P54416, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P19416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34865,7 +34909,7 @@ function sprites_BaseSprite___drawCore__P54416_mk(s) { -function sprites_BaseSprite___visible__P54412(s) { +function sprites_BaseSprite___visible__P19412(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34880,17 +34924,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C54409_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C19409_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P54412.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__P19412.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__P54412_mk(s) { +function sprites_BaseSprite___visible__P19412_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P54412, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P19412, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -34899,7 +34943,7 @@ function sprites_BaseSprite___visible__P54412_mk(s) { -function particles_ShapeFactory_createParticle__P55292(s) { +function particles_ShapeFactory_createParticle__P20295(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34909,47 +34953,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___68983 = undefined; + s.p___33995 = 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__C55288_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P55278_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C20291_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P20281_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1149; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1154; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___68983 = (r0); - s.tmp_0 = r0 = s.p___68983; - s.tmp_2 = Math_FastRandom_randomRange__P55138_mk(s); + s.p___33995 = (r0); + s.tmp_0 = r0 = s.p___33995; + s.tmp_2 = Math_FastRandom_randomRange__P20141_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; s.tmp_2.arg2 = 14; - s.callLocIdx = 1150; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1155; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___68983; + r0 = s.p___33995; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P55292.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__P20295.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__P55292_mk(s) { +function particles_ShapeFactory_createParticle__P20295_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P55292, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P20295, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___68983: undefined, + p___33995: undefined, arg0: undefined, arg1: undefined, } } @@ -34958,7 +35002,7 @@ function particles_ShapeFactory_createParticle__P55292_mk(s) { -function particles_AreaFactory_createParticle__P55278(s) { +function particles_AreaFactory_createParticle__P20281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34968,42 +35012,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___68995 = undefined; + s.p___34007 = 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__C55272_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P55268_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C20275_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P20271_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1131; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1136; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___68995 = (r0); - s.tmp_0 = r0 = s.p___68995; - s.tmp_2 = Math_FastRandom_randomRange__P55138_mk(s); + s.p___34007 = (r0); + s.tmp_0 = r0 = s.p___34007; + s.tmp_2 = Math_FastRandom_randomRange__P20141_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; s.tmp_2.arg1 = r0; r0 = s.arg0.fields["maxLifespan"]; s.tmp_2.arg2 = r0; - s.callLocIdx = 1132; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1137; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___68995; - s.tmp_4 = Math_FastRandom_randomRange__P55138_mk(s); + s.tmp_0 = r0 = s.p___34007; + s.tmp_4 = Math_FastRandom_randomRange__P20141_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; r0 = s.arg0.fields["xRange"]; s.tmp_4.arg2 = r0; - s.callLocIdx = 1133; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1138; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -35013,7 +35057,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___68995.fields["_x"]; + r0 = s.p___34007.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -35028,7 +35072,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["height"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["height"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1136; s.pc = 6; return s.tmp_1; } + else { s.callLocIdx = 1141; s.pc = 6; return s.tmp_1; } } case 6: r0 = s.retval; @@ -35043,7 +35087,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["height"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["height"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1137; s.pc = 7; return s.tmp_3; } + else { s.callLocIdx = 1142; s.pc = 7; return s.tmp_3; } } case 7: r0 = s.retval; @@ -35055,36 +35099,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___68995; - s.tmp_9 = Math_FastRandom_randomRange__P55138_mk(s); + s.tmp_5 = r0 = s.p___34007; + s.tmp_9 = Math_FastRandom_randomRange__P20141_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; r0 = s.arg0.fields["yRange"]; s.tmp_9.arg2 = r0; - s.callLocIdx = 1135; s.pc = 8; return s.tmp_9; + s.callLocIdx = 1140; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___68995.fields["_y"]; + r0 = s.p___34007.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___68995; + r0 = s.p___34007; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P55278.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__P20281.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__P55278_mk(s) { +function particles_AreaFactory_createParticle__P20281_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P55278, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P20281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35098,7 +35142,7 @@ function particles_AreaFactory_createParticle__P55278_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___68995: undefined, + p___34007: undefined, arg0: undefined, arg1: undefined, } } @@ -35107,7 +35151,7 @@ function particles_AreaFactory_createParticle__P55278_mk(s) { -function particles_SprayFactory_createParticle__P55268(s) { +function particles_SprayFactory_createParticle__P20271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35117,39 +35161,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___69043 = undefined; - s.angle___69047 = undefined; + s.p___34055 = undefined; + s.angle___34059 = 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__C55266_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P55264_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C20269_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P20267_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1120; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1125; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___69043 = (r0); + s.p___34055 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P55138_mk(s); - s.tmp_3.arg0 = globals.galois___56904; + s.tmp_3 = Math_FastRandom_randomRange__P20141_mk(s); + s.tmp_3.arg0 = globals.galois___21907; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1121; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1126; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___69047 = (r0); - s.tmp_0 = r0 = s.p___69043; - r0 = pxsim_Array__getAt(globals.cachedSin___56899, s.angle___69047); + s.angle___34059 = (r0); + s.tmp_0 = r0 = s.p___34055; + r0 = pxsim_Array__getAt(globals.cachedSin___21902, s.angle___34059); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -35158,8 +35202,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___69043; - r0 = pxsim_Array__getAt(globals.cachedCos___56900, s.angle___69047); + s.tmp_0 = r0 = s.p___34055; + r0 = pxsim_Array__getAt(globals.cachedCos___21903, s.angle___34059); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -35168,24 +35212,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___69043; + r0 = s.p___34055; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P55268.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__P20271.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__P55268_mk(s) { +function particles_SprayFactory_createParticle__P20271_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P55268, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P20271, 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___69043: undefined, - angle___69047: undefined, + p___34055: undefined, + angle___34059: undefined, arg0: undefined, arg1: undefined, } } @@ -35194,7 +35238,7 @@ function particles_SprayFactory_createParticle__P55268_mk(s) { -function scene_Scene_data__P54990(s) { +function scene_Scene_data__P19993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35209,18 +35253,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C54967_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C19970_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P54990.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__P54990.isGetter = true; +scene_Scene_data__P19993.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__P19993.isGetter = true; -function scene_Scene_data__P54990_mk(s) { +function scene_Scene_data__P19993_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P54990, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P19993, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35229,7 +35273,7 @@ function scene_Scene_data__P54990_mk(s) { -function controller_AnyButton_isPressed__P56375(s) { +function controller_AnyButton_isPressed__P21378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35239,36 +35283,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___69393 = undefined; - s.b___69397 = undefined; - s.unnamed400___U2 = undefined; - s.unnamed401___U3 = undefined; + s.ctrl___34405 = undefined; + s.b___34409 = undefined; + s.unnamed176___U2 = undefined; + s.unnamed177___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C56373_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P54468_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C21376_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P19468_mk(s); s.callLocIdx = 146; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___69393 = (r0); - s.b___69397 = (undefined); - r0 = s.ctrl___69393.fields["buttons"]; - s.unnamed400___U2 = (r0); - s.unnamed401___U3 = (0); + s.ctrl___34405 = (r0); + s.b___34409 = (undefined); + r0 = s.ctrl___34405.fields["buttons"]; + s.unnamed176___U2 = (r0); + s.unnamed177___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed401___U3; - r0 = pxsim_Array__length(s.unnamed400___U2); + s.tmp_0 = r0 = s.unnamed177___U3; + r0 = pxsim_Array__length(s.unnamed176___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed400___U2, s.unnamed401___U3); - s.b___69397 = (r0); - s.tmp_3 = controller_Button__C54454_v0_1_mk(s); - s.tmp_3.arg0 = s.b___69397; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C54454_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed176___U2, s.unnamed177___U3); + s.b___34409 = (r0); + s.tmp_3 = controller_Button__C19454_v0_1_mk(s); + s.tmp_3.arg0 = s.b___34409; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C19454_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: @@ -35280,31 +35324,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed401___U3 + 1); - s.unnamed401___U3 = (r0); + r0 = (s.unnamed177___U3 + 1); + s.unnamed177___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed400___U2 = (undefined); + s.unnamed176___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P56375.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__P21378.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__P56375_mk(s) { +function controller_AnyButton_isPressed__P21378_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P56375, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P21378, 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___69393: undefined, - b___69397: undefined, - unnamed400___U2: undefined, - unnamed401___U3: undefined, + ctrl___34405: undefined, + b___34409: undefined, + unnamed176___U2: undefined, + unnamed177___U3: undefined, arg0: undefined, } } @@ -35312,7 +35356,7 @@ function controller_AnyButton_isPressed__P56375_mk(s) { -function controller_Button_toString__P54459(s) { +function controller_Button_toString__P19459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35327,7 +35371,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C54454_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C19454_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -35367,12 +35411,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P54459.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__P19459.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__P54459_mk(s) { +function controller_Button_toString__P19459_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P54459, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P19459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35388,7 +35432,7 @@ function controller_Button_toString__P54459_mk(s) { -function sprites_StaticObstacle_width__P54707(s) { +function sprites_StaticObstacle_width__P19707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35403,20 +35447,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C54697_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C19697_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__P54707.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__P54707.isGetter = true; +sprites_StaticObstacle_width__P19707.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__P19707.isGetter = true; -function sprites_StaticObstacle_width__P54707_mk(s) { +function sprites_StaticObstacle_width__P19707_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P54707, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P19707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35426,7 +35470,7 @@ function sprites_StaticObstacle_width__P54707_mk(s) { -function sprites_StaticObstacle_height__P54706(s) { +function sprites_StaticObstacle_height__P19706(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35441,20 +35485,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C54697_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C19697_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__P54706.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__P54706.isGetter = true; +sprites_StaticObstacle_height__P19706.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__P19706.isGetter = true; -function sprites_StaticObstacle_height__P54706_mk(s) { +function sprites_StaticObstacle_height__P19706_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P54706, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P19706, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35464,7 +35508,7 @@ function sprites_StaticObstacle_height__P54706_mk(s) { -function sprites_StaticObstacle_y__P54705(s) { +function sprites_StaticObstacle_y__P19705(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35479,7 +35523,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C54697_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C19697_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -35492,13 +35536,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P54705.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__P54705.isGetter = true; +sprites_StaticObstacle_y__P19705.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__P19705.isGetter = true; -function sprites_StaticObstacle_y__P54705_mk(s) { +function sprites_StaticObstacle_y__P19705_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P54705, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P19705, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35511,7 +35555,7 @@ function sprites_StaticObstacle_y__P54705_mk(s) { -function sprites_StaticObstacle_x__P54704(s) { +function sprites_StaticObstacle_x__P19704(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35526,7 +35570,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C54697_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C19697_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -35539,13 +35583,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P54704.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__P54704.isGetter = true; +sprites_StaticObstacle_x__P19704.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__P19704.isGetter = true; -function sprites_StaticObstacle_x__P54704_mk(s) { +function sprites_StaticObstacle_x__P19704_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P54704, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P19704, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35558,7 +35602,7 @@ function sprites_StaticObstacle_x__P54704_mk(s) { -function tiles_Location_y__P54845(s) { +function tiles_Location_y__P19845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35568,22 +35612,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___60139 = undefined; + s.scale___25142 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C54840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C19840_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___60139 = (r0); + s.scale___25142 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___60139); + r0 = (s.tmp_1 << s.scale___25142); s.tmp_0 = r0; - r0 = (s.scale___60139 - 1); + r0 = (s.scale___25142 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -35591,19 +35635,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P54845.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__P54845.isGetter = true; +tiles_Location_y__P19845.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__P19845.isGetter = true; -function tiles_Location_y__P54845_mk(s) { +function tiles_Location_y__P19845_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P54845, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P19845, 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___60139: undefined, + scale___25142: undefined, arg0: undefined, } } @@ -35611,7 +35655,7 @@ function tiles_Location_y__P54845_mk(s) { -function tiles_Location_x__P54844(s) { +function tiles_Location_x__P19844(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35621,22 +35665,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___60158 = undefined; + s.scale___25161 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C54840_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C19840_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___60158 = (r0); + s.scale___25161 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___60158); + r0 = (s.tmp_1 << s.scale___25161); s.tmp_0 = r0; - r0 = (s.scale___60158 - 1); + r0 = (s.scale___25161 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -35644,19 +35688,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P54844.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__P54844.isGetter = true; +tiles_Location_x__P19844.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__P19844.isGetter = true; -function tiles_Location_x__P54844_mk(s) { +function tiles_Location_x__P19844_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P54844, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P19844, 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___60158: undefined, + scale___25161: undefined, arg0: undefined, } } @@ -35664,7 +35708,7 @@ function tiles_Location_x__P54844_mk(s) { -function scene_Renderable___drawCore__P54929(s) { +function scene_Renderable___drawCore__P19932(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35680,19 +35724,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C54926_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C19929_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___54353; + s.tmp_0.arg1 = globals.screen___19353; 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); - s.callLocIdx = 803; s.pc = 1; return s.tmp_0; + s.callLocIdx = 807; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 803; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 803; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 803; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 807; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 807; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 807; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -35700,12 +35744,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P54929.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__P19932.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__P54929_mk(s) { +function scene_Renderable___drawCore__P19932_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P54929, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P19932, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35716,7 +35760,7 @@ function scene_Renderable___drawCore__P54929_mk(s) { -function scene_Renderable___visible__P54928(s) { +function scene_Renderable___visible__P19931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35731,29 +35775,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C54926_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C19929_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "shouldBeVisible"), 1); - s.callLocIdx = 802; s.pc = 1; return s.tmp_0; + s.callLocIdx = 806; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["shouldBeVisible"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 802; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 802; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 802; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 806; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 806; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 806; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P54928.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__P19931.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__P54928_mk(s) { +function scene_Renderable___visible__P19931_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P54928, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P19931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35763,7 +35807,7 @@ function scene_Renderable___visible__P54928_mk(s) { -function Sprite___drawCore__P54628(s) { +function Sprite___drawCore__P19628(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35773,21 +35817,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___69530 = undefined; - s.oy___69538 = undefined; - s.l___69546 = undefined; - s.t___69550 = undefined; - s.font___69565 = undefined; - s.tx___69569 = undefined; - s.ty___69571 = undefined; + s.ox___34542 = undefined; + s.oy___34550 = undefined; + s.l___34558 = undefined; + s.t___34562 = undefined; + s.font___34577 = undefined; + s.tx___34581 = undefined; + s.ty___34583 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); - s.tmp_1 = Sprite_isOutOfScreen__P54627_mk(s); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); + s.tmp_1 = Sprite_isOutOfScreen__P19627_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 296; s.pc = 20; return s.tmp_1; @@ -35812,7 +35856,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___69530 = (s.tmp_4); + s.ox___34542 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -35826,35 +35870,35 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___69538 = (s.tmp_2); - s.tmp_1 = Sprite_left__P54613_mk(s); + s.oy___34550 = (s.tmp_2); + s.tmp_1 = Sprite_left__P19613_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 297; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.ox___69530); - s.l___69546 = (r0); - s.tmp_1 = Sprite_top__P54617_mk(s); + r0 = (s.tmp_0 - s.ox___34542); + s.l___34558 = (r0); + s.tmp_1 = Sprite_top__P19617_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 298; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.oy___69538); - s.t___69550 = (r0); + r0 = (s.tmp_0 - s.oy___34550); + s.t___34562 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___54353, s.tmp_0, s.l___69546, s.t___69550); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___19353, s.tmp_0, s.l___34558, s.t___34562); 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___69565 = (globals.font5___54301); - s.tx___69569 = (s.l___69546); - s.tmp_1 = r0 = s.t___69550; + s.font___34577 = (globals.font5___19301); + s.tx___34581 = (s.l___34558); + s.tmp_1 = r0 = s.t___34562; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -35862,12 +35906,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___69571 = (r0); - s.tmp_0 = helpers_imagePrint__P54311_mk(s); - s.tmp_0.arg0 = globals.screen___54353; + s.ty___34583 = (r0); + s.tmp_0 = helpers_imagePrint__P19311_mk(s); + s.tmp_0.arg0 = globals.screen___19353; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P54576_mk(s); + s.tmp_7 = Sprite_x__P19576_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 300; s.pc = 24; return s.tmp_7; case 24: @@ -35888,7 +35932,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P54578_mk(s); + s.tmp_11 = Sprite_y__P19578_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 301; s.pc = 26; return s.tmp_11; case 26: @@ -35907,17 +35951,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___69569; - s.tmp_0.arg3 = s.ty___69571; + s.tmp_0.arg2 = s.tx___34581; + s.tmp_0.arg3 = s.ty___34583; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___69565; + s.tmp_0.arg5 = s.font___34577; s.tmp_0.arg6 = undefined; s.callLocIdx = 302; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = r0 = s.tx___69569; + s.tmp_0 = r0 = s.tx___34581; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___69565; + s.tmp_2.arg0 = s.font___34577; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -35930,8 +35974,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___69569 = (r0); - s.tmp_1 = Sprite_vx__P54580_mk(s); + s.tx___34581 = (r0); + s.tmp_1 = Sprite_vx__P19580_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 304; s.pc = 29; return s.tmp_1; case 29: @@ -35942,7 +35986,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_2 = Sprite_vy__P54582_mk(s); + s.tmp_2 = Sprite_vy__P19582_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 305; s.pc = 30; return s.tmp_2; case 30: @@ -35952,9 +35996,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___69571; + s.tmp_4 = r0 = s.ty___34583; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___69565; + s.tmp_7.arg0 = s.font___34577; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -35969,10 +36013,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___69571 = (r0); - s.tmp_0 = helpers_imagePrint__P54311_mk(s); - s.tmp_0.arg0 = globals.screen___54353; - s.tmp_6 = Sprite_vx__P54580_mk(s); + s.ty___34583 = (r0); + s.tmp_0 = helpers_imagePrint__P19311_mk(s); + s.tmp_0.arg0 = globals.screen___19353; + s.tmp_6 = Sprite_vx__P19580_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 307; s.pc = 33; return s.tmp_6; case 33: @@ -35993,7 +36037,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P54582_mk(s); + s.tmp_10 = Sprite_vy__P19582_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 308; s.pc = 35; return s.tmp_10; case 35: @@ -36012,17 +36056,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___69569; - s.tmp_0.arg3 = s.ty___69571; + s.tmp_0.arg2 = s.tx___34581; + s.tmp_0.arg3 = s.ty___34583; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___69565; + s.tmp_0.arg5 = s.font___34577; s.tmp_0.arg6 = undefined; s.callLocIdx = 309; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 9: case 10: - s.tmp_1 = Sprite_ax__P54584_mk(s); + s.tmp_1 = Sprite_ax__P19584_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 310; s.pc = 37; return s.tmp_1; case 37: @@ -36033,7 +36077,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_2 = Sprite_ay__P54586_mk(s); + s.tmp_2 = Sprite_ay__P19586_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 311; s.pc = 38; return s.tmp_2; case 38: @@ -36043,9 +36087,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___69571; + s.tmp_4 = r0 = s.ty___34583; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___69565; + s.tmp_7.arg0 = s.font___34577; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -36060,10 +36104,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___69571 = (r0); - s.tmp_0 = helpers_imagePrint__P54311_mk(s); - s.tmp_0.arg0 = globals.screen___54353; - s.tmp_6 = Sprite_ax__P54584_mk(s); + s.ty___34583 = (r0); + s.tmp_0 = helpers_imagePrint__P19311_mk(s); + s.tmp_0.arg0 = globals.screen___19353; + s.tmp_6 = Sprite_ax__P19584_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 313; s.pc = 41; return s.tmp_6; case 41: @@ -36084,7 +36128,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P54586_mk(s); + s.tmp_10 = Sprite_ay__P19586_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 314; s.pc = 43; return s.tmp_10; case 43: @@ -36103,10 +36147,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___69569; - s.tmp_0.arg3 = s.ty___69571; + s.tmp_0.arg2 = s.tx___34581; + s.tmp_0.arg3 = s.ty___34583; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___69565; + s.tmp_0.arg5 = s.font___34577; s.tmp_0.arg6 = undefined; s.callLocIdx = 315; s.pc = 40; return s.tmp_0; case 40: @@ -36115,11 +36159,11 @@ switch (step) { case 14: case 15: case 16: - r0 = pxsim_numops_toBoolDecr(globals.debug___55076); + r0 = pxsim_numops_toBoolDecr(globals.debug___20079); if (!r0) { step = 17; continue; } - s.tmp_0 = helpers_imageDrawRect__P54282_mk(s); - s.tmp_0.arg0 = globals.screen___54353; - s.tmp_3 = game_Hitbox_left__P54517_mk(s); + s.tmp_0 = helpers_imageDrawRect__P19282_mk(s); + s.tmp_0.arg0 = globals.screen___19353; + s.tmp_3 = game_Hitbox_left__P19517_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 316; s.pc = 46; return s.tmp_3; @@ -36130,9 +36174,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___69530); + r0 = (s.tmp_1 - s.ox___34542); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P54518_mk(s); + s.tmp_7 = game_Hitbox_top__P19518_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 318; s.pc = 47; return s.tmp_7; @@ -36143,7 +36187,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___69538); + r0 = (s.tmp_5 - s.oy___34550); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -36170,12 +36214,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P54628.info = {"start":20775,"length":1383,"line":642,"column":4,"endLine":680,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P19628.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__P54628_mk(s) { +function Sprite___drawCore__P19628_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P54628, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P19628, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36190,13 +36234,13 @@ function Sprite___drawCore__P54628_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___69530: undefined, - oy___69538: undefined, - l___69546: undefined, - t___69550: undefined, - font___69565: undefined, - tx___69569: undefined, - ty___69571: undefined, + ox___34542: undefined, + oy___34550: undefined, + l___34558: undefined, + t___34562: undefined, + font___34577: undefined, + tx___34581: undefined, + ty___34583: undefined, arg0: undefined, arg1: undefined, } } @@ -36205,7 +36249,7 @@ function Sprite___drawCore__P54628_mk(s) { -function Sprite___visible__P54610(s) { +function Sprite___visible__P19610(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36220,7 +36264,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C54567_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C19567_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -36231,12 +36275,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P54610.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__P19610.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__P54610_mk(s) { +function Sprite___visible__P19610_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P54610, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P19610, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36248,7 +36292,7 @@ function Sprite___visible__P54610_mk(s) { -function scene_Camera_top__P54921(s) { +function scene_Camera_top__P19924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36263,18 +36307,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C54908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C19911_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P54921.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__P54921.isGetter = true; +scene_Camera_top__P19924.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__P19924.isGetter = true; -function scene_Camera_top__P54921_mk(s) { +function scene_Camera_top__P19924_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P54921, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P19924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36283,7 +36327,7 @@ function scene_Camera_top__P54921_mk(s) { -function scene_Camera_left__P54919(s) { +function scene_Camera_left__P19922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36298,18 +36342,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C54908_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C19911_VT)) failedCast(r0); r0 = s.arg0.fields["drawOffsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P54919.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__P54919.isGetter = true; +scene_Camera_left__P19922.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__P19922.isGetter = true; -function scene_Camera_left__P54919_mk(s) { +function scene_Camera_left__P19922_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P54919, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P19922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36318,7 +36362,7 @@ function scene_Camera_left__P54919_mk(s) { -function particles_ShapeFactory_drawParticle__P55291(s) { +function particles_ShapeFactory_drawParticle__P20294(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36328,7 +36372,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___69440 = undefined; + s.pImage___34452 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36337,23 +36381,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C55288_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P55139_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C20291_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P20142_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1144; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1149; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___69440 = (r0); + s.pImage___34452 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___69440, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___54353; - s.tmp_1 = r0 = s.pImage___69440; + r0 = pxsim_ImageMethods.replace(s.pImage___34452, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___19353; + s.tmp_1 = r0 = s.pImage___34452; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -36375,12 +36419,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P55291.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__P20294.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__P55291_mk(s) { +function particles_ShapeFactory_drawParticle__P20294_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P55291, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P20294, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36392,7 +36436,7 @@ function particles_ShapeFactory_drawParticle__P55291_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___69440: undefined, + pImage___34452: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36403,7 +36447,7 @@ function particles_ShapeFactory_drawParticle__P55291_mk(s) { -function Math_FastRandom_pickRandom__P55139(s) { +function Math_FastRandom_pickRandom__P20142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36419,7 +36463,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C55134_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C20137_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -36442,14 +36486,14 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P55138_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P20141_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); s.tmp_6.arg2 = r0; - s.callLocIdx = 874; s.pc = 6; return s.tmp_6; + s.callLocIdx = 878; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; s.tmp_5 = r0; @@ -36458,12 +36502,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P55139.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__P20142.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__P55139_mk(s) { +function Math_FastRandom_pickRandom__P20142_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P55139, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P20142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36481,7 +36525,7 @@ function Math_FastRandom_pickRandom__P55139_mk(s) { -function particles_AreaFactory_drawParticle__P55279(s) { +function particles_AreaFactory_drawParticle__P20282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36491,7 +36535,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___69486 = undefined; + s.col___34498 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36500,7 +36544,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C55272_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C20275_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -36527,8 +36571,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___69486 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___54353; + s.col___34498 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___19353; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -36537,17 +36581,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___69486); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___34498); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P55279.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__P20282.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__P55279_mk(s) { +function particles_AreaFactory_drawParticle__P20282_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P55279, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P20282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36555,7 +36599,7 @@ function particles_AreaFactory_drawParticle__P55279_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___69486: undefined, + col___34498: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36566,7 +36610,7 @@ function particles_AreaFactory_drawParticle__P55279_mk(s) { -function particles_SprayFactory_drawParticle__P55269(s) { +function particles_SprayFactory_drawParticle__P20272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36584,8 +36628,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C55266_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___54353; + if (!checkSubtype(r0, particles_SprayFactory__C20269_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___19353; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -36599,12 +36643,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P55269.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__P20272.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__P55269_mk(s) { +function particles_SprayFactory_drawParticle__P20272_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P55269, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P20272, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36650,7 +36694,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C55262_v0_2_mk(s) { +function particles_ParticleFactory__C20265_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36665,7 +36709,7 @@ function particles_ParticleFactory__C55262_v0_2_mk(s) { } } -function particles_ParticleSource__C55226_v4_3_mk(s) { +function particles_ParticleSource__C20229_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36766,7 +36810,7 @@ function if_id_2_mk(s) { } } -function PhysicsEngine__C54710_v4_2_mk(s) { +function PhysicsEngine__C19710_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36812,7 +36856,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C54710_v3_1_mk(s) { +function PhysicsEngine__C19710_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -36953,7 +36997,7 @@ function if_id_1_mk(s) { } } -function controller_Button__C54454_v0_1_mk(s) { +function controller_Button__C19454_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37058,7 +37102,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C54710_v1_2_mk(s) { +function PhysicsEngine__C19710_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37256,7 +37300,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C54710_v2_4_mk(s) { +function PhysicsEngine__C19710_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37330,7 +37374,7 @@ function if_z_2_mk(s) { } } -function PhysicsEngine__C54710_v0_2_mk(s) { +function PhysicsEngine__C19710_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37419,7 +37463,7 @@ function if_updateSay_3_mk(s) { } } -function particles_ParticleFactory__C55262_v1_4_mk(s) { +function particles_ParticleFactory__C20265_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37436,7 +37480,7 @@ function particles_ParticleFactory__C55262_v1_4_mk(s) { } } -function sprites_BaseSprite__C54409_v0_1_mk(s) { +function sprites_BaseSprite__C19409_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37450,7 +37494,7 @@ function sprites_BaseSprite__C54409_v0_1_mk(s) { } } -function sprites_BaseSprite__C54409_v2_2_mk(s) { +function sprites_BaseSprite__C19409_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -37578,14 +37622,14 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Button__C54454_VT = mkVTable({ +const controller_Button__C19454_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P54463, + "isPressed": controller_Button_isPressed__P19463, }, iface: { "_owner": null, @@ -37602,26 +37646,26 @@ const controller_Button__C54454_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P54459, - "raiseButtonUp": controller_Button_raiseButtonUp__P56370, - "raiseButtonDown": controller_Button_raiseButtonDown__P56371, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P56372, - "onEvent": controller_Button_onEvent__P54461, - "isPressed": controller_Button_isPressed__P54463, - "pressureLevel": controller_Button_pressureLevel__P54464, - "setPressed": controller_Button_setPressed__P54465, - "__update": controller_Button___update__P54466, + "toString": controller_Button_toString__P19459, + "raiseButtonUp": controller_Button_raiseButtonUp__P21373, + "raiseButtonDown": controller_Button_raiseButtonDown__P21374, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P21375, + "onEvent": controller_Button_onEvent__P19461, + "isPressed": controller_Button_isPressed__P19463, + "pressureLevel": controller_Button_pressureLevel__P19464, + "setPressed": controller_Button_setPressed__P19465, + "__update": controller_Button___update__P19466, }, - toStringMethod: controller_Button_toString__P54459, + toStringMethod: controller_Button_toString__P19459, }); -const controller_AnyButton__C56373_VT = mkVTable({ +const controller_AnyButton__C21376_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P56375, + "isPressed": controller_AnyButton_isPressed__P21378, }, iface: { "_owner": null, @@ -37638,18 +37682,18 @@ const controller_AnyButton__C56373_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P56375, - "toString": controller_Button_toString__P54459, - "raiseButtonUp": controller_Button_raiseButtonUp__P56370, - "raiseButtonDown": controller_Button_raiseButtonDown__P56371, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P56372, - "onEvent": controller_Button_onEvent__P54461, - "pressureLevel": controller_Button_pressureLevel__P54464, - "setPressed": controller_Button_setPressed__P54465, - "__update": controller_Button___update__P54466, + "isPressed": controller_AnyButton_isPressed__P21378, + "toString": controller_Button_toString__P19459, + "raiseButtonUp": controller_Button_raiseButtonUp__P21373, + "raiseButtonDown": controller_Button_raiseButtonDown__P21374, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P21375, + "onEvent": controller_Button_onEvent__P19461, + "pressureLevel": controller_Button_pressureLevel__P19464, + "setPressed": controller_Button_setPressed__P19465, + "__update": controller_Button___update__P19466, }, }); -const Math_FastRandom__C55134_VT = mkVTable({ +const Math_FastRandom__C20137_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -37662,12 +37706,12 @@ const Math_FastRandom__C55134_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P55137, - "randomRange": Math_FastRandom_randomRange__P55138, - "pickRandom": Math_FastRandom_pickRandom__P55139, + "next": Math_FastRandom_next__P20140, + "randomRange": Math_FastRandom_randomRange__P20141, + "pickRandom": Math_FastRandom_pickRandom__P20142, }, }); -const texteffects_TextEffect__C55379_VT = mkVTable({ +const texteffects_TextEffect__C20382_VT = mkVTable({ name: "TextEffect", numFields: 1, classNo: 19, @@ -37680,7 +37724,7 @@ const texteffects_TextEffect__C55379_VT = mkVTable({ "set/getState": null, }, }); -const scene_Scene__C54967_VT = mkVTable({ +const scene_Scene__C19970_VT = mkVTable({ name: "Scene", numFields: 23, classNo: 20, @@ -37735,14 +37779,14 @@ const scene_Scene__C54967_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P54989, - "data": scene_Scene_data__P54990, - "millis": scene_Scene_millis__P54991, - "addSprite": scene_Scene_addSprite__P54992, - "render": scene_Scene_render__P54994, + "init": scene_Scene_init__P19992, + "data": scene_Scene_data__P19993, + "millis": scene_Scene_millis__P19994, + "addSprite": scene_Scene_addSprite__P19995, + "render": scene_Scene_render__P19997, }, }); -const effects_ImageEffect__C55364_VT = mkVTable({ +const effects_ImageEffect__C20367_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 21, @@ -37759,11 +37803,11 @@ const effects_ImageEffect__C55364_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P55366, - "change": effects_ImageEffect_change__P55367, + "applyTo": effects_ImageEffect_applyTo__P20369, + "change": effects_ImageEffect_change__P20370, }, }); -const effects_ParticleEffect__C55337_VT = mkVTable({ +const effects_ParticleEffect__C20340_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 22, @@ -37778,11 +37822,11 @@ const effects_ParticleEffect__C55337_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P55339, - "destroy": effects_ParticleEffect_destroy__P55340, + "start": effects_ParticleEffect_start__P20342, + "destroy": effects_ParticleEffect_destroy__P20343, }, }); -const effects_ScreenEffect__C55341_VT = mkVTable({ +const effects_ScreenEffect__C20344_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 23, @@ -37801,34 +37845,34 @@ const effects_ScreenEffect__C55341_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P55339, - "destroy": effects_ParticleEffect_destroy__P55340, + "start": effects_ParticleEffect_start__P20342, + "destroy": effects_ParticleEffect_destroy__P20343, }, }); -const particles_ParticleFactory__C55262_VT = mkVTable({ +const particles_ParticleFactory__C20265_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 24, lastSubtypeNo: 28, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P55264, - "drawParticle": particles_ParticleFactory_drawParticle__P55265, + "createParticle": particles_ParticleFactory_createParticle__P20267, + "drawParticle": particles_ParticleFactory_drawParticle__P20268, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P55264, - "drawParticle": particles_ParticleFactory_drawParticle__P55265, + "createParticle": particles_ParticleFactory_createParticle__P20267, + "drawParticle": particles_ParticleFactory_drawParticle__P20268, }, }); -const particles_SprayFactory__C55266_VT = mkVTable({ +const particles_SprayFactory__C20269_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 25, lastSubtypeNo: 28, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P55268, - "drawParticle": particles_SprayFactory_drawParticle__P55269, + "createParticle": particles_SprayFactory_createParticle__P20271, + "drawParticle": particles_SprayFactory_drawParticle__P20272, }, iface: { "speed": null, @@ -37837,21 +37881,21 @@ const particles_SprayFactory__C55266_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P55268, - "drawParticle": particles_SprayFactory_drawParticle__P55269, - "setSpeed": particles_SprayFactory_setSpeed__P55270, - "setDirection": particles_SprayFactory_setDirection__P55271, + "createParticle": particles_SprayFactory_createParticle__P20271, + "drawParticle": particles_SprayFactory_drawParticle__P20272, + "setSpeed": particles_SprayFactory_setSpeed__P20273, + "setDirection": particles_SprayFactory_setDirection__P20274, }, }); -const particles_AreaFactory__C55272_VT = mkVTable({ +const particles_AreaFactory__C20275_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 26, lastSubtypeNo: 28, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P55278, - "drawParticle": particles_AreaFactory_drawParticle__P55279, + "createParticle": particles_AreaFactory_createParticle__P20281, + "drawParticle": particles_AreaFactory_drawParticle__P20282, }, iface: { "speed": null, @@ -37870,21 +37914,21 @@ const particles_AreaFactory__C55272_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P55278, - "drawParticle": particles_AreaFactory_drawParticle__P55279, - "setSpeed": particles_SprayFactory_setSpeed__P55270, - "setDirection": particles_SprayFactory_setDirection__P55271, + "createParticle": particles_AreaFactory_createParticle__P20281, + "drawParticle": particles_AreaFactory_drawParticle__P20282, + "setSpeed": particles_SprayFactory_setSpeed__P20273, + "setDirection": particles_SprayFactory_setDirection__P20274, }, }); -const particles_ShapeFactory__C55288_VT = mkVTable({ +const particles_ShapeFactory__C20291_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 27, lastSubtypeNo: 28, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P55292, - "drawParticle": particles_ShapeFactory_drawParticle__P55291, + "createParticle": particles_ShapeFactory_createParticle__P20295, + "drawParticle": particles_ShapeFactory_drawParticle__P20294, }, iface: { "speed": null, @@ -37909,22 +37953,22 @@ const particles_ShapeFactory__C55288_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P55290, - "drawParticle": particles_ShapeFactory_drawParticle__P55291, - "createParticle": particles_ShapeFactory_createParticle__P55292, - "setSpeed": particles_SprayFactory_setSpeed__P55270, - "setDirection": particles_SprayFactory_setDirection__P55271, + "addShape": particles_ShapeFactory_addShape__P20293, + "drawParticle": particles_ShapeFactory_drawParticle__P20294, + "createParticle": particles_ShapeFactory_createParticle__P20295, + "setSpeed": particles_SprayFactory_setSpeed__P20273, + "setDirection": particles_SprayFactory_setDirection__P20274, }, }); -const particles_ConfettiFactory__C55293_VT = mkVTable({ +const particles_ConfettiFactory__C20296_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 28, lastSubtypeNo: 28, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P55292, - "drawParticle": particles_ShapeFactory_drawParticle__P55291, + "createParticle": particles_ShapeFactory_createParticle__P20295, + "drawParticle": particles_ShapeFactory_drawParticle__P20294, }, iface: { "speed": null, @@ -37949,50 +37993,50 @@ const particles_ConfettiFactory__C55293_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P55290, - "drawParticle": particles_ShapeFactory_drawParticle__P55291, - "createParticle": particles_ShapeFactory_createParticle__P55292, - "setSpeed": particles_SprayFactory_setSpeed__P55270, - "setDirection": particles_SprayFactory_setDirection__P55271, + "addShape": particles_ShapeFactory_addShape__P20293, + "drawParticle": particles_ShapeFactory_drawParticle__P20294, + "createParticle": particles_ShapeFactory_createParticle__P20295, + "setSpeed": particles_SprayFactory_setSpeed__P20273, + "setDirection": particles_SprayFactory_setDirection__P20274, }, }); -const sprites_BaseSprite__C54409_VT = mkVTable({ +const sprites_BaseSprite__C19409_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 29, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P54412, - "__draw": sprites_BaseSprite___draw__P54415, - "__drawCore": sprites_BaseSprite___drawCore__P54416, - "__update": sprites_BaseSprite___update__P54417, + "__visible": sprites_BaseSprite___visible__P19412, + "__draw": sprites_BaseSprite___draw__P19415, + "__drawCore": sprites_BaseSprite___drawCore__P19416, + "__update": sprites_BaseSprite___update__P19417, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P54412, - "z": sprites_BaseSprite_z__P54413, - "set/z": sprites_BaseSprite_z__P54414, - "__draw": sprites_BaseSprite___draw__P54415, - "__drawCore": sprites_BaseSprite___drawCore__P54416, - "__update": sprites_BaseSprite___update__P54417, + "__visible": sprites_BaseSprite___visible__P19412, + "z": sprites_BaseSprite_z__P19413, + "set/z": sprites_BaseSprite_z__P19414, + "__draw": sprites_BaseSprite___draw__P19415, + "__drawCore": sprites_BaseSprite___drawCore__P19416, + "__update": sprites_BaseSprite___update__P19417, }, }); -const particles_ParticleSource__C55226_VT = mkVTable({ +const particles_ParticleSource__C20229_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 30, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P54412, - "__draw": particles_ParticleSource___draw__P55232, - "__drawCore": sprites_BaseSprite___drawCore__P54416, - "__update": sprites_BaseSprite___update__P54417, - "updateParticle": particles_ParticleSource_updateParticle__P56889, + "__visible": sprites_BaseSprite___visible__P19412, + "__draw": particles_ParticleSource___draw__P20235, + "__drawCore": sprites_BaseSprite___drawCore__P19416, + "__update": sprites_BaseSprite___update__P19417, + "updateParticle": particles_ParticleSource_updateParticle__P21892, }, iface: { "_z": null, @@ -38021,28 +38065,28 @@ const particles_ParticleSource__C55226_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P55232, - "_update": particles_ParticleSource__update__P55233, - "_prune": particles_ParticleSource__prune__P55234, - "setAcceleration": particles_ParticleSource_setAcceleration__P55235, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P55237, - "enabled": particles_ParticleSource_enabled__P55238, - "set/enabled": particles_ParticleSource_enabled__P55239, - "destroy": particles_ParticleSource_destroy__P55240, - "clear": particles_ParticleSource_clear__P55241, - "setAnchor": particles_ParticleSource_setAnchor__P55242, - "setRate": particles_ParticleSource_setRate__P55243, - "setFactory": particles_ParticleSource_setFactory__P55245, - "updateParticle": particles_ParticleSource_updateParticle__P56889, - "drawParticle": particles_ParticleSource_drawParticle__P56890, - "__visible": sprites_BaseSprite___visible__P54412, - "z": sprites_BaseSprite_z__P54413, - "set/z": sprites_BaseSprite_z__P54414, - "__drawCore": sprites_BaseSprite___drawCore__P54416, - "__update": sprites_BaseSprite___update__P54417, + "__draw": particles_ParticleSource___draw__P20235, + "_update": particles_ParticleSource__update__P20236, + "_prune": particles_ParticleSource__prune__P20237, + "setAcceleration": particles_ParticleSource_setAcceleration__P20238, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P20240, + "enabled": particles_ParticleSource_enabled__P20241, + "set/enabled": particles_ParticleSource_enabled__P20242, + "destroy": particles_ParticleSource_destroy__P20243, + "clear": particles_ParticleSource_clear__P20244, + "setAnchor": particles_ParticleSource_setAnchor__P20245, + "setRate": particles_ParticleSource_setRate__P20246, + "setFactory": particles_ParticleSource_setFactory__P20248, + "updateParticle": particles_ParticleSource_updateParticle__P21892, + "drawParticle": particles_ParticleSource_drawParticle__P21893, + "__visible": sprites_BaseSprite___visible__P19412, + "z": sprites_BaseSprite_z__P19413, + "set/z": sprites_BaseSprite_z__P19414, + "__drawCore": sprites_BaseSprite___drawCore__P19416, + "__update": sprites_BaseSprite___update__P19417, }, }); -const particles_Particle__C55207_VT = mkVTable({ +const particles_Particle__C20210_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 33, @@ -38069,7 +38113,7 @@ const particles_Particle__C55207_VT = mkVTable({ "set/color": null, }, }); -const control_EventContext__C52935_VT = mkVTable({ +const control_EventContext__C17935_VT = mkVTable({ name: "EventContext", numFields: 9, classNo: 34, @@ -38096,16 +38140,16 @@ const control_EventContext__C52935_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P52940, - "runCallbacks": control_EventContext_runCallbacks__P56215, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P56216, - "register": control_EventContext_register__P52941, - "unregister": control_EventContext_unregister__P52942, - "registerFrameHandler": control_EventContext_registerFrameHandler__P52943, - "registerHandler": control_EventContext_registerHandler__P52945, + "deltaTime": control_EventContext_deltaTime__P17940, + "runCallbacks": control_EventContext_runCallbacks__P21218, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P21219, + "register": control_EventContext_register__P17941, + "unregister": control_EventContext_unregister__P17942, + "registerFrameHandler": control_EventContext_registerFrameHandler__P17943, + "registerHandler": control_EventContext_registerHandler__P17945, }, }); -const control_FrameCallback__C52932_VT = mkVTable({ +const control_FrameCallback__C17932_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 35, @@ -38120,7 +38164,7 @@ const control_FrameCallback__C52932_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C56189_VT = mkVTable({ +const control_PollEvent__C21192_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 36, @@ -38143,7 +38187,7 @@ const control_PollEvent__C56189_VT = mkVTable({ "set/once": null, }, }); -const control_EventHandler__C56210_VT = mkVTable({ +const control_EventHandler__C21213_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 37, @@ -38160,32 +38204,32 @@ const control_EventHandler__C56210_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P56211, - "unregister": control_EventHandler_unregister__P56212, + "register": control_EventHandler_register__P21214, + "unregister": control_EventHandler_unregister__P21215, }, }); -const PhysicsEngine__C54710_VT = mkVTable({ +const PhysicsEngine__C19710_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 38, lastSubtypeNo: 39, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P54712, - "removeSprite": PhysicsEngine_removeSprite__P54713, - "moveSprite": PhysicsEngine_moveSprite__P54714, - "draw": PhysicsEngine_draw__P54715, - "move": PhysicsEngine_move__P54716, + "addSprite": PhysicsEngine_addSprite__P19712, + "removeSprite": PhysicsEngine_removeSprite__P19713, + "moveSprite": PhysicsEngine_moveSprite__P19714, + "draw": PhysicsEngine_draw__P19715, + "move": PhysicsEngine_move__P19716, }, iface: { - "addSprite": PhysicsEngine_addSprite__P54712, - "removeSprite": PhysicsEngine_removeSprite__P54713, - "moveSprite": PhysicsEngine_moveSprite__P54714, - "draw": PhysicsEngine_draw__P54715, - "move": PhysicsEngine_move__P54716, + "addSprite": PhysicsEngine_addSprite__P19712, + "removeSprite": PhysicsEngine_removeSprite__P19713, + "moveSprite": PhysicsEngine_moveSprite__P19714, + "draw": PhysicsEngine_draw__P19715, + "move": PhysicsEngine_move__P19716, }, }); -const scene_Camera__C54908_VT = mkVTable({ +const scene_Camera__C19911_VT = mkVTable({ name: "Camera", numFields: 8, classNo: 40, @@ -38210,18 +38254,18 @@ const scene_Camera__C54908_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P54913, - "set/offsetX": scene_Camera_offsetX__P54914, - "offsetY": scene_Camera_offsetY__P54915, - "set/offsetY": scene_Camera_offsetY__P54916, - "x": scene_Camera_x__P54917, - "y": scene_Camera_y__P54918, - "left": scene_Camera_left__P54919, - "top": scene_Camera_top__P54921, - "update": scene_Camera_update__P54924, + "offsetX": scene_Camera_offsetX__P19916, + "set/offsetX": scene_Camera_offsetX__P19917, + "offsetY": scene_Camera_offsetY__P19918, + "set/offsetY": scene_Camera_offsetY__P19919, + "x": scene_Camera_x__P19920, + "y": scene_Camera_y__P19921, + "left": scene_Camera_left__P19922, + "top": scene_Camera_top__P19924, + "update": scene_Camera_update__P19927, }, }); -const scene_Background__C54816_VT = mkVTable({ +const scene_Background__C19816_VT = mkVTable({ name: "Background", numFields: 4, classNo: 41, @@ -38238,10 +38282,10 @@ const scene_Background__C54816_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "draw": scene_Background_draw__P54825, + "draw": scene_Background_draw__P19825, }, }); -const scene_BackgroundLayer__C54826_VT = mkVTable({ +const scene_BackgroundLayer__C19826_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 42, @@ -38262,20 +38306,20 @@ const scene_BackgroundLayer__C54826_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P54834, + "draw": scene_BackgroundLayer_draw__P19834, }, }); -const Sprite__C54567_VT = mkVTable({ +const Sprite__C19567_VT = mkVTable({ name: "Sprite", numFields: 26, classNo: 31, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P54610, - "__draw": sprites_BaseSprite___draw__P54415, - "__drawCore": Sprite___drawCore__P54628, - "__update": Sprite___update__P54629, + "__visible": Sprite___visible__P19610, + "__draw": sprites_BaseSprite___draw__P19415, + "__drawCore": Sprite___drawCore__P19628, + "__update": Sprite___update__P19629, }, iface: { "_z": null, @@ -38330,58 +38374,58 @@ const Sprite__C54567_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P54576, - "set/x": Sprite_x__P54577, - "y": Sprite_y__P54578, - "set/y": Sprite_y__P54579, - "vx": Sprite_vx__P54580, - "set/vx": Sprite_vx__P54581, - "vy": Sprite_vy__P54582, - "set/vy": Sprite_vy__P54583, - "ax": Sprite_ax__P54584, - "set/ax": Sprite_ax__P54585, - "ay": Sprite_ay__P54586, - "set/ay": Sprite_ay__P54587, - "fx": Sprite_fx__P54588, - "set/fx": Sprite_fx__P54589, - "fy": Sprite_fy__P54590, - "set/fy": Sprite_fy__P54591, - "data": Sprite_data__P54592, - "set/data": Sprite_data__P54593, - "image": Sprite_image__P54606, - "setImage": Sprite_setImage__P54607, - "setHitbox": Sprite_setHitbox__P54608, - "isStatic": Sprite_isStatic__P54609, - "__visible": Sprite___visible__P54610, - "width": Sprite_width__P54611, - "height": Sprite_height__P54612, - "left": Sprite_left__P54613, - "set/left": Sprite_left__P54614, - "right": Sprite_right__P54615, - "set/right": Sprite_right__P54616, - "top": Sprite_top__P54617, - "set/top": Sprite_top__P54618, - "bottom": Sprite_bottom__P54619, - "set/bottom": Sprite_bottom__P54620, - "kind": Sprite_kind__P54621, - "setKind": Sprite_setKind__P54622, - "isOutOfScreen": Sprite_isOutOfScreen__P54627, - "__drawCore": Sprite___drawCore__P54628, - "__update": Sprite___update__P54629, - "setFlag": Sprite_setFlag__P54630, - "overlapsWith": Sprite_overlapsWith__P54631, - "clearObstacles": Sprite_clearObstacles__P54635, - "registerObstacle": Sprite_registerObstacle__P54636, - "destroy": Sprite_destroy__P54638, - "_destroyCore": Sprite__destroyCore__P54639, - "toString": Sprite_toString__P54641, - "z": sprites_BaseSprite_z__P54413, - "set/z": sprites_BaseSprite_z__P54414, - "__draw": sprites_BaseSprite___draw__P54415, + "x": Sprite_x__P19576, + "set/x": Sprite_x__P19577, + "y": Sprite_y__P19578, + "set/y": Sprite_y__P19579, + "vx": Sprite_vx__P19580, + "set/vx": Sprite_vx__P19581, + "vy": Sprite_vy__P19582, + "set/vy": Sprite_vy__P19583, + "ax": Sprite_ax__P19584, + "set/ax": Sprite_ax__P19585, + "ay": Sprite_ay__P19586, + "set/ay": Sprite_ay__P19587, + "fx": Sprite_fx__P19588, + "set/fx": Sprite_fx__P19589, + "fy": Sprite_fy__P19590, + "set/fy": Sprite_fy__P19591, + "data": Sprite_data__P19592, + "set/data": Sprite_data__P19593, + "image": Sprite_image__P19606, + "setImage": Sprite_setImage__P19607, + "setHitbox": Sprite_setHitbox__P19608, + "isStatic": Sprite_isStatic__P19609, + "__visible": Sprite___visible__P19610, + "width": Sprite_width__P19611, + "height": Sprite_height__P19612, + "left": Sprite_left__P19613, + "set/left": Sprite_left__P19614, + "right": Sprite_right__P19615, + "set/right": Sprite_right__P19616, + "top": Sprite_top__P19617, + "set/top": Sprite_top__P19618, + "bottom": Sprite_bottom__P19619, + "set/bottom": Sprite_bottom__P19620, + "kind": Sprite_kind__P19621, + "setKind": Sprite_setKind__P19622, + "isOutOfScreen": Sprite_isOutOfScreen__P19627, + "__drawCore": Sprite___drawCore__P19628, + "__update": Sprite___update__P19629, + "setFlag": Sprite_setFlag__P19630, + "overlapsWith": Sprite_overlapsWith__P19631, + "clearObstacles": Sprite_clearObstacles__P19635, + "registerObstacle": Sprite_registerObstacle__P19636, + "destroy": Sprite_destroy__P19638, + "_destroyCore": Sprite__destroyCore__P19639, + "toString": Sprite_toString__P19641, + "z": sprites_BaseSprite_z__P19413, + "set/z": sprites_BaseSprite_z__P19414, + "__draw": sprites_BaseSprite___draw__P19415, }, - toStringMethod: Sprite_toString__P54641, + toStringMethod: Sprite_toString__P19641, }); -const tiles_TileMap__C54868_VT = mkVTable({ +const tiles_TileMap__C19868_VT = mkVTable({ name: "TileMap", numFields: 3, classNo: 43, @@ -38396,25 +38440,25 @@ const tiles_TileMap__C54868_VT = mkVTable({ "set/_layer": null, "_map": null, "set/_map": null, - "scale": tiles_TileMap_scale__P54870, - "set/scale": tiles_TileMap_scale__P54871, - "data": tiles_TileMap_data__P56478, - "offsetX": tiles_TileMap_offsetX__P54872, - "offsetY": tiles_TileMap_offsetY__P54873, - "areaWidth": tiles_TileMap_areaWidth__P54874, - "areaHeight": tiles_TileMap_areaHeight__P54875, - "layer": tiles_TileMap_layer__P54876, - "enabled": tiles_TileMap_enabled__P54878, - "getTile": tiles_TileMap_getTile__P54880, - "getTileIndex": tiles_TileMap_getTileIndex__P54881, - "draw": tiles_TileMap_draw__P56480, - "isObstacle": tiles_TileMap_isObstacle__P54887, - "getObstacle": tiles_TileMap_getObstacle__P54888, - "isOnWall": tiles_TileMap_isOnWall__P54889, - "getTileImage": tiles_TileMap_getTileImage__P54890, + "scale": tiles_TileMap_scale__P19870, + "set/scale": tiles_TileMap_scale__P19871, + "data": tiles_TileMap_data__P21481, + "offsetX": tiles_TileMap_offsetX__P19872, + "offsetY": tiles_TileMap_offsetY__P19873, + "areaWidth": tiles_TileMap_areaWidth__P19874, + "areaHeight": tiles_TileMap_areaHeight__P19875, + "layer": tiles_TileMap_layer__P19876, + "enabled": tiles_TileMap_enabled__P19878, + "getTile": tiles_TileMap_getTile__P19880, + "getTileIndex": tiles_TileMap_getTileIndex__P19881, + "draw": tiles_TileMap_draw__P21483, + "isObstacle": tiles_TileMap_isObstacle__P19887, + "getObstacle": tiles_TileMap_getObstacle__P19888, + "isOnWall": tiles_TileMap_isOnWall__P19889, + "getTileImage": tiles_TileMap_getTileImage__P19890, }, }); -const tiles_TileMapData__C54855_VT = mkVTable({ +const tiles_TileMapData__C19855_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 44, @@ -38437,17 +38481,17 @@ const tiles_TileMapData__C54855_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P54857, - "height": tiles_TileMapData_height__P54858, - "scale": tiles_TileMapData_scale__P54859, - "set/scale": tiles_TileMapData_scale__P54860, - "getTile": tiles_TileMapData_getTile__P54861, - "getTileImage": tiles_TileMapData_getTileImage__P54864, - "isWall": tiles_TileMapData_isWall__P54866, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P54867, + "width": tiles_TileMapData_width__P19857, + "height": tiles_TileMapData_height__P19858, + "scale": tiles_TileMapData_scale__P19859, + "set/scale": tiles_TileMapData_scale__P19860, + "getTile": tiles_TileMapData_getTile__P19861, + "getTileImage": tiles_TileMapData_getTileImage__P19864, + "isWall": tiles_TileMapData_isWall__P19866, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P19867, }, }); -const controller_Controller__C54474_VT = mkVTable({ +const controller_Controller__C19474_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 45, @@ -38466,32 +38510,32 @@ const controller_Controller__C54474_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P54479, - "set/_controlledSprites": controller_Controller__controlledSprites__P54480, - "id": controller_Controller_id__P54481, - "left": controller_Controller_left__P54483, - "right": controller_Controller_right__P54484, - "up": controller_Controller_up__P54485, - "down": controller_Controller_down__P54486, - "button": controller_Controller_button__P56378, - "connected": controller_Controller_connected__P54493, - "set/connected": controller_Controller_connected__P54494, - "__preUpdate": controller_Controller___preUpdate__P54498, - "__update": controller_Controller___update__P54499, + "_controlledSprites": controller_Controller__controlledSprites__P19479, + "set/_controlledSprites": controller_Controller__controlledSprites__P19480, + "id": controller_Controller_id__P19481, + "left": controller_Controller_left__P19483, + "right": controller_Controller_right__P19484, + "up": controller_Controller_up__P19485, + "down": controller_Controller_down__P19486, + "button": controller_Controller_button__P21381, + "connected": controller_Controller_connected__P19493, + "set/connected": controller_Controller_connected__P19494, + "__preUpdate": controller_Controller___preUpdate__P19498, + "__update": controller_Controller___update__P19499, }, }); -const ArcadePhysicsEngine__C54724_VT = mkVTable({ +const ArcadePhysicsEngine__C19724_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 39, lastSubtypeNo: 39, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P54733, - "removeSprite": ArcadePhysicsEngine_removeSprite__P54734, - "moveSprite": ArcadePhysicsEngine_moveSprite__P54738, - "draw": ArcadePhysicsEngine_draw__P54735, - "move": ArcadePhysicsEngine_move__P54736, + "addSprite": ArcadePhysicsEngine_addSprite__P19733, + "removeSprite": ArcadePhysicsEngine_removeSprite__P19734, + "moveSprite": ArcadePhysicsEngine_moveSprite__P19738, + "draw": ArcadePhysicsEngine_draw__P19735, + "move": ArcadePhysicsEngine_move__P19736, }, iface: { "sprites": null, @@ -38506,26 +38550,26 @@ const ArcadePhysicsEngine__C54724_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P54726, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P54727, - "minStep": ArcadePhysicsEngine_minStep__P54728, - "set/minStep": ArcadePhysicsEngine_minStep__P54729, - "maxStep": ArcadePhysicsEngine_maxStep__P54730, - "set/maxStep": ArcadePhysicsEngine_maxStep__P54731, - "addSprite": ArcadePhysicsEngine_addSprite__P54733, - "removeSprite": ArcadePhysicsEngine_removeSprite__P54734, - "draw": ArcadePhysicsEngine_draw__P54735, - "move": ArcadePhysicsEngine_move__P54736, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P56407, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P56408, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P56409, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P56410, - "moveSprite": ArcadePhysicsEngine_moveSprite__P54738, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P56411, - "constrain": ArcadePhysicsEngine_constrain__P56412, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P19726, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P19727, + "minStep": ArcadePhysicsEngine_minStep__P19728, + "set/minStep": ArcadePhysicsEngine_minStep__P19729, + "maxStep": ArcadePhysicsEngine_maxStep__P19730, + "set/maxStep": ArcadePhysicsEngine_maxStep__P19731, + "addSprite": ArcadePhysicsEngine_addSprite__P19733, + "removeSprite": ArcadePhysicsEngine_removeSprite__P19734, + "draw": ArcadePhysicsEngine_draw__P19735, + "move": ArcadePhysicsEngine_move__P19736, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P21410, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P21411, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P21412, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P21413, + "moveSprite": ArcadePhysicsEngine_moveSprite__P19738, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P21414, + "constrain": ArcadePhysicsEngine_constrain__P21415, }, }); -const sprites_SpriteMap__C54645_VT = mkVTable({ +const sprites_SpriteMap__C19645_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 46, @@ -38544,20 +38588,20 @@ const sprites_SpriteMap__C54645_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P54647, - "overlaps": sprites_SpriteMap_overlaps__P54648, - "draw": sprites_SpriteMap_draw__P54649, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P54650, - "clear": sprites_SpriteMap_clear__P54651, - "key": sprites_SpriteMap_key__P56384, - "insertAtKey": sprites_SpriteMap_insertAtKey__P56385, - "insertAABB": sprites_SpriteMap_insertAABB__P54652, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P56386, - "toString": sprites_SpriteMap_toString__P54653, + "neighbors": sprites_SpriteMap_neighbors__P19647, + "overlaps": sprites_SpriteMap_overlaps__P19648, + "draw": sprites_SpriteMap_draw__P19649, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P19650, + "clear": sprites_SpriteMap_clear__P19651, + "key": sprites_SpriteMap_key__P21387, + "insertAtKey": sprites_SpriteMap_insertAtKey__P21388, + "insertAABB": sprites_SpriteMap_insertAABB__P19652, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P21389, + "toString": sprites_SpriteMap_toString__P19653, }, - toStringMethod: sprites_SpriteMap_toString__P54653, + toStringMethod: sprites_SpriteMap_toString__P19653, }); -const music_Melody__C54149_VT = mkVTable({ +const music_Melody__C19149_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 47, @@ -38570,11 +38614,11 @@ const music_Melody__C54149_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P54158, + "toString": music_Melody_toString__P19158, }, - toStringMethod: music_Melody_toString__P54158, + toStringMethod: music_Melody_toString__P19158, }); -const scene_systemMenu_PauseMenu__C55170_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C20173_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 48, @@ -38597,15 +38641,15 @@ const scene_systemMenu_PauseMenu__C55170_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P55172, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P55173, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P55174, - "drawText": scene_systemMenu_PauseMenu_drawText__P55175, - "dispose": scene_systemMenu_PauseMenu_dispose__P55176, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P56789, + "show": scene_systemMenu_PauseMenu_show__P20175, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P20176, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P20177, + "drawText": scene_systemMenu_PauseMenu_drawText__P20178, + "dispose": scene_systemMenu_PauseMenu_dispose__P20179, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P21792, }, }); -const scene_systemMenu_MenuOption__C55162_VT = mkVTable({ +const scene_systemMenu_MenuOption__C20165_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 49, @@ -38630,16 +38674,16 @@ const scene_systemMenu_MenuOption__C55162_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P55164, - "position": scene_systemMenu_MenuOption_position__P55165, - "setOffset": scene_systemMenu_MenuOption_setOffset__P55166, - "setTheme": scene_systemMenu_MenuOption_setTheme__P55167, - "setState": scene_systemMenu_MenuOption_setState__P55168, - "dispose": scene_systemMenu_MenuOption_dispose__P55169, - "updateCard": scene_systemMenu_MenuOption_updateCard__P56788, + "show": scene_systemMenu_MenuOption_show__P20167, + "position": scene_systemMenu_MenuOption_position__P20168, + "setOffset": scene_systemMenu_MenuOption_setOffset__P20169, + "setTheme": scene_systemMenu_MenuOption_setTheme__P20170, + "setState": scene_systemMenu_MenuOption_setState__P20171, + "dispose": scene_systemMenu_MenuOption_dispose__P20172, + "updateCard": scene_systemMenu_MenuOption_updateCard__P21791, }, }); -const game_Hitbox__C54510_VT = mkVTable({ +const game_Hitbox__C19510_VT = mkVTable({ name: "Hitbox", numFields: 5, classNo: 50, @@ -38658,13 +38702,13 @@ const game_Hitbox__C54510_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P54517, - "top": game_Hitbox_top__P54518, - "right": game_Hitbox_right__P54519, - "bottom": game_Hitbox_bottom__P54520, + "left": game_Hitbox_left__P19517, + "top": game_Hitbox_top__P19518, + "right": game_Hitbox_right__P19519, + "bottom": game_Hitbox_bottom__P19520, }, }); -const sprites_SpriteSet__C54662_VT = mkVTable({ +const sprites_SpriteSet__C19662_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 51, @@ -38675,25 +38719,25 @@ const sprites_SpriteSet__C54662_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P54665, - "add": sprites_SpriteSet_add__P54667, - "remove": sprites_SpriteSet_remove__P54669, - "contains": sprites_SpriteSet_contains__P54670, - "toString": sprites_SpriteSet_toString__P54673, + "length": sprites_SpriteSet_length__P19665, + "add": sprites_SpriteSet_add__P19667, + "remove": sprites_SpriteSet_remove__P19669, + "contains": sprites_SpriteSet_contains__P19670, + "toString": sprites_SpriteSet_toString__P19673, }, - toStringMethod: sprites_SpriteSet_toString__P54673, + toStringMethod: sprites_SpriteSet_toString__P19673, }); -const scene_Renderable__C54926_VT = mkVTable({ +const scene_Renderable__C19929_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 32, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P54928, - "__draw": sprites_BaseSprite___draw__P54415, - "__drawCore": scene_Renderable___drawCore__P54929, - "__update": sprites_BaseSprite___update__P54417, + "__visible": scene_Renderable___visible__P19931, + "__draw": sprites_BaseSprite___draw__P19415, + "__drawCore": scene_Renderable___drawCore__P19932, + "__update": sprites_BaseSprite___update__P19417, }, iface: { "_z": null, @@ -38704,15 +38748,15 @@ const scene_Renderable__C54926_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P54928, - "__drawCore": scene_Renderable___drawCore__P54929, - "z": sprites_BaseSprite_z__P54413, - "set/z": sprites_BaseSprite_z__P54414, - "__draw": sprites_BaseSprite___draw__P54415, - "__update": sprites_BaseSprite___update__P54417, + "__visible": scene_Renderable___visible__P19931, + "__drawCore": scene_Renderable___drawCore__P19932, + "z": sprites_BaseSprite_z__P19413, + "set/z": sprites_BaseSprite_z__P19414, + "__draw": sprites_BaseSprite___draw__P19415, + "__update": sprites_BaseSprite___update__P19417, }, }); -const MovingSprite__C54722_VT = mkVTable({ +const MovingSprite__C19722_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 52, @@ -38737,7 +38781,7 @@ const MovingSprite__C54722_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C54840_VT = mkVTable({ +const tiles_Location__C19840_VT = mkVTable({ name: "Location", numFields: 3, classNo: 53, @@ -38752,14 +38796,14 @@ const tiles_Location__C54840_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "col": tiles_Location_col__P54841, - "row": tiles_Location_row__P54842, - "x": tiles_Location_x__P54844, - "y": tiles_Location_y__P54845, - "tileSet": tiles_Location_tileSet__P54846, + "col": tiles_Location_col__P19841, + "row": tiles_Location_row__P19842, + "x": tiles_Location_x__P19844, + "y": tiles_Location_y__P19845, + "tileSet": tiles_Location_tileSet__P19846, }, }); -const sprites_StaticObstacle__C54697_VT = mkVTable({ +const sprites_StaticObstacle__C19697_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 54, @@ -38778,14 +38822,14 @@ const sprites_StaticObstacle__C54697_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P54704, - "y": sprites_StaticObstacle_y__P54705, - "height": sprites_StaticObstacle_height__P54706, - "width": sprites_StaticObstacle_width__P54707, + "x": sprites_StaticObstacle_x__P19704, + "y": sprites_StaticObstacle_y__P19705, + "height": sprites_StaticObstacle_height__P19706, + "width": sprites_StaticObstacle_width__P19707, }, }); -const breakpoints = setupDebugger(1, ["_TileSprite___56001","Door1___56044","Door2___56045","Ladder1___56046","Pipe1___56047","nextKind___58566"]) +const breakpoints = setupDebugger(1, ["_TileSprite___21004","Door1___21047","Door2___21048","Ladder1___21049","Pipe1___21050","nextKind___23569"]) -return _main___P70069 +return _main___P35081 }) diff --git a/assets/version.txt b/assets/version.txt index abb1658..ee672d8 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -1.9.0 \ No newline at end of file +1.9.1 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 70786d2..6e72c00 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "tilemaps", - "version": "1.9.0", + "version": "1.9.1", "description": "An extension for handling multiple tilemaps and extra tilemap blocks.", "dependencies": { "device": "*"