From e408ca49bb536101c6693e508ed7cfcfcef11a5a Mon Sep 17 00:00:00 2001 From: Alex Kulcsar <38046796+alex-kulcsar@users.noreply.github.com> Date: Sun, 20 Oct 2024 00:28:10 -0400 Subject: [PATCH] 1.1.0 --- assets/js/binary.js | 21221 ++++++++++++++++++++---------------------- assets/version.txt | 2 +- pxt.json | 2 +- 3 files changed, 10129 insertions(+), 11096 deletions(-) diff --git a/assets/js/binary.js b/assets/js/binary.js index 1890b71..fc420eb 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.12.56/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"1.0.0","target":"arcade","targetVersion":"1.12.56","repo":"robo-technical-group/pxt-typed-arrays"} -// total=1403515 new=10.28% cached=83.88% other=5.84% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.12.56/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"1.1.0","target":"arcade","targetVersion":"1.12.56","repo":"robo-technical-group/pxt-typed-arrays"} +// total=1384818 new=8.88% cached=85.41% other=5.71% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -38,7 +38,6 @@ pxsim.setConfigData({ pxtrt.mapKeyNames = [ "", "BYTES_PER_ELEMENT", - "IS_BIG_ENDIAN", "__draw", "__drawCore", "__preUpdate", @@ -127,7 +126,6 @@ pxtrt.mapKeyNames = [ "byteLength", "byteOffset", "bytes", - "bytesPerElement", "cachedTileView", "cachedVx", "cachedVy", @@ -145,6 +143,7 @@ pxtrt.mapKeyNames = [ "change", "charHeight", "charWidth", + "clamp", "clear", "clearInterior", "clearObstacles", @@ -206,22 +205,18 @@ pxtrt.mapKeyNames = [ "frameCallbacks", "frameWorker", "framesInSample", - "fromArray", "fromArrayBuffer", "fx", "fy", "galois", "gameForeverHandlers", "generator", - "get", "getObstacle", "getOrCreateHandlerForEvent", "getText", "getTile", "getTileImage", "getTileIndex", - "getUint32", - "getter", "handler", "handlerState", "handlers", @@ -366,7 +361,7 @@ pxtrt.mapKeyNames = [ "setFactory", "setFlag", "setFont", - "setFromArray", + "setFromTypedArray", "setHitbox", "setImage", "setKind", @@ -380,13 +375,12 @@ pxtrt.mapKeyNames = [ "setSubtext", "setText", "setTheme", - "setUint32", - "setter", "shakeAmplitude", "shakeDuration", "shakeStartTime", "shouldBeVisible", "show", + "slice", "soundSetByUser", "source", "sourceFactory", @@ -480,7 +474,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P115248(s) { +function _main___P315607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -490,289 +484,289 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___46248 = (undefined); - globals._pollEventQueue___46257 = (undefined); - globals.minPriority___42168 = (1); + globals._intervals___276270 = (undefined); + globals._pollEventQueue___276279 = (undefined); + globals.minPriority___272191 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P46260); - globals.listeners___46261 = (s.tmp_0); - globals.globalVolume___46314 = (null); - globals.playToneID___46321 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C43420_VT); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P276282); + globals.listeners___276283 = (s.tmp_0); + globals.globalVolume___276336 = (null); + globals.playToneID___276343 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C273443_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P43423_mk(s); + s.tmp_1 = music_Melody_constructor__P273446_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 = 11; return s.tmp_1; - case 11: + s.callLocIdx = 0; s.pc = 23; return s.tmp_1; + case 23: r0 = s.retval; - globals.wawawawaa___43441 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C43420_VT); + globals.wawawawaa___273464 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C273443_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P43423_mk(s); + s.tmp_1 = music_Melody_constructor__P273446_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 = 12; return s.tmp_1; - case 12: + s.callLocIdx = 1; s.pc = 24; return s.tmp_1; + case 24: r0 = s.retval; - globals.powerUp___43444 = (s.tmp_0); - globals.brightness___43745 = (100); + globals.powerUp___273467 = (s.tmp_0); + globals.brightness___273768 = (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", _hex51561); - globals.font8___43769 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex281847); + globals.font8___273792 = (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", _hex51563); - globals.font12___43770 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex281849); + globals.font12___273793 = (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", _hex54192); - globals.font5___43774 = (s.tmp_0); - globals.__updated___46428 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P46431); - r0 = pxsim_pxtcore.setPalette(_hex46442); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex284497); + globals.font5___273797 = (s.tmp_0); + globals.__updated___276450 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P276453); + r0 = pxsim_pxtcore.setPalette(_hex276464); r0 = pxsim_pxtcore.getConfig(2102, 160); s.tmp_0 = r0; r0 = pxsim_pxtcore.getConfig(2103, 120); s.tmp_1 = r0; r0 = pxsim.image.create(s.tmp_0, s.tmp_1); - globals.screen___43826 = (r0); - s.tmp_0 = control___screen_setupUpdate__P43788_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P46451; - s.callLocIdx = 6; s.pc = 13; return s.tmp_0; - case 13: + globals.screen___273849 = (r0); + s.tmp_0 = control___screen_setupUpdate__P273811_mk(s); + s.tmp_0.arg0 = _screen_internal_inline__P276473; + s.callLocIdx = 6; s.pc = 25; return s.tmp_0; + case 25: r0 = s.retval; - globals.control_EventContext_onStats___42191 = (_screen_internal_inline__P46456); - globals.RUN_KEY___46461 = ("#run"); - globals.SCOPE_KEY___46462 = ("#scope"); - s.tmp_0 = settings_initScopes__P46473_mk(s); - s.callLocIdx = 7; s.pc = 14; return s.tmp_0; - case 14: + globals.control_EventContext_onStats___272214 = (_screen_internal_inline__P276478); + globals.RUN_KEY___276483 = ("#run"); + globals.SCOPE_KEY___276484 = ("#scope"); + s.tmp_0 = settings_initScopes__P276495_mk(s); + s.callLocIdx = 7; s.pc = 26; return s.tmp_0; + case 26: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C43983_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C274006_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P43989_mk(s); + s.tmp_1 = controller_Button_constructor__P274012_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; - s.callLocIdx = 8; s.pc = 15; return s.tmp_1; - case 15: + s.callLocIdx = 8; s.pc = 27; return s.tmp_1; + case 27: r0 = s.retval; - globals.A___43907 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C43983_VT); + globals.A___273930 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C274006_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P43989_mk(s); + s.tmp_1 = controller_Button_constructor__P274012_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; - s.callLocIdx = 9; s.pc = 16; return s.tmp_1; - case 16: + s.callLocIdx = 9; s.pc = 28; return s.tmp_1; + case 28: r0 = s.retval; - globals.B___43908 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C43983_VT); + globals.B___273931 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C274006_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P43989_mk(s); + s.tmp_1 = controller_Button_constructor__P274012_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; - s.callLocIdx = 10; s.pc = 17; return s.tmp_1; - case 17: + s.callLocIdx = 10; s.pc = 29; return s.tmp_1; + case 29: r0 = s.retval; - globals.left___43909 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C43983_VT); + globals.left___273932 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C274006_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P43989_mk(s); + s.tmp_1 = controller_Button_constructor__P274012_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; - s.callLocIdx = 11; s.pc = 18; return s.tmp_1; - case 18: + s.callLocIdx = 11; s.pc = 30; return s.tmp_1; + case 30: r0 = s.retval; - globals.up___43910 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C43983_VT); + globals.up___273933 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C274006_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P43989_mk(s); + s.tmp_1 = controller_Button_constructor__P274012_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; - s.callLocIdx = 12; s.pc = 19; return s.tmp_1; - case 19: + s.callLocIdx = 12; s.pc = 31; return s.tmp_1; + case 31: r0 = s.retval; - globals.right___43911 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C43983_VT); + globals.right___273934 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C274006_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P43989_mk(s); + s.tmp_1 = controller_Button_constructor__P274012_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; - s.callLocIdx = 13; s.pc = 20; return s.tmp_1; - case 20: + s.callLocIdx = 13; s.pc = 32; return s.tmp_1; + case 32: r0 = s.retval; - globals.down___43912 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C43983_VT); + globals.down___273935 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C274006_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P43989_mk(s); + s.tmp_1 = controller_Button_constructor__P274012_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; - s.callLocIdx = 14; s.pc = 21; return s.tmp_1; - case 21: + s.callLocIdx = 14; s.pc = 33; return s.tmp_1; + case 33: r0 = s.retval; - globals.menu___43913 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C43928_VT); + globals.menu___273936 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C273951_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P43932_mk(s); + s.tmp_1 = controller_Controller_constructor__P273955_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = undefined; - s.callLocIdx = 15; s.pc = 22; return s.tmp_1; - case 22: + s.callLocIdx = 15; s.pc = 34; return s.tmp_1; + case 34: r0 = s.retval; - globals.player2___43914 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C43928_VT); + globals.player2___273937 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C273951_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P43932_mk(s); + s.tmp_1 = controller_Controller_constructor__P273955_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; - s.callLocIdx = 16; s.pc = 23; return s.tmp_1; - case 23: + s.callLocIdx = 16; s.pc = 35; return s.tmp_1; + case 35: r0 = s.retval; - globals.player3___43915 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C43928_VT); + globals.player3___273938 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C273951_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P43932_mk(s); + s.tmp_1 = controller_Controller_constructor__P273955_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = undefined; - s.callLocIdx = 17; s.pc = 24; return s.tmp_1; - case 24: + s.callLocIdx = 17; s.pc = 36; return s.tmp_1; + case 36: r0 = s.retval; - globals.player4___43916 = (s.tmp_0); - s.tmp_0 = controller__player1__P43922_mk(s); - s.callLocIdx = 18; s.pc = 25; return s.tmp_0; - case 25: + globals.player4___273939 = (s.tmp_0); + s.tmp_0 = controller__player1__P273945_mk(s); + s.callLocIdx = 18; s.pc = 37; return s.tmp_0; + case 37: r0 = s.retval; - globals.player1___43917 = (r0); - s.tmp_0 = game_addScenePopHandler__P44814_mk(s); - s.tmp_0.arg0 = controller_inline__P46501; - s.callLocIdx = 23; s.pc = 26; return s.tmp_0; - case 26: + globals.player1___273940 = (r0); + s.tmp_0 = game_addScenePopHandler__P274837_mk(s); + s.tmp_0.arg0 = controller_inline__P276523; + s.callLocIdx = 23; s.pc = 38; return s.tmp_0; + case 38: r0 = s.retval; - s.tmp_0 = game_addScenePushHandler__P44812_mk(s); - s.tmp_0.arg0 = controller_inline__P46541; - s.callLocIdx = 25; s.pc = 27; return s.tmp_0; - case 27: + s.tmp_0 = game_addScenePushHandler__P274835_mk(s); + s.tmp_0.arg0 = controller_inline__P276563; + s.callLocIdx = 25; s.pc = 39; return s.tmp_0; + case 39: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C46565_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C276587_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P43989_mk(s); + s.tmp_1 = controller_Button_constructor__P274012_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; - s.callLocIdx = 26; s.pc = 28; return s.tmp_1; - case 28: + s.callLocIdx = 26; s.pc = 40; return s.tmp_1; + case 40: r0 = s.retval; - globals.anyButton___43964 = (s.tmp_0); - globals._userEventsEnabled___46579 = (true); - globals.defaultRepeatDelay___46581 = (500); - globals.defaultRepeatInterval___46583 = (30); - s.tmp_0 = SpriteKind_create__P44273_mk(s); - s.callLocIdx = 27; s.pc = 29; return s.tmp_0; - case 29: + globals.anyButton___273987 = (s.tmp_0); + globals._userEventsEnabled___276601 = (true); + globals.defaultRepeatDelay___276603 = (500); + globals.defaultRepeatInterval___276605 = (30); + s.tmp_0 = SpriteKind_create__P274296_mk(s); + s.callLocIdx = 27; s.pc = 41; return s.tmp_0; + case 41: r0 = s.retval; - globals.Player___44274 = (r0); - s.tmp_0 = SpriteKind_create__P44273_mk(s); - s.callLocIdx = 28; s.pc = 30; return s.tmp_0; - case 30: + globals.Player___274297 = (r0); + s.tmp_0 = SpriteKind_create__P274296_mk(s); + s.callLocIdx = 28; s.pc = 42; return s.tmp_0; + case 42: r0 = s.retval; - globals.Food___44276 = (r0); - s.tmp_0 = SpriteKind_create__P44273_mk(s); - s.callLocIdx = 29; s.pc = 31; return s.tmp_0; - case 31: + globals.Food___274299 = (r0); + s.tmp_0 = SpriteKind_create__P274296_mk(s); + s.callLocIdx = 29; s.pc = 43; return s.tmp_0; + case 43: r0 = s.retval; - globals.Enemy___44277 = (r0); + globals.Enemy___274300 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___44315 = (r0); - globals.infoState___46648 = (undefined); - s.tmp_0 = game_addScenePushHandler__P44812_mk(s); - s.tmp_0.arg0 = info_inline__P46652; - s.callLocIdx = 31; s.pc = 32; return s.tmp_0; - case 32: + globals.MIN_MOVE_GAP___274338 = (r0); + globals.infoState___276670 = (undefined); + s.tmp_0 = game_addScenePushHandler__P274835_mk(s); + s.tmp_0.arg0 = info_inline__P276674; + s.callLocIdx = 31; s.pc = 44; return s.tmp_0; + case 44: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P44814_mk(s); - s.tmp_0.arg0 = info_inline__P46667; - s.callLocIdx = 35; s.pc = 33; return s.tmp_0; - case 33: + s.tmp_0 = game_addScenePopHandler__P274837_mk(s); + s.tmp_0.arg0 = info_inline__P276689; + s.callLocIdx = 35; s.pc = 45; return s.tmp_0; + case 45: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___44659 = (r0); - r0 = pxsim.image.ofBuffer(_hex46757); - globals.img_trophy_sm___46758 = (r0); - r0 = pxsim.image.ofBuffer(_hex46760); - globals.img_trophy_lg___46761 = (r0); - r0 = pxsim.image.ofBuffer(_hex46763); - globals.img_sleepy_sim___46764 = (r0); - globals.debug___44761 = (false); - globals.stats___44762 = (false); - globals.gameOverConfig___44792 = (gameOverConfig_inline__P46776); - s.tmp_0 = scene_systemMenu_initVolume__P47051_mk(s); - s.callLocIdx = 37; s.pc = 34; return s.tmp_0; - case 34: + globals.scene_Scene_initializers___274682 = (r0); + r0 = pxsim.image.ofBuffer(_hex276779); + globals.img_trophy_sm___276780 = (r0); + r0 = pxsim.image.ofBuffer(_hex276782); + globals.img_trophy_lg___276783 = (r0); + r0 = pxsim.image.ofBuffer(_hex276785); + globals.img_sleepy_sim___276786 = (r0); + globals.debug___274784 = (false); + globals.stats___274785 = (false); + globals.gameOverConfig___274815 = (gameOverConfig_inline__P276798); + s.tmp_0 = scene_systemMenu_initVolume__P277073_mk(s); + s.callLocIdx = 37; s.pc = 46; return s.tmp_0; + case 46: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P47052_mk(s); - s.callLocIdx = 38; s.pc = 35; return s.tmp_0; - case 35: + s.tmp_0 = scene_systemMenu_initScreen__P277074_mk(s); + s.callLocIdx = 38; s.pc = 47; return s.tmp_0; + case 47: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___44659, scene_systemMenu_register__P44900); - r0 = pxsim.image.ofBuffer(_hex47059); - globals.CARD_NORMAL___44905 = (r0); - r0 = pxsim.image.ofBuffer(_hex47061); - globals.CARD_SELECTED___44906 = (r0); - r0 = pxsim.image.ofBuffer(_hex47063); - globals.CARD_ACTIVE___44907 = (r0); - r0 = pxsim.image.ofBuffer(_hex47065); - globals.VOLUME_UP_ICON___44908 = (r0); - r0 = pxsim.image.ofBuffer(_hex47067); - globals.BRIGHTNESS_DOWN_ICON___44909 = (r0); - r0 = pxsim.image.ofBuffer(_hex47069); - globals.CLOSE_MENU_ICON___44910 = (r0); - r0 = pxsim.image.ofBuffer(_hex47071); - globals.VOLUME_DOWN_ICON___44911 = (r0); - r0 = pxsim.image.ofBuffer(_hex47073); - globals.SLEEP_ICON___44912 = (r0); - r0 = pxsim.image.ofBuffer(_hex47075); - globals.CONSOLE_ICON___44913 = (r0); - r0 = pxsim.image.ofBuffer(_hex47077); - globals.BRIGHTNESS_UP_ICON___44914 = (r0); - r0 = pxsim.image.ofBuffer(_hex47079); - globals.STATS_ICON___44915 = (r0); - globals.consoleColor___47082 = (1); - globals.tabSize___47085 = (8); - globals.consoleFont___47091 = (globals.font5___43774); - r0 = pxsim_ImageMethods.height(globals.screen___43826); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___274682, scene_systemMenu_register__P274923); + r0 = pxsim.image.ofBuffer(_hex277081); + globals.CARD_NORMAL___274928 = (r0); + r0 = pxsim.image.ofBuffer(_hex277083); + globals.CARD_SELECTED___274929 = (r0); + r0 = pxsim.image.ofBuffer(_hex277085); + globals.CARD_ACTIVE___274930 = (r0); + r0 = pxsim.image.ofBuffer(_hex277087); + globals.VOLUME_UP_ICON___274931 = (r0); + r0 = pxsim.image.ofBuffer(_hex277089); + globals.BRIGHTNESS_DOWN_ICON___274932 = (r0); + r0 = pxsim.image.ofBuffer(_hex277091); + globals.CLOSE_MENU_ICON___274933 = (r0); + r0 = pxsim.image.ofBuffer(_hex277093); + globals.VOLUME_DOWN_ICON___274934 = (r0); + r0 = pxsim.image.ofBuffer(_hex277095); + globals.SLEEP_ICON___274935 = (r0); + r0 = pxsim.image.ofBuffer(_hex277097); + globals.CONSOLE_ICON___274936 = (r0); + r0 = pxsim.image.ofBuffer(_hex277099); + globals.BRIGHTNESS_UP_ICON___274937 = (r0); + r0 = pxsim.image.ofBuffer(_hex277101); + globals.STATS_ICON___274938 = (r0); + globals.consoleColor___277104 = (1); + globals.tabSize___277107 = (8); + globals.consoleFont___277113 = (globals.font5___273797); + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___47091; + s.tmp_5.arg0 = globals.consoleFont___277113; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["charHeight"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["charHeight"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 39; s.pc = 36; return s.tmp_5; } + else { s.callLocIdx = 39; s.pc = 48; return s.tmp_5; } } - case 36: + case 48: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_4 + 2); @@ -782,287 +776,431 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___47096 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___43826); + globals.consoleLines___277118 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___273849); 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___47091; + s.tmp_4.arg0 = globals.consoleFont___277113; 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 = 40; s.pc = 37; return s.tmp_4; } + else { s.callLocIdx = 40; s.pc = 49; return s.tmp_4; } } - case 37: + case 49: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___47106 = (r0); - s.tmp_0 = console_addListener__P42176_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P47118; - s.callLocIdx = 41; s.pc = 38; return s.tmp_0; - case 38: + globals.consoleColumns___277128 = (r0); + s.tmp_0 = console_addListener__P272199_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P277140; + s.callLocIdx = 41; s.pc = 50; return s.tmp_0; + case 50: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P56517; + s.tmp_0.argL = MAX_SOURCES_inline__P286822; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 43; s.pc = 39; return s.tmp_0; - case 39: + s.callLocIdx = 43; s.pc = 51; return s.tmp_0; + case 51: r0 = s.retval; - globals.MAX_SOURCES___47120 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C44985_VT); + globals.MAX_SOURCES___277142 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C275008_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P44986_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P275009_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; s.tmp_1.arg3 = 60; - s.callLocIdx = 44; s.pc = 40; return s.tmp_1; - case 40: + s.callLocIdx = 44; s.pc = 52; return s.tmp_1; + case 52: r0 = s.retval; - globals.defaultFactory___44965 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C44853_VT); + globals.defaultFactory___274988 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C274876_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P44855_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P274878_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 45; s.pc = 41; return s.tmp_1; - case 41: + s.callLocIdx = 45; s.pc = 53; return s.tmp_1; + case 53: r0 = s.retval; - globals.galois___47140 = (s.tmp_0); - globals.angleSlice___47148 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C45060_VT); + globals.galois___277162 = (s.tmp_0); + globals.angleSlice___277170 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C275083_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P45061_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P275084_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 = confetti_inline__P56271; - s.callLocIdx = 51; s.pc = 42; return s.tmp_1; - case 42: + s.tmp_1.arg4 = confetti_inline__P286576; + s.callLocIdx = 51; s.pc = 54; return s.tmp_1; + case 54: r0 = s.retval; - globals.confetti___45068 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C45084_VT); + globals.confetti___275091 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C275107_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P45085_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P275108_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P54874; - s.callLocIdx = 57; s.pc = 43; return s.tmp_1; - case 43: + s.tmp_1.arg2 = dissolve_inline__P285179; + s.callLocIdx = 57; s.pc = 55; return s.tmp_1; + case 55: r0 = s.retval; - globals.dissolve___45089 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C45084_VT); + globals.dissolve___275112 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C275107_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P45085_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P275108_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P56217; - s.callLocIdx = 60; s.pc = 44; return s.tmp_1; - case 44: - r0 = s.retval; - globals.melt___45090 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P44794_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P43999; - s.callLocIdx = 61; s.pc = 45; return s.tmp_0; - case 45: - r0 = s.retval; - s.tmp_0 = game_eventContext__P44796_mk(s); - s.callLocIdx = 62; s.pc = 46; return s.tmp_0; - case 46: - r0 = s.retval; - globals.allPassed___114761 = (true); - s.tmp_0 = game_splash__P44759_mk(s); - s.tmp_3 = DataView_IS_BIG_ENDIAN__P107452_mk(s); - s.callLocIdx = 136; s.pc = 48; return s.tmp_3; - case 48: + s.tmp_1.arg2 = melt_inline__P286522; + s.callLocIdx = 60; s.pc = 56; return s.tmp_1; + case 56: r0 = s.retval; - s.tmp_2 = r0; - if ((s.tmp_2) && (s.tmp_2).vtable) { - setupResume(s, 49); - pxsim_String__stringConv(s.tmp_2); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_2) + ""; } - case 49: + globals.melt___275113 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P274817_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P274022; + s.callLocIdx = 61; s.pc = 57; return s.tmp_0; + case 57: r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_String__concat("Big endian: ", s.tmp_1); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = undefined; - s.callLocIdx = 137; s.pc = 47; return s.tmp_0; - case 47: + s.tmp_0 = game_eventContext__P274819_mk(s); + s.callLocIdx = 62; s.pc = 58; return s.tmp_0; + case 58: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(DataView__C107448_VT); + globals.allPassed___315150 = (true); + r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_pxtcore_mkClassInstance(ArrayBuffer__C46125_VT); - s.tmp_1 = r0; - s.tmp_2 = ArrayBuffer_constructor__P46126_mk(s); - s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = 8; - s.callLocIdx = 138; s.pc = 50; return s.tmp_2; - case 50: - r0 = s.retval; - s.tmp_3 = DataView_constructor__P107471_mk(s); - s.tmp_3.arg0 = s.tmp_0; - s.tmp_3.arg1 = s.tmp_1; - s.tmp_3.arg2 = 0; - s.tmp_3.arg3 = null; - s.callLocIdx = 139; s.pc = 51; return s.tmp_3; - case 51: - r0 = s.retval; - globals.d___114813 = (s.tmp_0); - s.tmp_0 = DataView_setUint32__P107468_mk(s); - s.tmp_0.arg0 = globals.d___114813; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 305419896; - s.tmp_0.arg3 = false; - s.callLocIdx = 140; s.pc = 52; return s.tmp_0; - case 52: - r0 = s.retval; - s.tmp_2 = DataView_getUint32__P107460_mk(s); - s.tmp_2.arg0 = globals.d___114813; - s.tmp_2.arg1 = 0; - s.tmp_2.arg2 = false; - s.callLocIdx = 141; s.pc = 53; return s.tmp_2; - case 53: + r0 = pxsim_Array__push(s.tmp_0, 0); + r0 = pxsim_Array__push(s.tmp_0, 1); + r0 = pxsim_Array__push(s.tmp_0, 2); + r0 = pxsim_Array__push(s.tmp_0, 3); + r0 = pxsim_Array__push(s.tmp_0, 4); + r0 = pxsim_Array__push(s.tmp_0, 5); + r0 = pxsim_Array__push(s.tmp_0, 6); + r0 = pxsim_Array__push(s.tmp_0, 7); + r0 = pxsim_Array__push(s.tmp_0, 8); + r0 = pxsim_Array__push(s.tmp_0, 9); + s.tmp_1 = create__P315174_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.callLocIdx = 109; s.pc = 59; return s.tmp_1; + case 59: r0 = s.retval; + globals.buf___315203 = (r0); + r0 = globals.buf___315203.fields["_byteLength"]; s.tmp_1 = r0; - r0 = (s.tmp_1 != 305419896); + r0 = (s.tmp_1 != 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = game_splash__P44759_mk(s); - s.tmp_3.arg0 = "DataView constructor test 1 failed."; - s.tmp_3.arg1 = undefined; - s.callLocIdx = 142; s.pc = 54; return s.tmp_3; - case 54: + s.tmp_2 = game_splash__P274782_mk(s); + s.tmp_2.arg0 = "Array buffer slice test 1 failed."; + s.tmp_2.arg1 = undefined; + s.callLocIdx = 111; s.pc = 60; return s.tmp_2; + case 60: r0 = s.retval; - globals.allPassed___114761 = (false); + globals.allPassed___315150 = (false); case 1: case 2: - s.tmp_0 = DataView_setUint32__P107468_mk(s); - s.tmp_0.arg0 = globals.d___114813; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 305419896; - s.tmp_0.arg3 = true; - s.callLocIdx = 143; s.pc = 55; return s.tmp_0; - case 55: - r0 = s.retval; - s.tmp_2 = DataView_getUint32__P107460_mk(s); - s.tmp_2.arg0 = globals.d___114813; - s.tmp_2.arg1 = 0; - s.tmp_2.arg2 = true; - s.callLocIdx = 144; s.pc = 56; return s.tmp_2; - case 56: + s.tmp_3 = ArrayBuffer_slice__P300772_mk(s); + s.tmp_3.arg0 = globals.buf___315203; + s.tmp_3.arg1 = 5; + s.tmp_3.arg2 = null; + s.callLocIdx = 112; s.pc = 61; return s.tmp_3; + case 61: r0 = s.retval; + s.tmp_2 = r0; + r0 = s.tmp_2.fields["_byteLength"]; s.tmp_1 = r0; - r0 = (s.tmp_1 != 305419896); + r0 = (s.tmp_1 != 5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = game_splash__P44759_mk(s); - s.tmp_3.arg0 = "DataView constructor test 2 failed."; - s.tmp_3.arg1 = undefined; - s.callLocIdx = 145; s.pc = 57; return s.tmp_3; - case 57: + s.tmp_4 = game_splash__P274782_mk(s); + s.tmp_4.arg0 = "Array buffer slice test 2 failed."; + s.tmp_4.arg1 = undefined; + s.callLocIdx = 114; s.pc = 62; return s.tmp_4; + case 62: r0 = s.retval; - globals.allPassed___114761 = (false); + globals.allPassed___315150 = (false); case 3: case 4: - s.tmp_0 = DataView_setUint32__P107468_mk(s); - s.tmp_0.arg0 = globals.d___114813; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 305419896; - s.tmp_0.arg3 = true; - s.callLocIdx = 146; s.pc = 58; return s.tmp_0; - case 58: - r0 = s.retval; - s.tmp_2 = DataView_getUint32__P107460_mk(s); - s.tmp_2.arg0 = globals.d___114813; - s.tmp_2.arg1 = 0; - s.tmp_2.arg2 = false; - s.callLocIdx = 147; s.pc = 59; return s.tmp_2; - case 59: + s.tmp_3 = ArrayBuffer_slice__P300772_mk(s); + s.tmp_3.arg0 = globals.buf___315203; + s.tmp_3.arg1 = -2; + s.tmp_3.arg2 = null; + s.callLocIdx = 115; s.pc = 63; return s.tmp_3; + case 63: r0 = s.retval; + s.tmp_2 = r0; + r0 = s.tmp_2.fields["_byteLength"]; s.tmp_1 = r0; - r0 = (s.tmp_1 != 2018915346); + r0 = (s.tmp_1 != 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_3 = game_splash__P44759_mk(s); - s.tmp_3.arg0 = "DataView constructor test 3 failed."; - s.tmp_3.arg1 = undefined; - s.callLocIdx = 148; s.pc = 60; return s.tmp_3; - case 60: + s.tmp_4 = game_splash__P274782_mk(s); + s.tmp_4.arg0 = "Array buffer slice test 3 failed."; + s.tmp_4.arg1 = undefined; + s.callLocIdx = 117; s.pc = 64; return s.tmp_4; + case 64: r0 = s.retval; - globals.allPassed___114761 = (false); + globals.allPassed___315150 = (false); case 5: case 6: - s.tmp_0 = DataView_setUint32__P107468_mk(s); - s.tmp_0.arg0 = globals.d___114813; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 305419896; - s.tmp_0.arg3 = false; - s.callLocIdx = 149; s.pc = 61; return s.tmp_0; - case 61: - r0 = s.retval; - s.tmp_2 = DataView_getUint32__P107460_mk(s); - s.tmp_2.arg0 = globals.d___114813; - s.tmp_2.arg1 = 0; - s.tmp_2.arg2 = true; - s.callLocIdx = 150; s.pc = 62; return s.tmp_2; - case 62: + s.tmp_3 = ArrayBuffer_slice__P300772_mk(s); + s.tmp_3.arg0 = globals.buf___315203; + s.tmp_3.arg1 = -4; + s.tmp_3.arg2 = -2; + s.callLocIdx = 118; s.pc = 65; return s.tmp_3; + case 65: r0 = s.retval; + s.tmp_2 = r0; + r0 = s.tmp_2.fields["_byteLength"]; s.tmp_1 = r0; - r0 = (s.tmp_1 != 2018915346); + r0 = (s.tmp_1 != 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_3 = game_splash__P44759_mk(s); - s.tmp_3.arg0 = "DataView constructor test 4 failed."; - s.tmp_3.arg1 = undefined; - s.callLocIdx = 151; s.pc = 63; return s.tmp_3; - case 63: + s.tmp_4 = game_splash__P274782_mk(s); + s.tmp_4.arg0 = "Array buffer slice test 4 failed."; + s.tmp_4.arg1 = undefined; + s.callLocIdx = 120; s.pc = 66; return s.tmp_4; + case 66: r0 = s.retval; - globals.allPassed___114761 = (false); + globals.allPassed___315150 = (false); case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals.allPassed___114761); + s.tmp_3 = ArrayBuffer_slice__P300772_mk(s); + s.tmp_3.arg0 = globals.buf___315203; + s.tmp_3.arg1 = -1000; + s.tmp_3.arg2 = 5; + s.callLocIdx = 121; s.pc = 67; return s.tmp_3; + case 67: + r0 = s.retval; + s.tmp_2 = r0; + r0 = s.tmp_2.fields["_byteLength"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 != 5); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_0 = game_splash__P44759_mk(s); + s.tmp_4 = game_splash__P274782_mk(s); + s.tmp_4.arg0 = "Array buffer slice test 5 failed."; + s.tmp_4.arg1 = undefined; + s.callLocIdx = 123; s.pc = 68; return s.tmp_4; + case 68: + r0 = s.retval; + globals.allPassed___315150 = (false); + case 9: + case 10: + r0 = pxsim_Array__mk(); + s.tmp_0 = r0; + r0 = pxsim_Array__push(s.tmp_0, 5); + r0 = pxsim_Array__push(s.tmp_0, 6); + r0 = pxsim_Array__push(s.tmp_0, 7); + r0 = pxsim_Array__push(s.tmp_0, 8); + r0 = pxsim_Array__push(s.tmp_0, 9); + s.tmp_4 = areEquivalent__P315151_mk(s); + s.tmp_4.arg0 = s.tmp_0; + s.tmp_5 = ArrayBuffer_slice__P300772_mk(s); + s.tmp_5.arg0 = globals.buf___315203; + s.tmp_5.arg1 = 5; + s.tmp_5.arg2 = null; + s.callLocIdx = 124; s.pc = 70; return s.tmp_5; + case 70: + r0 = s.retval; + s.tmp_4.arg1 = r0; + s.callLocIdx = 125; s.pc = 69; return s.tmp_4; + case 69: + r0 = s.retval; + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 11; continue; } + s.tmp_6 = game_splash__P274782_mk(s); + s.tmp_6.arg0 = "Array buffer slice test 6 failed."; + s.tmp_6.arg1 = undefined; + s.callLocIdx = 126; s.pc = 71; return s.tmp_6; + case 71: + r0 = s.retval; + globals.allPassed___315150 = (false); + case 11: + case 12: + r0 = pxsim_Array__mk(); + s.tmp_0 = r0; + r0 = pxsim_Array__push(s.tmp_0, 0); + r0 = pxsim_Array__push(s.tmp_0, 1); + r0 = pxsim_Array__push(s.tmp_0, 2); + r0 = pxsim_Array__push(s.tmp_0, 3); + r0 = pxsim_Array__push(s.tmp_0, 4); + s.tmp_4 = areEquivalent__P315151_mk(s); + s.tmp_4.arg0 = s.tmp_0; + s.tmp_5 = ArrayBuffer_slice__P300772_mk(s); + s.tmp_5.arg0 = globals.buf___315203; + s.tmp_5.arg1 = 0; + s.tmp_5.arg2 = 5; + s.callLocIdx = 127; s.pc = 73; return s.tmp_5; + case 73: + r0 = s.retval; + s.tmp_4.arg1 = r0; + s.callLocIdx = 128; s.pc = 72; return s.tmp_4; + case 72: + r0 = s.retval; + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 13; continue; } + s.tmp_6 = game_splash__P274782_mk(s); + s.tmp_6.arg0 = "Array buffer slice test 7 failed."; + s.tmp_6.arg1 = undefined; + s.callLocIdx = 129; s.pc = 74; return s.tmp_6; + case 74: + r0 = s.retval; + globals.allPassed___315150 = (false); + case 13: + case 14: + r0 = pxsim_Array__mk(); + s.tmp_0 = r0; + r0 = pxsim_Array__push(s.tmp_0, 5); + r0 = pxsim_Array__push(s.tmp_0, 6); + s.tmp_4 = areEquivalent__P315151_mk(s); + s.tmp_4.arg0 = s.tmp_0; + s.tmp_5 = ArrayBuffer_slice__P300772_mk(s); + s.tmp_5.arg0 = globals.buf___315203; + s.tmp_5.arg1 = 5; + s.tmp_5.arg2 = 7; + s.callLocIdx = 130; s.pc = 76; return s.tmp_5; + case 76: + r0 = s.retval; + s.tmp_4.arg1 = r0; + s.callLocIdx = 131; s.pc = 75; return s.tmp_4; + case 75: + r0 = s.retval; + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 15; continue; } + s.tmp_6 = game_splash__P274782_mk(s); + s.tmp_6.arg0 = "Array buffer slice test 8 failed."; + s.tmp_6.arg1 = undefined; + s.callLocIdx = 132; s.pc = 77; return s.tmp_6; + case 77: + r0 = s.retval; + globals.allPassed___315150 = (false); + case 15: + case 16: + r0 = pxsim_Array__mk(); + s.tmp_0 = r0; + r0 = pxsim_Array__push(s.tmp_0, 6); + r0 = pxsim_Array__push(s.tmp_0, 7); + s.tmp_4 = areEquivalent__P315151_mk(s); + s.tmp_4.arg0 = s.tmp_0; + s.tmp_5 = ArrayBuffer_slice__P300772_mk(s); + s.tmp_5.arg0 = globals.buf___315203; + s.tmp_5.arg1 = -4; + s.tmp_5.arg2 = -2; + s.callLocIdx = 133; s.pc = 79; return s.tmp_5; + case 79: + r0 = s.retval; + s.tmp_4.arg1 = r0; + s.callLocIdx = 134; s.pc = 78; return s.tmp_4; + case 78: + r0 = s.retval; + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 17; continue; } + s.tmp_6 = game_splash__P274782_mk(s); + s.tmp_6.arg0 = "Array buffer slice test 9 failed."; + s.tmp_6.arg1 = undefined; + s.callLocIdx = 135; s.pc = 80; return s.tmp_6; + case 80: + r0 = s.retval; + globals.allPassed___315150 = (false); + case 17: + case 18: + r0 = pxsim_Array__mk(); + s.tmp_0 = r0; + r0 = pxsim_Array__push(s.tmp_0, 2); + r0 = pxsim_Array__push(s.tmp_0, 3); + r0 = pxsim_Array__push(s.tmp_0, 4); + r0 = pxsim_Array__push(s.tmp_0, 5); + r0 = pxsim_Array__push(s.tmp_0, 6); + r0 = pxsim_Array__push(s.tmp_0, 7); + s.tmp_4 = areEquivalent__P315151_mk(s); + s.tmp_4.arg0 = s.tmp_0; + s.tmp_5 = ArrayBuffer_slice__P300772_mk(s); + s.tmp_5.arg0 = globals.buf___315203; + s.tmp_5.arg1 = 2; + s.tmp_5.arg2 = -2; + s.callLocIdx = 136; s.pc = 82; return s.tmp_5; + case 82: + r0 = s.retval; + s.tmp_4.arg1 = r0; + s.callLocIdx = 137; s.pc = 81; return s.tmp_4; + case 81: + r0 = s.retval; + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 19; continue; } + s.tmp_6 = game_splash__P274782_mk(s); + s.tmp_6.arg0 = "Array buffer slice test 10 failed."; + s.tmp_6.arg1 = undefined; + s.callLocIdx = 138; s.pc = 83; return s.tmp_6; + case 83: + r0 = s.retval; + globals.allPassed___315150 = (false); + case 19: + case 20: + r0 = pxsim_numops_toBoolDecr(globals.allPassed___315150); + if (!r0) { step = 21; continue; } + s.tmp_0 = game_splash__P274782_mk(s); s.tmp_0.arg0 = "All tests passed!"; s.tmp_0.arg1 = undefined; - s.callLocIdx = 152; s.pc = 64; return s.tmp_0; - case 64: + s.callLocIdx = 139; s.pc = 84; return s.tmp_0; + case 84: r0 = s.retval; - { step = 10; continue; } - case 9: - s.tmp_0 = game_splash__P44759_mk(s); + { step = 22; continue; } + case 21: + s.tmp_0 = game_splash__P274782_mk(s); s.tmp_0.arg0 = "At least one test failed."; s.tmp_0.arg1 = undefined; - s.callLocIdx = 153; s.pc = 65; return s.tmp_0; - case 65: + s.callLocIdx = 140; s.pc = 85; return s.tmp_0; + case 85: r0 = s.retval; - case 10: + case 22: r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P115248.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} -_main___P115248.continuations = [ 49 ] +_main___P315607.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"main.ts","functionName":"
","argumentNames":[]} +_main___P315607.continuations = [ ] -function _main___P115248_mk(s) { +function _main___P315607_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P115248, depth: s.depth + 1, + parent: s, fn: _main___P315607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1070,31 +1208,32 @@ function _main___P115248_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, + tmp_6: undefined, } } -const _hex51561 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex51563 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex54192 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex46442 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex46757 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") -const _hex46760 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") -const _hex46763 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") -const _hex47059 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex47061 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex47063 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex47065 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex47067 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex47069 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex47071 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex47073 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex47075 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex47077 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex47079 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex281847 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex281849 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex284497 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex276464 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex276779 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") +const _hex276782 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") +const _hex276785 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") +const _hex277081 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex277083 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex277085 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex277087 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex277089 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex277091 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex277093 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex277095 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex277097 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex277099 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex277101 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function control___screen_inline__P46431(s) { +function control___screen_inline__P276453(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1107,23 +1246,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___46428 = (false); - s.tmp_0 = pause__P42206_mk(s); + globals.__updated___276450 = (false); + s.tmp_0 = pause__P272229_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___46428); + r0 = pxsim_numops_toBoolDecr(globals.__updated___276450); 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__P43787_mk(s); + s.tmp_2 = control___screen_update__P273810_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___46428 = (true); + globals.__updated___276450 = (true); case 2: case 3: { step = 1; continue; } @@ -1132,12 +1271,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P46431.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +control___screen_inline__P276453.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function control___screen_inline__P46431_mk(s) { +function control___screen_inline__P276453_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P46431, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P276453, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1148,7 +1287,7 @@ function control___screen_inline__P46431_mk(s) { -function _screen_internal_inline__P46451(s) { +function _screen_internal_inline__P276473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1158,17 +1297,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___43826); + r0 = pxsim_pxtcore.updateScreen(globals.screen___273849); r0 = undefined; return leave(s, r0) default: oops() } } } -_screen_internal_inline__P46451.info = {"start":1122,"length":26,"line":32,"column":33,"endLine":32,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +_screen_internal_inline__P276473.info = {"start":1122,"length":26,"line":32,"column":33,"endLine":32,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function _screen_internal_inline__P46451_mk(s) { +function _screen_internal_inline__P276473_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P46451, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P276473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1176,7 +1315,7 @@ function _screen_internal_inline__P46451_mk(s) { -function _screen_internal_inline__P46456(s) { +function _screen_internal_inline__P276478(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1195,12 +1334,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P46456.info = {"start":1185,"length":56,"line":33,"column":35,"endLine":35,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +_screen_internal_inline__P276478.info = {"start":1185,"length":56,"line":33,"column":35,"endLine":35,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -function _screen_internal_inline__P46456_mk(s) { +function _screen_internal_inline__P276478_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P46456, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P276478, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1209,7 +1348,7 @@ function _screen_internal_inline__P46456_mk(s) { -function controller_inline__P46501(s) { +function controller_inline__P276523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1219,16 +1358,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.stateWhenPushed___46502 = undefined; - s.i___46508 = undefined; - s.p___46514 = undefined; - s.tmp_0 = game_currentScene__P44793_mk(s); + s.stateWhenPushed___276524 = undefined; + s.i___276530 = undefined; + s.p___276536 = undefined; + s.tmp_0 = game_currentScene__P274816_mk(s); s.callLocIdx = 19; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = r0.fields["controllerConnectionState"]; - s.stateWhenPushed___46502 = (r0); - r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___46502); + s.stateWhenPushed___276524 = (r0); + r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___276524); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1237,24 +1376,24 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.i___46508 = (0); + s.i___276530 = (0); case 3: - s.tmp_1 = r0 = s.i___46508; - r0 = pxsim_Array__length(s.stateWhenPushed___46502); + s.tmp_1 = r0 = s.i___276530; + r0 = pxsim_Array__length(s.stateWhenPushed___276524); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(globals._players___46499, s.i___46508); - s.p___46514 = (r0); - s.tmp_0 = r0 = s.p___46514; + r0 = pxsim_Array__getAt(globals._players___276521, s.i___276530); + s.p___276536 = (r0); + s.tmp_0 = r0 = s.p___276536; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 4; continue; } r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = pxsim_Array__getAt(s.stateWhenPushed___46502, s.i___46508); + r0 = pxsim_Array__getAt(s.stateWhenPushed___276524, s.i___276530); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); s.tmp_4 = r0; @@ -1264,7 +1403,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = s.p___46514.fields["_connected"]; + r0 = s.p___276536.fields["_connected"]; s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); s.tmp_9 = r0; @@ -1280,7 +1419,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 8; continue; } - r0 = s.p___46514.fields["_connected"]; + r0 = s.p___276536.fields["_connected"]; s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 6; continue; } @@ -1291,13 +1430,13 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_13 = r0; - r0 = s.p___46514.fields["_id"]; + r0 = s.p___276536.fields["_id"]; s.tmp_14 = r0; r0 = pxsim.control.raiseEvent(s.tmp_14, s.tmp_13); case 8: case 9: - r0 = (s.i___46508 + 1); - s.i___46508 = (r0); + r0 = (s.i___276530 + 1); + s.i___276530 = (r0); { step = 3; continue; } case 10: case 11: @@ -1305,12 +1444,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_inline__P46501.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +controller_inline__P276523.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function controller_inline__P46501_mk(s) { +function controller_inline__P276523_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P46501, depth: s.depth + 1, + parent: s, fn: controller_inline__P276523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1327,16 +1466,16 @@ function controller_inline__P46501_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - stateWhenPushed___46502: undefined, - i___46508: undefined, - p___46514: undefined, + stateWhenPushed___276524: undefined, + i___276530: undefined, + p___276536: undefined, } } -function controller_inline__P46541(s) { +function controller_inline__P276563(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1346,7 +1485,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___46546 = undefined; + s.i___276568 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -1355,43 +1494,43 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["controllerConnectionState"] = (s.tmp_1); - s.i___46546 = (0); + s.i___276568 = (0); case 1: - s.tmp_1 = r0 = s.i___46546; - r0 = pxsim_Array__length(globals._players___46499); + s.tmp_1 = r0 = s.i___276568; + r0 = pxsim_Array__length(globals._players___276521); 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_Array__getAt(globals._players___46499, s.i___46546); + r0 = pxsim_Array__getAt(globals._players___276521, s.i___276568); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } r0 = s.arg0.fields["controllerConnectionState"]; s.tmp_4 = r0; - s.tmp_5 = r0 = s.i___46546; - r0 = pxsim_Array__getAt(globals._players___46499, s.i___46546); + s.tmp_5 = r0 = s.i___276568; + r0 = pxsim_Array__getAt(globals._players___276521, s.i___276568); s.tmp_7 = r0; r0 = s.tmp_7.fields["_connected"]; s.tmp_6 = r0; r0 = pxsim_Array_.setAt(s.tmp_4, s.tmp_5, s.tmp_6); case 2: case 3: - r0 = (s.i___46546 + 1); - s.i___46546 = (r0); + r0 = (s.i___276568 + 1); + s.i___276568 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_inline__P46541.info = {"start":957,"length":254,"line":31,"column":29,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["oldScene"]} +controller_inline__P276563.info = {"start":957,"length":254,"line":31,"column":29,"endLine":38,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["oldScene"]} -function controller_inline__P46541_mk(s) { +function controller_inline__P276563_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P46541, depth: s.depth + 1, + parent: s, fn: controller_inline__P276563, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1401,7 +1540,7 @@ function controller_inline__P46541_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___46546: undefined, + i___276568: undefined, arg0: undefined, } } @@ -1409,7 +1548,7 @@ function controller_inline__P46541_mk(s) { -function info_inline__P46652(s) { +function info_inline__P276674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1423,36 +1562,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___46648); + r0 = pxsim_numops_toBoolDecr(globals.infoState___276670); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___46650); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___276672); 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___46650 = (r0); + globals.infoStateStack___276672 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___46648); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___276670); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___46650, s.tmp_0); - globals.infoState___46648 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___276672, s.tmp_0); + globals.infoState___276670 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P46652.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +info_inline__P276674.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function info_inline__P46652_mk(s) { +function info_inline__P276674_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P46652, depth: s.depth + 1, + parent: s, fn: info_inline__P276674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1463,7 +1602,7 @@ function info_inline__P46652_mk(s) { -function info_inline__P46667(s) { +function info_inline__P276689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1473,30 +1612,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___46668 = undefined; - s.nextState___46677 = undefined; - s.tmp_0 = game_currentScene__P44793_mk(s); + s.scene___276690 = undefined; + s.nextState___276699 = undefined; + s.tmp_0 = game_currentScene__P274816_mk(s); s.callLocIdx = 32; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___46668 = (r0); - globals.infoState___46648 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___46650; + s.scene___276690 = (r0); + globals.infoState___276670 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___276672; 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___46650); + r0 = pxsim_Array__length(globals.infoStateStack___276672); 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___46650); - s.nextState___46677 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___276672); + s.nextState___276699 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___46677; + s.tmp_2.arg0 = s.nextState___276699; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1508,12 +1647,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___46668); + r0 = (s.tmp_1 == s.scene___276690); 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___46677; + s.tmp_3.arg0 = s.nextState___276699; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1524,10 +1663,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___46648 = (r0); + globals.infoState___276670 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___46650, s.nextState___46677); + r0 = pxsim_Array__push(globals.infoStateStack___276672, s.nextState___276699); case 4: case 5: case 6: @@ -1535,26 +1674,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P46667.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P276689.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_inline__P46667_mk(s) { +function info_inline__P276689_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P46667, depth: s.depth + 1, + parent: s, fn: info_inline__P276689, 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___46668: undefined, - nextState___46677: undefined, + scene___276690: undefined, + nextState___276699: undefined, } } -function gameOverConfig_inline__P46776(s) { +function gameOverConfig_inline__P276798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1564,32 +1703,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___46775); + r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___276797); 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_pxtcore_mkClassInstance(game_GameOverConfig__C44767_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverConfig__C274790_VT); s.tmp_2 = r0; - s.tmp_3 = game_GameOverConfig_constructor__P44782_mk(s); + s.tmp_3 = game_GameOverConfig_constructor__P274805_mk(s); s.tmp_3.arg0 = s.tmp_2; s.callLocIdx = 36; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - globals._gameOverConfig___46775 = (s.tmp_2); + globals._gameOverConfig___276797 = (s.tmp_2); case 1: case 2: - r0 = globals._gameOverConfig___46775; + r0 = globals._gameOverConfig___276797; return leave(s, r0) default: oops() } } } -gameOverConfig_inline__P46776.info = {"start":3714,"length":115,"line":107,"column":34,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +gameOverConfig_inline__P276798.info = {"start":3714,"length":115,"line":107,"column":34,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function gameOverConfig_inline__P46776_mk(s) { +function gameOverConfig_inline__P276798_mk(s) { checkStack(s.depth); return { - parent: s, fn: gameOverConfig_inline__P46776, depth: s.depth + 1, + parent: s, fn: gameOverConfig_inline__P276798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1601,65 +1740,7 @@ function gameOverConfig_inline__P46776_mk(s) { -function DataView_getUint32__P107460(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.r___107599 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, DataView__C107448_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(Uint32Array__C46189_VT); - s.tmp_0 = r0; - s.tmp_1 = Uint32Array_constructor__P46190_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 0; - s.callLocIdx = 72; s.pc = 1; return s.tmp_1; - case 1: - r0 = s.retval; - s.r___107599 = (s.tmp_0); - s.tmp_0 = DataView_getter__P107469_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.r___107599; - s.tmp_0.arg2 = s.arg1; - s.tmp_0.arg3 = s.arg2; - s.callLocIdx = 73; s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - return leave(s, r0) - default: oops() -} } } -DataView_getUint32__P107460.info = {"start":6843,"length":186,"line":165,"column":4,"endLine":168,"endColumn":5,"fileName":"dataView.ts","functionName":"getUint32","argumentNames":["this","byteOffset","littleEndian"]} - -function DataView_getUint32__P107460_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: DataView_getUint32__P107460, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - r___107599: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function DataView_getter__P107469(s) { +function areEquivalent__P315151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1669,139 +1750,62 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.u8___107699 = undefined; - s.bytes___107708 = undefined; - s.i___107710 = undefined; - s.r8___107729 = undefined; + s.i___315159 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, DataView__C107448_VT)) failedCast(r0); - r0 = (s.arg2 >>> 0); - s.arg2 = (r0); - s.tmp_2 = r0 = s.arg2; - r0 = s.arg1.fields["BYTES_PER_ELEMENT"]; - s.tmp_3 = r0; - r0 = (s.tmp_2 + s.tmp_3); + r0 = pxsim_Array__length(s.arg0); s.tmp_1 = r0; - r0 = s.arg0.fields["_byteLength"]; - s.tmp_4 = r0; - r0 = (s.tmp_1 > s.tmp_4); + r0 = s.arg1.fields["_byteLength"]; + s.tmp_2 = r0; + r0 = (s.tmp_1 != s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore.throwValue("Array index out of range."); + r0 = false; + { step = 7; continue; } case 1: case 2: - s.tmp_5 = r0 = s.arg2; - r0 = s.arg0.fields["_byteOffset"]; - s.tmp_6 = r0; - r0 = (s.tmp_5 + s.tmp_6); - s.arg2 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Uint8Array__C46181_VT); - s.tmp_0 = r0; - s.tmp_1 = Uint8Array_constructor__P46182_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 0; - s.callLocIdx = 79; s.pc = 7; return s.tmp_1; - case 7: - r0 = s.retval; - s.u8___107699 = (s.tmp_0); - s.tmp_0 = TypedArray_fromArrayBuffer__P46154_mk(s); - s.tmp_0.arg0 = s.u8___107699; - r0 = s.arg0.fields["_buffer"]; - s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.arg2; - r0 = s.arg1.fields["BYTES_PER_ELEMENT"]; - s.tmp_0.arg3 = r0; - s.callLocIdx = 82; s.pc = 8; return s.tmp_0; - case 8: - r0 = s.retval; - r0 = pxsim_Array__mk(); - s.bytes___107708 = (r0); - s.i___107710 = (0); + s.i___315159 = (0); case 3: - s.tmp_1 = r0 = s.i___107710; - r0 = s.arg1.fields["BYTES_PER_ELEMENT"]; + s.tmp_1 = r0 = s.i___315159; + r0 = pxsim_Array__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; } - s.tmp_3 = r0 = s.bytes___107708; - s.tmp_5 = TypedArray_get__P46161_mk(s); - s.tmp_5.arg0 = s.u8___107699; - s.tmp_5.arg1 = s.i___107710; - s.callLocIdx = 84; s.pc = 9; return s.tmp_5; - case 9: - r0 = s.retval; + if (!r0) { step = 6; continue; } + r0 = pxsim_Array__getAt(s.arg0, s.i___315159); s.tmp_4 = r0; - r0 = pxsim_Array__push(s.tmp_3, s.tmp_4); - r0 = (s.i___107710 + 1); - s.i___107710 = (r0); - { step = 3; continue; } + r0 = s.arg1.fields["_bytes"]; + s.tmp_6 = r0; + r0 = pxsim_Array__getAt(s.tmp_6, s.i___315159); + 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 = 4; continue; } + r0 = false; + { step = 7; continue; } case 4: - s.tmp_1 = r0 = s.arg3; - s.tmp_3 = DataView_IS_BIG_ENDIAN__P107452_mk(s); - s.callLocIdx = 85; s.pc = 10; return s.tmp_3; - case 10: - r0 = s.retval; - 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; } - s.tmp_4 = helpers_arrayReverse__P41894_mk(s); - s.tmp_4.arg0 = s.bytes___107708; - s.callLocIdx = 86; s.pc = 11; return s.tmp_4; - case 11: - r0 = s.retval; case 5: + r0 = (s.i___315159 + 1); + s.i___315159 = (r0); + { step = 3; continue; } case 6: - r0 = pxsim_pxtcore_mkClassInstance(Uint8Array__C46181_VT); - s.tmp_0 = r0; - s.tmp_1 = Uint8Array_constructor__P46182_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 0; - s.callLocIdx = 87; s.pc = 12; return s.tmp_1; - case 12: - r0 = s.retval; - s.r8___107729 = (s.tmp_0); - s.tmp_0 = TypedArray_fromArray__P46153_mk(s); - s.tmp_0.arg0 = s.r8___107729; - s.tmp_0.arg1 = s.bytes___107708; - s.callLocIdx = 88; s.pc = 13; return s.tmp_0; - case 13: - r0 = s.retval; - s.tmp_0 = TypedArray_fromArrayBuffer__P46154_mk(s); - s.tmp_0.arg0 = s.arg1; - r0 = s.r8___107729.fields["_buffer"]; - s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = null; - s.callLocIdx = 90; s.pc = 14; return s.tmp_0; - case 14: - r0 = s.retval; - s.tmp_0 = TypedArray_get__P46161_mk(s); - s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = 0; - s.callLocIdx = 91; s.pc = 15; return s.tmp_0; - case 15: - r0 = s.retval; + r0 = true; + case 7: return leave(s, r0) default: oops() } } } -DataView_getter__P107469.info = {"start":10757,"length":797,"line":254,"column":4,"endLine":279,"endColumn":5,"fileName":"dataView.ts","functionName":"getter","argumentNames":["this","r","byteOffset","littleEndian"]} +areEquivalent__P315151.info = {"start":31,"length":267,"line":2,"column":0,"endLine":12,"endColumn":1,"fileName":"test.ts","functionName":"areEquivalent","argumentNames":["a","b"]} -function DataView_getter__P107469_mk(s) { +function areEquivalent__P315151_mk(s) { checkStack(s.depth); return { - parent: s, fn: DataView_getter__P107469, depth: s.depth + 1, + parent: s, fn: areEquivalent__P315151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1810,21 +1814,16 @@ function DataView_getter__P107469_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - u8___107699: undefined, - bytes___107708: undefined, - i___107710: undefined, - r8___107729: undefined, + i___315159: undefined, arg0: undefined, arg1: undefined, - arg2: undefined, - arg3: undefined, } } -function TypedArray_buffer__P46156(s) { +function ArrayBuffer_bytes__P300771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1839,18 +1838,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; + if (!checkSubtype(r0, ArrayBuffer__C300769_VT)) failedCast(r0); + r0 = s.arg0.fields["_bytes"]; return leaveAccessor(s, r0) default: oops() } } } -TypedArray_buffer__P46156.info = {"start":4392,"length":68,"line":126,"column":4,"endLine":128,"endColumn":5,"fileName":"typedArray.ts","functionName":"buffer","argumentNames":["this"]} -TypedArray_buffer__P46156.isGetter = true; +ArrayBuffer_bytes__P300771.info = {"start":2319,"length":63,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"arrayBuffer.ts","functionName":"bytes","argumentNames":["this"]} +ArrayBuffer_bytes__P300771.isGetter = true; -function TypedArray_buffer__P46156_mk(s) { +function ArrayBuffer_bytes__P300771_mk(s) { checkStack(s.depth); return { - parent: s, fn: TypedArray_buffer__P46156, depth: s.depth + 1, + parent: s, fn: ArrayBuffer_bytes__P300771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1859,7 +1858,7 @@ function TypedArray_buffer__P46156_mk(s) { -function TypedArray_fromArray__P46153(s) { +function ArrayBuffer_slice__P300772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1869,83 +1868,144 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.byteLength___48976 = undefined; - s.i___48999 = undefined; + s.length___300810 = undefined; + s.begin___300812 = undefined; + s.end___300816 = undefined; + s.num___300830 = undefined; + s.target___300834 = undefined; + s.targetArray___300838 = undefined; + s.sourceArray___300844 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); - r0 = pxsim_Array__length(s.arg1); - s.tmp_0 = r0; - r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; - s.tmp_1 = r0; - r0 = (s.tmp_0 * s.tmp_1); - s.byteLength___48976 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(ArrayBuffer__C46125_VT); + if (!checkSubtype(r0, ArrayBuffer__C300769_VT)) failedCast(r0); + r0 = s.arg0.fields["_byteLength"]; + s.length___300810 = (r0); + s.tmp_0 = ArrayBuffer_clamp__P300773_mk(s); + s.tmp_0.arg0 = s.arg1; + s.tmp_0.arg1 = s.length___300810; + s.callLocIdx = 64; s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + s.begin___300812 = (r0); + s.end___300816 = (s.length___300810); + r0 = (s.arg2 !== null); s.tmp_0 = r0; - s.tmp_1 = ArrayBuffer_constructor__P46126_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.byteLength___48976; - s.callLocIdx = 107; s.pc = 3; return s.tmp_1; - case 3: + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_1 = ArrayBuffer_clamp__P300773_mk(s); + s.tmp_1.arg0 = s.arg2; + s.tmp_1.arg1 = s.length___300810; + s.callLocIdx = 65; s.pc = 7; return s.tmp_1; + case 7: r0 = s.retval; - r0 = (s.arg0).fields["_buffer"] = (s.tmp_0); - r0 = (s.arg0).fields["_byteLength"] = (s.byteLength___48976); - r0 = (s.arg0).fields["_byteOffset"] = (0); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_Array__length(s.arg1); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_length"] = (s.tmp_1); - s.i___48999 = (0); + s.end___300816 = (r0); case 1: - s.tmp_1 = r0 = s.i___48999; - r0 = s.arg0.fields["_length"]; - s.tmp_2 = r0; - r0 = (s.tmp_1 < s.tmp_2); + case 2: + r0 = (s.begin___300812 > s.end___300816); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 2; continue; } - s.tmp_3 = TypedArray_set__P46162_mk(s); - s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.i___48999; - r0 = pxsim_Array__getAt(s.arg1, s.i___48999); - s.tmp_3.arg2 = r0; - s.callLocIdx = 109; s.pc = 4; return s.tmp_3; + if (!r0) { step = 3; continue; } + r0 = pxsim_pxtcore_mkClassInstance(ArrayBuffer__C300769_VT); + s.tmp_1 = r0; + s.tmp_2 = ArrayBuffer_constructor__P300774_mk(s); + s.tmp_2.arg0 = s.tmp_1; + s.tmp_2.arg1 = 0; + s.callLocIdx = 66; s.pc = 8; return s.tmp_2; + case 8: + r0 = s.retval; + r0 = s.tmp_1; + { step = 5; continue; } + case 3: case 4: + r0 = (s.end___300816 - s.begin___300812); + s.num___300830 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(ArrayBuffer__C300769_VT); + s.tmp_0 = r0; + s.tmp_1 = ArrayBuffer_constructor__P300774_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = s.num___300830; + s.callLocIdx = 67; s.pc = 9; return s.tmp_1; + case 9: r0 = s.retval; - r0 = (s.i___48999 + 1); - s.i___48999 = (r0); - { step = 1; continue; } - case 2: - r0 = undefined; + s.target___300834 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Uint8Array__C276205_VT); + s.tmp_0 = r0; + s.tmp_1 = Uint8Array_constructor__P276206_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = 0; + s.callLocIdx = 68; s.pc = 10; return s.tmp_1; + case 10: + r0 = s.retval; + s.targetArray___300838 = (s.tmp_0); + s.tmp_0 = TypedArray_fromArrayBuffer__P276178_mk(s); + s.tmp_0.arg0 = s.targetArray___300838; + s.tmp_0.arg1 = s.target___300834; + s.tmp_0.arg2 = 0; + s.tmp_0.arg3 = null; + s.callLocIdx = 69; s.pc = 11; return s.tmp_0; + case 11: + r0 = s.retval; + r0 = pxsim_pxtcore_mkClassInstance(Uint8Array__C276205_VT); + s.tmp_0 = r0; + s.tmp_1 = Uint8Array_constructor__P276206_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = 0; + s.callLocIdx = 70; s.pc = 12; return s.tmp_1; + case 12: + r0 = s.retval; + s.sourceArray___300844 = (s.tmp_0); + s.tmp_0 = TypedArray_fromArrayBuffer__P276178_mk(s); + s.tmp_0.arg0 = s.sourceArray___300844; + s.tmp_0.arg1 = s.arg0; + s.tmp_0.arg2 = s.begin___300812; + s.tmp_0.arg3 = s.num___300830; + s.callLocIdx = 71; s.pc = 13; return s.tmp_0; + case 13: + r0 = s.retval; + s.tmp_0 = TypedArray_setFromTypedArray__P276188_mk(s); + s.tmp_0.arg0 = s.targetArray___300838; + s.tmp_0.arg1 = s.sourceArray___300844; + s.tmp_0.arg2 = 0; + s.callLocIdx = 72; s.pc = 14; return s.tmp_0; + case 14: + r0 = s.retval; + r0 = s.target___300834; + case 5: return leave(s, r0) default: oops() } } } -TypedArray_fromArray__P46153.info = {"start":2235,"length":377,"line":59,"column":4,"endLine":69,"endColumn":5,"fileName":"typedArray.ts","functionName":"fromArray","argumentNames":["this","source"]} +ArrayBuffer_slice__P300772.info = {"start":2512,"length":742,"line":73,"column":4,"endLine":95,"endColumn":5,"fileName":"arrayBuffer.ts","functionName":"slice","argumentNames":["this","from","to"]} -function TypedArray_fromArray__P46153_mk(s) { +function ArrayBuffer_slice__P300772_mk(s) { checkStack(s.depth); return { - parent: s, fn: TypedArray_fromArray__P46153, depth: s.depth + 1, + parent: s, fn: ArrayBuffer_slice__P300772, 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, - byteLength___48976: undefined, - i___48999: undefined, + length___300810: undefined, + begin___300812: undefined, + end___300816: undefined, + num___300830: undefined, + target___300834: undefined, + targetArray___300838: undefined, + sourceArray___300844: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function TypedArray_set__P46162(s) { +function TypedArray_setFromTypedArray__P276188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1955,9 +2015,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bytes___49178 = undefined; - s.i___49182 = undefined; - s.o___49183 = undefined; + s.byteOffset___279509 = undefined; + s.byteLength___279516 = undefined; + s.tmp___279526 = undefined; + s.i___279528 = undefined; + s.s___279529 = undefined; + s.d___279553 = undefined; + s.i___279575 = undefined; + s.s___279576 = undefined; + s.d___279577 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1965,78 +2031,148 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); - r0 = (s.arg1 >>> 0); - s.arg1 = (r0); - r0 = s.arg0.fields["_length"]; + if (!checkSubtype(r0, TypedArray__C276175_VT)) failedCast(r0); + r0 = (s.arg2 >>> 0); + s.arg2 = (r0); + s.tmp_2 = r0 = s.arg2; + r0 = s.arg1.fields["_length"]; + s.tmp_3 = r0; + r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; - r0 = (s.arg1 >= s.tmp_1); + r0 = s.arg0.fields["_length"]; + s.tmp_4 = r0; + r0 = (s.tmp_1 > s.tmp_4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - { step = 5; continue; } + r0 = pxsim_pxtcore.throwValue("Offset plus length of array is out of range."); case 1: case 2: - s.tmp_2 = if__pack_2_mk(s); - s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.arg2; - if (!s.tmp_2.arg0.vtable.iface) { - setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "_pack"), 2); - s.callLocIdx = 115; s.pc = 6; return s.tmp_2; - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["_pack"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["_pack"], 2); s.callLocIdx = 115; s.pc = 6; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 115; s.pc = 6; return s.tmp_2;; } - else { s.callLocIdx = 115; s.pc = 6; return s.tmp_2; } - } - case 6: - r0 = s.retval; - s.bytes___49178 = (r0); - s.i___49182 = (0); r0 = s.arg0.fields["_byteOffset"]; - s.tmp_1 = r0; + s.tmp_5 = r0; r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; - s.tmp_3 = r0; - r0 = (s.arg1 * s.tmp_3); + s.tmp_7 = r0; + r0 = (s.arg2 * s.tmp_7); + s.tmp_6 = r0; + r0 = (s.tmp_5 + s.tmp_6); + s.byteOffset___279509 = (r0); + r0 = s.arg1.fields["_length"]; + s.tmp_0 = r0; + r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; + s.tmp_1 = r0; + r0 = (s.tmp_0 * s.tmp_1); + s.byteLength___279516 = (r0); + r0 = s.arg1.fields["_buffer"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["_buffer"]; s.tmp_2 = r0; - r0 = (s.tmp_1 + s.tmp_2); + r0 = (s.tmp_1 === s.tmp_2); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 7; continue; } + r0 = pxsim_Array__mk(); + s.tmp___279526 = (r0); + s.i___279528 = (0); + r0 = s.arg1.fields["_byteOffset"]; s.tmp_0 = r0; - s.o___49183 = (r0); + s.s___279529 = (r0); r0 = s.tmp_0; case 3: - r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; - s.tmp_1 = r0; - r0 = (s.i___49182 < s.tmp_1); + r0 = (s.i___279528 < s.byteLength___279516); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.arg0.fields["_buffer"]; + s.tmp_1 = r0 = s.tmp___279526; + r0 = s.arg1.fields["_buffer"]; + s.tmp_4 = r0; + r0 = s.tmp_4.fields["_bytes"]; s.tmp_3 = r0; - r0 = s.tmp_3.fields["_bytes"]; + r0 = pxsim_Array__getAt(s.tmp_3, s.s___279529); s.tmp_2 = r0; - s.tmp_4 = r0 = s.o___49183; - r0 = pxsim_Array__getAt(s.bytes___49178, s.i___49182); - s.tmp_5 = r0; - r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_4, s.tmp_5); - r0 = (s.i___49182 + 1); - s.i___49182 = (r0); - s.tmp_0 = r0 = s.o___49183; + r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); + r0 = (s.i___279528 + 1); + s.i___279528 = (r0); + s.tmp_0 = r0 = s.s___279529; r0 = (s.tmp_0 + 1); - s.o___49183 = (r0); + s.s___279529 = (r0); r0 = s.tmp_0; { step = 3; continue; } case 4: + s.i___279528 = (0); + s.tmp_0 = r0 = s.byteOffset___279509; + s.d___279553 = (r0); + r0 = s.tmp_0; case 5: + r0 = (s.i___279528 < s.byteLength___279516); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 6; continue; } + r0 = s.arg0.fields["_buffer"]; + s.tmp_2 = r0; + r0 = s.tmp_2.fields["_bytes"]; + s.tmp_1 = r0; + s.tmp_3 = r0 = s.d___279553; + r0 = pxsim_Array__getAt(s.tmp___279526, s.i___279528); + s.tmp_4 = r0; + r0 = pxsim_Array_.setAt(s.tmp_1, s.tmp_3, s.tmp_4); + r0 = (s.i___279528 + 1); + s.i___279528 = (r0); + s.tmp_0 = r0 = s.d___279553; + r0 = (s.tmp_0 + 1); + s.d___279553 = (r0); + r0 = s.tmp_0; + { step = 5; continue; } + case 6: + { step = 10; continue; } + case 7: + s.i___279575 = (0); + r0 = s.arg1.fields["_byteOffset"]; + s.tmp_0 = r0; + s.s___279576 = (r0); + s.tmp_1 = r0 = s.byteOffset___279509; + s.d___279577 = (r0); + r0 = s.tmp_0; + r0 = s.tmp_1; + case 8: + r0 = (s.i___279575 < s.byteLength___279516); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 9; continue; } + r0 = s.arg0.fields["_buffer"]; + s.tmp_2 = r0; + r0 = s.tmp_2.fields["_bytes"]; + s.tmp_1 = r0; + s.tmp_3 = r0 = s.d___279577; + r0 = s.arg1.fields["_buffer"]; + s.tmp_6 = r0; + r0 = s.tmp_6.fields["_bytes"]; + s.tmp_5 = r0; + r0 = pxsim_Array__getAt(s.tmp_5, s.s___279576); + s.tmp_4 = r0; + r0 = pxsim_Array_.setAt(s.tmp_1, s.tmp_3, s.tmp_4); + r0 = (s.i___279575 + 1); + s.i___279575 = (r0); + s.tmp_0 = r0 = s.s___279576; + r0 = (s.tmp_0 + 1); + s.s___279576 = (r0); + s.tmp_1 = r0 = s.d___279577; + r0 = (s.tmp_1 + 1); + s.d___279577 = (r0); + r0 = s.tmp_0; + r0 = s.tmp_1; + { step = 8; continue; } + case 9: + case 10: r0 = undefined; return leave(s, r0) default: oops() } } } -TypedArray_set__P46162.info = {"start":5292,"length":436,"line":168,"column":4,"endLine":183,"endColumn":5,"fileName":"typedArray.ts","functionName":"set","argumentNames":["this","index","value"]} +TypedArray_setFromTypedArray__P276188.info = {"start":6102,"length":1205,"line":197,"column":4,"endLine":234,"endColumn":5,"fileName":"typedArray.ts","functionName":"setFromTypedArray","argumentNames":["this","source","offset"]} -function TypedArray_set__P46162_mk(s) { +function TypedArray_setFromTypedArray__P276188_mk(s) { checkStack(s.depth); return { - parent: s, fn: TypedArray_set__P46162, depth: s.depth + 1, + parent: s, fn: TypedArray_setFromTypedArray__P276188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2044,9 +2180,17 @@ function TypedArray_set__P46162_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - bytes___49178: undefined, - i___49182: undefined, - o___49183: undefined, + tmp_6: undefined, + tmp_7: undefined, + byteOffset___279509: undefined, + byteLength___279516: undefined, + tmp___279526: undefined, + i___279528: undefined, + s___279529: undefined, + d___279553: undefined, + i___279575: undefined, + s___279576: undefined, + d___279577: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2056,7 +2200,7 @@ function TypedArray_set__P46162_mk(s) { -function ArrayBuffer_bytes__P46128(s) { +function TypedArray_buffer__P276180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2071,18 +2215,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArrayBuffer__C46125_VT)) failedCast(r0); - r0 = s.arg0.fields["_bytes"]; + if (!checkSubtype(r0, TypedArray__C276175_VT)) failedCast(r0); + r0 = s.arg0.fields["_buffer"]; return leaveAccessor(s, r0) default: oops() } } } -ArrayBuffer_bytes__P46128.info = {"start":2235,"length":63,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"arrayBuffer.ts","functionName":"bytes","argumentNames":["this"]} -ArrayBuffer_bytes__P46128.isGetter = true; +TypedArray_buffer__P276180.info = {"start":4392,"length":68,"line":126,"column":4,"endLine":128,"endColumn":5,"fileName":"typedArray.ts","functionName":"buffer","argumentNames":["this"]} +TypedArray_buffer__P276180.isGetter = true; -function ArrayBuffer_bytes__P46128_mk(s) { +function TypedArray_buffer__P276180_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArrayBuffer_bytes__P46128, depth: s.depth + 1, + parent: s, fn: TypedArray_buffer__P276180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -2091,7 +2235,7 @@ function ArrayBuffer_bytes__P46128_mk(s) { -function TypedArray_byteOffset__P46158(s) { +function TypedArray_byteOffset__P276182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2106,177 +2250,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); + if (!checkSubtype(r0, TypedArray__C276175_VT)) failedCast(r0); r0 = s.arg0.fields["_byteOffset"]; return leaveAccessor(s, r0) default: oops() } } } -TypedArray_byteOffset__P46158.info = {"start":4543,"length":71,"line":134,"column":4,"endLine":136,"endColumn":5,"fileName":"typedArray.ts","functionName":"byteOffset","argumentNames":["this"]} -TypedArray_byteOffset__P46158.isGetter = true; - -function TypedArray_byteOffset__P46158_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: TypedArray_byteOffset__P46158, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function TypedArray_length__P46160(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); - r0 = s.arg0.fields["_length"]; - return leaveAccessor(s, r0) - default: oops() -} } } -TypedArray_length__P46160.info = {"start":4708,"length":63,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"typedArray.ts","functionName":"length","argumentNames":["this"]} -TypedArray_length__P46160.isGetter = true; - -function TypedArray_length__P46160_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: TypedArray_length__P46160, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function helpers_arrayReverse__P41894(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.len___62557 = undefined; - s.i___62560 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = pxsim_Array__length(s.arg0); - s.len___62557 = (r0); - s.i___62560 = (0); - case 1: - s.tmp_1 = r0 = s.i___62560; - r0 = (s.len___62557 / 2); - 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 = helpers_swap__P46203_mk(s); - s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.i___62560; - r0 = (s.len___62557 - s.i___62560); - s.tmp_4 = r0; - r0 = (s.tmp_4 - 1); - s.tmp_3.arg2 = r0; - s.callLocIdx = 0; s.pc = 3; return s.tmp_3; - case 3: - r0 = s.retval; - r0 = (s.i___62560 + 1); - s.i___62560 = (r0); - { step = 1; continue; } - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -helpers_arrayReverse__P41894.info = {"start":3861,"length":178,"line":146,"column":4,"endLine":151,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReverse","argumentNames":["arr"]} - -function helpers_arrayReverse__P41894_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: helpers_arrayReverse__P41894, 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___62557: undefined, - i___62560: undefined, - arg0: undefined, -} } - - - - - -function helpers_swap__P46203(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.temp___52935 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___52935 = (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___52935); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -helpers_swap__P46203.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"]} +TypedArray_byteOffset__P276182.info = {"start":4543,"length":71,"line":134,"column":4,"endLine":136,"endColumn":5,"fileName":"typedArray.ts","functionName":"byteOffset","argumentNames":["this"]} +TypedArray_byteOffset__P276182.isGetter = true; -function helpers_swap__P46203_mk(s) { +function TypedArray_byteOffset__P276182_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P46203, depth: s.depth + 1, + parent: s, fn: TypedArray_byteOffset__P276182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - temp___52935: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, } } -function TypedArray_get__P46161(s) { +function TypedArray_length__P276184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2286,133 +2280,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bytes___49132 = undefined; - s.i___49134 = undefined; - s.o___49135 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); - r0 = (s.arg1 >>> 0); - s.arg1 = (r0); + if (!checkSubtype(r0, TypedArray__C276175_VT)) failedCast(r0); r0 = s.arg0.fields["_length"]; - s.tmp_1 = r0; - r0 = (s.arg1 >= s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = undefined; - { step = 5; continue; } - case 1: - case 2: - r0 = pxsim_Array__mk(); - s.bytes___49132 = (r0); - s.i___49134 = (0); - r0 = s.arg0.fields["_byteOffset"]; - s.tmp_1 = r0; - r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; - s.tmp_3 = r0; - r0 = (s.arg1 * s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_1 + s.tmp_2); - s.tmp_0 = r0; - s.o___49135 = (r0); - r0 = s.tmp_0; - case 3: - r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; - s.tmp_1 = r0; - r0 = (s.i___49134 < s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - s.tmp_2 = r0 = s.bytes___49132; - r0 = s.arg0.fields["_buffer"]; - s.tmp_5 = r0; - r0 = s.tmp_5.fields["_bytes"]; - s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_4, s.o___49135); - s.tmp_3 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.tmp_3); - r0 = (s.i___49134 + 1); - s.i___49134 = (r0); - s.tmp_0 = r0 = s.o___49135; - r0 = (s.tmp_0 + 1); - s.o___49135 = (r0); - r0 = s.tmp_0; - { step = 3; continue; } - case 4: - s.tmp_0 = if__unpack_2_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.bytes___49132; - if (!s.tmp_0.arg0.vtable.iface) { - setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "_unpack"), 2); - s.callLocIdx = 114; s.pc = 6; return s.tmp_0; - } else { - s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["_unpack"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["_unpack"], 2); s.callLocIdx = 114; s.pc = 6; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 114; s.pc = 6; return s.tmp_0;; } - else { s.callLocIdx = 114; s.pc = 6; return s.tmp_0; } - } - case 6: - r0 = s.retval; - case 5: - return leave(s, r0) - default: oops() -} } } -TypedArray_get__P46161.info = {"start":4817,"length":469,"line":149,"column":4,"endLine":166,"endColumn":5,"fileName":"typedArray.ts","functionName":"get","argumentNames":["this","index"]} - -function TypedArray_get__P46161_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: TypedArray_get__P46161, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, - bytes___49132: undefined, - i___49134: undefined, - o___49135: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function DataView_buffer__P107449(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, DataView__C107448_VT)) failedCast(r0); - r0 = s.arg0.fields["_buffer"]; return leaveAccessor(s, r0) default: oops() } } } -DataView_buffer__P107449.info = {"start":2484,"length":68,"line":66,"column":4,"endLine":68,"endColumn":5,"fileName":"dataView.ts","functionName":"buffer","argumentNames":["this"]} -DataView_buffer__P107449.isGetter = true; +TypedArray_length__P276184.info = {"start":4708,"length":63,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"typedArray.ts","functionName":"length","argumentNames":["this"]} +TypedArray_length__P276184.isGetter = true; -function DataView_buffer__P107449_mk(s) { +function TypedArray_length__P276184_mk(s) { checkStack(s.depth); return { - parent: s, fn: DataView_buffer__P107449, depth: s.depth + 1, + parent: s, fn: TypedArray_length__P276184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -2421,7 +2305,7 @@ function DataView_buffer__P107449_mk(s) { -function TypedArray_fromArrayBuffer__P46154(s) { +function TypedArray_fromArrayBuffer__P276178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2431,7 +2315,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.byteLength___49026 = undefined; + s.byteLength___279282 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2440,7 +2324,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); + if (!checkSubtype(r0, TypedArray__C276175_VT)) failedCast(r0); r0 = (s.arg2 >>> 0); s.arg2 = (r0); s.tmp_1 = r0 = s.arg2; @@ -2471,10 +2355,10 @@ switch (step) { r0 = s.arg1.fields["_byteLength"]; s.tmp_7 = r0; r0 = (s.tmp_7 - s.arg2); - s.byteLength___49026 = (r0); + s.byteLength___279282 = (r0); r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; s.tmp_2 = r0; - r0 = (s.byteLength___49026 % s.tmp_2); + r0 = (s.byteLength___279282 % s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 != 0); s.tmp_0 = r0; @@ -2485,7 +2369,7 @@ switch (step) { case 6: r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; s.tmp_3 = r0; - r0 = (s.byteLength___49026 / s.tmp_3); + r0 = (s.byteLength___279282 / s.tmp_3); s.arg3 = (r0); { step = 8; continue; } case 7: @@ -2494,9 +2378,9 @@ switch (step) { r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; s.tmp_0 = r0; r0 = (s.arg3 * s.tmp_0); - s.byteLength___49026 = (r0); + s.byteLength___279282 = (r0); case 8: - r0 = (s.arg2 + s.byteLength___49026); + r0 = (s.arg2 + s.byteLength___279282); s.tmp_1 = r0; r0 = s.arg1.fields["_byteLength"]; s.tmp_2 = r0; @@ -2508,19 +2392,19 @@ switch (step) { case 9: case 10: r0 = (s.arg0).fields["_buffer"] = (s.arg1); - r0 = (s.arg0).fields["_byteLength"] = (s.byteLength___49026); + r0 = (s.arg0).fields["_byteLength"] = (s.byteLength___279282); r0 = (s.arg0).fields["_byteOffset"] = (s.arg2); r0 = (s.arg0).fields["_length"] = (s.arg3); r0 = undefined; return leave(s, r0) default: oops() } } } -TypedArray_fromArrayBuffer__P46154.info = {"start":2622,"length":1324,"line":71,"column":4,"endLine":109,"endColumn":5,"fileName":"typedArray.ts","functionName":"fromArrayBuffer","argumentNames":["this","source","byteOffset","length"]} +TypedArray_fromArrayBuffer__P276178.info = {"start":2622,"length":1324,"line":71,"column":4,"endLine":109,"endColumn":5,"fileName":"typedArray.ts","functionName":"fromArrayBuffer","argumentNames":["this","source","byteOffset","length"]} -function TypedArray_fromArrayBuffer__P46154_mk(s) { +function TypedArray_fromArrayBuffer__P276178_mk(s) { checkStack(s.depth); return { - parent: s, fn: TypedArray_fromArrayBuffer__P46154, depth: s.depth + 1, + parent: s, fn: TypedArray_fromArrayBuffer__P276178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2530,7 +2414,7 @@ function TypedArray_fromArrayBuffer__P46154_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - byteLength___49026: undefined, + byteLength___279282: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2541,42 +2425,7 @@ function TypedArray_fromArrayBuffer__P46154_mk(s) { -function ArrayBuffer_byteLength__P46127(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, ArrayBuffer__C46125_VT)) failedCast(r0); - r0 = s.arg0.fields["_byteLength"]; - return leaveAccessor(s, r0) - default: oops() -} } } -ArrayBuffer_byteLength__P46127.info = {"start":2158,"length":71,"line":60,"column":4,"endLine":62,"endColumn":5,"fileName":"arrayBuffer.ts","functionName":"byteLength","argumentNames":["this"]} -ArrayBuffer_byteLength__P46127.isGetter = true; - -function ArrayBuffer_byteLength__P46127_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: ArrayBuffer_byteLength__P46127, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function Uint8Array_constructor__P46182(s) { +function Uint8Array_constructor__P276206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2592,31 +2441,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Uint8Array__C46181_VT)) failedCast(r0); - s.tmp_0 = TypedArray_constructor__P46152_mk(s); + if (!checkSubtype(r0, Uint8Array__C276205_VT)) failedCast(r0); + s.tmp_0 = TypedArray_constructor__P276176_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 124; s.pc = 1; return s.tmp_0; + s.callLocIdx = 99; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["BYTES_PER_ELEMENT"] = (1); - r0 = (s.arg0).fields["_pack"] = (Uint8Array_inline__P49539); - r0 = (s.arg0).fields["_unpack"] = (Uint8Array_inline__P49545); - s.tmp_0 = TypedArray_init__P48959_mk(s); + r0 = (s.arg0).fields["_pack"] = (Uint8Array_inline__P279793); + r0 = (s.arg0).fields["_unpack"] = (Uint8Array_inline__P279799); + s.tmp_0 = TypedArray_init__P278939_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 127; s.pc = 2; return s.tmp_0; + s.callLocIdx = 102; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Uint8Array_constructor__P46182.info = {"start":1677,"length":246,"line":38,"column":4,"endLine":44,"endColumn":5,"fileName":"unit8array.ts","functionName":"inline","argumentNames":["this","length"]} +Uint8Array_constructor__P276206.info = {"start":1677,"length":246,"line":38,"column":4,"endLine":44,"endColumn":5,"fileName":"unit8array.ts","functionName":"inline","argumentNames":["this","length"]} -function Uint8Array_constructor__P46182_mk(s) { +function Uint8Array_constructor__P276206_mk(s) { checkStack(s.depth); return { - parent: s, fn: Uint8Array_constructor__P46182, depth: s.depth + 1, + parent: s, fn: Uint8Array_constructor__P276206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2627,7 +2476,7 @@ function Uint8Array_constructor__P46182_mk(s) { -function Uint8Array_inline__P49539(s) { +function Uint8Array_inline__P279793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2641,20 +2490,20 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Convert_packU8__P46170_mk(s); + s.tmp_0 = Convert_packU8__P276194_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 125; s.pc = 1; return s.tmp_0; + s.callLocIdx = 100; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -Uint8Array_inline__P49539.info = {"start":1789,"length":40,"line":41,"column":21,"endLine":41,"endColumn":61,"fileName":"unit8array.ts","functionName":"inline","argumentNames":["value"]} +Uint8Array_inline__P279793.info = {"start":1789,"length":40,"line":41,"column":21,"endLine":41,"endColumn":61,"fileName":"unit8array.ts","functionName":"inline","argumentNames":["value"]} -function Uint8Array_inline__P49539_mk(s) { +function Uint8Array_inline__P279793_mk(s) { checkStack(s.depth); return { - parent: s, fn: Uint8Array_inline__P49539, depth: s.depth + 1, + parent: s, fn: Uint8Array_inline__P279793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2664,7 +2513,7 @@ function Uint8Array_inline__P49539_mk(s) { -function Uint8Array_inline__P49545(s) { +function Uint8Array_inline__P279799(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2678,20 +2527,20 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Convert_unpackU8__P46171_mk(s); + s.tmp_0 = Convert_unpackU8__P276195_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 126; s.pc = 1; return s.tmp_0; + s.callLocIdx = 101; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -Uint8Array_inline__P49545.info = {"start":1853,"length":44,"line":42,"column":23,"endLine":42,"endColumn":67,"fileName":"unit8array.ts","functionName":"inline","argumentNames":["bytes"]} +Uint8Array_inline__P279799.info = {"start":1853,"length":44,"line":42,"column":23,"endLine":42,"endColumn":67,"fileName":"unit8array.ts","functionName":"inline","argumentNames":["bytes"]} -function Uint8Array_inline__P49545_mk(s) { +function Uint8Array_inline__P279799_mk(s) { checkStack(s.depth); return { - parent: s, fn: Uint8Array_inline__P49545, depth: s.depth + 1, + parent: s, fn: Uint8Array_inline__P279799, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2701,7 +2550,7 @@ function Uint8Array_inline__P49545_mk(s) { -function TypedArray_init__P48959(s) { +function TypedArray_init__P278939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2716,7 +2565,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); + if (!checkSubtype(r0, TypedArray__C276175_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["_length"]; s.tmp_2 = r0; @@ -2725,13 +2574,13 @@ switch (step) { r0 = (s.tmp_2 * s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_byteLength"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(ArrayBuffer__C46125_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArrayBuffer__C300769_VT); s.tmp_0 = r0; - s.tmp_1 = ArrayBuffer_constructor__P46126_mk(s); + s.tmp_1 = ArrayBuffer_constructor__P300774_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["_byteLength"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 120; s.pc = 1; return s.tmp_1; + s.callLocIdx = 97; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["_buffer"] = (s.tmp_0); @@ -2739,12 +2588,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -TypedArray_init__P48959.info = {"start":7430,"length":151,"line":242,"column":4,"endLine":245,"endColumn":4,"fileName":"typedArray.ts","functionName":"init","argumentNames":["this"]} +TypedArray_init__P278939.info = {"start":7430,"length":151,"line":242,"column":4,"endLine":245,"endColumn":4,"fileName":"typedArray.ts","functionName":"init","argumentNames":["this"]} -function TypedArray_init__P48959_mk(s) { +function TypedArray_init__P278939_mk(s) { checkStack(s.depth); return { - parent: s, fn: TypedArray_init__P48959, depth: s.depth + 1, + parent: s, fn: TypedArray_init__P278939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2757,7 +2606,7 @@ function TypedArray_init__P48959_mk(s) { -function Convert_unpackU8__P46171(s) { +function Convert_unpackU8__P276195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2771,1142 +2620,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Convert_as_unsigned__P49399_mk(s); + s.tmp_0 = Convert_as_unsigned__P279654_mk(s); r0 = pxsim_Array__getAt(s.arg0, 0); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 8; - s.callLocIdx = 121; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - return leave(s, r0) - default: oops() -} } } -Convert_unpackU8__P46171.info = {"start":2304,"length":86,"line":49,"column":4,"endLine":49,"endColumn":90,"fileName":"convert.ts","functionName":"unpackU8","argumentNames":["bytes"]} - -function Convert_unpackU8__P46171_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Convert_unpackU8__P46171, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function Convert_as_unsigned__P49399(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.s___49402 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = (32 - s.arg1); - s.s___49402 = (r0); - r0 = (s.arg0 << s.s___49402); - s.tmp_0 = r0; - r0 = (s.tmp_0 >>> s.s___49402); - return leave(s, r0) - default: oops() -} } } -Convert_as_unsigned__P49399.info = {"start":1959,"length":107,"line":43,"column":4,"endLine":43,"endColumn":111,"fileName":"convert.ts","functionName":"as_unsigned","argumentNames":["value","bits"]} - -function Convert_as_unsigned__P49399_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Convert_as_unsigned__P49399, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - s___49402: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function Convert_packU8__P46170(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = pxsim_Array__mk(); - s.tmp_0 = r0; - r0 = (s.arg0 & 255); - s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = s.tmp_0; - return leave(s, r0) - default: oops() -} } } -Convert_packU8__P46170.info = {"start":2233,"length":66,"line":48,"column":4,"endLine":48,"endColumn":70,"fileName":"convert.ts","functionName":"packU8","argumentNames":["n"]} - -function Convert_packU8__P46170_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Convert_packU8__P46170, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function TypedArray_constructor__P46152(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); - r0 = (s.arg1 >> 0); - s.arg1 = (r0); - r0 = (s.arg1 < 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore.throwValue("length is not a small enough non-negative integer."); - case 1: - case 2: - r0 = (s.arg0).fields["_length"] = (s.arg1); - r0 = (s.arg0).fields["_byteOffset"] = (0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -TypedArray_constructor__P46152.info = {"start":1932,"length":238,"line":46,"column":4,"endLine":54,"endColumn":5,"fileName":"typedArray.ts","functionName":"inline","argumentNames":["this","length"]} - -function TypedArray_constructor__P46152_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: TypedArray_constructor__P46152, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function DataView_byteOffset__P107451(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, DataView__C107448_VT)) failedCast(r0); - r0 = s.arg0.fields["_byteOffset"]; - return leaveAccessor(s, r0) - default: oops() -} } } -DataView_byteOffset__P107451.info = {"start":2635,"length":71,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"dataView.ts","functionName":"byteOffset","argumentNames":["this"]} -DataView_byteOffset__P107451.isGetter = true; - -function DataView_byteOffset__P107451_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: DataView_byteOffset__P107451, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function DataView_byteLength__P107450(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, DataView__C107448_VT)) failedCast(r0); - r0 = s.arg0.fields["_byteLength"]; - return leaveAccessor(s, r0) - default: oops() -} } } -DataView_byteLength__P107450.info = {"start":2558,"length":71,"line":70,"column":4,"endLine":72,"endColumn":5,"fileName":"dataView.ts","functionName":"byteLength","argumentNames":["this"]} -DataView_byteLength__P107450.isGetter = true; - -function DataView_byteLength__P107450_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: DataView_byteLength__P107450, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function TypedArray_bytesPerElement__P46159(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); - r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; - return leaveAccessor(s, r0) - default: oops() -} } } -TypedArray_bytesPerElement__P46159.info = {"start":4620,"length":82,"line":138,"column":4,"endLine":140,"endColumn":5,"fileName":"typedArray.ts","functionName":"bytesPerElement","argumentNames":["this"]} -TypedArray_bytesPerElement__P46159.isGetter = true; - -function TypedArray_bytesPerElement__P46159_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: TypedArray_bytesPerElement__P46159, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function Uint32Array_constructor__P46190(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, Uint32Array__C46189_VT)) failedCast(r0); - s.tmp_0 = TypedArray_constructor__P46152_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 132; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = (s.arg0).fields["BYTES_PER_ELEMENT"] = (4); - r0 = (s.arg0).fields["_pack"] = (Uint32Array_inline__P49619); - r0 = (s.arg0).fields["_unpack"] = (Uint32Array_inline__P49625); - s.tmp_0 = TypedArray_init__P48959_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 135; s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -Uint32Array_constructor__P46190.info = {"start":1678,"length":248,"line":38,"column":4,"endLine":44,"endColumn":5,"fileName":"unit32array.ts","functionName":"inline","argumentNames":["this","length"]} - -function Uint32Array_constructor__P46190_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Uint32Array_constructor__P46190, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function Uint32Array_inline__P49619(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - s.tmp_0 = Convert_packU32__P46179_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 133; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - return leave(s, r0) - default: oops() -} } } -Uint32Array_inline__P49619.info = {"start":1790,"length":41,"line":41,"column":21,"endLine":41,"endColumn":62,"fileName":"unit32array.ts","functionName":"inline","argumentNames":["value"]} - -function Uint32Array_inline__P49619_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Uint32Array_inline__P49619, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function Uint32Array_inline__P49625(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - s.tmp_0 = Convert_unpackU32__P46180_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 134; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - return leave(s, r0) - default: oops() -} } } -Uint32Array_inline__P49625.info = {"start":1855,"length":45,"line":42,"column":23,"endLine":42,"endColumn":68,"fileName":"unit32array.ts","functionName":"inline","argumentNames":["bytes"]} - -function Uint32Array_inline__P49625_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Uint32Array_inline__P49625, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function Convert_unpackU32__P46180(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - s.tmp_0 = Convert_as_unsigned__P49399_mk(s); - r0 = pxsim_Array__getAt(s.arg0, 3); - s.tmp_4 = r0; - r0 = (s.tmp_4 << 24); - s.tmp_3 = r0; - r0 = pxsim_Array__getAt(s.arg0, 2); - s.tmp_6 = r0; - r0 = (s.tmp_6 << 16); - s.tmp_5 = r0; - r0 = (s.tmp_3 | s.tmp_5); - s.tmp_2 = r0; - r0 = pxsim_Array__getAt(s.arg0, 1); - s.tmp_8 = r0; - r0 = (s.tmp_8 << 8); - s.tmp_7 = r0; - r0 = (s.tmp_2 | s.tmp_7); - s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.arg0, 0); - s.tmp_9 = r0; - r0 = (s.tmp_1 | s.tmp_9); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 32; - s.callLocIdx = 123; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - return leave(s, r0) - default: oops() -} } } -Convert_unpackU32__P46180.info = {"start":3312,"length":138,"line":63,"column":4,"endLine":63,"endColumn":142,"fileName":"convert.ts","functionName":"unpackU32","argumentNames":["bytes"]} - -function Convert_unpackU32__P46180_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Convert_unpackU32__P46180, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - tmp_8: undefined, - tmp_9: undefined, - arg0: undefined, -} } - - - - - -function Convert_packU32__P46179(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = pxsim_Array__mk(); - s.tmp_0 = r0; - r0 = (s.arg0 & 255); - s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = (s.arg0 >> 8); - s.tmp_3 = r0; - r0 = (s.tmp_3 & 255); - s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = (s.arg0 >> 16); - s.tmp_5 = r0; - r0 = (s.tmp_5 & 255); - s.tmp_4 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = (s.arg0 >> 24); - s.tmp_7 = r0; - r0 = (s.tmp_7 & 255); - s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.tmp_6); - r0 = s.tmp_0; - return leave(s, r0) - default: oops() -} } } -Convert_packU32__P46179.info = {"start":3187,"length":120,"line":62,"column":4,"endLine":62,"endColumn":124,"fileName":"convert.ts","functionName":"packU32","argumentNames":["n"]} - -function Convert_packU32__P46179_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Convert_packU32__P46179, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - arg0: undefined, -} } - - - - - -function DataView_setUint32__P107468(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.r___107674 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, DataView__C107448_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(Uint32Array__C46189_VT); - s.tmp_0 = r0; - s.tmp_1 = Uint32Array_constructor__P46190_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 0; - s.callLocIdx = 74; s.pc = 1; return s.tmp_1; - case 1: - r0 = s.retval; - s.r___107674 = (s.tmp_0); - s.tmp_0 = DataView_setter__P107470_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.r___107674; - s.tmp_0.arg2 = s.arg1; - s.tmp_0.arg3 = s.arg2; - s.tmp_0.arg4 = s.arg3; - s.callLocIdx = 75; s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -DataView_setUint32__P107468.info = {"start":10552,"length":199,"line":249,"column":4,"endLine":252,"endColumn":5,"fileName":"dataView.ts","functionName":"setUint32","argumentNames":["this","byteOffset","value","littleEndian"]} - -function DataView_setUint32__P107468_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: DataView_setUint32__P107468, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - r___107674: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, -} } - - - - - -function DataView_setter__P107470(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.byteArray___107759 = undefined; - s.bytes___107766 = undefined; - s.i___107768 = undefined; - s.byteView___107787 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.arg4 = (s.lambdaArgs[4]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, DataView__C107448_VT)) failedCast(r0); - r0 = (s.arg2 >>> 0); - s.arg2 = (r0); - s.tmp_2 = r0 = s.arg2; - r0 = s.arg1.fields["BYTES_PER_ELEMENT"]; - s.tmp_3 = r0; - r0 = (s.tmp_2 + s.tmp_3); - s.tmp_1 = r0; - r0 = s.arg0.fields["_byteLength"]; - s.tmp_4 = r0; - r0 = (s.tmp_1 > s.tmp_4); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore.throwValue("Array index out of range."); - case 1: - case 2: - r0 = pxsim_Array__mk(); - s.tmp_5 = r0; - r0 = pxsim_Array__push(s.tmp_5, s.arg3); - s.tmp_6 = TypedArray_fromArray__P46153_mk(s); - s.tmp_6.arg0 = s.arg1; - s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 94; s.pc = 7; return s.tmp_6; - case 7: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(Uint8Array__C46181_VT); - s.tmp_0 = r0; - s.tmp_1 = Uint8Array_constructor__P46182_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 0; - s.callLocIdx = 95; s.pc = 8; return s.tmp_1; - case 8: - r0 = s.retval; - s.byteArray___107759 = (s.tmp_0); - s.tmp_0 = TypedArray_fromArrayBuffer__P46154_mk(s); - s.tmp_0.arg0 = s.byteArray___107759; - r0 = s.arg1.fields["_buffer"]; - s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = null; - s.callLocIdx = 97; s.pc = 9; return s.tmp_0; - case 9: - r0 = s.retval; - r0 = pxsim_Array__mk(); - s.bytes___107766 = (r0); - s.i___107768 = (0); - case 3: - s.tmp_1 = r0 = s.i___107768; - r0 = s.arg1.fields["BYTES_PER_ELEMENT"]; - 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 = r0 = s.bytes___107766; - s.tmp_5 = TypedArray_get__P46161_mk(s); - s.tmp_5.arg0 = s.byteArray___107759; - s.tmp_5.arg1 = s.i___107768; - s.callLocIdx = 99; s.pc = 10; return s.tmp_5; - case 10: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_Array__push(s.tmp_3, s.tmp_4); - r0 = (s.i___107768 + 1); - s.i___107768 = (r0); - { step = 3; continue; } - case 4: - s.tmp_1 = r0 = s.arg4; - s.tmp_3 = DataView_IS_BIG_ENDIAN__P107452_mk(s); - s.callLocIdx = 100; s.pc = 11; return s.tmp_3; - case 11: - r0 = s.retval; - 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; } - s.tmp_4 = helpers_arrayReverse__P41894_mk(s); - s.tmp_4.arg0 = s.bytes___107766; - s.callLocIdx = 101; s.pc = 12; return s.tmp_4; - case 12: - r0 = s.retval; - case 5: - case 6: - r0 = pxsim_pxtcore_mkClassInstance(Uint8Array__C46181_VT); - s.tmp_0 = r0; - s.tmp_1 = Uint8Array_constructor__P46182_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 0; - s.callLocIdx = 102; s.pc = 13; return s.tmp_1; - case 13: - r0 = s.retval; - s.byteView___107787 = (s.tmp_0); - s.tmp_0 = TypedArray_fromArrayBuffer__P46154_mk(s); - s.tmp_0.arg0 = s.byteView___107787; - r0 = s.arg0.fields["_buffer"]; - s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.arg2; - r0 = s.arg1.fields["BYTES_PER_ELEMENT"]; - s.tmp_0.arg3 = r0; - s.callLocIdx = 105; s.pc = 14; return s.tmp_0; - case 14: - r0 = s.retval; - s.tmp_0 = TypedArray_setFromArray__P46163_mk(s); - s.tmp_0.arg0 = s.byteView___107787; - s.tmp_0.arg1 = s.bytes___107766; - s.tmp_0.arg2 = 0; - s.callLocIdx = 106; s.pc = 15; return s.tmp_0; - case 15: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -DataView_setter__P107470.info = {"start":11560,"length":925,"line":281,"column":4,"endLine":311,"endColumn":5,"fileName":"dataView.ts","functionName":"setter","argumentNames":["this","r","byteOffset","value","littleEndian"]} - -function DataView_setter__P107470_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: DataView_setter__P107470, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, - tmp_6: undefined, - byteArray___107759: undefined, - bytes___107766: undefined, - i___107768: undefined, - byteView___107787: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, -} } - - - - - -function TypedArray_setFromArray__P46163(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.len___49214 = undefined; - s.i___49227 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, TypedArray__C46151_VT)) failedCast(r0); - r0 = pxsim_Array__length(s.arg1); - s.tmp_0 = r0; - r0 = (s.tmp_0 >>> 0); - s.len___49214 = (r0); - r0 = (s.arg2 >>> 0); - s.arg2 = (r0); - r0 = (s.arg2 + s.len___49214); - s.tmp_1 = r0; - r0 = s.arg0.fields["_length"]; - s.tmp_2 = r0; - r0 = (s.tmp_1 > s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore.throwValue("Offset plus length of array is out of range."); - case 1: - case 2: - s.i___49227 = (0); - case 3: - r0 = (s.i___49227 < s.len___49214); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - s.tmp_1 = TypedArray_set__P46162_mk(s); - s.tmp_1.arg0 = s.arg0; - r0 = (s.arg2 + s.i___49227); - s.tmp_1.arg1 = r0; - r0 = pxsim_Array__getAt(s.arg1, s.i___49227); - s.tmp_1.arg2 = r0; - s.callLocIdx = 119; s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - r0 = (s.i___49227 + 1); - s.i___49227 = (r0); - { step = 3; continue; } - case 4: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -TypedArray_setFromArray__P46163.info = {"start":5734,"length":362,"line":185,"column":4,"endLine":195,"endColumn":5,"fileName":"typedArray.ts","functionName":"setFromArray","argumentNames":["this","source","offset"]} - -function TypedArray_setFromArray__P46163_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: TypedArray_setFromArray__P46163, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - len___49214: undefined, - i___49227: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function ArrayBuffer_constructor__P46126(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.i___48837 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, ArrayBuffer__C46125_VT)) failedCast(r0); - r0 = (s.arg1 >> 0); - s.arg1 = (r0); - r0 = (s.arg1 < 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore.throwValue("ArrayBuffer size cannot be negative."); - case 1: - case 2: - r0 = (s.arg0).fields["_byteLength"] = (s.arg1); - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_Array__mk(); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_bytes"] = (s.tmp_1); - s.i___48837 = (0); - case 3: - r0 = (s.i___48837 < s.arg1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - r0 = s.arg0.fields["_bytes"]; - s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_1, 0); - r0 = (s.i___48837 + 1); - s.i___48837 = (r0); - { step = 3; continue; } - case 4: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -ArrayBuffer_constructor__P46126.info = {"start":1725,"length":321,"line":41,"column":4,"endLine":52,"endColumn":5,"fileName":"arrayBuffer.ts","functionName":"inline","argumentNames":["this","length"]} - -function ArrayBuffer_constructor__P46126_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: ArrayBuffer_constructor__P46126, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - i___48837: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function DataView_constructor__P107471(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, DataView__C107448_VT)) failedCast(r0); - r0 = (s.arg2 >>> 0); - s.arg2 = (r0); - s.tmp_1 = r0 = s.arg2; - r0 = s.arg1.fields["_byteLength"]; - s.tmp_2 = r0; - r0 = (s.tmp_1 > s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore.throwValue("byteOffset is out of range."); - case 1: - case 2: - r0 = (s.arg3 === undefined); - s.tmp_3 = r0; - r0 = pxsim_numops_toBool(s.tmp_3); - if (!r0) { step = 3; continue; } - r0 = s.tmp_3; - { step = 4; continue; } - case 3: - r0 = (s.arg3 == null); - case 4: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 5; continue; } - r0 = s.arg1.fields["_byteLength"]; - s.tmp_5 = r0; - r0 = (s.tmp_5 - s.arg2); - s.arg3 = (r0); - { step = 6; continue; } - case 5: - r0 = (s.arg3 >>> 0); - s.arg3 = (r0); - case 6: - r0 = (s.arg2 + s.arg3); - s.tmp_1 = r0; - r0 = s.arg1.fields["_byteLength"]; - 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 = 7; continue; } - r0 = pxsim_pxtcore.throwValue("byteOffset and length reference an area beyond the end of the buffer."); - case 7: - case 8: - r0 = (s.arg0).fields["_buffer"] = (s.arg1); - r0 = (s.arg0).fields["_byteLength"] = (s.arg3); - r0 = (s.arg0).fields["_byteOffset"] = (s.arg2); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -DataView_constructor__P107471.info = {"start":1760,"length":718,"line":42,"column":4,"endLine":64,"endColumn":5,"fileName":"dataView.ts","functionName":"inline","argumentNames":["this","buffer","byteOffset","byteLength"]} - -function DataView_constructor__P107471_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: DataView_constructor__P107471, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, -} } - - - - - -function DataView_IS_BIG_ENDIAN__P107452(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.u16___107526 = undefined; - s.u8___107529 = undefined; - r0 = pxsim_pxtcore_mkClassInstance(Uint16Array__C46185_VT); - s.tmp_0 = r0; - s.tmp_1 = Uint16Array_constructor__P46186_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 0; - s.callLocIdx = 66; s.pc = 1; return s.tmp_1; - case 1: - r0 = s.retval; - s.u16___107526 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Uint8Array__C46181_VT); - s.tmp_0 = r0; - s.tmp_1 = Uint8Array_constructor__P46182_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = 0; - s.callLocIdx = 67; s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - s.u8___107529 = (s.tmp_0); - r0 = pxsim_Array__mk(); - s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, 4660); - s.tmp_1 = TypedArray_fromArray__P46153_mk(s); - s.tmp_1.arg0 = s.u16___107526; - s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 68; s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.tmp_0 = TypedArray_fromArrayBuffer__P46154_mk(s); - s.tmp_0.arg0 = s.u8___107529; - r0 = s.u16___107526.fields["_buffer"]; - s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = null; - s.callLocIdx = 70; s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.tmp_1 = TypedArray_get__P46161_mk(s); - s.tmp_1.arg0 = s.u8___107529; - s.tmp_1.arg1 = 0; - s.callLocIdx = 71; s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - s.tmp_0 = r0; - r0 = (s.tmp_0 === 18); - return leaveAccessor(s, r0) - default: oops() -} } } -DataView_IS_BIG_ENDIAN__P107452.info = {"start":2712,"length":253,"line":78,"column":4,"endLine":84,"endColumn":5,"fileName":"dataView.ts","functionName":"IS_BIG_ENDIAN","argumentNames":[]} -DataView_IS_BIG_ENDIAN__P107452.isGetter = true; - -function DataView_IS_BIG_ENDIAN__P107452_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: DataView_IS_BIG_ENDIAN__P107452, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - u16___107526: undefined, - u8___107529: undefined, -} } - - - - - -function Uint16Array_constructor__P46186(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, Uint16Array__C46185_VT)) failedCast(r0); - s.tmp_0 = TypedArray_constructor__P46152_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 128; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = (s.arg0).fields["BYTES_PER_ELEMENT"] = (2); - r0 = (s.arg0).fields["_pack"] = (Uint16Array_inline__P49579); - r0 = (s.arg0).fields["_unpack"] = (Uint16Array_inline__P49585); - s.tmp_0 = TypedArray_init__P48959_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 131; s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -Uint16Array_constructor__P46186.info = {"start":1678,"length":248,"line":38,"column":4,"endLine":44,"endColumn":5,"fileName":"unit16array.ts","functionName":"inline","argumentNames":["this","length"]} - -function Uint16Array_constructor__P46186_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Uint16Array_constructor__P46186, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function Uint16Array_inline__P49579(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - s.tmp_0 = Convert_packU16__P46175_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 129; s.pc = 1; return s.tmp_0; + s.callLocIdx = 98; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -Uint16Array_inline__P49579.info = {"start":1790,"length":41,"line":41,"column":21,"endLine":41,"endColumn":62,"fileName":"unit16array.ts","functionName":"inline","argumentNames":["value"]} +Convert_unpackU8__P276195.info = {"start":2304,"length":86,"line":49,"column":4,"endLine":49,"endColumn":90,"fileName":"convert.ts","functionName":"unpackU8","argumentNames":["bytes"]} -function Uint16Array_inline__P49579_mk(s) { +function Convert_unpackU8__P276195_mk(s) { checkStack(s.depth); return { - parent: s, fn: Uint16Array_inline__P49579, depth: s.depth + 1, + parent: s, fn: Convert_unpackU8__P276195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3916,7 +2645,7 @@ function Uint16Array_inline__P49579_mk(s) { -function Uint16Array_inline__P49585(s) { +function Convert_as_unsigned__P279654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3926,34 +2655,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: + s.s___279657 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Convert_unpackU16__P46176_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 130; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; + r0 = (32 - s.arg1); + s.s___279657 = (r0); + r0 = (s.arg0 << s.s___279657); + s.tmp_0 = r0; + r0 = (s.tmp_0 >>> s.s___279657); return leave(s, r0) default: oops() } } } -Uint16Array_inline__P49585.info = {"start":1855,"length":45,"line":42,"column":23,"endLine":42,"endColumn":68,"fileName":"unit16array.ts","functionName":"inline","argumentNames":["bytes"]} +Convert_as_unsigned__P279654.info = {"start":1959,"length":107,"line":43,"column":4,"endLine":43,"endColumn":111,"fileName":"convert.ts","functionName":"as_unsigned","argumentNames":["value","bits"]} -function Uint16Array_inline__P49585_mk(s) { +function Convert_as_unsigned__P279654_mk(s) { checkStack(s.depth); return { - parent: s, fn: Uint16Array_inline__P49585, depth: s.depth + 1, + parent: s, fn: Convert_as_unsigned__P279654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, + s___279657: undefined, arg0: undefined, + arg1: undefined, } } -function Convert_unpackU16__P46176(s) { +function Convert_packU8__P276194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3967,33 +2700,24 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Convert_as_unsigned__P49399_mk(s); - r0 = pxsim_Array__getAt(s.arg0, 1); - s.tmp_2 = r0; - r0 = (s.tmp_2 << 8); + r0 = pxsim_Array__mk(); + s.tmp_0 = r0; + r0 = (s.arg0 & 255); s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.arg0, 0); - s.tmp_3 = r0; - r0 = (s.tmp_1 | s.tmp_3); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 16; - s.callLocIdx = 122; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; + r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); + r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -Convert_unpackU16__P46176.info = {"start":2810,"length":104,"line":57,"column":4,"endLine":57,"endColumn":108,"fileName":"convert.ts","functionName":"unpackU16","argumentNames":["bytes"]} +Convert_packU8__P276194.info = {"start":2233,"length":66,"line":48,"column":4,"endLine":48,"endColumn":70,"fileName":"convert.ts","functionName":"packU8","argumentNames":["n"]} -function Convert_unpackU16__P46176_mk(s) { +function Convert_packU8__P276194_mk(s) { checkStack(s.depth); return { - parent: s, fn: Convert_unpackU16__P46176, depth: s.depth + 1, + parent: s, fn: Convert_packU8__P276194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, arg0: undefined, } } @@ -4001,7 +2725,7 @@ function Convert_unpackU16__P46176_mk(s) { -function Convert_packU16__P46175(s) { +function TypedArray_constructor__P276176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4013,41 +2737,179 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } + r0 = s.arg0; + if (!checkSubtype(r0, TypedArray__C276175_VT)) failedCast(r0); + r0 = (s.arg1 >> 0); + s.arg1 = (r0); + r0 = (s.arg1 < 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = pxsim_pxtcore.throwValue("length is not a small enough non-negative integer."); + case 1: + case 2: + r0 = (s.arg0).fields["_length"] = (s.arg1); + r0 = (s.arg0).fields["_byteOffset"] = (0); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +TypedArray_constructor__P276176.info = {"start":1932,"length":238,"line":46,"column":4,"endLine":54,"endColumn":5,"fileName":"typedArray.ts","functionName":"inline","argumentNames":["this","length"]} + +function TypedArray_constructor__P276176_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: TypedArray_constructor__P276176, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function ArrayBuffer_constructor__P300774(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.i___300790 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, ArrayBuffer__C300769_VT)) failedCast(r0); + r0 = (s.arg1 >> 0); + s.arg1 = (r0); + r0 = (s.arg1 < 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = pxsim_pxtcore.throwValue("ArrayBuffer size cannot be negative."); + case 1: + case 2: + r0 = (s.arg0).fields["_byteLength"] = (s.arg1); + s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_bytes"] = (s.tmp_1); + s.i___300790 = (0); + case 3: + r0 = (s.i___300790 < s.arg1); s.tmp_0 = r0; - r0 = (s.arg0 & 255); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 4; continue; } + r0 = s.arg0.fields["_bytes"]; s.tmp_1 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = (s.arg0 >> 8); - s.tmp_3 = r0; - r0 = (s.tmp_3 & 255); - s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); + r0 = pxsim_Array__push(s.tmp_1, 0); + r0 = (s.i___300790 + 1); + s.i___300790 = (r0); + { step = 3; continue; } + case 4: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +ArrayBuffer_constructor__P300774.info = {"start":1809,"length":321,"line":42,"column":4,"endLine":53,"endColumn":5,"fileName":"arrayBuffer.ts","functionName":"inline","argumentNames":["this","length"]} + +function ArrayBuffer_constructor__P300774_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: ArrayBuffer_constructor__P300774, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + i___300790: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function ArrayBuffer_clamp__P300773(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = (s.arg0 | 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 1; continue; } r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = 0; + case 2: + // jmp value (already in r0) + s.tmp_1 = r0; + s.arg0 = (s.tmp_1); + r0 = (s.arg0 < 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 3; continue; } + s.tmp_1 = Math_max__P271946_mk(s); + r0 = (s.arg0 + s.arg1); + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = 0; + s.callLocIdx = 73; s.pc = 6; return s.tmp_1; + case 6: + r0 = s.retval; + { step = 5; continue; } + case 3: + case 4: + s.tmp_2 = Math_min__P271947_mk(s); + s.tmp_2.arg0 = s.arg0; + s.tmp_2.arg1 = s.arg1; + s.callLocIdx = 74; s.pc = 7; return s.tmp_2; + case 7: + r0 = s.retval; + case 5: return leave(s, r0) default: oops() } } } -Convert_packU16__P46175.info = {"start":2721,"length":84,"line":56,"column":4,"endLine":56,"endColumn":88,"fileName":"convert.ts","functionName":"packU16","argumentNames":["n"]} +ArrayBuffer_clamp__P300773.info = {"start":3260,"length":211,"line":97,"column":4,"endLine":103,"endColumn":5,"fileName":"arrayBuffer.ts","functionName":"clamp","argumentNames":["val","length"]} -function Convert_packU16__P46175_mk(s) { +function ArrayBuffer_clamp__P300773_mk(s) { checkStack(s.depth); return { - parent: s, fn: Convert_packU16__P46175, depth: s.depth + 1, + parent: s, fn: ArrayBuffer_clamp__P300773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - tmp_3: undefined, arg0: undefined, + arg1: undefined, } } -function game_splash__P44759(s) { +function Math_min__P271947(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4057,28 +2919,116 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dialog___49710 = undefined; - s.s___49723 = undefined; - s.pressed___49730 = undefined; - s.done___49731 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = console_inspect__P42175_mk(s); + r0 = (s.arg0 <= s.arg1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.arg0; + { step = 3; continue; } + case 1: + case 2: + r0 = s.arg1; + case 3: + return leave(s, r0) + default: oops() +} } } +Math_min__P271947.info = {"start":16854,"length":105,"line":568,"column":4,"endLine":571,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} + +function Math_min__P271947_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Math_min__P271947, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function Math_max__P271946(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = (s.arg0 >= s.arg1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.arg0; + { step = 3; continue; } + case 1: + case 2: + r0 = s.arg1; + case 3: + return leave(s, r0) + default: oops() +} } } +Math_max__P271946.info = {"start":16614,"length":105,"line":558,"column":4,"endLine":561,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} + +function Math_max__P271946_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Math_max__P271946, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function game_splash__P274782(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.dialog___279996 = undefined; + s.s___280009 = undefined; + s.pressed___280016 = undefined; + s.done___280017 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + s.tmp_0 = console_inspect__P272198_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 20; - s.callLocIdx = 991; s.pc = 7; return s.tmp_0; + s.callLocIdx = 992; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.arg0 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_0 = console_inspect__P42175_mk(s); + s.tmp_0 = console_inspect__P272198_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 20; - s.callLocIdx = 992; s.pc = 8; return s.tmp_0; + s.callLocIdx = 993; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; { step = 2; continue; } @@ -4088,17 +3038,17 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; s.arg1 = (s.tmp_1); - s.tmp_0 = controller__setUserEventsEnabled__P44000_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P274023_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 993; s.pc = 9; return s.tmp_0; + s.callLocIdx = 994; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = game_pushScene__P44797_mk(s); - s.callLocIdx = 994; s.pc = 10; return s.tmp_0; + s.tmp_0 = game_pushScene__P274820_mk(s); + s.callLocIdx = 995; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_1 = game_currentScene__P44793_mk(s); - s.callLocIdx = 995; s.pc = 11; return s.tmp_1; + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 996; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -4107,7 +3057,7 @@ switch (step) { r0 = (s.tmp_3 | 2); s.tmp_2 = r0; r0 = (s.tmp_0).fields["flags"] = (s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(game_SplashDialog__C44726_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_SplashDialog__C274749_VT); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } @@ -4118,90 +3068,90 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = game_SplashDialog_constructor__P44733_mk(s); + s.tmp_2 = game_SplashDialog_constructor__P274756_mk(s); s.tmp_2.arg0 = s.tmp_0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = s.tmp_1; - s.callLocIdx = 996; s.pc = 12; return s.tmp_2; + s.callLocIdx = 997; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.dialog___49710 = (s.tmp_0); - s.tmp_0 = game_SplashDialog__C44726_v1_2_mk(s); - s.tmp_0.arg0 = s.dialog___49710; + s.dialog___279996 = (s.tmp_0); + s.tmp_0 = game_SplashDialog__C274749_v1_2_mk(s); + s.tmp_0.arg0 = s.dialog___279996; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C44726_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C274749_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setText; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 5; continue; } - s.tmp_0 = game_SplashDialog_setSubtext__P44735_mk(s); - s.tmp_0.arg0 = s.dialog___49710; + s.tmp_0 = game_SplashDialog_setSubtext__P274758_mk(s); + s.tmp_0.arg0 = s.dialog___279996; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 997; s.pc = 14; return s.tmp_0; + s.callLocIdx = 998; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 5: case 6: - s.tmp_0 = sprites_create__P44069_mk(s); - r0 = s.dialog___49710.fields["image"]; + s.tmp_0 = sprites_create__P274092_mk(s); + r0 = s.dialog___279996.fields["image"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = -1; - s.callLocIdx = 998; s.pc = 15; return s.tmp_0; + s.callLocIdx = 999; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.s___49723 = (r0); + s.s___280009 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pressed___49730 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pressed___49730, true); + s.pressed___280016 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pressed___280016, true); r0 = pxsim_pxtrt.mklocRef(); - s.done___49731 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.done___49731, false); - r0 = pxsim_pxtcore_mkAction(3, game_splash_inline__P49733); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___49710); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___49730); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___49731); - s.tmp_1 = game_onUpdate__P44817_mk(s); + s.done___280017 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.done___280017, false); + r0 = pxsim_pxtcore_mkAction(3, game_splash_inline__P280019); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___279996); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___280016); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___280017); + s.tmp_1 = game_onUpdate__P274840_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1001; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1002; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, game_splash_inline__P49756); + r0 = pxsim_pxtcore_mkAction(1, game_splash_inline__P280042); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___49731); - s.tmp_1 = pauseUntil__P42160_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___280017); + s.tmp_1 = pauseUntil__P272183_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1002; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1003; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller__setUserEventsEnabled__P44000_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P274023_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1003; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1004; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_splash__P44759.info = {"start":30591,"length":1082,"line":865,"column":4,"endLine":896,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} +game_splash__P274782.info = {"start":30591,"length":1082,"line":865,"column":4,"endLine":896,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} -function game_splash__P44759_mk(s) { +function game_splash__P274782_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash__P44759, depth: s.depth + 1, + parent: s, fn: game_splash__P274782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - dialog___49710: undefined, - s___49723: undefined, - pressed___49730: undefined, - done___49731: undefined, + dialog___279996: undefined, + s___280009: undefined, + pressed___280016: undefined, + done___280017: undefined, arg0: undefined, arg1: undefined, } } @@ -4210,7 +3160,7 @@ function game_splash__P44759_mk(s) { -function game_splash_inline__P49733(s) { +function game_splash_inline__P280019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4220,23 +3170,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentState___49736 = undefined; - s.tmp_0 = game_BaseDialog__C44697_v0_1_mk(s); + s.currentState___280022 = undefined; + s.tmp_0 = game_BaseDialog__C274720_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C44697_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C274720_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = controller_Button__C43983_v0_1_mk(s); - s.tmp_0.arg0 = globals.A___43907; - if (!checkSubtype(s.tmp_0.arg0, controller_Button__C43983_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = controller_Button__C274006_v0_1_mk(s); + s.tmp_0.arg0 = globals.A___273930; + if (!checkSubtype(s.tmp_0.arg0, controller_Button__C274006_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.isPressed; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.currentState___49736 = (r0); - s.tmp_0 = r0 = s.currentState___49736; + s.currentState___280022 = (r0); + s.tmp_0 = r0 = s.currentState___280022; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; @@ -4253,13 +3203,13 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } r0 = pxsim_pxtrt_stlocRef(s.caps[1], true); - s.tmp_0 = scene_setBackgroundImage__P44679_mk(s); + s.tmp_0 = scene_setBackgroundImage__P274702_mk(s); s.tmp_0.arg0 = null; - s.callLocIdx = 999; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1000; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = game_popScene__P44798_mk(s); - s.callLocIdx = 1000; s.pc = 12; return s.tmp_0; + s.tmp_0 = game_popScene__P274821_mk(s); + s.callLocIdx = 1001; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = pxsim_pxtrt_stlocRef(s.caps[2], true); @@ -4272,7 +3222,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.currentState___49736); + r0 = pxsim_numops_toBoolDecr(s.currentState___280022); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 5: @@ -4288,25 +3238,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_splash_inline__P49733.info = {"start":31175,"length":410,"line":880,"column":22,"endLine":892,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_splash_inline__P280019.info = {"start":31175,"length":410,"line":880,"column":22,"endLine":892,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_splash_inline__P49733_mk(s) { +function game_splash_inline__P280019_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash_inline__P49733, depth: s.depth + 1, + parent: s, fn: game_splash_inline__P280019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - currentState___49736: undefined, + currentState___280022: undefined, } } -function game_splash_inline__P49756(s) { +function game_splash_inline__P280042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4320,12 +3270,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_splash_inline__P49756.info = {"start":31607,"length":10,"line":894,"column":19,"endLine":894,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_splash_inline__P280042.info = {"start":31607,"length":10,"line":894,"column":19,"endLine":894,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_splash_inline__P49756_mk(s) { +function game_splash_inline__P280042_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash_inline__P49756, depth: s.depth + 1, + parent: s, fn: game_splash_inline__P280042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -4333,7 +3283,7 @@ function game_splash_inline__P49756_mk(s) { -function game_onUpdate__P44817(s) { +function game_onUpdate__P274840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4356,15 +3306,15 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P42196_mk(s); - s.tmp_3 = game_eventContext__P44796_mk(s); - s.callLocIdx = 1027; s.pc = 5; return s.tmp_3; + s.tmp_2 = control_EventContext_registerFrameHandler__P272219_mk(s); + s.tmp_3 = game_eventContext__P274819_mk(s); + s.callLocIdx = 1028; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 20; s.tmp_2.arg2 = s.arg0; - s.callLocIdx = 1028; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1029; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 3: @@ -4372,12 +3322,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P44817.info = {"start":327,"length":153,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P274840.info = {"start":327,"length":153,"line":13,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdate","argumentNames":["a"]} -function game_onUpdate__P44817_mk(s) { +function game_onUpdate__P274840_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P44817, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P274840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4390,7 +3340,7 @@ function game_onUpdate__P44817_mk(s) { -function control_EventContext_registerFrameHandler__P42196(s) { +function control_EventContext_registerFrameHandler__P272219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4400,8 +3350,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___50768 = undefined; - s.i___50777 = undefined; + s.fn___281054 = undefined; + s.i___281063 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4409,7 +3359,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C42188_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C272211_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -4422,20 +3372,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__P46281_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P276303_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 50; s.pc = 8; return s.tmp_0; + 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__C42185_VT); - s.fn___50768 = (r0); - r0 = (s.fn___50768).fields["order"] = (s.arg1); - r0 = (s.fn___50768).fields["handler"] = (s.arg2); - s.i___50777 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C272208_VT); + s.fn___281054 = (r0); + r0 = (s.fn___281054).fields["order"] = (s.arg1); + r0 = (s.fn___281054).fields["handler"] = (s.arg2); + s.i___281063 = (0); case 3: - s.tmp_1 = r0 = s.i___50777; + s.tmp_1 = r0 = s.i___281063; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -4446,7 +3396,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___50777); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___281063); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -4455,29 +3405,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___50777, s.fn___50768); - r0 = s.fn___50768; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___281063, s.fn___281054); + r0 = s.fn___281054; { step = 7; continue; } case 4: case 5: - r0 = (s.i___50777 + 1); - s.i___50777 = (r0); + r0 = (s.i___281063 + 1); + s.i___281063 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___50768); - r0 = s.fn___50768; + r0 = pxsim_Array__push(s.tmp_0, s.fn___281054); + r0 = s.fn___281054; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P42196.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P272219.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -function control_EventContext_registerFrameHandler__P42196_mk(s) { +function control_EventContext_registerFrameHandler__P272219_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P42196, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P272219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4487,8 +3437,8 @@ function control_EventContext_registerFrameHandler__P42196_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___50768: undefined, - i___50777: undefined, + fn___281054: undefined, + i___281063: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4498,7 +3448,7 @@ function control_EventContext_registerFrameHandler__P42196_mk(s) { -function control_EventContext_registerFrameCallbacks__P46281(s) { +function control_EventContext_registerFrameCallbacks__P276303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4508,13 +3458,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___50258 = undefined; + s.worker___280544 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C42188_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C272211_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -4527,28 +3477,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___50258 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P50264); + s.worker___280544 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P280550); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___50258); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___280544); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P46281.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P276303.info = {"start":3668,"length":895,"line":109,"column":8,"endLine":133,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -function control_EventContext_registerFrameCallbacks__P46281_mk(s) { +function control_EventContext_registerFrameCallbacks__P276303_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P46281, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P276303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___50258: undefined, + worker___280544: undefined, arg0: undefined, } } @@ -4556,7 +3506,7 @@ function control_EventContext_registerFrameCallbacks__P46281_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P50264(s) { +function control_EventContext_registerFrameCallbacks_inline__P280550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4566,18 +3516,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___50294 = undefined; + s.delay___280580 = 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, control_EventContext_registerFrameCallbacks_inline__P50270); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P280556); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P42160_mk(s); + s.tmp_2 = pauseUntil__P272183_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; - s.callLocIdx = 44; s.pc = 5; return s.tmp_2; + s.callLocIdx = 45; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 1: @@ -4597,15 +3547,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P46280_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P276302_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 45; s.pc = 6; return s.tmp_2; + s.callLocIdx = 46; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___50294 = (r0); - s.tmp_0 = pause__P42206_mk(s); - s.tmp_0.arg0 = s.delay___50294; - s.callLocIdx = 46; s.pc = 7; return s.tmp_0; + s.delay___280580 = (r0); + s.tmp_0 = pause__P272229_mk(s); + s.tmp_0.arg0 = s.delay___280580; + s.callLocIdx = 47; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; { step = 3; continue; } @@ -4615,24 +3565,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P50264.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P280550.info = {"start":3829,"length":723,"line":113,"column":34,"endLine":132,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P50264_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P280550_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P50264, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P280550, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___50294: undefined, + delay___280580: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P50270(s) { +function control_EventContext_registerFrameCallbacks_inline__P280556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4650,12 +3600,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P50270.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventContext_registerFrameCallbacks_inline__P280556.info = {"start":4060,"length":28,"line":117,"column":31,"endLine":117,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventContext_registerFrameCallbacks_inline__P50270_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P280556_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P50270, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P280556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4665,7 +3615,7 @@ function control_EventContext_registerFrameCallbacks_inline__P50270_mk(s) { -function control_EventContext_runCallbacks__P46280(s) { +function control_EventContext_runCallbacks__P276302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4675,68 +3625,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___50303 = undefined; - s.f___50316 = undefined; - s.unnamed246___U2 = undefined; - s.unnamed247___U3 = undefined; - s.now___50321 = undefined; - s.runtime___50324 = undefined; - s.realTimeInSample___50343 = undefined; - s.fps___50352 = undefined; - s.delay___50421 = undefined; + s.loopStart___280589 = undefined; + s.f___280602 = undefined; + s.unnamed2114___U2 = undefined; + s.unnamed2115___U3 = undefined; + s.now___280607 = undefined; + s.runtime___280610 = undefined; + s.realTimeInSample___280629 = undefined; + s.fps___280638 = undefined; + s.delay___280707 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C42188_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C272211_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___50303 = (r0); + s.loopStart___280589 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___50303 - s.tmp_2); + r0 = (s.loopStart___280589 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___50303); - s.f___50316 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___280589); + s.f___280602 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed246___U2 = (r0); - s.unnamed247___U3 = (0); + s.unnamed2114___U2 = (r0); + s.unnamed2115___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed247___U3; - r0 = pxsim_Array__length(s.unnamed246___U2); + s.tmp_0 = r0 = s.unnamed2115___U3; + r0 = pxsim_Array__length(s.unnamed2114___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed246___U2, s.unnamed247___U3); - s.f___50316 = (r0); + r0 = pxsim_Array__getAt(s.unnamed2114___U2, s.unnamed2115___U3); + s.f___280602 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___50316; + s.tmp_2.arg0 = s.f___280602; 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 = 11; return s.tmp_2; + s.callLocIdx = 43; s.pc = 11; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["handler"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["handler"], 1); s.callLocIdx = 42; s.pc = 11; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 42; s.pc = 11; return s.tmp_2;; } - else { s.callLocIdx = 42; s.pc = 11; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["handler"], 1); s.callLocIdx = 43; s.pc = 11; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 43; s.pc = 11; return s.tmp_2;; } + else { s.callLocIdx = 43; s.pc = 11; return s.tmp_2; } } case 11: r0 = s.retval; - r0 = (s.unnamed247___U3 + 1); - s.unnamed247___U3 = (r0); + r0 = (s.unnamed2115___U3 + 1); + s.unnamed2115___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed246___U2 = (undefined); + s.unnamed2114___U2 = (undefined); r0 = pxsim.control.millis(); - s.now___50321 = (r0); - r0 = (s.now___50321 - s.loopStart___50303); - s.runtime___50324 = (r0); + s.now___280607 = (r0); + r0 = (s.now___280607 - s.loopStart___280589); + s.runtime___280610 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___50324); + r0 = (s.tmp_2 + s.runtime___280610); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -4764,9 +3714,9 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = s.arg0.fields["lastPerfDump"]; s.tmp_4 = r0; - r0 = (s.now___50321 - s.tmp_4); - s.realTimeInSample___50343 = (r0); - r0 = (s.arg0).fields["lastPerfDump"] = (s.now___50321); + r0 = (s.now___280607 - s.tmp_4); + s.realTimeInSample___280629 = (r0); + r0 = (s.arg0).fields["lastPerfDump"] = (s.now___280607); r0 = s.arg0.fields["framesInSample"]; s.tmp_0 = r0; r0 = s.arg0.fields["timeInSample"]; @@ -4774,8 +3724,8 @@ switch (step) { r0 = (s.tmp_2 / 1000); s.tmp_1 = r0; r0 = (s.tmp_0 / s.tmp_1); - s.fps___50352 = (r0); - r0 = pxsim.Math_.round(s.fps___50352); + s.fps___280638 = (r0); + r0 = pxsim.Math_.round(s.fps___280638); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 12); @@ -4787,21 +3737,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___42190 = (r0); - r0 = (s.fps___50352 < 99); + globals.control_EventContext_lastStats___272213 = (r0); + r0 = (s.fps___280638 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___42190) && (globals.control_EventContext_lastStats___42190).vtable) { + if ((globals.control_EventContext_lastStats___272213) && (globals.control_EventContext_lastStats___272213).vtable) { setupResume(s, 13); - pxsim_String__stringConv(globals.control_EventContext_lastStats___42190); + pxsim_String__stringConv(globals.control_EventContext_lastStats___272213); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___42190) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___272213) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___50352 * 10); + r0 = (s.fps___280638 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -4828,7 +3778,7 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___42190 = (r0); + globals.control_EventContext_lastStats___272213 = (r0); case 5: case 6: r0 = pxsim.control.profilingEnabled(); @@ -4837,7 +3787,7 @@ switch (step) { if (!r0) { step = 7; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; - r0 = (s.fps___50352 * 100); + r0 = (s.fps___280638 * 100); s.tmp_12 = r0; r0 = (s.tmp_12 | 0); s.tmp_11 = r0; @@ -4884,12 +3834,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, "ms/"); s.tmp_3 = r0; - if ((s.realTimeInSample___50343) && (s.realTimeInSample___50343).vtable) { + if ((s.realTimeInSample___280629) && (s.realTimeInSample___280629).vtable) { setupResume(s, 19); - pxsim_String__stringConv(s.realTimeInSample___50343); + pxsim_String__stringConv(s.realTimeInSample___280629); checkResumeConsumed(); return; - } else { s.retval = (s.realTimeInSample___50343) + ""; } + } else { s.retval = (s.realTimeInSample___280629) + ""; } case 19: r0 = s.retval; s.tmp_17 = r0; @@ -4906,24 +3856,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 9: case 10: - s.tmp_0 = Math_max__P41923_mk(s); + s.tmp_0 = Math_max__P271946_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___50324); + r0 = (20 - s.runtime___280610); s.tmp_0.arg1 = r0; - s.callLocIdx = 43; s.pc = 20; return s.tmp_0; + s.callLocIdx = 44; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.delay___50421 = (r0); - r0 = s.delay___50421; + s.delay___280707 = (r0); + r0 = s.delay___280707; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P46280.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P276302.info = {"start":2220,"length":1395,"line":75,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_EventContext_runCallbacks__P46280_mk(s) { +function control_EventContext_runCallbacks__P276302_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P46280, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P276302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4943,67 +3893,23 @@ function control_EventContext_runCallbacks__P46280_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - loopStart___50303: undefined, - f___50316: undefined, - unnamed246___U2: undefined, - unnamed247___U3: undefined, - now___50321: undefined, - runtime___50324: undefined, - realTimeInSample___50343: undefined, - fps___50352: undefined, - delay___50421: undefined, - arg0: undefined, -} } - - - - - -function Math_max__P41923(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = (s.arg0 >= s.arg1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.arg0; - { step = 3; continue; } - case 1: - case 2: - r0 = s.arg1; - case 3: - return leave(s, r0) - default: oops() -} } } -Math_max__P41923.info = {"start":16614,"length":105,"line":558,"column":4,"endLine":561,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} - -function Math_max__P41923_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Math_max__P41923, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, + loopStart___280589: undefined, + f___280602: undefined, + unnamed2114___U2: undefined, + unnamed2115___U3: undefined, + now___280607: undefined, + runtime___280610: undefined, + realTimeInSample___280629: undefined, + fps___280638: undefined, + delay___280707: undefined, arg0: undefined, - arg1: undefined, } } -function game_popScene__P44798(s) { +function game_popScene__P274821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5013,59 +3919,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___49996 = undefined; - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 1019; s.pc = 11; return s.tmp_0; + s.oldScene___280282 = undefined; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 1020; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___49996 = (r0); - s.tmp_0 = r0 = globals._sceneStack___46784; + s.oldScene___280282 = (r0); + s.tmp_0 = r0 = globals._sceneStack___276806; 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___46784); + r0 = pxsim_Array__length(globals._sceneStack___276806); 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___46784); - globals._scene___46783 = (r0); - s.tmp_0 = control_popEventContext__P42203_mk(s); - s.callLocIdx = 1020; s.pc = 12; return s.tmp_0; + r0 = pxsim_Array_.pop(globals._sceneStack___276806); + globals._scene___276805 = (r0); + s.tmp_0 = control_popEventContext__P272226_mk(s); + s.callLocIdx = 1021; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___46783); + r0 = pxsim_numops_toBoolDecr(globals._scene___276805); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P42203_mk(s); - s.callLocIdx = 1021; s.pc = 13; return s.tmp_0; + s.tmp_0 = control_popEventContext__P272226_mk(s); + s.callLocIdx = 1022; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___46783 = (undefined); + globals._scene___276805 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___46783); + r0 = pxsim_numops_toBoolDecr(globals._scene___276805); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P44977_mk(s); - s.callLocIdx = 1022; s.pc = 14; return s.tmp_0; + s.tmp_0 = particles_enableAll__P275000_mk(s); + s.callLocIdx = 1023; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___46786); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___276808); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P50017); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P280303); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___49996); - s.tmp_1 = helpers_arrayForEach__P41902_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___46786; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___280282); + s.tmp_1 = helpers_arrayForEach__P271925_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___276808; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1024; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1025; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; case 9: @@ -5074,23 +3980,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P44798.info = {"start":5133,"length":548,"line":161,"column":4,"endLine":179,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P274821.info = {"start":5133,"length":548,"line":161,"column":4,"endLine":179,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} -function game_popScene__P44798_mk(s) { +function game_popScene__P274821_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P44798, depth: s.depth + 1, + parent: s, fn: game_popScene__P274821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___49996: undefined, + oldScene___280282: undefined, } } -function game_popScene_inline__P50017(s) { +function game_popScene_inline__P280303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5108,19 +4014,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 = 1023; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1024; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_popScene_inline__P50017.info = {"start":5645,"length":18,"line":177,"column":38,"endLine":177,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_popScene_inline__P280303.info = {"start":5645,"length":18,"line":177,"column":38,"endLine":177,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_popScene_inline__P50017_mk(s) { +function game_popScene_inline__P280303_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P50017, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P280303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5130,7 +4036,7 @@ function game_popScene_inline__P50017_mk(s) { -function particles_enableAll__P44977(s) { +function particles_enableAll__P275000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5140,22 +4046,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___50038 = undefined; - s.tmp_0 = particles_particleSources__P47134_mk(s); - s.callLocIdx = 1261; s.pc = 3; return s.tmp_0; + s.sources___280324 = undefined; + s.tmp_0 = particles_particleSources__P277156_mk(s); + s.callLocIdx = 1262; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___50038 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___50038); + s.sources___280324 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___280324); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P41902_mk(s); - s.tmp_0.arg0 = s.sources___50038; - s.tmp_0.arg1 = particles_enableAll_inline__P50044; - s.callLocIdx = 1263; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P271925_mk(s); + s.tmp_0.arg0 = s.sources___280324; + s.tmp_0.arg1 = particles_enableAll_inline__P280330; + s.callLocIdx = 1264; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P47130_mk(s); - s.callLocIdx = 1264; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P277152_mk(s); + s.callLocIdx = 1265; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -5164,22 +4070,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P44977.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P275000.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} -function particles_enableAll__P44977_mk(s) { +function particles_enableAll__P275000_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P44977, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P275000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___50038: undefined, + sources___280324: undefined, } } -function particles_enableAll_inline__P50044(s) { +function particles_enableAll_inline__P280330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5193,22 +4099,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P44958_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P274981_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1262; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1263; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = true; return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P50044.info = {"start":12773,"length":21,"line":416,"column":28,"endLine":416,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +particles_enableAll_inline__P280330.info = {"start":12773,"length":21,"line":416,"column":28,"endLine":416,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function particles_enableAll_inline__P50044_mk(s) { +function particles_enableAll_inline__P280330_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P50044, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P280330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5218,7 +4124,7 @@ function particles_enableAll_inline__P50044_mk(s) { -function particles_particleSources__P47134(s) { +function particles_particleSources__P277156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5228,33 +4134,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___50219 = undefined; - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 1265; s.pc = 1; return s.tmp_0; + s.sources___280505 = undefined; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 1266; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___50219 = (r0); - r0 = s.sources___50219; + s.sources___280505 = (r0); + r0 = s.sources___280505; return leave(s, r0) default: oops() } } } -particles_particleSources__P47134.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P277156.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} -function particles_particleSources__P47134_mk(s) { +function particles_particleSources__P277156_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P47134, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P277156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___50219: undefined, + sources___280505: undefined, } } -function particles_pruneParticles__P47130(s) { +function particles_pruneParticles__P277152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5264,26 +4170,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___50049 = undefined; - s.tmp_0 = particles_particleSources__P47134_mk(s); - s.callLocIdx = 1248; s.pc = 3; return s.tmp_0; + s.sources___280335 = undefined; + s.tmp_0 = particles_particleSources__P277156_mk(s); + s.callLocIdx = 1249; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___50049 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___50049); + s.sources___280335 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___280335); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P41902_mk(s); - s.tmp_1 = helpers_arraySlice__P41908_mk(s); - s.tmp_1.arg0 = s.sources___50049; + s.tmp_0 = helpers_arrayForEach__P271925_mk(s); + s.tmp_1 = helpers_arraySlice__P271931_mk(s); + s.tmp_1.arg0 = s.sources___280335; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___50049); + r0 = pxsim_Array__length(s.sources___280335); s.tmp_1.arg2 = r0; - s.callLocIdx = 1249; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1250; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P50058; - s.callLocIdx = 1251; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles_inline__P280344; + s.callLocIdx = 1252; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -5292,23 +4198,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P47130.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P277152.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} -function particles_pruneParticles__P47130_mk(s) { +function particles_pruneParticles__P277152_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P47130, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P277152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___50049: undefined, + sources___280335: undefined, } } -function particles_pruneParticles_inline__P50058(s) { +function particles_pruneParticles_inline__P280344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5322,21 +4228,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P44953_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P274976_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1250; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1251; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P50058.info = {"start":9997,"length":15,"line":329,"column":62,"endLine":329,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +particles_pruneParticles_inline__P280344.info = {"start":9997,"length":15,"line":329,"column":62,"endLine":329,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function particles_pruneParticles_inline__P50058_mk(s) { +function particles_pruneParticles_inline__P280344_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P50058, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P280344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5346,7 +4252,7 @@ function particles_pruneParticles_inline__P50058_mk(s) { -function particles_ParticleSource__prune__P44953(s) { +function particles_ParticleSource__prune__P274976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5356,15 +4262,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___50088 = undefined; - s.sources___50096 = undefined; - s.current___50110 = undefined; + s.scene___280374 = undefined; + s.sources___280382 = undefined; + s.current___280396 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -5407,36 +4313,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P44793_mk(s); - s.callLocIdx = 1223; s.pc = 21; return s.tmp_5; + s.tmp_5 = game_currentScene__P274816_mk(s); + s.callLocIdx = 1224; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___50088 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___50088); + s.scene___280374 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___280374); if (!r0) { step = 7; continue; } - r0 = s.scene___50088.fields["allSprites"]; + r0 = s.scene___280374.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P47134_mk(s); - s.callLocIdx = 1224; s.pc = 22; return s.tmp_0; + s.tmp_0 = particles_particleSources__P277156_mk(s); + s.callLocIdx = 1225; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___50096 = (r0); - s.tmp_0 = r0 = s.sources___50096; + s.sources___280382 = (r0); + s.tmp_0 = r0 = s.sources___280382; 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___50096); + r0 = pxsim_Array__length(s.sources___280382); 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___50096, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___280382, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -5445,35 +4351,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___50110 = (r0); + s.current___280396 = (r0); case 15: - s.tmp_0 = r0 = s.current___50110; + s.tmp_0 = r0 = s.current___280396; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___50110.fields["next"]; + r0 = s.current___280396.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___50110.fields["next"]; + r0 = s.current___280396.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___50110.fields["next"]; + r0 = s.current___280396.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___50110).fields["next"] = (s.tmp_4); + r0 = (s.current___280396).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___50110.fields["next"]; - s.current___50110 = (r0); + r0 = s.current___280396.fields["next"]; + s.current___280396 = (r0); case 19: { step = 15; continue; } case 20: @@ -5481,12 +4387,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P44953.info = {"start":5104,"length":830,"line":166,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} +particles_ParticleSource__prune__P274976.info = {"start":5104,"length":830,"line":166,"column":8,"endLine":189,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} -function particles_ParticleSource__prune__P44953_mk(s) { +function particles_ParticleSource__prune__P274976_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P44953, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P274976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5494,9 +4400,9 @@ function particles_ParticleSource__prune__P44953_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___50088: undefined, - sources___50096: undefined, - current___50110: undefined, + scene___280374: undefined, + sources___280382: undefined, + current___280396: undefined, arg0: undefined, } } @@ -5504,7 +4410,7 @@ function particles_ParticleSource__prune__P44953_mk(s) { -function helpers_arraySlice__P41908(s) { +function helpers_arraySlice__P271931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5514,9 +4420,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___50133 = undefined; - s.len___50135 = undefined; - s.i___50169 = undefined; + s.res___280419 = undefined; + s.len___280421 = undefined; + s.i___280455 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5524,9 +4430,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___50133 = (r0); + s.res___280419 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___50135 = (r0); + s.len___280421 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -5538,22 +4444,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P41923_mk(s); - r0 = (s.len___50135 + s.arg1); + s.tmp_1 = Math_max__P271946_mk(s); + r0 = (s.len___280421 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 8; s.pc = 16; return s.tmp_1; + s.callLocIdx = 9; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.arg1 = (r0); case 2: case 3: case 4: - r0 = (s.arg1 > s.len___50135); + r0 = (s.arg1 > s.len___280421); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___50133; + r0 = s.res___280419; { step = 15; continue; } case 5: case 6: @@ -5561,57 +4467,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___50135); + s.arg2 = (s.len___280421); { 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___50135 + s.arg2); + r0 = (s.len___280421 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___50135); + r0 = (s.arg2 > s.len___280421); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___50135); + s.arg2 = (s.len___280421); case 11: case 12: - s.i___50169 = (s.arg1); + s.i___280455 = (s.arg1); case 13: - r0 = (s.i___50169 < s.arg2); + r0 = (s.i___280455 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___50133; - r0 = pxsim_Array__getAt(s.arg0, s.i___50169); + s.tmp_1 = r0 = s.res___280419; + r0 = pxsim_Array__getAt(s.arg0, s.i___280455); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___50169 + 1); - s.i___50169 = (r0); + r0 = (s.i___280455 + 1); + s.i___280455 = (r0); { step = 13; continue; } case 14: - r0 = s.res___50133; + r0 = s.res___280419; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P41908.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +helpers_arraySlice__P271931.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} -function helpers_arraySlice__P41908_mk(s) { +function helpers_arraySlice__P271931_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P41908, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P271931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___50133: undefined, - len___50135: undefined, - i___50169: undefined, + res___280419: undefined, + len___280421: undefined, + i___280455: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5621,7 +4527,7 @@ function helpers_arraySlice__P41908_mk(s) { -function particles_ParticleSource_enabled__P44958(s) { +function particles_ParticleSource_enabled__P274981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5637,11 +4543,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P44957_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P274980_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1227; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1228; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -5670,12 +4576,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P44958.info = {"start":6816,"length":214,"line":223,"column":8,"endLine":228,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} +particles_ParticleSource_enabled__P274981.info = {"start":6816,"length":214,"line":223,"column":8,"endLine":228,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} -function particles_ParticleSource_enabled__P44958_mk(s) { +function particles_ParticleSource_enabled__P274981_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P44958, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P274981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5692,7 +4598,7 @@ function particles_ParticleSource_enabled__P44958_mk(s) { -function particles_ParticleSource_enabled__P44957(s) { +function particles_ParticleSource_enabled__P274980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5707,7 +4613,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -5722,13 +4628,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P44957.info = {"start":6622,"length":76,"line":216,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} -particles_ParticleSource_enabled__P44957.isGetter = true; +particles_ParticleSource_enabled__P274980.info = {"start":6622,"length":76,"line":216,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} +particles_ParticleSource_enabled__P274980.isGetter = true; -function particles_ParticleSource_enabled__P44957_mk(s) { +function particles_ParticleSource_enabled__P274980_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P44957, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P274980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5742,7 +4648,7 @@ function particles_ParticleSource_enabled__P44957_mk(s) { -function control_popEventContext__P42203(s) { +function control_popEventContext__P272226(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5752,9 +4658,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___50226 = undefined; - s.context___50234 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___46283); + s.ctx___280512 = undefined; + s.context___280520 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___276305); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -5763,9 +4669,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___46283); - s.ctx___50226 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___50226); + r0 = pxsim_Array_.pop(globals.eventContexts___276305); + s.ctx___280512 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___280512); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -5774,53 +4680,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P42195_mk(s); - s.tmp_2.arg0 = s.ctx___50226; - s.callLocIdx = 56; s.pc = 8; return s.tmp_2; + s.tmp_2 = control_EventContext_unregister__P272218_mk(s); + s.tmp_2.arg0 = s.ctx___280512; + s.callLocIdx = 57; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___46283; - r0 = pxsim_Array__length(globals.eventContexts___46283); + s.tmp_0 = r0 = globals.eventContexts___276305; + r0 = pxsim_Array__length(globals.eventContexts___276305); 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___50234 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___50234); + s.context___280520 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___280520); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P42194_mk(s); - s.tmp_0.arg0 = s.context___50234; - s.callLocIdx = 57; s.pc = 9; return s.tmp_0; + s.tmp_0 = control_EventContext_register__P272217_mk(s); + s.tmp_0.arg0 = s.context___280520; + s.callLocIdx = 58; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___46283 = (undefined); + globals.eventContexts___276305 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P42203.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P272226.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -function control_popEventContext__P42203_mk(s) { +function control_popEventContext__P272226_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P42203, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P272226, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___50226: undefined, - context___50234: undefined, + ctx___280512: undefined, + context___280520: undefined, } } -function control_EventContext_unregister__P42195(s) { +function control_EventContext_unregister__P272218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5830,37 +4736,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___50429 = undefined; - s.unnamed250___U1 = undefined; - s.unnamed251___U2 = undefined; + s.h___280715 = undefined; + s.unnamed2118___U1 = undefined; + s.unnamed2119___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C42188_VT)) failedCast(r0); - s.h___50429 = (undefined); + if (!checkSubtype(r0, control_EventContext__C272211_VT)) failedCast(r0); + s.h___280715 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed250___U1 = (r0); - s.unnamed251___U2 = (0); + s.unnamed2118___U1 = (r0); + s.unnamed2119___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed251___U2; - r0 = pxsim_Array__length(s.unnamed250___U1); + s.tmp_0 = r0 = s.unnamed2119___U2; + r0 = pxsim_Array__length(s.unnamed2118___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed250___U1, s.unnamed251___U2); - s.h___50429 = (r0); - s.tmp_2 = control_EventHandler_unregister__P46277_mk(s); - s.tmp_2.arg0 = s.h___50429; - s.callLocIdx = 49; s.pc = 3; return s.tmp_2; + r0 = pxsim_Array__getAt(s.unnamed2118___U1, s.unnamed2119___U2); + s.h___280715 = (r0); + s.tmp_2 = control_EventHandler_unregister__P276299_mk(s); + s.tmp_2.arg0 = s.h___280715; + s.callLocIdx = 50; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed251___U2 + 1); - s.unnamed251___U2 = (r0); + r0 = (s.unnamed2119___U2 + 1); + s.unnamed2119___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed250___U1 = (undefined); + s.unnamed2118___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -5871,19 +4777,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P42195.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P272218.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventContext_unregister__P42195_mk(s) { +function control_EventContext_unregister__P272218_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P42195, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P272218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___50429: undefined, - unnamed250___U1: undefined, - unnamed251___U2: undefined, + h___280715: undefined, + unnamed2118___U1: undefined, + unnamed2119___U2: undefined, arg0: undefined, } } @@ -5891,7 +4797,7 @@ function control_EventContext_unregister__P42195_mk(s) { -function control_EventHandler_unregister__P46277(s) { +function control_EventHandler_unregister__P276299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5906,24 +4812,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C46275_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C276297_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__P46279, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P276301, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P46277.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__P276299.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__P46277_mk(s) { +function control_EventHandler_unregister__P276299_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P46277, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P276299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5935,7 +4841,7 @@ function control_EventHandler_unregister__P46277_mk(s) { -function control_doNothing__P46279(s) { +function control_doNothing__P276301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5949,12 +4855,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P46279.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P276301.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__P46279_mk(s) { +function control_doNothing__P276301_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P46279, depth: s.depth + 1, + parent: s, fn: control_doNothing__P276301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -5962,7 +4868,7 @@ function control_doNothing__P46279_mk(s) { -function control_EventContext_register__P42194(s) { +function control_EventContext_register__P272217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5972,59 +4878,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___50247 = undefined; - s.unnamed248___U1 = undefined; - s.unnamed249___U2 = undefined; + s.h___280533 = undefined; + s.unnamed2116___U1 = undefined; + s.unnamed2117___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C42188_VT)) failedCast(r0); - s.h___50247 = (undefined); + if (!checkSubtype(r0, control_EventContext__C272211_VT)) failedCast(r0); + s.h___280533 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed248___U1 = (r0); - s.unnamed249___U2 = (0); + s.unnamed2116___U1 = (r0); + s.unnamed2117___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed249___U2; - r0 = pxsim_Array__length(s.unnamed248___U1); + s.tmp_0 = r0 = s.unnamed2117___U2; + r0 = pxsim_Array__length(s.unnamed2116___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed248___U1, s.unnamed249___U2); - s.h___50247 = (r0); - s.tmp_2 = control_EventHandler_register__P46276_mk(s); - s.tmp_2.arg0 = s.h___50247; - s.callLocIdx = 47; s.pc = 3; return s.tmp_2; + r0 = pxsim_Array__getAt(s.unnamed2116___U1, s.unnamed2117___U2); + s.h___280533 = (r0); + s.tmp_2 = control_EventHandler_register__P276298_mk(s); + s.tmp_2.arg0 = s.h___280533; + s.callLocIdx = 48; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed249___U2 + 1); - s.unnamed249___U2 = (r0); + r0 = (s.unnamed2117___U2 + 1); + s.unnamed2117___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed248___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P46281_mk(s); + s.unnamed2116___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P276303_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 48; s.pc = 4; return s.tmp_0; + s.callLocIdx = 49; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_register__P42194.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P272217.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventContext_register__P42194_mk(s) { +function control_EventContext_register__P272217_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P42194, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P272217, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___50247: undefined, - unnamed248___U1: undefined, - unnamed249___U2: undefined, + h___280533: undefined, + unnamed2116___U1: undefined, + unnamed2117___U2: undefined, arg0: undefined, } } @@ -6032,7 +4938,7 @@ function control_EventContext_register__P42194_mk(s) { -function control_EventHandler_register__P46276(s) { +function control_EventHandler_register__P276298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6047,8 +4953,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C46275_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P49885); + if (!checkSubtype(r0, control_EventHandler__C276297_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P280171); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -6062,12 +4968,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P46276.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__P276298.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__P46276_mk(s) { +function control_EventHandler_register__P276298_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P46276, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P276298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6080,7 +4986,7 @@ function control_EventHandler_register__P46276_mk(s) { -function control_EventHandler_register_inline__P49885(s) { +function control_EventHandler_register_inline__P280171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6098,12 +5004,12 @@ switch (step) { s.tmp_1.arg0 = s.caps[0]; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "handler"), 1); - s.callLocIdx = 41; s.pc = 3; return s.tmp_1; + s.callLocIdx = 42; s.pc = 3; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["handler"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["handler"], 1); s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 41; s.pc = 3; return s.tmp_1;; } - else { s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["handler"], 1); s.callLocIdx = 42; s.pc = 3; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 42; s.pc = 3; return s.tmp_1;; } + else { s.callLocIdx = 42; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; @@ -6113,12 +5019,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P49885.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +control_EventHandler_register_inline__P280171.info = {"start":1032,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function control_EventHandler_register_inline__P49885_mk(s) { +function control_EventHandler_register_inline__P280171_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P49885, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P280171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6128,7 +5034,7 @@ function control_EventHandler_register_inline__P49885_mk(s) { -function helpers_arrayForEach__P41902(s) { +function helpers_arrayForEach__P271925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6138,49 +5044,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___50023 = undefined; - s.i___50026 = undefined; + s.len___280309 = undefined; + s.i___280312 = 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___50023 = (r0); - s.i___50026 = (0); + s.len___280309 = (r0); + s.i___280312 = (0); case 1: - r0 = (s.i___50026 < s.len___50023); + r0 = (s.i___280312 < s.len___280309); 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___50026); + r0 = pxsim_Array__getAt(s.arg0, s.i___280312); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___50026; + s.tmp_1.arg1 = s.i___280312; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 5; s.pc = 3; return s.tmp_1; + s.callLocIdx = 6; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___50026 + 1); - s.i___50026 = (r0); + r0 = (s.i___280312 + 1); + s.i___280312 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P41902.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__P271925.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__P41902_mk(s) { +function helpers_arrayForEach__P271925_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P41902, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P271925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___50023: undefined, - i___50026: undefined, + len___280309: undefined, + i___280312: undefined, arg0: undefined, arg1: undefined, } } @@ -6189,7 +5095,7 @@ function helpers_arrayForEach__P41902_mk(s) { -function game_pushScene__P44797(s) { +function game_pushScene__P274820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6199,45 +5105,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___51824 = undefined; - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 1013; s.pc = 5; return s.tmp_0; + s.oldScene___282110 = undefined; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 1014; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___51824 = (r0); - s.tmp_0 = particles_clearAll__P44975_mk(s); - s.callLocIdx = 1014; s.pc = 6; return s.tmp_0; + s.oldScene___282110 = (r0); + s.tmp_0 = particles_clearAll__P274998_mk(s); + s.callLocIdx = 1015; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P44976_mk(s); - s.callLocIdx = 1015; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_disableAll__P274999_mk(s); + s.callLocIdx = 1016; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___46784); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___276806); 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___46784 = (r0); + globals._sceneStack___276806 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___46784, globals._scene___46783); - s.tmp_0 = game_init__P46791_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___276806, globals._scene___276805); + s.tmp_0 = game_init__P276813_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1016; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1017; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___46785); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___276807); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P51841); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P282127); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___51824); - s.tmp_1 = helpers_arrayForEach__P41902_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___46785; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___282110); + s.tmp_1 = helpers_arrayForEach__P271925_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___276807; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1018; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1019; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -6246,23 +5152,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P44797.info = {"start":4760,"length":367,"line":148,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P274820.info = {"start":4760,"length":367,"line":148,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} -function game_pushScene__P44797_mk(s) { +function game_pushScene__P274820_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P44797, depth: s.depth + 1, + parent: s, fn: game_pushScene__P274820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___51824: undefined, + oldScene___282110: undefined, } } -function game_pushScene_inline__P51841(s) { +function game_pushScene_inline__P282127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6280,19 +5186,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 = 1017; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1018; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_pushScene_inline__P51841.info = {"start":5091,"length":18,"line":157,"column":39,"endLine":157,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_pushScene_inline__P282127.info = {"start":5091,"length":18,"line":157,"column":39,"endLine":157,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_pushScene_inline__P51841_mk(s) { +function game_pushScene_inline__P282127_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P51841, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P282127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6302,7 +5208,7 @@ function game_pushScene_inline__P51841_mk(s) { -function game_init__P46791(s) { +function game_init__P276813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6316,7 +5222,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___46783); + r0 = pxsim_numops_toBoolDecr(globals._scene___276805); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -6331,37 +5237,37 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C44637_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C274660_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P44660_mk(s); + s.tmp_4 = scene_Scene_constructor__P274683_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P42202_mk(s); - s.callLocIdx = 1010; s.pc = 6; return s.tmp_5; + s.tmp_5 = control_pushEventContext__P272225_mk(s); + s.callLocIdx = 1011; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___46783; - s.callLocIdx = 1011; s.pc = 5; return s.tmp_4; + s.tmp_4.arg2 = globals._scene___276805; + s.callLocIdx = 1012; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; - globals._scene___46783 = (s.tmp_3); + globals._scene___276805 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P44661_mk(s); - s.tmp_0.arg0 = globals._scene___46783; - s.callLocIdx = 1012; s.pc = 7; return s.tmp_0; + s.tmp_0 = scene_Scene_init__P274684_mk(s); + s.tmp_0.arg0 = globals._scene___276805; + s.callLocIdx = 1013; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P46791.info = {"start":4560,"length":194,"line":141,"column":4,"endLine":146,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P276813.info = {"start":4560,"length":194,"line":141,"column":4,"endLine":146,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function game_init__P46791_mk(s) { +function game_init__P276813_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P46791, depth: s.depth + 1, + parent: s, fn: game_init__P276813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6376,7 +5282,7 @@ function game_init__P46791_mk(s) { -function scene_Scene_init__P44661(s) { +function scene_Scene_init__P274684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6391,7 +5297,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C44637_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C274660_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6399,8 +5305,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P43723_mk(s); - s.callLocIdx = 907; s.pc = 4; return s.tmp_1; + s.tmp_1 = power_poke__P273746_mk(s); + s.callLocIdx = 908; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -6408,92 +5314,92 @@ 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, scene_Scene_init_inline__P51870); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P282156); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P42196_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P272219_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 = 910; s.pc = 5; return s.tmp_1; + s.callLocIdx = 911; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P42196_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P272219_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P43927; - s.callLocIdx = 911; s.pc = 6; return s.tmp_0; + s.tmp_0.arg2 = controller__moveSprites__P273950; + s.callLocIdx = 912; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P51894); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P282180); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P42196_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P272219_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 = 913; s.pc = 7; return s.tmp_1; + s.callLocIdx = 914; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P51907); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P282193); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P42196_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P272219_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 = 917; s.pc = 8; return s.tmp_1; + s.callLocIdx = 918; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P51928); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P282214); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P42196_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P272219_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 = 919; s.pc = 9; return s.tmp_1; + s.callLocIdx = 920; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P51936); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P282222); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P42196_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P272219_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 = 923; s.pc = 10; return s.tmp_1; + s.callLocIdx = 924; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P42196_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P272219_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P43787; - s.callLocIdx = 924; s.pc = 11; return s.tmp_0; + s.tmp_0.arg2 = control___screen_update__P273810; + s.callLocIdx = 925; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = multiplayer_initServer__P45182_mk(s); - s.callLocIdx = 925; s.pc = 12; return s.tmp_0; + s.tmp_0 = multiplayer_initServer__P275205_mk(s); + s.callLocIdx = 926; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = multiplayer_initPlayerConnectionListeners__P45183_mk(s); - s.callLocIdx = 926; s.pc = 13; return s.tmp_0; + s.tmp_0 = multiplayer_initPlayerConnectionListeners__P275206_mk(s); + s.callLocIdx = 927; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P51967); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P282253); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P41902_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___44659; + s.tmp_1 = helpers_arrayForEach__P271925_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___274682; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 928; s.pc = 14; return s.tmp_1; + s.callLocIdx = 929; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; case 3: @@ -6501,12 +5407,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P44661.info = {"start":4432,"length":2572,"line":127,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P274684.info = {"start":4432,"length":2572,"line":127,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -function scene_Scene_init__P44661_mk(s) { +function scene_Scene_init__P274684_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P44661, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P274684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6517,7 +5423,7 @@ function scene_Scene_init__P44661_mk(s) { -function scene_Scene_init_inline__P51870(s) { +function scene_Scene_init_inline__P282156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6536,26 +5442,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__P43959_mk(s); + s.tmp_0 = controller___update__P273982_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 = 909; s.pc = 1; return s.tmp_0; + s.callLocIdx = 910; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P51870.info = {"start":4722,"length":217,"line":134,"column":72,"endLine":138,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P282156.info = {"start":4722,"length":217,"line":134,"column":72,"endLine":138,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P51870_mk(s) { +function scene_Scene_init_inline__P282156_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P51870, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P282156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6567,7 +5473,7 @@ function scene_Scene_init_inline__P51870_mk(s) { -function scene_Scene_init_inline__P51894(s) { +function scene_Scene_init_inline__P282180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6577,7 +5483,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C44305_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C274328_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -6586,7 +5492,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C44305_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C274328_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: @@ -6595,12 +5501,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P51894.info = {"start":5234,"length":159,"line":143,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P282180.info = {"start":5234,"length":159,"line":143,"column":69,"endLine":146,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P51894_mk(s) { +function scene_Scene_init_inline__P282180_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P51894, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P282180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6611,7 +5517,7 @@ function scene_Scene_init_inline__P51894_mk(s) { -function scene_Scene_init_inline__P51907(s) { +function scene_Scene_init_inline__P282193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6621,80 +5527,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___51908 = undefined; - s.s___51916 = undefined; - s.unnamed278___U2 = undefined; - s.unnamed279___U3 = undefined; + s.dt___282194 = undefined; + s.s___282202 = undefined; + s.unnamed2146___U2 = undefined; + s.unnamed2147___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___51908 = (r0); - s.tmp_0 = scene_Camera_update__P44592_mk(s); + s.dt___282194 = (r0); + s.tmp_0 = scene_Camera_update__P274615_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 915; s.pc = 3; return s.tmp_0; + s.callLocIdx = 916; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___51916 = (undefined); + s.s___282202 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed278___U2 = (r0); - s.unnamed279___U3 = (0); + s.unnamed2146___U2 = (r0); + s.unnamed2147___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed279___U3; - r0 = pxsim_Array__length(s.unnamed278___U2); + s.tmp_0 = r0 = s.unnamed2147___U3; + r0 = pxsim_Array__length(s.unnamed2146___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed278___U2, s.unnamed279___U3); - s.s___51916 = (r0); + r0 = pxsim_Array__getAt(s.unnamed2146___U2, s.unnamed2147___U3); + s.s___282202 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___51916; + s.tmp_2.arg0 = s.s___282202; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___51908; + s.tmp_2.arg2 = s.dt___282194; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); - s.callLocIdx = 916; s.pc = 4; return s.tmp_2; + s.callLocIdx = 917; 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 = 916; s.pc = 4; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 916; s.pc = 4; return s.tmp_2;; } - else { s.callLocIdx = 916; 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 = 917; s.pc = 4; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 917; s.pc = 4; return s.tmp_2;; } + else { s.callLocIdx = 917; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; - r0 = (s.unnamed279___U3 + 1); - s.unnamed279___U3 = (r0); + r0 = (s.unnamed2147___U3 + 1); + s.unnamed2147___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed278___U2 = (undefined); + s.unnamed2146___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P51907.info = {"start":5582,"length":214,"line":152,"column":79,"endLine":158,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P282193.info = {"start":5582,"length":214,"line":152,"column":79,"endLine":158,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P51907_mk(s) { +function scene_Scene_init_inline__P282193_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P51907, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P282193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___51908: undefined, - s___51916: undefined, - unnamed278___U2: undefined, - unnamed279___U3: undefined, + dt___282194: undefined, + s___282202: undefined, + unnamed2146___U2: undefined, + unnamed2147___U3: undefined, } } -function scene_Scene_init_inline__P51928(s) { +function scene_Scene_init_inline__P282214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6704,21 +5610,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P44666_mk(s); + s.tmp_0 = scene_Scene_render__P274689_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 918; s.pc = 1; return s.tmp_0; + s.callLocIdx = 919; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P51928.info = {"start":5937,"length":109,"line":163,"column":76,"endLine":166,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P282214.info = {"start":5937,"length":109,"line":163,"column":76,"endLine":166,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P51928_mk(s) { +function scene_Scene_init_inline__P282214_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P51928, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P282214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -6727,7 +5633,7 @@ function scene_Scene_init_inline__P51928_mk(s) { -function scene_Scene_init_inline__P51936(s) { +function scene_Scene_init_inline__P282222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6737,26 +5643,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___44762; + s.tmp_0 = r0 = globals.stats___274785; 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___42191; + r0 = globals.control_EventContext_onStats___272214; 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___42191; - if ((globals.control_EventContext_lastStats___42190) && (globals.control_EventContext_lastStats___42190).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___272214; + if ((globals.control_EventContext_lastStats___272213) && (globals.control_EventContext_lastStats___272213).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___42190); + pxsim_String__stringConv(globals.control_EventContext_lastStats___272213); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___42190) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___272213) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -6787,41 +5693,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 = 920; s.pc = 7; return s.tmp_2; + s.callLocIdx = 921; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___44761); + r0 = pxsim_numops_toBoolDecr(globals.debug___274784); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C44305_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C274328_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C44305_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C274328_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__P44921_mk(s); - s.callLocIdx = 921; s.pc = 12; return s.tmp_0; + s.tmp_0 = game_consoleOverlay_draw__P274944_mk(s); + s.callLocIdx = 922; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P43724_mk(s); - s.callLocIdx = 922; s.pc = 13; return s.tmp_0; + s.tmp_0 = power_checkDeepSleep__P273747_mk(s); + s.callLocIdx = 923; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P51936.info = {"start":6163,"length":504,"line":168,"column":80,"endLine":180,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +scene_Scene_init_inline__P282222.info = {"start":6163,"length":504,"line":168,"column":80,"endLine":180,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function scene_Scene_init_inline__P51936_mk(s) { +function scene_Scene_init_inline__P282222_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P51936, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P282222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6838,7 +5744,7 @@ function scene_Scene_init_inline__P51936_mk(s) { -function scene_Scene_init_inline__P51967(s) { +function scene_Scene_init_inline__P282253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6856,19 +5762,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 = 927; s.pc = 1; return s.tmp_0; + s.callLocIdx = 928; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P51967.info = {"start":6980,"length":12,"line":186,"column":39,"endLine":186,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +scene_Scene_init_inline__P282253.info = {"start":6980,"length":12,"line":186,"column":39,"endLine":186,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function scene_Scene_init_inline__P51967_mk(s) { +function scene_Scene_init_inline__P282253_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P51967, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P282253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6878,7 +5784,7 @@ function scene_Scene_init_inline__P51967_mk(s) { -function multiplayer_initPlayerConnectionListeners__P45183(s) { +function multiplayer_initPlayerConnectionListeners__P275206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6888,43 +5794,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___51970 = undefined; - s.p___51970 = (1); + s.p___282256 = undefined; + s.p___282256 = (1); case 1: - r0 = (s.p___51970 <= 4); + r0 = (s.p___282256 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P47240_mk(s); - s.tmp_1.arg0 = s.p___51970; - s.callLocIdx = 1344; s.pc = 3; return s.tmp_1; + s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P277262_mk(s); + s.tmp_1.arg0 = s.p___282256; + s.callLocIdx = 1345; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.p___51970 + 1); - s.p___51970 = (r0); + r0 = (s.p___282256 + 1); + s.p___282256 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initPlayerConnectionListeners__P45183.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} +multiplayer_initPlayerConnectionListeners__P275206.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} -function multiplayer_initPlayerConnectionListeners__P45183_mk(s) { +function multiplayer_initPlayerConnectionListeners__P275206_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initPlayerConnectionListeners__P45183, depth: s.depth + 1, + parent: s, fn: multiplayer_initPlayerConnectionListeners__P275206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___51970: undefined, + p___282256: undefined, } } -function multiplayer_registerPlayerConnectionListeners__P47240(s) { +function multiplayer_registerPlayerConnectionListeners__P277262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6938,38 +5844,38 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P51982); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P282268); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P42184_mk(s); + s.tmp_1 = control_onEvent__P272207_mk(s); s.tmp_1.arg0 = 3241; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; s.tmp_1.arg3 = 16; - s.callLocIdx = 1346; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1347; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P51988); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P282274); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P42184_mk(s); + s.tmp_1 = control_onEvent__P272207_mk(s); s.tmp_1.arg0 = 3242; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; s.tmp_1.arg3 = 16; - s.callLocIdx = 1348; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1349; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners__P47240.info = {"start":1484,"length":415,"line":45,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} +multiplayer_registerPlayerConnectionListeners__P277262.info = {"start":1484,"length":415,"line":45,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} -function multiplayer_registerPlayerConnectionListeners__P47240_mk(s) { +function multiplayer_registerPlayerConnectionListeners__P277262_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners__P47240, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners__P277262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6980,7 +5886,7 @@ function multiplayer_registerPlayerConnectionListeners__P47240_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P51982(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P282268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6990,22 +5896,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P47241_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P277263_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; - s.callLocIdx = 1345; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1346; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P51982.info = {"start":1656,"length":55,"line":49,"column":12,"endLine":49,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P282268.info = {"start":1656,"length":55,"line":49,"column":12,"endLine":49,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_registerPlayerConnectionListeners_inline__P51982_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P282268_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P51982, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P282268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -7014,7 +5920,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P51982_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P51988(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P282274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7024,22 +5930,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P47241_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P277263_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; - s.callLocIdx = 1347; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1348; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P51988.info = {"start":1826,"length":56,"line":54,"column":12,"endLine":54,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P282274.info = {"start":1826,"length":56,"line":54,"column":12,"endLine":54,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_registerPlayerConnectionListeners_inline__P51988_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P282274_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P51988, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P282274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -7048,7 +5954,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P51988_mk(s) { -function multiplayer_receiveConnectionChangedEvent__P47241(s) { +function multiplayer_receiveConnectionChangedEvent__P277263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7058,7 +5964,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___51993 = undefined; + s.c___282279 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7076,23 +5982,23 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 1: - s.c___51993 = (globals.player1___43917); + s.c___282279 = (globals.player1___273940); { step = 5; continue; } case 2: - s.c___51993 = (globals.player2___43914); + s.c___282279 = (globals.player2___273937); { step = 5; continue; } case 3: - s.c___51993 = (globals.player3___43915); + s.c___282279 = (globals.player3___273938); { step = 5; continue; } case 4: - s.c___51993 = (globals.player4___43916); + s.c___282279 = (globals.player4___273939); case 5: - r0 = pxsim_numops_toBoolDecr(s.c___51993); + r0 = pxsim_numops_toBoolDecr(s.c___282279); if (!r0) { step = 6; continue; } - s.tmp_0 = controller_Controller_connected__P43950_mk(s); - s.tmp_0.arg0 = s.c___51993; + s.tmp_0 = controller_Controller_connected__P273973_mk(s); + s.tmp_0.arg0 = s.c___282279; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1349; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1350; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 6: @@ -7101,15 +6007,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_receiveConnectionChangedEvent__P47241.info = {"start":1905,"length":552,"line":58,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} +multiplayer_receiveConnectionChangedEvent__P277263.info = {"start":1905,"length":552,"line":58,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} -function multiplayer_receiveConnectionChangedEvent__P47241_mk(s) { +function multiplayer_receiveConnectionChangedEvent__P277263_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_receiveConnectionChangedEvent__P47241, depth: s.depth + 1, + parent: s, fn: multiplayer_receiveConnectionChangedEvent__P277263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - c___51993: undefined, + c___282279: undefined, arg0: undefined, arg1: undefined, } } @@ -7118,7 +6024,7 @@ function multiplayer_receiveConnectionChangedEvent__P47241_mk(s) { -function controller_Controller_connected__P43950(s) { +function controller_Controller_connected__P273973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7134,7 +6040,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -7162,12 +6068,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P43950.info = {"start":7796,"length":261,"line":254,"column":8,"endLine":259,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} +controller_Controller_connected__P273973.info = {"start":7796,"length":261,"line":254,"column":8,"endLine":259,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} -function controller_Controller_connected__P43950_mk(s) { +function controller_Controller_connected__P273973_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P43950, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P273973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7180,7 +6086,7 @@ function controller_Controller_connected__P43950_mk(s) { -function controller__player1__P43922(s) { +function controller__player1__P273945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7190,7 +6096,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___46499); + r0 = pxsim_numops_toBoolDecr(globals._players___276521); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7199,7 +6105,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___46499, 0); + r0 = pxsim_Array__getAt(globals._players___276521, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -7209,36 +6115,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C43928_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C273951_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___43909); - r0 = pxsim_Array__push(s.tmp_6, globals.up___43910); - r0 = pxsim_Array__push(s.tmp_6, globals.right___43911); - r0 = pxsim_Array__push(s.tmp_6, globals.down___43912); - r0 = pxsim_Array__push(s.tmp_6, globals.A___43907); - r0 = pxsim_Array__push(s.tmp_6, globals.B___43908); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___43913); - s.tmp_7 = controller_Controller_constructor__P43932_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___273932); + r0 = pxsim_Array__push(s.tmp_6, globals.up___273933); + r0 = pxsim_Array__push(s.tmp_6, globals.right___273934); + r0 = pxsim_Array__push(s.tmp_6, globals.down___273935); + r0 = pxsim_Array__push(s.tmp_6, globals.A___273930); + r0 = pxsim_Array__push(s.tmp_6, globals.B___273931); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___273936); + s.tmp_7 = controller_Controller_constructor__P273955_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; - s.callLocIdx = 151; s.pc = 5; return s.tmp_7; + s.callLocIdx = 152; s.pc = 5; return s.tmp_7; case 5: r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___46499, 0); + r0 = pxsim_Array__getAt(globals._players___276521, 0); return leave(s, r0) default: oops() } } } -controller__player1__P43922.info = {"start":1381,"length":258,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P273945.info = {"start":1381,"length":258,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} -function controller__player1__P43922_mk(s) { +function controller__player1__P273945_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P43922, depth: s.depth + 1, + parent: s, fn: controller__player1__P273945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7254,7 +6160,7 @@ function controller__player1__P43922_mk(s) { -function controller_Controller_constructor__P43932(s) { +function controller_Controller_constructor__P273955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7264,9 +6170,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___52049 = undefined; - s.i___52057 = undefined; - s.i___52075 = undefined; + s.leftId___282335 = undefined; + s.i___282343 = undefined; + s.i___282361 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7274,7 +6180,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -7298,34 +6204,34 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___52049 = (r0); - s.i___52057 = (0); + s.leftId___282335 = (r0); + s.i___282343 = (0); case 2: - r0 = (s.i___52057 < 7); + r0 = (s.i___282343 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C43983_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C274006_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P43989_mk(s); + s.tmp_2 = controller_Button_constructor__P274012_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___52049 + s.i___52057); + r0 = (s.leftId___282335 + s.i___282343); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; - s.callLocIdx = 157; s.pc = 7; return s.tmp_2; + s.callLocIdx = 158; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_1); - r0 = (s.i___52057 + 1); - s.i___52057 = (r0); + r0 = (s.i___282343 + 1); + s.i___282343 = (r0); { step = 2; continue; } case 3: case 4: - s.i___52075 = (0); + s.i___282361 = (0); case 5: - s.tmp_1 = r0 = s.i___52075; + s.tmp_1 = r0 = s.i___282361; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -7336,28 +6242,28 @@ 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___52075); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___282361); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___52075 + 1); - s.i___52075 = (r0); + r0 = (s.i___282361 + 1); + s.i___282361 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P46563_mk(s); + s.tmp_0 = controller_addController__P276585_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 158; s.pc = 8; return s.tmp_0; + s.callLocIdx = 159; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P43932.info = {"start":2452,"length":696,"line":82,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} +controller_Controller_constructor__P273955.info = {"start":2452,"length":696,"line":82,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} -function controller_Controller_constructor__P43932_mk(s) { +function controller_Controller_constructor__P273955_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P43932, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P273955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7365,9 +6271,9 @@ function controller_Controller_constructor__P43932_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___52049: undefined, - i___52057: undefined, - i___52075: undefined, + leftId___282335: undefined, + i___282343: undefined, + i___282361: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7377,7 +6283,7 @@ function controller_Controller_constructor__P43932_mk(s) { -function controller_addController__P46563(s) { +function controller_addController__P276585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7391,17 +6297,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___46499); + r0 = pxsim_numops_toBoolDecr(globals._players___276521); 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___46499 = (r0); + globals._players___276521 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___46499; + s.tmp_0 = r0 = globals._players___276521; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -7411,12 +6317,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P46563.info = {"start":1218,"length":157,"line":40,"column":4,"endLine":45,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P276585.info = {"start":1218,"length":157,"line":40,"column":4,"endLine":45,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -function controller_addController__P46563_mk(s) { +function controller_addController__P276585_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P46563, depth: s.depth + 1, + parent: s, fn: controller_addController__P276585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7428,7 +6334,7 @@ function controller_addController__P46563_mk(s) { -function control_onEvent__P42184(s) { +function control_onEvent__P272207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7438,7 +6344,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___49818 = undefined; + s.ctx___280104 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7446,12 +6352,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P42201_mk(s); - s.callLocIdx = 39; s.pc = 3; return s.tmp_0; + s.tmp_0 = control_eventContext__P272224_mk(s); + s.callLocIdx = 40; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___49818 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___49818); + s.ctx___280104 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___280104); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7460,13 +6366,13 @@ 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__P42198_mk(s); - s.tmp_0.arg0 = s.ctx___49818; + s.tmp_0 = control_EventContext_registerHandler__P272221_mk(s); + s.tmp_0.arg0 = s.ctx___280104; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; - s.callLocIdx = 40; s.pc = 4; return s.tmp_0; + s.callLocIdx = 41; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -7474,16 +6380,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P42184.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__P272207.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__P42184_mk(s) { +function control_onEvent__P272207_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P42184, depth: s.depth + 1, + parent: s, fn: control_onEvent__P272207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___49818: undefined, + ctx___280104: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7494,7 +6400,7 @@ function control_onEvent__P42184_mk(s) { -function control_eventContext__P42201(s) { +function control_eventContext__P272224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7504,10 +6410,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___46283); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___276305); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___46283; - r0 = pxsim_Array__length(globals.eventContexts___46283); + s.tmp_0 = r0 = globals.eventContexts___276305; + r0 = pxsim_Array__length(globals.eventContexts___276305); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -7522,12 +6428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P42201.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P272224.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P42201_mk(s) { +function control_eventContext__P272224_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P42201, depth: s.depth + 1, + parent: s, fn: control_eventContext__P272224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7539,7 +6445,7 @@ function control_eventContext__P42201_mk(s) { -function control_EventContext_registerHandler__P42198(s) { +function control_EventContext_registerHandler__P272221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7549,10 +6455,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___49841 = undefined; - s.unnamed252___U1 = undefined; - s.unnamed253___U2 = undefined; - s.hn___49864 = undefined; + s.h___280127 = undefined; + s.unnamed2120___U1 = undefined; + s.unnamed2121___U2 = undefined; + s.hn___280150 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7562,20 +6468,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C42188_VT)) failedCast(r0); - s.h___49841 = (undefined); + if (!checkSubtype(r0, control_EventContext__C272211_VT)) failedCast(r0); + s.h___280127 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed252___U1 = (r0); - s.unnamed253___U2 = (0); + s.unnamed2120___U1 = (r0); + s.unnamed2121___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed253___U2; - r0 = pxsim_Array__length(s.unnamed252___U1); + s.tmp_0 = r0 = s.unnamed2121___U2; + r0 = pxsim_Array__length(s.unnamed2120___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed252___U1, s.unnamed253___U2); - s.h___49841 = (r0); - r0 = s.h___49841.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed2120___U1, s.unnamed2121___U2); + s.h___280127 = (r0); + r0 = s.h___280127.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -7584,7 +6490,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___49841.fields["value"]; + r0 = s.h___280127.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -7592,34 +6498,34 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___49841).fields["flags"] = (s.arg4); - r0 = (s.h___49841).fields["handler"] = (s.arg3); + r0 = (s.h___280127).fields["flags"] = (s.arg4); + r0 = (s.h___280127).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed253___U2 + 1); - s.unnamed253___U2 = (r0); + r0 = (s.unnamed2121___U2 + 1); + s.unnamed2121___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed252___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C46275_VT); + s.unnamed2120___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C276297_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P46278_mk(s); + s.tmp_1 = control_EventHandler_constructor__P276300_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg3; s.tmp_1.arg4 = s.arg4; - s.callLocIdx = 51; s.pc = 8; return s.tmp_1; + s.callLocIdx = 52; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___49864 = (s.tmp_0); + s.hn___280150 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___49864); - s.tmp_0 = control_EventHandler_register__P46276_mk(s); - s.tmp_0.arg0 = s.hn___49864; - s.callLocIdx = 52; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array__push(s.tmp_0, s.hn___280150); + s.tmp_0 = control_EventHandler_register__P276298_mk(s); + s.tmp_0.arg0 = s.hn___280150; + s.callLocIdx = 53; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 7: @@ -7627,12 +6533,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P42198.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P272221.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function control_EventContext_registerHandler__P42198_mk(s) { +function control_EventContext_registerHandler__P272221_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P42198, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P272221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7640,10 +6546,10 @@ function control_EventContext_registerHandler__P42198_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___49841: undefined, - unnamed252___U1: undefined, - unnamed253___U2: undefined, - hn___49864: undefined, + h___280127: undefined, + unnamed2120___U1: undefined, + unnamed2121___U2: undefined, + hn___280150: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7655,7 +6561,7 @@ function control_EventContext_registerHandler__P42198_mk(s) { -function control_EventHandler_constructor__P46278(s) { +function control_EventHandler_constructor__P276300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7674,7 +6580,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C46275_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C276297_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -7683,12 +6589,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P46278.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__P276300.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__P46278_mk(s) { +function control_EventHandler_constructor__P276300_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P46278, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P276300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -7701,7 +6607,7 @@ function control_EventHandler_constructor__P46278_mk(s) { -function multiplayer_initServer__P45182(s) { +function multiplayer_initServer__P275205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7717,15 +6623,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = control_EventContext_registerFrameHandler__P42196_mk(s); - s.tmp_3 = game_eventContext__P44796_mk(s); - s.callLocIdx = 1342; s.pc = 4; return s.tmp_3; + s.tmp_2 = control_EventContext_registerFrameHandler__P272219_mk(s); + s.tmp_3 = game_eventContext__P274819_mk(s); + s.callLocIdx = 1343; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 210; - s.tmp_2.arg2 = multiplayer_initServer_inline__P52147; - s.callLocIdx = 1343; s.pc = 3; return s.tmp_2; + s.tmp_2.arg2 = multiplayer_initServer_inline__P282433; + s.callLocIdx = 1344; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; case 1: @@ -7734,12 +6640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_initServer__P45182.info = {"start":1011,"length":307,"line":29,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initServer","argumentNames":[]} +multiplayer_initServer__P275205.info = {"start":1011,"length":307,"line":29,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initServer","argumentNames":[]} -function multiplayer_initServer__P45182_mk(s) { +function multiplayer_initServer__P275205_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer__P45182, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer__P275205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7751,7 +6657,7 @@ function multiplayer_initServer__P45182_mk(s) { -function multiplayer_initServer_inline__P52147(s) { +function multiplayer_initServer_inline__P282433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7767,19 +6673,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.multiplayer.postImage(globals.screen___43826); + r0 = pxsim.multiplayer.postImage(globals.screen___273849); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initServer_inline__P52147.info = {"start":1175,"length":126,"line":31,"column":93,"endLine":35,"endColumn":13,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_initServer_inline__P282433.info = {"start":1175,"length":126,"line":31,"column":93,"endLine":35,"endColumn":13,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} -function multiplayer_initServer_inline__P52147_mk(s) { +function multiplayer_initServer_inline__P282433_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer_inline__P52147, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer_inline__P282433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7789,7 +6695,7 @@ function multiplayer_initServer_inline__P52147_mk(s) { -function game_consoleOverlay_draw__P44921(s) { +function game_consoleOverlay_draw__P274944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7799,16 +6705,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___52200 = undefined; - s.top___52205 = undefined; - s.i___52211 = undefined; - s.t___52224 = undefined; - s.tOff___52231 = undefined; - s.tab___52233 = undefined; - s.unnamed282___U6 = undefined; - s.unnamed283___U7 = undefined; - s.padding___52235 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___47083); + s.height___282486 = undefined; + s.top___282491 = undefined; + s.i___282497 = undefined; + s.t___282510 = undefined; + s.tOff___282517 = undefined; + s.tab___282519 = undefined; + s.unnamed2150___U6 = undefined; + s.unnamed2151___U7 = undefined; + s.padding___282521 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___277105); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7817,7 +6723,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___47037); + r0 = pxsim_numops_toBoolDecr(globals.instance___277059); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -7833,23 +6739,23 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___47091; + s.tmp_7.arg0 = globals.consoleFont___277113; 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 = 1196; s.pc = 14; return s.tmp_7; } + else { s.callLocIdx = 1197; s.pc = 14; return s.tmp_7; } } case 14: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___52200 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___44762); + s.height___282486 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___274785); if (!r0) { step = 5; continue; } - r0 = s.height___52200; + r0 = s.height___282486; { step = 6; continue; } case 5: r0 = 0; @@ -7857,17 +6763,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___52205 = (r0); - s.i___52211 = (0); + s.top___282491 = (r0); + s.i___282497 = (0); case 7: - s.tmp_1 = r0 = s.i___52211; - r0 = pxsim_Array__length(globals.consoleStrings___47083); + s.tmp_1 = r0 = s.i___282497; + r0 = pxsim_Array__length(globals.consoleStrings___277105); 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___47083, s.i___52211); + r0 = pxsim_Array__getAt(globals.consoleStrings___277105, s.i___282497); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -7875,50 +6781,50 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P41915_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___47083, s.i___52211); + s.tmp_6 = helpers_stringSplit__P271938_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___277105, s.i___282497); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1197; s.pc = 15; return s.tmp_6; + s.callLocIdx = 1198; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___52224 = (r0); - s.tOff___52231 = (0); - s.tab___52233 = (undefined); - s.unnamed282___U6 = (s.t___52224); - s.unnamed283___U7 = (0); + s.t___282510 = (r0); + s.tOff___282517 = (0); + s.tab___282519 = (undefined); + s.unnamed2150___U6 = (s.t___282510); + s.unnamed2151___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed283___U7; - r0 = pxsim_Array__length(s.unnamed282___U6); + s.tmp_0 = r0 = s.unnamed2151___U7; + r0 = pxsim_Array__length(s.unnamed2150___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed282___U6, s.unnamed283___U7); - s.tab___52233 = (r0); - s.tmp_2 = r0 = globals.tabSize___47085; - s.tmp_5 = r0 = s.tOff___52231; - r0 = pxsim_String_.length(s.tab___52233); + r0 = pxsim_Array__getAt(s.unnamed2150___U6, s.unnamed2151___U7); + s.tab___282519 = (r0); + s.tmp_2 = r0 = globals.tabSize___277107; + s.tmp_5 = r0 = s.tOff___282517; + r0 = pxsim_String_.length(s.tab___282519); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___47085); + r0 = (s.tmp_4 % globals.tabSize___277107); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___52235 = (r0); - s.tmp_0 = helpers_imagePrint__P43784_mk(s); - s.tmp_0.arg0 = globals.screen___43826; - s.tmp_0.arg1 = s.tab___52233; - s.tmp_2 = r0 = s.tOff___52231; + s.padding___282521 = (r0); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); + s.tmp_0.arg0 = globals.screen___273849; + s.tmp_0.arg1 = s.tab___282519; + s.tmp_2 = r0 = s.tOff___282517; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___47091; + s.tmp_4.arg0 = globals.consoleFont___277113; 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 = 1198; s.pc = 17; return s.tmp_4; } + else { s.callLocIdx = 1199; s.pc = 17; return s.tmp_4; } } case 17: r0 = s.retval; @@ -7927,50 +6833,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___52205; - r0 = (s.i___52211 * s.height___52200); + s.tmp_5 = r0 = s.top___282491; + r0 = (s.i___282497 * s.height___282486); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___47082; - s.tmp_0.arg5 = globals.consoleFont___47091; + s.tmp_0.arg4 = globals.consoleColor___277104; + s.tmp_0.arg5 = globals.consoleFont___277113; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1199; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1200; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___52231; - r0 = pxsim_String_.length(s.tab___52233); + s.tmp_0 = r0 = s.tOff___282517; + r0 = pxsim_String_.length(s.tab___282519); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___52235); + r0 = (s.tmp_2 + s.padding___282521); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___52231 = (r0); - r0 = (s.unnamed283___U7 + 1); - s.unnamed283___U7 = (r0); + s.tOff___282517 = (r0); + r0 = (s.unnamed2151___U7 + 1); + s.unnamed2151___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed282___U6 = (undefined); + s.unnamed2150___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P43784_mk(s); - s.tmp_0.arg0 = globals.screen___43826; - r0 = pxsim_Array__getAt(globals.consoleStrings___47083, s.i___52211); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); + s.tmp_0.arg0 = globals.screen___273849; + r0 = pxsim_Array__getAt(globals.consoleStrings___277105, s.i___282497); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___52205; - r0 = (s.i___52211 * s.height___52200); + s.tmp_1 = r0 = s.top___282491; + r0 = (s.i___282497 * s.height___282486); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___47082; - s.tmp_0.arg5 = globals.consoleFont___47091; + s.tmp_0.arg4 = globals.consoleColor___277104; + s.tmp_0.arg5 = globals.consoleFont___277113; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1200; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1201; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___52211 + 1); - s.i___52211 = (r0); + r0 = (s.i___282497 + 1); + s.i___282497 = (r0); { step = 7; continue; } case 12: case 13: @@ -7978,12 +6884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P44921.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__P274944.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__P44921_mk(s) { +function game_consoleOverlay_draw__P274944_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P44921, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P274944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7993,22 +6899,22 @@ function game_consoleOverlay_draw__P44921_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___52200: undefined, - top___52205: undefined, - i___52211: undefined, - t___52224: undefined, - tOff___52231: undefined, - tab___52233: undefined, - unnamed282___U6: undefined, - unnamed283___U7: undefined, - padding___52235: undefined, + height___282486: undefined, + top___282491: undefined, + i___282497: undefined, + t___282510: undefined, + tOff___282517: undefined, + tab___282519: undefined, + unnamed2150___U6: undefined, + unnamed2151___U7: undefined, + padding___282521: undefined, } } -function scene_systemMenu_isVisible__P44902(s) { +function scene_systemMenu_isVisible__P274925(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8018,7 +6924,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___47037); + r0 = pxsim_numops_toBoolDecr(globals.instance___277059); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -8028,12 +6934,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P44902.info = {"start":13170,"length":62,"line":395,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} +scene_systemMenu_isVisible__P274925.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__P44902_mk(s) { +function scene_systemMenu_isVisible__P274925_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P44902, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P274925, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8044,7 +6950,7 @@ function scene_systemMenu_isVisible__P44902_mk(s) { -function helpers_imagePrint__P43784(s) { +function helpers_imagePrint__P273807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8054,31 +6960,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___52307 = undefined; - s.cp___52309 = undefined; - s.mult___52310 = undefined; - s.dataW___52315 = undefined; - s.dataH___52321 = undefined; - s.byteHeight___52327 = undefined; - s.charSize___52333 = undefined; - s.dataSize___52337 = undefined; - s.fontdata___52341 = undefined; - s.lastchar___52344 = undefined; - s.imgBuf___52351 = undefined; - s.xOffset___52375 = undefined; - s.yOffset___52376 = undefined; - s.ch___52391 = undefined; - s.l___52410 = undefined; - s.r___52411 = undefined; - s.off___52413 = undefined; - s.guess___52414 = undefined; - s.m___52433 = undefined; - s.v___52442 = undefined; - s.i___52498 = undefined; - s.j___52503 = undefined; - s.mask___52504 = undefined; - s.c___52505 = undefined; - s.n___52522 = undefined; + s.x0___282593 = undefined; + s.cp___282595 = undefined; + s.mult___282596 = undefined; + s.dataW___282601 = undefined; + s.dataH___282607 = undefined; + s.byteHeight___282613 = undefined; + s.charSize___282619 = undefined; + s.dataSize___282623 = undefined; + s.fontdata___282627 = undefined; + s.lastchar___282630 = undefined; + s.imgBuf___282637 = undefined; + s.xOffset___282661 = undefined; + s.yOffset___282662 = undefined; + s.ch___282677 = undefined; + s.l___282696 = undefined; + s.r___282697 = undefined; + s.off___282699 = undefined; + s.guess___282700 = undefined; + s.m___282719 = undefined; + s.v___282728 = undefined; + s.i___282784 = undefined; + s.j___282789 = undefined; + s.mask___282790 = undefined; + s.c___282791 = undefined; + s.n___282808 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8099,9 +7005,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P43771_mk(s); + s.tmp_2 = image_getFontForText__P273794_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 97; s.pc = 39; return s.tmp_2; + s.callLocIdx = 98; s.pc = 39; return s.tmp_2; case 39: r0 = s.retval; s.arg5 = (r0); @@ -8116,8 +7022,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___52307 = (s.arg2); - s.cp___52309 = (0); + s.x0___282593 = (s.arg2); + s.cp___282595 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -8126,7 +7032,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["multiplier"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["multiplier"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 98; s.pc = 40; return s.tmp_1; } + else { s.callLocIdx = 99; s.pc = 40; return s.tmp_1; } } case 40: r0 = s.retval; @@ -8141,7 +7047,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["multiplier"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["multiplier"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 99; s.pc = 41; return s.tmp_2; } + else { s.callLocIdx = 100; s.pc = 41; return s.tmp_2; } } case 41: r0 = s.retval; @@ -8151,7 +7057,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___52310 = (s.tmp_3); + s.mult___282596 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -8160,13 +7066,13 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["charWidth"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["charWidth"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 100; s.pc = 42; return s.tmp_1; } + else { s.callLocIdx = 101; s.pc = 42; return s.tmp_1; } } case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___52310); - s.dataW___52315 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___282596); + s.dataW___282601 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -8175,21 +7081,21 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["charHeight"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["charHeight"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 101; s.pc = 43; return s.tmp_1; } + else { s.callLocIdx = 102; s.pc = 43; return s.tmp_1; } } case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___52310); - s.dataH___52321 = (r0); - r0 = (s.dataH___52321 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___282596); + s.dataH___282607 = (r0); + r0 = (s.dataH___282607 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___52327 = (r0); - r0 = (s.byteHeight___52327 * s.dataW___52315); - s.charSize___52333 = (r0); - r0 = (2 + s.charSize___52333); - s.dataSize___52337 = (r0); + s.byteHeight___282613 = (r0); + r0 = (s.byteHeight___282613 * s.dataW___282601); + s.charSize___282619 = (r0); + r0 = (2 + s.charSize___282619); + s.dataSize___282623 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -8198,48 +7104,48 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["data"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["data"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 102; s.pc = 44; return s.tmp_0; } + else { s.callLocIdx = 103; s.pc = 44; return s.tmp_0; } } case 44: r0 = s.retval; - s.fontdata___52341 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___52341); + s.fontdata___282627 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___282627); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___52337); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___282623); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___52344 = (r0); - r0 = (s.mult___52310 == 1); + s.lastchar___282630 = (r0); + r0 = (s.mult___282596 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___52333); + r0 = (8 + s.charSize___282619); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___52351 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___52351, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___52351, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___52351, 2, s.dataW___52315); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___52351, 4, s.dataH___52321); + s.imgBuf___282637 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___282637, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___282637, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___282637, 2, s.dataW___282601); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___282637, 4, s.dataH___282607); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___52309; + s.tmp_1 = r0 = s.cp___282595; 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___52375 = (0); - s.yOffset___52376 = (0); + s.xOffset___282661 = (0); + s.yOffset___282662 = (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___52309; + s.tmp_1 = r0 = s.cp___282595; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -8249,7 +7155,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___52309); + r0 = pxsim_Array__getAt(s.arg6, s.cp___282595); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -8257,13 +7163,13 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["xOffset"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["xOffset"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 103; s.pc = 45; return s.tmp_4; } + else { s.callLocIdx = 104; s.pc = 45; return s.tmp_4; } } case 45: r0 = s.retval; - s.xOffset___52375 = (r0); + s.xOffset___282661 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___52309); + r0 = pxsim_Array__getAt(s.arg6, s.cp___282595); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -8271,19 +7177,19 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["yOffset"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["yOffset"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 104; s.pc = 46; return s.tmp_0; } + else { s.callLocIdx = 105; s.pc = 46; return s.tmp_0; } } case 46: r0 = s.retval; - s.yOffset___52376 = (r0); + s.yOffset___282662 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___52309; + s.tmp_0 = r0 = s.cp___282595; r0 = (s.tmp_0 + 1); - s.cp___52309 = (r0); + s.cp___282595 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___52391 = (r0); - r0 = (s.ch___52391 == 10); + s.ch___282677 = (r0); + r0 = (s.ch___282677 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -8296,7 +7202,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charHeight"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charHeight"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 105; s.pc = 47; return s.tmp_4; } + else { s.callLocIdx = 106; s.pc = 47; return s.tmp_4; } } case 47: r0 = s.retval; @@ -8305,92 +7211,92 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___52307); + s.arg2 = (s.x0___282593); case 14: case 15: - r0 = (s.ch___52391 < 32); + r0 = (s.ch___282677 < 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___52410 = (0); - s.r___52411 = (s.lastchar___52344); - s.off___52413 = (0); - r0 = (s.ch___52391 - 32); + s.l___282696 = (0); + s.r___282697 = (s.lastchar___282630); + s.off___282699 = (0); + r0 = (s.ch___282677 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___52337); - s.guess___52414 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___52341, 4, s.guess___52414); + r0 = (s.tmp_0 * s.dataSize___282623); + s.guess___282700 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___282627, 4, s.guess___282700); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___52391); + r0 = (s.tmp_1 == s.ch___282677); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___52413 = (s.guess___52414); + s.off___282699 = (s.guess___282700); { step = 25; continue; } case 18: case 19: - r0 = (s.l___52410 <= s.r___52411); + r0 = (s.l___282696 <= s.r___282697); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___52410; - r0 = (s.r___52411 - s.l___52410); + s.tmp_1 = r0 = s.l___282696; + r0 = (s.r___282697 - s.l___282696); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___52433 = (r0); - s.tmp_0 = r0 = s.fontdata___52341; - r0 = (s.m___52433 * s.dataSize___52337); + s.m___282719 = (r0); + s.tmp_0 = r0 = s.fontdata___282627; + r0 = (s.m___282719 * s.dataSize___282623); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___52442 = (r0); - r0 = (s.v___52442 == s.ch___52391); + s.v___282728 = (r0); + r0 = (s.v___282728 == s.ch___282677); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___52433 * s.dataSize___52337); - s.off___52413 = (r0); + r0 = (s.m___282719 * s.dataSize___282623); + s.off___282699 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___52442 < s.ch___52391); + r0 = (s.v___282728 < s.ch___282677); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___52433 + 1); - s.l___52410 = (r0); + r0 = (s.m___282719 + 1); + s.l___282696 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___52433 - 1); - s.r___52411 = (r0); + r0 = (s.m___282719 - 1); + s.r___282697 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___52310 == 1); + r0 = (s.mult___282596 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___52351; - s.tmp_3 = r0 = s.fontdata___52341; - r0 = (s.off___52413 + 2); + s.tmp_1 = r0 = s.imgBuf___282637; + s.tmp_3 = r0 = s.fontdata___282627; + r0 = (s.off___282699 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___52333); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___282619); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P43749_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P273772_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___52351; - r0 = (s.arg2 + s.xOffset___52375); + s.tmp_0.arg1 = s.imgBuf___282637; + r0 = (s.arg2 + s.xOffset___282661); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___52376); + r0 = (s.arg3 + s.yOffset___282662); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; - s.callLocIdx = 106; s.pc = 48; return s.tmp_0; + s.callLocIdx = 107; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; s.tmp_0 = r0 = s.arg2; @@ -8402,7 +7308,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 107; s.pc = 49; return s.tmp_2; } + else { s.callLocIdx = 108; s.pc = 49; return s.tmp_2; } } case 49: r0 = s.retval; @@ -8411,88 +7317,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___52413 + 2); - s.off___52413 = (r0); - s.i___52498 = (0); + r0 = (s.off___282699 + 2); + s.off___282699 = (r0); + s.i___282784 = (0); case 27: - r0 = (s.i___52498 < s.dataW___52315); + r0 = (s.i___282784 < s.dataW___282601); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___52503 = (0); - s.mask___52504 = (1); - s.tmp_0 = r0 = s.off___52413; + s.j___282789 = (0); + s.mask___282790 = (1); + s.tmp_0 = r0 = s.off___282699; r0 = (s.tmp_0 + 1); - s.off___52413 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___52341, s.tmp_0); - s.c___52505 = (r0); + s.off___282699 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___282627, s.tmp_0); + s.c___282791 = (r0); case 28: - r0 = (s.j___52503 < s.dataH___52321); + r0 = (s.j___282789 < s.dataH___282607); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___52504 == 256); + r0 = (s.mask___282790 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___52413; + s.tmp_2 = r0 = s.off___282699; r0 = (s.tmp_2 + 1); - s.off___52413 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___52341, s.tmp_2); - s.c___52505 = (r0); - s.mask___52504 = (1); + s.off___282699 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___282627, s.tmp_2); + s.c___282791 = (r0); + s.mask___282790 = (1); case 29: case 30: - s.n___52522 = (0); + s.n___282808 = (0); case 31: - r0 = (s.c___52505 & s.mask___52504); + r0 = (s.c___282791 & s.mask___282790); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___52522 + 1); - s.n___52522 = (r0); - r0 = (s.mask___52504 << 1); - s.mask___52504 = (r0); + r0 = (s.n___282808 + 1); + s.n___282808 = (r0); + r0 = (s.mask___282790 << 1); + s.mask___282790 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___52522); + r0 = pxsim_numops_toBoolDecr(s.n___282808); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P43750_mk(s); + s.tmp_0 = helpers_imageFillRect__P273773_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___52375 * s.mult___52310); + r0 = (s.xOffset___282661 * s.mult___282596); 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___52503 + s.yOffset___52376); + r0 = (s.j___282789 + s.yOffset___282662); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___52310); + r0 = (s.tmp_5 * s.mult___282596); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___52310; - r0 = (s.mult___52310 * s.n___52522); + s.tmp_0.arg3 = s.mult___282596; + r0 = (s.mult___282596 * s.n___282808); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; - s.callLocIdx = 108; s.pc = 50; return s.tmp_0; + s.callLocIdx = 109; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___52503 + s.n___52522); - s.j___52503 = (r0); + r0 = (s.j___282789 + s.n___282808); + s.j___282789 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___52504 << 1); - s.mask___52504 = (r0); - r0 = (s.j___52503 + 1); - s.j___52503 = (r0); + r0 = (s.mask___282790 << 1); + s.mask___282790 = (r0); + r0 = (s.j___282789 + 1); + s.j___282789 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___52310); + r0 = (s.arg2 + s.mult___282596); s.arg2 = (r0); - r0 = (s.i___52498 + 1); - s.i___52498 = (r0); + r0 = (s.i___282784 + 1); + s.i___282784 = (r0); { step = 27; continue; } case 36: case 37: @@ -8502,12 +7408,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P43784.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__P273807.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__P43784_mk(s) { +function helpers_imagePrint__P273807_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P43784, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P273807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8515,31 +7421,31 @@ function helpers_imagePrint__P43784_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___52307: undefined, - cp___52309: undefined, - mult___52310: undefined, - dataW___52315: undefined, - dataH___52321: undefined, - byteHeight___52327: undefined, - charSize___52333: undefined, - dataSize___52337: undefined, - fontdata___52341: undefined, - lastchar___52344: undefined, - imgBuf___52351: undefined, - xOffset___52375: undefined, - yOffset___52376: undefined, - ch___52391: undefined, - l___52410: undefined, - r___52411: undefined, - off___52413: undefined, - guess___52414: undefined, - m___52433: undefined, - v___52442: undefined, - i___52498: undefined, - j___52503: undefined, - mask___52504: undefined, - c___52505: undefined, - n___52522: undefined, + x0___282593: undefined, + cp___282595: undefined, + mult___282596: undefined, + dataW___282601: undefined, + dataH___282607: undefined, + byteHeight___282613: undefined, + charSize___282619: undefined, + dataSize___282623: undefined, + fontdata___282627: undefined, + lastchar___282630: undefined, + imgBuf___282637: undefined, + xOffset___282661: undefined, + yOffset___282662: undefined, + ch___282677: undefined, + l___282696: undefined, + r___282697: undefined, + off___282699: undefined, + guess___282700: undefined, + m___282719: undefined, + v___282728: undefined, + i___282784: undefined, + j___282789: undefined, + mask___282790: undefined, + c___282791: undefined, + n___282808: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8553,7 +7459,7 @@ function helpers_imagePrint__P43784_mk(s) { -function image_getFontForText__P43771(s) { +function image_getFontForText__P273794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8563,52 +7469,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___51544 = undefined; + s.i___281830 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___51544 = (0); + s.i___281830 = (0); case 1: - s.tmp_1 = r0 = s.i___51544; + s.tmp_1 = r0 = s.i___281830; 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___51544); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___281830); 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___43770; + r0 = globals.font12___273793; { step = 5; continue; } case 2: case 3: - r0 = (s.i___51544 + 1); - s.i___51544 = (r0); + r0 = (s.i___281830 + 1); + s.i___281830 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___43769; + r0 = globals.font8___273792; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P43771.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__P273794.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__P43771_mk(s) { +function image_getFontForText__P273794_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P43771, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P273794, 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___51544: undefined, + i___281830: undefined, arg0: undefined, } } @@ -8616,7 +7522,7 @@ function image_getFontForText__P43771_mk(s) { -function helpers_imageFillRect__P43750(s) { +function helpers_imageFillRect__P273773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8636,17 +7542,17 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P46420_mk(s); + s.tmp_2 = helpers_pack__P276442_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; - s.callLocIdx = 79; s.pc = 1; return s.tmp_2; + s.callLocIdx = 80; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P46420_mk(s); + s.tmp_4 = helpers_pack__P276442_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; - s.callLocIdx = 80; s.pc = 2; return s.tmp_4; + s.callLocIdx = 81; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -8655,12 +7561,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P43750.info = {"start":5454,"length":159,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P273773.info = {"start":5454,"length":159,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P43750_mk(s) { +function helpers_imageFillRect__P273773_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P43750, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P273773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8679,7 +7585,7 @@ function helpers_imageFillRect__P43750_mk(s) { -function helpers_pack__P46420(s) { +function helpers_pack__P276442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8694,23 +7600,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P41920_mk(s); + s.tmp_2 = Math_clamp__P271943_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); s.tmp_2.arg2 = r0; - s.callLocIdx = 76; s.pc = 1; return s.tmp_2; + s.callLocIdx = 77; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P41920_mk(s); + s.tmp_5 = Math_clamp__P271943_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); s.tmp_5.arg2 = r0; - s.callLocIdx = 77; s.pc = 2; return s.tmp_5; + s.callLocIdx = 78; s.pc = 2; return s.tmp_5; case 2: r0 = s.retval; s.tmp_4 = r0; @@ -8720,12 +7626,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P46420.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P276442.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P46420_mk(s) { +function helpers_pack__P276442_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P46420, depth: s.depth + 1, + parent: s, fn: helpers_pack__P276442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8741,7 +7647,7 @@ function helpers_pack__P46420_mk(s) { -function Math_clamp__P41920(s) { +function Math_clamp__P271943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8757,27 +7663,27 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P41924_mk(s); + s.tmp_0 = Math_min__P271947_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P41923_mk(s); + s.tmp_1 = Math_max__P271946_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; - s.callLocIdx = 14; s.pc = 2; return s.tmp_1; + s.callLocIdx = 15; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 15; s.pc = 1; return s.tmp_0; + s.callLocIdx = 16; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -Math_clamp__P41920.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P271943.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P41920_mk(s) { +function Math_clamp__P271943_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P41920, depth: s.depth + 1, + parent: s, fn: Math_clamp__P271943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8790,51 +7696,7 @@ function Math_clamp__P41920_mk(s) { -function Math_min__P41924(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = (s.arg0 <= s.arg1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.arg0; - { step = 3; continue; } - case 1: - case 2: - r0 = s.arg1; - case 3: - return leave(s, r0) - default: oops() -} } } -Math_min__P41924.info = {"start":16854,"length":105,"line":568,"column":4,"endLine":571,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} - -function Math_min__P41924_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Math_min__P41924, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function helpers_imageDrawIcon__P43749(s) { +function helpers_imageDrawIcon__P273772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8854,10 +7716,10 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P46420_mk(s); + s.tmp_3 = helpers_pack__P276442_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; - s.callLocIdx = 78; s.pc = 1; return s.tmp_3; + s.callLocIdx = 79; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -8866,12 +7728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P43749.info = {"start":5304,"length":145,"line":173,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P273772.info = {"start":5304,"length":145,"line":173,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P43749_mk(s) { +function helpers_imageDrawIcon__P273772_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P43749, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P273772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8888,7 +7750,7 @@ function helpers_imageDrawIcon__P43749_mk(s) { -function helpers_stringSplit__P41915(s) { +function helpers_stringSplit__P271938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8898,15 +7760,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___52585 = undefined; - s.lim___52587 = undefined; - s.s___52603 = undefined; - s.p___52606 = undefined; - s.R___52607 = undefined; - s.z___52621 = undefined; - s.T___52634 = undefined; - s.q___52635 = undefined; - s.e___52641 = undefined; + s.A___282871 = undefined; + s.lim___282873 = undefined; + s.s___282889 = undefined; + s.p___282892 = undefined; + s.R___282893 = undefined; + s.z___282907 = undefined; + s.T___282920 = undefined; + s.q___282921 = undefined; + s.e___282927 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8914,36 +7776,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___52585 = (r0); - s.lim___52587 = (0); + s.A___282871 = (r0); + s.lim___282873 = (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___52587 = (r0); + s.lim___282873 = (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___52587 = (0); + s.lim___282873 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___52587 = (r0); + s.lim___282873 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___52603 = (r0); - s.p___52606 = (0); - s.R___52607 = (s.arg1); - r0 = (s.lim___52587 == 0); + s.s___282889 = (r0); + s.p___282892 = (0); + s.R___282893 = (s.arg1); + r0 = (s.lim___282873 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___52585; + r0 = s.A___282871; { step = 21; continue; } case 5: case 6: @@ -8951,123 +7813,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___52585, 0, s.arg0); - r0 = s.A___52585; + r0 = pxsim_Array_.setAt(s.A___282871, 0, s.arg0); + r0 = s.A___282871; { step = 21; continue; } case 7: case 8: - r0 = (s.s___52603 == 0); + r0 = (s.s___282889 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P46206_mk(s); + s.tmp_1 = helpers_splitMatch__P276228_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___52607; - s.callLocIdx = 10; s.pc = 22; return s.tmp_1; + s.tmp_1.arg2 = s.R___282893; + s.callLocIdx = 11; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___52621 = (r0); - r0 = (s.z___52621 > -1); + s.z___282907 = (r0); + r0 = (s.z___282907 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___52585; + r0 = s.A___282871; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___52585, 0, s.arg0); - r0 = s.A___52585; + r0 = pxsim_Array_.setAt(s.A___282871, 0, s.arg0); + r0 = s.A___282871; { step = 21; continue; } case 11: case 12: - s.q___52635 = (s.p___52606); + s.q___282921 = (s.p___282892); case 13: - r0 = (s.q___52635 != s.s___52603); + r0 = (s.q___282921 != s.s___282889); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P46206_mk(s); + s.tmp_1 = helpers_splitMatch__P276228_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___52635; - s.tmp_1.arg2 = s.R___52607; - s.callLocIdx = 11; s.pc = 23; return s.tmp_1; + s.tmp_1.arg1 = s.q___282921; + s.tmp_1.arg2 = s.R___282893; + s.callLocIdx = 12; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___52641 = (r0); - r0 = (s.e___52641 < 0); + s.e___282927 = (r0); + r0 = (s.e___282927 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___52635 + 1); - s.q___52635 = (r0); + r0 = (s.q___282921 + 1); + s.q___282921 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___52641 == s.p___52606); + r0 = (s.e___282927 == s.p___282892); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___52635 + 1); - s.q___52635 = (r0); + r0 = (s.q___282921 + 1); + s.q___282921 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P41912_mk(s); + s.tmp_0 = helpers_stringSlice__P271935_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___52606; - s.tmp_0.arg2 = s.q___52635; - s.callLocIdx = 12; s.pc = 24; return s.tmp_0; + s.tmp_0.arg1 = s.p___282892; + s.tmp_0.arg2 = s.q___282921; + s.callLocIdx = 13; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___52634 = (r0); - r0 = pxsim_Array__push(s.A___52585, s.T___52634); - r0 = pxsim_Array__length(s.A___52585); + s.T___282920 = (r0); + r0 = pxsim_Array__push(s.A___282871, s.T___282920); + r0 = pxsim_Array__length(s.A___282871); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___52587); + r0 = (s.tmp_1 == s.lim___282873); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___52585; + r0 = s.A___282871; { step = 21; continue; } case 16: case 17: - s.p___52606 = (s.e___52641); - s.q___52635 = (s.p___52606); + s.p___282892 = (s.e___282927); + s.q___282921 = (s.p___282892); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P41912_mk(s); + s.tmp_0 = helpers_stringSlice__P271935_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___52606; - s.tmp_0.arg2 = s.q___52635; - s.callLocIdx = 13; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = s.p___282892; + s.tmp_0.arg2 = s.q___282921; + s.callLocIdx = 14; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___52634 = (r0); - r0 = pxsim_Array__push(s.A___52585, s.T___52634); - r0 = s.A___52585; + s.T___282920 = (r0); + r0 = pxsim_Array__push(s.A___282871, s.T___282920); + r0 = s.A___282871; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P41915.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P271938.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P41915_mk(s) { +function helpers_stringSplit__P271938_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P41915, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P271938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___52585: undefined, - lim___52587: undefined, - s___52603: undefined, - p___52606: undefined, - R___52607: undefined, - z___52621: undefined, - T___52634: undefined, - q___52635: undefined, - e___52641: undefined, + A___282871: undefined, + lim___282873: undefined, + s___282889: undefined, + p___282892: undefined, + R___282893: undefined, + z___282907: undefined, + T___282920: undefined, + q___282921: undefined, + e___282927: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9077,7 +7939,7 @@ function helpers_stringSplit__P41915_mk(s) { -function helpers_splitMatch__P46206(s) { +function helpers_splitMatch__P276228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9087,9 +7949,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___52721 = undefined; - s.s___52724 = undefined; - s.i___52734 = undefined; + s.r___283007 = undefined; + s.s___283010 = undefined; + s.i___283020 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9097,12 +7959,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___52721 = (r0); + s.r___283007 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___52724 = (r0); - r0 = (s.arg1 + s.r___52721); + s.s___283010 = (r0); + r0 = (s.arg1 + s.r___283007); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___52724); + r0 = (s.tmp_1 > s.s___283010); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -9110,18 +7972,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___52734 = (0); + s.i___283020 = (0); case 3: - r0 = (s.i___52734 < s.r___52721); + r0 = (s.i___283020 < s.r___283007); 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___52734); + r0 = (s.arg1 + s.i___283020); 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___52734); + r0 = pxsim_String_.charAt(s.arg2, s.i___283020); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -9131,21 +7993,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___52734 + 1); - s.i___52734 = (r0); + r0 = (s.i___283020 + 1); + s.i___283020 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___52721); + r0 = (s.arg1 + s.r___283007); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P46206.info = {"start":14244,"length":289,"line":480,"column":4,"endLine":489,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} +helpers_splitMatch__P276228.info = {"start":14244,"length":289,"line":480,"column":4,"endLine":489,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} -function helpers_splitMatch__P46206_mk(s) { +function helpers_splitMatch__P276228_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P46206, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P276228, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9153,9 +8015,9 @@ function helpers_splitMatch__P46206_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___52721: undefined, - s___52724: undefined, - i___52734: undefined, + r___283007: undefined, + s___283010: undefined, + i___283020: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9165,7 +8027,7 @@ function helpers_splitMatch__P46206_mk(s) { -function helpers_stringSlice__P41912(s) { +function helpers_stringSlice__P271935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9175,7 +8037,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___52686 = undefined; + s.len___282972 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9183,16 +8045,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___52686 = (r0); + s.len___282972 = (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__P41923_mk(s); - r0 = (s.len___52686 + s.arg1); + s.tmp_1 = Math_max__P271946_mk(s); + r0 = (s.len___282972 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 9; s.pc = 9; return s.tmp_1; + s.callLocIdx = 10; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.arg1 = (r0); @@ -9202,7 +8064,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___52686); + s.arg2 = (s.len___282972); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -9217,7 +8079,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___52686 + s.arg2); + r0 = (s.len___282972 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -9229,17 +8091,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P41912.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P271935.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P41912_mk(s) { +function helpers_stringSlice__P271935_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P41912, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P271935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___52686: undefined, + len___282972: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9249,7 +8111,7 @@ function helpers_stringSlice__P41912_mk(s) { -function scene_Scene_render__P44666(s) { +function scene_Scene_render__P274689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9259,15 +8121,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___52818 = undefined; - s.unnamed280___U1 = undefined; - s.unnamed281___U2 = undefined; + s.s___283104 = undefined; + s.unnamed2148___U1 = undefined; + s.unnamed2149___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C44637_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C274660_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -9298,18 +8160,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__P44666_mk(s); + s.tmp_3 = scene_Scene_render__P274689_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 930; s.pc = 12; return s.tmp_3; + s.callLocIdx = 931; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P44472_mk(s); + s.tmp_0 = scene_Background_draw__P274495_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 931; s.pc = 13; return s.tmp_0; + s.callLocIdx = 932; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: @@ -9319,11 +8181,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P41898_mk(s); + s.tmp_2 = helpers_arraySort__P271921_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scene_Scene_render_inline__P52795; - s.callLocIdx = 936; s.pc = 14; return s.tmp_2; + s.tmp_2.arg1 = scene_Scene_render_inline__P283081; + s.callLocIdx = 937; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -9334,38 +8196,38 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___52818 = (undefined); + s.s___283104 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed280___U1 = (r0); - s.unnamed281___U2 = (0); + s.unnamed2148___U1 = (r0); + s.unnamed2149___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed281___U2; - r0 = pxsim_Array__length(s.unnamed280___U1); + s.tmp_0 = r0 = s.unnamed2149___U2; + r0 = pxsim_Array__length(s.unnamed2148___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed280___U1, s.unnamed281___U2); - s.s___52818 = (r0); + r0 = pxsim_Array__getAt(s.unnamed2148___U1, s.unnamed2149___U2); + s.s___283104 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___52818; + s.tmp_2.arg0 = s.s___283104; 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 = 937; s.pc = 15; return s.tmp_2; + s.callLocIdx = 938; 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 = 937; s.pc = 15; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 937; s.pc = 15; return s.tmp_2;; } - else { s.callLocIdx = 937; 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 = 938; s.pc = 15; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 938; s.pc = 15; return s.tmp_2;; } + else { s.callLocIdx = 938; s.pc = 15; return s.tmp_2; } } case 15: r0 = s.retval; - r0 = (s.unnamed281___U2 + 1); - s.unnamed281___U2 = (r0); + r0 = (s.unnamed2149___U2 + 1); + s.unnamed2149___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed280___U1 = (undefined); + s.unnamed2148___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -9377,21 +8239,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P44666.info = {"start":8203,"length":917,"line":228,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P274689.info = {"start":8203,"length":917,"line":228,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -function scene_Scene_render__P44666_mk(s) { +function scene_Scene_render__P274689_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P44666, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P274689, 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___52818: undefined, - unnamed280___U1: undefined, - unnamed281___U2: undefined, + s___283104: undefined, + unnamed2148___U1: undefined, + unnamed2149___U2: undefined, arg0: undefined, } } @@ -9399,7 +8261,7 @@ function scene_Scene_render__P44666_mk(s) { -function scene_Scene_render_inline__P52795(s) { +function scene_Scene_render_inline__P283081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9422,7 +8284,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 = 932; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 933; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; @@ -9435,7 +8297,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 = 933; s.pc = 4; return s.tmp_4; } + else { s.callLocIdx = 934; s.pc = 4; return s.tmp_4; } } case 4: r0 = s.retval; @@ -9455,7 +8317,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 = 934; s.pc = 5; return s.tmp_6; } + else { s.callLocIdx = 935; s.pc = 5; return s.tmp_6; } } case 5: r0 = s.retval; @@ -9468,7 +8330,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 = 935; s.pc = 6; return s.tmp_8; } + else { s.callLocIdx = 936; s.pc = 6; return s.tmp_8; } } case 6: r0 = s.retval; @@ -9481,12 +8343,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P52795.info = {"start":8781,"length":52,"line":242,"column":37,"endLine":242,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +scene_Scene_render_inline__P283081.info = {"start":8781,"length":52,"line":242,"column":37,"endLine":242,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function scene_Scene_render_inline__P52795_mk(s) { +function scene_Scene_render_inline__P283081_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P52795, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P283081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9506,7 +8368,7 @@ function scene_Scene_render_inline__P52795_mk(s) { -function scene_Background_draw__P44472(s) { +function scene_Background_draw__P274495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9521,31 +8383,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C44463_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C274486_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___43826, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___273849, 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___43826, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___273849, 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, scene_Background_draw_inline__P52966); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P283252); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P41902_mk(s); + s.tmp_2 = helpers_arrayForEach__P271925_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 793; s.pc = 5; return s.tmp_2; + s.callLocIdx = 794; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -9554,12 +8416,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P44472.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__P274495.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__P44472_mk(s) { +function scene_Background_draw__P274495_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P44472, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P274495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9571,7 +8433,7 @@ function scene_Background_draw__P44472_mk(s) { -function scene_Background_draw_inline__P52966(s) { +function scene_Background_draw_inline__P283252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9581,8 +8443,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___52968 = undefined; - s.oy___52979 = undefined; + s.ox___283254 = undefined; + s.oy___283265 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -9597,7 +8459,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___52968 = (r0); + s.ox___283254 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -9608,31 +8470,31 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___52979 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P44481_mk(s); + s.oy___283265 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P274504_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___52968; - s.tmp_0.arg2 = s.oy___52979; - s.callLocIdx = 792; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = s.ox___283254; + s.tmp_0.arg2 = s.oy___283265; + s.callLocIdx = 793; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P52966.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +scene_Background_draw_inline__P283252.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} -function scene_Background_draw_inline__P52966_mk(s) { +function scene_Background_draw_inline__P283252_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P52966, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P283252, 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___52968: undefined, - oy___52979: undefined, + ox___283254: undefined, + oy___283265: undefined, arg0: undefined, } } @@ -9640,7 +8502,7 @@ function scene_Background_draw_inline__P52966_mk(s) { -function scene_BackgroundLayer_draw__P44481(s) { +function scene_BackgroundLayer_draw__P274504(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9650,19 +8512,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___52997 = undefined; - s.h___53000 = undefined; - s.pw___53003 = undefined; - s.ph___53007 = undefined; - s.rx___53016 = undefined; - s.ry___53019 = undefined; - s.y___53088 = undefined; - s.py___53089 = undefined; - s.dh___53098 = undefined; - s.x___53106 = undefined; - s.rxl___53107 = undefined; - s.px___53113 = undefined; - s.dw___53117 = undefined; + s.w___283283 = undefined; + s.h___283286 = undefined; + s.pw___283289 = undefined; + s.ph___283293 = undefined; + s.rx___283302 = undefined; + s.ry___283305 = undefined; + s.y___283374 = undefined; + s.py___283375 = undefined; + s.dh___283384 = undefined; + s.x___283392 = undefined; + s.rxl___283393 = undefined; + s.px___283399 = undefined; + s.dw___283403 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9670,20 +8532,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C44473_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___43826); - s.w___52997 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___43826); - s.h___53000 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C274496_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___273849); + s.w___283283 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___273849); + s.h___283286 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___53003 = (r0); + s.pw___283289 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___53007 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___53003); + s.ph___283293 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___283289); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9692,7 +8554,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___53007); + r0 = pxsim_numops_toBoolDecr(s.ph___283293); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -9704,9 +8566,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___53016 = (r0); + s.rx___283302 = (r0); r0 = (0 - s.arg2); - s.ry___53019 = (r0); + s.ry___283305 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -9716,20 +8578,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___53016; - r0 = (s.w___52997 + s.pw___53003); + s.tmp_1 = r0 = s.rx___283302; + r0 = (s.w___283283 + s.pw___283289); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___53016 = (r0); + s.rx___283302 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___53016; - r0 = (s.w___52997 + s.pw___53003); + s.tmp_0 = r0 = s.rx___283302; + r0 = (s.w___283283 + s.pw___283289); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___53016 = (r0); + s.rx___283302 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -9740,120 +8602,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___53019; - r0 = (s.h___53000 + s.ph___53007); + s.tmp_1 = r0 = s.ry___283305; + r0 = (s.h___283286 + s.ph___283293); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___53019 = (r0); + s.ry___283305 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___53019; - r0 = (s.h___53000 + s.ph___53007); + s.tmp_0 = r0 = s.ry___283305; + r0 = (s.h___283286 + s.ph___283293); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___53019 = (r0); + s.ry___283305 = (r0); case 10: - r0 = (s.rx___53016 % s.w___52997); - s.rx___53016 = (r0); - r0 = (s.rx___53016 < 0); + r0 = (s.rx___283302 % s.w___283283); + s.rx___283302 = (r0); + r0 = (s.rx___283302 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___53016 + s.w___52997); - s.rx___53016 = (r0); + r0 = (s.rx___283302 + s.w___283283); + s.rx___283302 = (r0); case 11: case 12: - r0 = (s.ry___53019 % s.h___53000); - s.ry___53019 = (r0); - r0 = (s.ry___53019 < 0); + r0 = (s.ry___283305 % s.h___283286); + s.ry___283305 = (r0); + r0 = (s.ry___283305 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___53019 + s.h___53000); - s.ry___53019 = (r0); + r0 = (s.ry___283305 + s.h___283286); + s.ry___283305 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___53016); - s.rx___53016 = (r0); - r0 = pxsim.Math_.floor(s.ry___53019); - s.ry___53019 = (r0); - s.y___53088 = (0); - s.py___53089 = (0); + r0 = pxsim.Math_.floor(s.rx___283302); + s.rx___283302 = (r0); + r0 = pxsim.Math_.floor(s.ry___283305); + s.ry___283305 = (r0); + s.y___283374 = (0); + s.py___283375 = (0); case 15: - r0 = (s.y___53088 < s.h___53000); + r0 = (s.y___283374 < s.h___283286); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___53088 % s.ph___53007); - s.py___53089 = (r0); - s.tmp_0 = Math_min__P41924_mk(s); - r0 = (s.ph___53007 - s.py___53089); + r0 = (s.y___283374 % s.ph___283293); + s.py___283375 = (r0); + s.tmp_0 = Math_min__P271947_mk(s); + r0 = (s.ph___283293 - s.py___283375); s.tmp_0.arg0 = r0; - r0 = (s.h___53000 - s.ry___53019); + r0 = (s.h___283286 - s.ry___283305); s.tmp_0.arg1 = r0; - s.callLocIdx = 795; s.pc = 24; return s.tmp_0; + s.callLocIdx = 796; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___53098 = (r0); - s.x___53106 = (0); - s.rxl___53107 = (s.rx___53016); + s.dh___283384 = (r0); + s.x___283392 = (0); + s.rxl___283393 = (s.rx___283302); case 16: - r0 = (s.x___53106 < s.w___52997); + r0 = (s.x___283392 < s.w___283283); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___53106 % s.pw___53003); - s.px___53113 = (r0); - s.tmp_0 = Math_min__P41924_mk(s); - r0 = (s.pw___53003 - s.px___53113); + r0 = (s.x___283392 % s.pw___283289); + s.px___283399 = (r0); + s.tmp_0 = Math_min__P271947_mk(s); + r0 = (s.pw___283289 - s.px___283399); s.tmp_0.arg0 = r0; - r0 = (s.w___52997 - s.rxl___53107); + r0 = (s.w___283283 - s.rxl___283393); s.tmp_0.arg1 = r0; - s.callLocIdx = 796; s.pc = 25; return s.tmp_0; + s.callLocIdx = 797; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___53117 = (r0); + s.dw___283403 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___43826, s.tmp_0, s.rxl___53107, s.ry___53019); - r0 = (s.rxl___53107 + s.dw___53117); + r0 = pxsim_ImageMethods.drawImage(globals.screen___273849, s.tmp_0, s.rxl___283393, s.ry___283305); + r0 = (s.rxl___283393 + s.dw___283403); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___52997); - s.rxl___53107 = (r0); + r0 = (s.tmp_0 % s.w___283283); + s.rxl___283393 = (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___53117; + r0 = s.dw___283403; { step = 18; continue; } case 17: - r0 = s.w___52997; + r0 = s.w___283283; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___53106 + s.tmp_1); - s.x___53106 = (r0); + r0 = (s.x___283392 + s.tmp_1); + s.x___283392 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___53019 + s.dh___53098); + r0 = (s.ry___283305 + s.dh___283384); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___53000); - s.ry___53019 = (r0); + r0 = (s.tmp_0 % s.h___283286); + s.ry___283305 = (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___53098; + r0 = s.dh___283384; { step = 21; continue; } case 20: - r0 = s.h___53000; + r0 = s.h___283286; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___53088 + s.tmp_1); - s.y___53088 = (r0); + r0 = (s.y___283374 + s.tmp_1); + s.y___283374 = (r0); { step = 15; continue; } case 22: case 23: @@ -9861,30 +8723,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P44481.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__P274504.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__P44481_mk(s) { +function scene_BackgroundLayer_draw__P274504_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P44481, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P274504, 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___52997: undefined, - h___53000: undefined, - pw___53003: undefined, - ph___53007: undefined, - rx___53016: undefined, - ry___53019: undefined, - y___53088: undefined, - py___53089: undefined, - dh___53098: undefined, - x___53106: undefined, - rxl___53107: undefined, - px___53113: undefined, - dw___53117: undefined, + w___283283: undefined, + h___283286: undefined, + pw___283289: undefined, + ph___283293: undefined, + rx___283302: undefined, + ry___283305: undefined, + y___283374: undefined, + py___283375: undefined, + dh___283384: undefined, + x___283392: undefined, + rxl___283393: undefined, + px___283399: undefined, + dw___283403: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9894,7 +8756,7 @@ function scene_BackgroundLayer_draw__P44481_mk(s) { -function helpers_arraySort__P41898(s) { +function helpers_arraySort__P271921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9926,24 +8788,24 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P52840); + s.arg1 = (helpers_arraySort_inline__P283126); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P46204_mk(s); + s.tmp_0 = helpers_sortHelper__P276226_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2; s.pc = 5; return s.tmp_0; + s.callLocIdx = 3; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; return leave(s, r0) default: oops() } } } -helpers_arraySort__P41898.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__P271921.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__P41898_mk(s) { +function helpers_arraySort__P271921_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P41898, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P271921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9957,7 +8819,7 @@ function helpers_arraySort__P41898_mk(s) { -function helpers_arraySort_inline__P52840(s) { +function helpers_arraySort_inline__P283126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9967,26 +8829,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___52843 = undefined; - s.bIsUndef___52847 = undefined; - s.aIsNull___52858 = undefined; - s.bIsNull___52862 = undefined; + s.aIsUndef___283129 = undefined; + s.bIsUndef___283133 = undefined; + s.aIsNull___283144 = undefined; + s.bIsNull___283148 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___52843 = (r0); + s.aIsUndef___283129 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___52847 = (r0); - s.tmp_0 = r0 = s.aIsUndef___52843; + s.bIsUndef___283133 = (r0); + s.tmp_0 = r0 = s.aIsUndef___283129; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___52847; + r0 = s.bIsUndef___283133; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -9996,13 +8858,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___52843); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___283129); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___52847); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___283133); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -10011,16 +8873,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___52858 = (r0); + s.aIsNull___283144 = (r0); r0 = (s.arg1 === null); - s.bIsNull___52862 = (r0); - s.tmp_0 = r0 = s.aIsNull___52858; + s.bIsNull___283148 = (r0); + s.tmp_0 = r0 = s.aIsNull___283144; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___52862; + r0 = s.bIsNull___283148; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -10030,13 +8892,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___52858); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___283144); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___52862); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___283148); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -10075,12 +8937,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P52840.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"]} +helpers_arraySort_inline__P283126.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 helpers_arraySort_inline__P52840_mk(s) { +function helpers_arraySort_inline__P283126_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P52840, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P283126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10090,10 +8952,10 @@ function helpers_arraySort_inline__P52840_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___52843: undefined, - bIsUndef___52847: undefined, - aIsNull___52858: undefined, - bIsNull___52862: undefined, + aIsUndef___283129: undefined, + bIsUndef___283133: undefined, + aIsNull___283144: undefined, + bIsNull___283148: undefined, arg0: undefined, arg1: undefined, } } @@ -10102,7 +8964,7 @@ function helpers_arraySort_inline__P52840_mk(s) { -function helpers_sortHelper__P46204(s) { +function helpers_sortHelper__P276226(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10112,9 +8974,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___52897 = undefined; - s.i___52900 = undefined; - s.j___52906 = undefined; + s.len___283183 = undefined; + s.i___283186 = undefined; + s.j___283192 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10142,31 +9004,31 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___52897 = (r0); - s.i___52900 = (0); + s.len___283183 = (r0); + s.i___283186 = (0); case 5: - s.tmp_1 = r0 = s.i___52900; - r0 = (s.len___52897 - 1); + s.tmp_1 = r0 = s.i___283186; + r0 = (s.len___283183 - 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___52900 + 1); - s.j___52906 = (r0); + r0 = (s.i___283186 + 1); + s.j___283192 = (r0); case 6: - r0 = (s.j___52906 < s.len___52897); + r0 = (s.j___283192 < s.len___283183); 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___52900); + r0 = pxsim_Array__getAt(s.arg0, s.i___283186); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___52906); + r0 = pxsim_Array__getAt(s.arg0, s.j___283192); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 0; s.pc = 12; return s.tmp_3; + s.callLocIdx = 1; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; @@ -10174,21 +9036,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P46203_mk(s); + s.tmp_4 = helpers_swap__P276225_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___52900; - s.tmp_4.arg2 = s.j___52906; - s.callLocIdx = 1; s.pc = 13; return s.tmp_4; + s.tmp_4.arg1 = s.i___283186; + s.tmp_4.arg2 = s.j___283192; + s.callLocIdx = 2; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___52906 + 1); - s.j___52906 = (r0); + r0 = (s.j___283192 + 1); + s.j___283192 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___52900 + 1); - s.i___52900 = (r0); + r0 = (s.i___283186 + 1); + s.i___283186 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -10196,30 +9058,79 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P46204.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__P276226.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__P46204_mk(s) { +function helpers_sortHelper__P276226_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P46204, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P276226, 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___52897: undefined, - i___52900: undefined, - j___52906: undefined, + len___283183: undefined, + i___283186: undefined, + j___283192: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function helpers_swap__P276225(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.temp___283221 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = pxsim_Array__getAt(s.arg0, s.arg1); + s.temp___283221 = (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___283221); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +helpers_swap__P276225.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__P276225_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_swap__P276225, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + temp___283221: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function scene_Camera_update__P44592(s) { +function scene_Camera_update__P274615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10229,74 +9140,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___53204 = undefined; - s.percentComplete___53218 = undefined; - s.damp___53225 = undefined; - s.f___53234 = undefined; - s.x___53240 = undefined; - s.y___53247 = undefined; + s.elapsed___283490 = undefined; + s.percentComplete___283504 = undefined; + s.damp___283511 = undefined; + s.f___283520 = undefined; + s.x___283526 = undefined; + s.y___283533 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C44575_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C274598_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 = r0 = s.arg0; - s.tmp_3 = Sprite_x__P44148_mk(s); + s.tmp_3 = Sprite_x__P274171_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 891; s.pc = 9; return s.tmp_3; + s.callLocIdx = 892; s.pc = 9; return s.tmp_3; case 9: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_lastUpdatedSpriteX"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_y__P44150_mk(s); + s.tmp_2 = Sprite_y__P274173_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 892; s.pc = 10; return s.tmp_2; + s.callLocIdx = 893; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_lastUpdatedSpriteY"] = (s.tmp_1); - s.tmp_0 = scene_Camera_offsetX__P44581_mk(s); + s.tmp_0 = scene_Camera_offsetX__P274604_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_x__P44148_mk(s); + s.tmp_2 = Sprite_x__P274171_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 893; s.pc = 12; return s.tmp_2; + s.callLocIdx = 894; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); 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 = 894; s.pc = 11; return s.tmp_0; + s.callLocIdx = 895; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P44583_mk(s); + s.tmp_0 = scene_Camera_offsetY__P274606_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P44150_mk(s); + s.tmp_2 = Sprite_y__P274173_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 895; s.pc = 14; return s.tmp_2; + s.callLocIdx = 896; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); 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 = 896; s.pc = 13; return s.tmp_0; + s.callLocIdx = 897; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 1: @@ -10320,10 +9231,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___53204 = (r0); + s.elapsed___283490 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___53204 >= s.tmp_1); + r0 = (s.elapsed___283490 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -10332,49 +9243,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___53204 / s.tmp_0); - s.percentComplete___53218 = (r0); - s.damp___53225 = (1); - r0 = (s.percentComplete___53218 >= 0.75); + r0 = (s.elapsed___283490 / s.tmp_0); + s.percentComplete___283504 = (r0); + s.damp___283511 = (1); + r0 = (s.percentComplete___283504 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P41923_mk(s); + s.tmp_1 = Math_max__P271946_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___53218); + r0 = (1 - s.percentComplete___283504); s.tmp_1.arg1 = r0; - s.callLocIdx = 899; s.pc = 15; return s.tmp_1; + s.callLocIdx = 900; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___53225 = (r0); + s.damp___283511 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___53225); - s.f___53234 = (r0); + r0 = (s.tmp_0 * s.damp___283511); + s.f___283520 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___53234); + r0 = (s.tmp_1 * s.f___283520); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___53240 = (r0); + s.x___283526 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___53234); + r0 = (s.tmp_1 * s.f___283520); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___53247 = (r0); + s.y___283533 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___53240); + r0 = (s.tmp_2 + s.x___283526); 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___53247); + r0 = (s.tmp_2 + s.y___283533); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -10384,24 +9295,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P44592.info = {"start":2563,"length":1418,"line":83,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P274615.info = {"start":2563,"length":1418,"line":83,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P44592_mk(s) { +function scene_Camera_update__P274615_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P44592, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P274615, 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, - elapsed___53204: undefined, - percentComplete___53218: undefined, - damp___53225: undefined, - f___53234: undefined, - x___53240: undefined, - y___53247: undefined, + elapsed___283490: undefined, + percentComplete___283504: undefined, + damp___283511: undefined, + f___283520: undefined, + x___283526: undefined, + y___283533: undefined, arg0: undefined, } } @@ -10409,7 +9320,7 @@ function scene_Camera_update__P44592_mk(s) { -function scene_Camera_offsetY__P44583(s) { +function scene_Camera_offsetY__P274606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10419,27 +9330,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___53266 = undefined; + s.scene___283552 = 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__C44575_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 882; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 883; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___53266 = (r0); - r0 = s.scene___53266.fields["tileMap"]; + s.scene___283552 = (r0); + r0 = s.scene___283552.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___53266.fields["tileMap"]; + r0 = s.scene___283552.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -10456,11 +9367,11 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_10 = tiles_TileMap_offsetY__P44536_mk(s); - r0 = s.scene___53266.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetY__P274559_mk(s); + r0 = s.scene___283552.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; - s.callLocIdx = 884; s.pc = 6; return s.tmp_10; + s.callLocIdx = 885; s.pc = 6; return s.tmp_10; case 6: r0 = s.retval; s.tmp_9 = r0; @@ -10478,12 +9389,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P44583.info = {"start":1152,"length":291,"line":39,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} +scene_Camera_offsetY__P274606.info = {"start":1152,"length":291,"line":39,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} -function scene_Camera_offsetY__P44583_mk(s) { +function scene_Camera_offsetY__P274606_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P44583, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P274606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10496,7 +9407,7 @@ function scene_Camera_offsetY__P44583_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___53266: undefined, + scene___283552: undefined, arg0: undefined, arg1: undefined, } } @@ -10505,7 +9416,7 @@ function scene_Camera_offsetY__P44583_mk(s) { -function tiles_TileMap_enabled__P44541(s) { +function tiles_TileMap_enabled__P274564(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10520,7 +9431,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -10533,13 +9444,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P44541.info = {"start":10177,"length":66,"line":351,"column":8,"endLine":353,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P44541.isGetter = true; +tiles_TileMap_enabled__P274564.info = {"start":10177,"length":66,"line":351,"column":8,"endLine":353,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P274564.isGetter = true; -function tiles_TileMap_enabled__P44541_mk(s) { +function tiles_TileMap_enabled__P274564_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P44541, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P274564, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10552,7 +9463,7 @@ function tiles_TileMap_enabled__P44541_mk(s) { -function tiles_TileMap_offsetY__P44536(s) { +function tiles_TileMap_offsetY__P274559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10568,38 +9479,38 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P41920_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P271943_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P41923_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P44538_mk(s); + s.tmp_1 = Math_max__P271946_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P274561_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 821; s.pc = 3; return s.tmp_3; + s.callLocIdx = 822; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 822; s.pc = 2; return s.tmp_1; + s.callLocIdx = 823; 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 = 823; s.pc = 1; return s.tmp_0; + s.callLocIdx = 824; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P44536.info = {"start":9630,"length":123,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P274559.info = {"start":9630,"length":123,"line":329,"column":8,"endLine":331,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_TileMap_offsetY__P44536_mk(s) { +function tiles_TileMap_offsetY__P274559_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P44536, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P274559, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10614,7 +9525,7 @@ function tiles_TileMap_offsetY__P44536_mk(s) { -function tiles_TileMap_areaHeight__P44538(s) { +function tiles_TileMap_areaHeight__P274561(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10629,7 +9540,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10651,12 +9562,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P44538.info = {"start":9864,"length":93,"line":337,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P274561.info = {"start":9864,"length":93,"line":337,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_TileMap_areaHeight__P44538_mk(s) { +function tiles_TileMap_areaHeight__P274561_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P44538, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P274561, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10670,7 +9581,7 @@ function tiles_TileMap_areaHeight__P44538_mk(s) { -function tiles_TileMap_scale__P44532(s) { +function tiles_TileMap_scale__P274555(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10685,18 +9596,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P44532.info = {"start":9205,"length":55,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P44532.isGetter = true; +tiles_TileMap_scale__P274555.info = {"start":9205,"length":55,"line":310,"column":8,"endLine":312,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P274555.isGetter = true; -function tiles_TileMap_scale__P44532_mk(s) { +function tiles_TileMap_scale__P274555_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P44532, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P274555, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10705,7 +9616,7 @@ function tiles_TileMap_scale__P44532_mk(s) { -function tiles_TileMapData_height__P44514(s) { +function tiles_TileMapData_height__P274537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10720,18 +9631,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C44511_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C274534_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P44514.info = {"start":6489,"length":65,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} -tiles_TileMapData_height__P44514.isGetter = true; +tiles_TileMapData_height__P274537.info = {"start":6489,"length":65,"line":218,"column":8,"endLine":220,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P274537.isGetter = true; -function tiles_TileMapData_height__P44514_mk(s) { +function tiles_TileMapData_height__P274537_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P44514, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P274537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10740,7 +9651,7 @@ function tiles_TileMapData_height__P44514_mk(s) { -function scene_Camera_offsetY__P44582(s) { +function scene_Camera_offsetY__P274605(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10755,18 +9666,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C44575_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P44582.info = {"start":1084,"length":59,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} -scene_Camera_offsetY__P44582.isGetter = true; +scene_Camera_offsetY__P274605.info = {"start":1084,"length":59,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} +scene_Camera_offsetY__P274605.isGetter = true; -function scene_Camera_offsetY__P44582_mk(s) { +function scene_Camera_offsetY__P274605_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P44582, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P274605, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10775,7 +9686,7 @@ function scene_Camera_offsetY__P44582_mk(s) { -function scene_Camera_offsetX__P44581(s) { +function scene_Camera_offsetX__P274604(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10785,27 +9696,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___53326 = undefined; + s.scene___283612 = 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__C44575_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 879; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 880; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___53326 = (r0); - r0 = s.scene___53326.fields["tileMap"]; + s.scene___283612 = (r0); + r0 = s.scene___283612.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___53326.fields["tileMap"]; + r0 = s.scene___283612.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -10822,11 +9733,11 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_10 = tiles_TileMap_offsetX__P44535_mk(s); - r0 = s.scene___53326.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetX__P274558_mk(s); + r0 = s.scene___283612.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; - s.callLocIdx = 881; s.pc = 6; return s.tmp_10; + s.callLocIdx = 882; s.pc = 6; return s.tmp_10; case 6: r0 = s.retval; s.tmp_9 = r0; @@ -10844,12 +9755,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P44581.info = {"start":784,"length":291,"line":28,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} +scene_Camera_offsetX__P274604.info = {"start":784,"length":291,"line":28,"column":8,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} -function scene_Camera_offsetX__P44581_mk(s) { +function scene_Camera_offsetX__P274604_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P44581, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P274604, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10862,7 +9773,7 @@ function scene_Camera_offsetX__P44581_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___53326: undefined, + scene___283612: undefined, arg0: undefined, arg1: undefined, } } @@ -10871,7 +9782,7 @@ function scene_Camera_offsetX__P44581_mk(s) { -function tiles_TileMap_offsetX__P44535(s) { +function tiles_TileMap_offsetX__P274558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10887,38 +9798,38 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P41920_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P271943_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P41923_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P44537_mk(s); + s.tmp_1 = Math_max__P271946_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P274560_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 818; s.pc = 3; return s.tmp_3; + s.callLocIdx = 819; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 819; s.pc = 2; return s.tmp_1; + s.callLocIdx = 820; 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 = 820; s.pc = 1; return s.tmp_0; + s.callLocIdx = 821; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P44535.info = {"start":9499,"length":121,"line":325,"column":8,"endLine":327,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P274558.info = {"start":9499,"length":121,"line":325,"column":8,"endLine":327,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_TileMap_offsetX__P44535_mk(s) { +function tiles_TileMap_offsetX__P274558_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P44535, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P274558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10933,7 +9844,7 @@ function tiles_TileMap_offsetX__P44535_mk(s) { -function tiles_TileMap_areaWidth__P44537(s) { +function tiles_TileMap_areaWidth__P274560(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10948,7 +9859,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10970,12 +9881,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P44537.info = {"start":9763,"length":91,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P274560.info = {"start":9763,"length":91,"line":333,"column":8,"endLine":335,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_TileMap_areaWidth__P44537_mk(s) { +function tiles_TileMap_areaWidth__P274560_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P44537, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P274560, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10989,7 +9900,7 @@ function tiles_TileMap_areaWidth__P44537_mk(s) { -function tiles_TileMapData_width__P44513(s) { +function tiles_TileMapData_width__P274536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11004,18 +9915,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C44511_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C274534_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P44513.info = {"start":6416,"length":63,"line":214,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} -tiles_TileMapData_width__P44513.isGetter = true; +tiles_TileMapData_width__P274536.info = {"start":6416,"length":63,"line":214,"column":8,"endLine":216,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P274536.isGetter = true; -function tiles_TileMapData_width__P44513_mk(s) { +function tiles_TileMapData_width__P274536_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P44513, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P274536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11024,7 +9935,7 @@ function tiles_TileMapData_width__P44513_mk(s) { -function scene_Camera_offsetX__P44580(s) { +function scene_Camera_offsetX__P274603(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11039,18 +9950,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C44575_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P44580.info = {"start":716,"length":59,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} -scene_Camera_offsetX__P44580.isGetter = true; +scene_Camera_offsetX__P274603.info = {"start":716,"length":59,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} +scene_Camera_offsetX__P274603.isGetter = true; -function scene_Camera_offsetX__P44580_mk(s) { +function scene_Camera_offsetX__P274603_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P44580, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P274603, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11059,7 +9970,7 @@ function scene_Camera_offsetX__P44580_mk(s) { -function Sprite_y__P44150(s) { +function Sprite_y__P274173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11074,7 +9985,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = s.arg0.fields["_height"]; @@ -11089,13 +10000,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P44150.info = {"start":2893,"length":100,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P44150.isGetter = true; +Sprite_y__P274173.info = {"start":2893,"length":100,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P274173.isGetter = true; -function Sprite_y__P44150_mk(s) { +function Sprite_y__P274173_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P44150, depth: s.depth + 1, + parent: s, fn: Sprite_y__P274173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11109,7 +10020,7 @@ function Sprite_y__P44150_mk(s) { -function Fx_toFloat__P41966(s) { +function Fx_toFloat__P271989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11127,12 +10038,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P41966.info = {"start":2470,"length":81,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} +Fx_toFloat__P271989.info = {"start":2470,"length":81,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} -function Fx_toFloat__P41966_mk(s) { +function Fx_toFloat__P271989_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P41966, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P271989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11141,7 +10052,7 @@ function Fx_toFloat__P41966_mk(s) { -function Fx_div__P41955(s) { +function Fx_div__P271978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11162,12 +10073,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P41955.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__P271978.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__P41955_mk(s) { +function Fx_div__P271978_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P41955, depth: s.depth + 1, + parent: s, fn: Fx_div__P271978, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11178,7 +10089,7 @@ function Fx_div__P41955_mk(s) { -function Fx_add__P41950(s) { +function Fx_add__P271973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11197,12 +10108,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P41950.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__P271973.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__P41950_mk(s) { +function Fx_add__P271973_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P41950, depth: s.depth + 1, + parent: s, fn: Fx_add__P271973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11212,7 +10123,7 @@ function Fx_add__P41950_mk(s) { -function Sprite_x__P44148(s) { +function Sprite_x__P274171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11227,7 +10138,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = s.arg0.fields["_width"]; @@ -11242,13 +10153,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P44148.info = {"start":2537,"length":99,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P44148.isGetter = true; +Sprite_x__P274171.info = {"start":2537,"length":99,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P274171.isGetter = true; -function Sprite_x__P44148_mk(s) { +function Sprite_x__P274171_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P44148, depth: s.depth + 1, + parent: s, fn: Sprite_x__P274171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11262,7 +10173,7 @@ function Sprite_x__P44148_mk(s) { -function PhysicsEngine_move__P44311(s) { +function PhysicsEngine_move__P274334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11278,17 +10189,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C44305_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C274328_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P44311.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__P274334.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__P44311_mk(s) { +function PhysicsEngine_move__P274334_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P44311, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P274334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11298,7 +10209,7 @@ function PhysicsEngine_move__P44311_mk(s) { -function PhysicsEngine_draw__P44310(s) { +function PhysicsEngine_draw__P274333(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11313,17 +10224,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C44305_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C274328_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P44310.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__P274333.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__P44310_mk(s) { +function PhysicsEngine_draw__P274333_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P44310, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P274333, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11332,7 +10243,7 @@ function PhysicsEngine_draw__P44310_mk(s) { -function controller___update__P43959(s) { +function controller___update__P273982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11342,7 +10253,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___53617 = undefined; + s.dtms___283903 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -11350,35 +10261,35 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___53617 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P53624); + s.dtms___283903 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P283910); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___53617); - s.tmp_1 = helpers_arrayForEach__P41902_mk(s); - s.tmp_2 = controller_players__P43923_mk(s); - s.callLocIdx = 193; s.pc = 2; return s.tmp_2; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___283903); + s.tmp_1 = helpers_arrayForEach__P271925_mk(s); + s.tmp_2 = controller_players__P273946_mk(s); + s.callLocIdx = 194; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 195; s.pc = 1; return s.tmp_1; + s.callLocIdx = 196; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller___update__P43959.info = {"start":13733,"length":137,"line":414,"column":4,"endLine":417,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P273982.info = {"start":13733,"length":137,"line":414,"column":4,"endLine":417,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} -function controller___update__P43959_mk(s) { +function controller___update__P273982_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P43959, depth: s.depth + 1, + parent: s, fn: controller___update__P273982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___53617: undefined, + dtms___283903: undefined, arg0: undefined, } } @@ -11386,7 +10297,7 @@ function controller___update__P43959_mk(s) { -function controller___update_inline__P53624(s) { +function controller___update_inline__P283910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11400,22 +10311,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P43957_mk(s); + s.tmp_0 = controller_Controller___update__P273980_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; - s.callLocIdx = 194; s.pc = 1; return s.tmp_0; + s.callLocIdx = 195; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller___update_inline__P53624.info = {"start":13835,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller___update_inline__P283910.info = {"start":13835,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller___update_inline__P53624_mk(s) { +function controller___update_inline__P283910_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P53624, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P283910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11425,7 +10336,7 @@ function controller___update_inline__P53624_mk(s) { -function controller_Controller___update__P43957(s) { +function controller_Controller___update__P273980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11441,7 +10352,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -11452,26 +10363,26 @@ 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, controller_Controller___update_inline__P53637); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P283923); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P41902_mk(s); + s.tmp_1 = helpers_arrayForEach__P271925_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 192; s.pc = 1; return s.tmp_1; + s.callLocIdx = 193; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller___update__P43957.info = {"start":13211,"length":124,"line":396,"column":8,"endLine":399,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P273980.info = {"start":13211,"length":124,"line":396,"column":8,"endLine":399,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Controller___update__P43957_mk(s) { +function controller_Controller___update__P273980_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P43957, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P273980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11485,7 +10396,7 @@ function controller_Controller___update__P43957_mk(s) { -function controller_Controller___update_inline__P53637(s) { +function controller_Controller___update_inline__P283923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11499,23 +10410,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P43997_mk(s); + s.tmp_0 = controller_Button___update__P274020_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; - s.callLocIdx = 191; s.pc = 1; return s.tmp_0; + s.callLocIdx = 192; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P53637.info = {"start":13298,"length":25,"line":398,"column":33,"endLine":398,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +controller_Controller___update_inline__P283923.info = {"start":13298,"length":25,"line":398,"column":33,"endLine":398,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} -function controller_Controller___update_inline__P53637_mk(s) { +function controller_Controller___update_inline__P283923_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P53637, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P283923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11525,7 +10436,7 @@ function controller_Controller___update_inline__P53637_mk(s) { -function controller_Button___update__P43997(s) { +function controller_Button___update__P274020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11535,16 +10446,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___53653 = undefined; - s.interval___53662 = undefined; - s.count___53675 = undefined; + s.delay___283939 = undefined; + s.interval___283948 = undefined; + s.count___283961 = 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__C43983_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -11568,31 +10479,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___46581; + r0 = globals.defaultRepeatDelay___276603; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___53653 = (s.tmp_2); + s.delay___283939 = (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___46583; + r0 = globals.defaultRepeatInterval___276605; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___53662 = (s.tmp_2); + s.interval___283948 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___53653); + r0 = (s.tmp_1 < s.delay___283939); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -11601,26 +10512,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___53653); + r0 = (s.tmp_5 - s.delay___283939); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___53662); + r0 = (s.tmp_4 - s.interval___283948); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___53662); + r0 = (s.tmp_3 / s.interval___283948); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___53675 = (r0); + s.count___283961 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___53675 != s.tmp_1); + r0 = (s.count___283961 != 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__P46570_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P276592_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 207; s.pc = 12; return s.tmp_2; + s.callLocIdx = 208; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___53675); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___283961); case 9: case 10: case 11: @@ -11628,12 +10539,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P43997.info = {"start":7291,"length":704,"line":217,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Button___update__P274020.info = {"start":7291,"length":704,"line":217,"column":8,"endLine":234,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Button___update__P43997_mk(s) { +function controller_Button___update__P274020_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P43997, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P274020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11641,9 +10552,9 @@ function controller_Button___update__P43997_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___53653: undefined, - interval___53662: undefined, - count___53675: undefined, + delay___283939: undefined, + interval___283948: undefined, + count___283961: undefined, arg0: undefined, arg1: undefined, } } @@ -11652,7 +10563,7 @@ function controller_Button___update__P43997_mk(s) { -function controller_Button_raiseButtonRepeat__P46570(s) { +function controller_Button_raiseButtonRepeat__P276592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11667,8 +10578,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___46579); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___276601); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -11683,12 +10594,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P46570.info = {"start":3303,"length":211,"line":110,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P276592.info = {"start":3303,"length":211,"line":110,"column":8,"endLine":115,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -function controller_Button_raiseButtonRepeat__P46570_mk(s) { +function controller_Button_raiseButtonRepeat__P276592_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P46570, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P276592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11698,7 +10609,7 @@ function controller_Button_raiseButtonRepeat__P46570_mk(s) { -function controller_players__P43923(s) { +function controller_players__P273946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11708,25 +10619,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P43922_mk(s); - s.callLocIdx = 152; s.pc = 1; return s.tmp_0; + s.tmp_0 = controller__player1__P273945_mk(s); + s.callLocIdx = 153; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P41903_mk(s); - s.tmp_0.arg0 = globals._players___46499; - s.tmp_0.arg1 = controller_players_inline__P53607; - s.callLocIdx = 153; s.pc = 2; return s.tmp_0; + s.tmp_0 = helpers_arrayFilter__P271926_mk(s); + s.tmp_0.arg0 = globals._players___276521; + s.tmp_0.arg1 = controller_players_inline__P283893; + s.callLocIdx = 154; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P43923.info = {"start":1645,"length":144,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P273946.info = {"start":1645,"length":144,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} -function controller_players__P43923_mk(s) { +function controller_players__P273946_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P43923, depth: s.depth + 1, + parent: s, fn: controller_players__P273946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -11735,7 +10646,7 @@ function controller_players__P43923_mk(s) { -function controller_players_inline__P53607(s) { +function controller_players_inline__P283893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11759,12 +10670,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P53607.info = {"start":1767,"length":14,"line":55,"column":31,"endLine":55,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller_players_inline__P283893.info = {"start":1767,"length":14,"line":55,"column":31,"endLine":55,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller_players_inline__P53607_mk(s) { +function controller_players_inline__P283893_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P53607, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P283893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11776,7 +10687,7 @@ function controller_players_inline__P53607_mk(s) { -function helpers_arrayFilter__P41903(s) { +function helpers_arrayFilter__P271926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11786,62 +10697,62 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___50843 = undefined; - s.len___50845 = undefined; - s.i___50848 = undefined; - s.v___50853 = undefined; + s.res___281129 = undefined; + s.len___281131 = undefined; + s.i___281134 = undefined; + s.v___281139 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___50843 = (r0); + s.res___281129 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___50845 = (r0); - s.i___50848 = (0); + s.len___281131 = (r0); + s.i___281134 = (0); case 1: - r0 = (s.i___50848 < s.len___50845); + r0 = (s.i___281134 < s.len___281131); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___50848); - s.v___50853 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___281134); + s.v___281139 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___50853; - s.tmp_1.arg1 = s.i___50848; + s.tmp_1.arg0 = s.v___281139; + s.tmp_1.arg1 = s.i___281134; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 6; s.pc = 5; return s.tmp_1; + s.callLocIdx = 7; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___50843, s.v___50853); + r0 = pxsim_Array__push(s.res___281129, s.v___281139); case 2: case 3: - r0 = (s.i___50848 + 1); - s.i___50848 = (r0); + r0 = (s.i___281134 + 1); + s.i___281134 = (r0); { step = 1; continue; } case 4: - r0 = s.res___50843; + r0 = s.res___281129; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P41903.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__P271926.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__P41903_mk(s) { +function helpers_arrayFilter__P271926_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P41903, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P271926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___50843: undefined, - len___50845: undefined, - i___50848: undefined, - v___50853: undefined, + res___281129: undefined, + len___281131: undefined, + i___281134: undefined, + v___281139: undefined, arg0: undefined, arg1: undefined, } } @@ -11850,7 +10761,7 @@ function helpers_arrayFilter__P41903_mk(s) { -function controller__moveSprites__P43927(s) { +function controller__moveSprites__P273950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11860,26 +10771,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P41902_mk(s); - s.tmp_1 = controller_players__P43923_mk(s); - s.callLocIdx = 154; s.pc = 2; return s.tmp_1; + s.tmp_0 = helpers_arrayForEach__P271925_mk(s); + s.tmp_1 = controller_players__P273946_mk(s); + s.callLocIdx = 155; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = controller__moveSprites_inline__P53406; - s.callLocIdx = 156; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = controller__moveSprites_inline__P283692; + s.callLocIdx = 157; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller__moveSprites__P43927.info = {"start":2005,"length":180,"line":67,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P273950.info = {"start":2005,"length":180,"line":67,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} -function controller__moveSprites__P43927_mk(s) { +function controller__moveSprites__P273950_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P43927, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P273950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11889,7 +10800,7 @@ function controller__moveSprites__P43927_mk(s) { -function controller__moveSprites_inline__P53406(s) { +function controller__moveSprites_inline__P283692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11903,21 +10814,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P43956_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P273979_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 155; s.pc = 1; return s.tmp_0; + s.callLocIdx = 156; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P53406.info = {"start":2151,"length":26,"line":70,"column":26,"endLine":70,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller__moveSprites_inline__P283692.info = {"start":2151,"length":26,"line":70,"column":26,"endLine":70,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller__moveSprites_inline__P53406_mk(s) { +function controller__moveSprites_inline__P283692_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P53406, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P283692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11927,7 +10838,7 @@ function controller__moveSprites_inline__P53406_mk(s) { -function controller_Controller___preUpdate__P43956(s) { +function controller_Controller___preUpdate__P273979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11937,22 +10848,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___53413 = undefined; - s.svx___53414 = undefined; - s.svy___53415 = undefined; - s.svxInCricle___53450 = undefined; - s.svyInCircle___53452 = undefined; - s.sq___53454 = undefined; - s.scale___53469 = undefined; + s.deadSprites___283699 = undefined; + s.svx___283700 = undefined; + s.svy___283701 = undefined; + s.svxInCricle___283736 = undefined; + s.svyInCircle___283738 = undefined; + s.sq___283740 = undefined; + s.scale___283755 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P43933_mk(s); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P273956_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 166; s.pc = 18; return s.tmp_3; + s.callLocIdx = 167; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; s.tmp_2 = r0; @@ -11966,38 +10877,38 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___53413 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___53413, false); + s.deadSprites___283699 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___283699, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___53414 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___53414, 0); + s.svx___283700 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___283700, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___53415 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___53415, 0); + s.svy___283701 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___283701, 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___53414; - s.tmp_5 = controller_Button_pressureLevel__P43995_mk(s); - s.tmp_6 = controller_Controller_right__P43938_mk(s); + s.tmp_1 = r0 = s.svx___283700; + s.tmp_5 = controller_Button_pressureLevel__P274018_mk(s); + s.tmp_6 = controller_Controller_right__P273961_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 167; s.pc = 20; return s.tmp_6; + s.callLocIdx = 168; s.pc = 20; return s.tmp_6; case 20: r0 = s.retval; s.tmp_5.arg0 = r0; - s.callLocIdx = 168; s.pc = 19; return s.tmp_5; + s.callLocIdx = 169; s.pc = 19; return s.tmp_5; case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P43995_mk(s); - s.tmp_9 = controller_Controller_left__P43937_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P274018_mk(s); + s.tmp_9 = controller_Controller_left__P273960_mk(s); s.tmp_9.arg0 = s.arg0; - s.callLocIdx = 169; s.pc = 22; return s.tmp_9; + s.callLocIdx = 170; s.pc = 22; return s.tmp_9; case 22: r0 = s.retval; s.tmp_8.arg0 = r0; - s.callLocIdx = 170; s.pc = 21; return s.tmp_8; + s.callLocIdx = 171; s.pc = 21; return s.tmp_8; case 21: r0 = s.retval; s.tmp_7 = r0; @@ -12006,26 +10917,26 @@ 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___53415; - s.tmp_4 = controller_Button_pressureLevel__P43995_mk(s); - s.tmp_5 = controller_Controller_down__P43940_mk(s); + s.tmp_0 = r0 = s.svy___283701; + s.tmp_4 = controller_Button_pressureLevel__P274018_mk(s); + s.tmp_5 = controller_Controller_down__P273963_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 171; s.pc = 24; return s.tmp_5; + s.callLocIdx = 172; s.pc = 24; return s.tmp_5; case 24: r0 = s.retval; s.tmp_4.arg0 = r0; - s.callLocIdx = 172; s.pc = 23; return s.tmp_4; + s.callLocIdx = 173; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P43995_mk(s); - s.tmp_8 = controller_Controller_up__P43939_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P274018_mk(s); + s.tmp_8 = controller_Controller_up__P273962_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 173; s.pc = 26; return s.tmp_8; + s.callLocIdx = 174; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; s.tmp_7.arg0 = r0; - s.callLocIdx = 174; s.pc = 25; return s.tmp_7; + s.callLocIdx = 175; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_6 = r0; @@ -12036,14 +10947,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C43983_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P43938_mk(s); + s.tmp_1 = controller_Button__C274006_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P273961_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 175; s.pc = 28; return s.tmp_2; + s.callLocIdx = 176; 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__C43983_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C274006_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: @@ -12058,14 +10969,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C43983_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P43937_mk(s); + s.tmp_5 = controller_Button__C274006_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P273960_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 176; s.pc = 30; return s.tmp_6; + s.callLocIdx = 177; 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__C43983_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C274006_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: @@ -12080,18 +10991,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___53414; + s.tmp_8 = r0 = s.svx___283700; 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__C43983_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P43940_mk(s); + s.tmp_1 = controller_Button__C274006_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P273963_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 177; s.pc = 32; return s.tmp_2; + s.callLocIdx = 178; 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__C43983_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C274006_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: @@ -12106,14 +11017,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C43983_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P43939_mk(s); + s.tmp_5 = controller_Button__C274006_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P273962_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 178; s.pc = 34; return s.tmp_6; + s.callLocIdx = 179; 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__C43983_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C274006_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: @@ -12128,57 +11039,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___53415; + s.tmp_8 = r0 = s.svy___283701; 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___53450 = (r0); - s.tmp_0 = r0 = s.svxInCricle___53450; - r0 = pxsim_pxtrt_ldlocRef(s.svx___53414); + s.svxInCricle___283736 = (r0); + s.tmp_0 = r0 = s.svxInCricle___283736; + r0 = pxsim_pxtrt_ldlocRef(s.svx___283700); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___53452 = (r0); - s.tmp_0 = r0 = s.svyInCircle___53452; - r0 = pxsim_pxtrt_ldlocRef(s.svy___53415); + s.svyInCircle___283738 = (r0); + s.tmp_0 = r0 = s.svyInCircle___283738; + r0 = pxsim_pxtrt_ldlocRef(s.svy___283701); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___53414); + r0 = pxsim_pxtrt_ldlocRef(s.svx___283700); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___53414); + r0 = pxsim_pxtrt_ldlocRef(s.svx___283700); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___53415); + r0 = pxsim_pxtrt_ldlocRef(s.svy___283701); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___53415); + r0 = pxsim_pxtrt_ldlocRef(s.svy___283701); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___53454 = (r0); - r0 = (s.sq___53454 > 65536); + s.sq___283740 = (r0); + r0 = (s.sq___283740 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___53454); + r0 = (65536 / s.sq___283740); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___53469 = (r0); - s.tmp_0 = r0 = s.svxInCricle___53450; - s.tmp_3 = r0 = s.scale___53469; - r0 = pxsim_pxtrt_ldlocRef(s.svx___53414); + s.scale___283755 = (r0); + s.tmp_0 = r0 = s.svxInCricle___283736; + s.tmp_3 = r0 = s.scale___283755; + r0 = pxsim_pxtrt_ldlocRef(s.svx___283700); 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___53452; - s.tmp_3 = r0 = s.scale___53469; - r0 = pxsim_pxtrt_ldlocRef(s.svy___53415); + s.tmp_0 = r0 = s.svyInCircle___283738; + s.tmp_3 = r0 = s.scale___283755; + r0 = pxsim_pxtrt_ldlocRef(s.svy___283701); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -12187,43 +11098,43 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P53487); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___53413); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___53414); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___53415); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___53450); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___53452); - s.tmp_1 = helpers_arrayForEach__P41902_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P43933_mk(s); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P283773); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___283699); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___283700); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___283701); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___283736); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___283738); + s.tmp_1 = helpers_arrayForEach__P271925_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P273956_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 179; s.pc = 36; return s.tmp_2; + s.callLocIdx = 180; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 187; s.pc = 35; return s.tmp_1; + s.callLocIdx = 188; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___53413); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___283699); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P43934_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P273957_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P41903_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P43933_mk(s); + s.tmp_2 = helpers_arrayFilter__P271926_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P273956_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 188; s.pc = 39; return s.tmp_3; + s.callLocIdx = 189; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P53544; - s.callLocIdx = 189; s.pc = 38; return s.tmp_2; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P283830; + s.callLocIdx = 190; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; s.tmp_1.arg1 = r0; - s.callLocIdx = 190; s.pc = 37; return s.tmp_1; + s.callLocIdx = 191; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; case 15: @@ -12233,12 +11144,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P43956.info = {"start":10666,"length":2535,"line":330,"column":8,"endLine":394,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P273979.info = {"start":10666,"length":2535,"line":330,"column":8,"endLine":394,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -function controller_Controller___preUpdate__P43956_mk(s) { +function controller_Controller___preUpdate__P273979_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P43956, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P273979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12250,13 +11161,13 @@ function controller_Controller___preUpdate__P43956_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___53413: undefined, - svx___53414: undefined, - svy___53415: undefined, - svxInCricle___53450: undefined, - svyInCircle___53452: undefined, - sq___53454: undefined, - scale___53469: undefined, + deadSprites___283699: undefined, + svx___283700: undefined, + svy___283701: undefined, + svxInCricle___283736: undefined, + svyInCircle___283738: undefined, + sq___283740: undefined, + scale___283755: undefined, arg0: undefined, } } @@ -12264,7 +11175,7 @@ function controller_Controller___preUpdate__P43956_mk(s) { -function controller_Controller___preUpdate_inline__P53487(s) { +function controller_Controller___preUpdate_inline__P283773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12274,9 +11185,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___53490 = undefined; - s.vx___53491 = undefined; - s.vy___53492 = undefined; + s.s___283776 = undefined; + s.vx___283777 = undefined; + s.vy___283778 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -12290,11 +11201,11 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["s"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["s"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 180; s.pc = 22; return s.tmp_0; } + else { s.callLocIdx = 181; s.pc = 22; return s.tmp_0; } } case 22: r0 = s.retval; - s.s___53490 = (r0); + s.s___283776 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -12303,11 +11214,11 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["vx"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["vx"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 181; s.pc = 23; return s.tmp_2; } + else { s.callLocIdx = 182; s.pc = 23; return s.tmp_2; } } case 23: r0 = s.retval; - s.vx___53491 = (r0); + s.vx___283777 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -12316,12 +11227,12 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["vy"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["vy"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 182; s.pc = 24; return s.tmp_3; } + else { s.callLocIdx = 183; s.pc = 24; return s.tmp_3; } } case 24: r0 = s.retval; - s.vy___53492 = (r0); - r0 = s.s___53490.fields["flags"]; + s.vy___283778 = (r0); + r0 = s.s___283776.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -12335,14 +11246,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___53491); + r0 = pxsim_numops_toBoolDecr(s.vx___283777); if (!r0) { step = 3; continue; } - r0 = (s.s___53490).fields["_vx"] = (0); + r0 = (s.s___283776).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___53492); + r0 = pxsim_numops_toBoolDecr(s.vy___283778); if (!r0) { step = 5; continue; } - r0 = (s.s___53490).fields["_vy"] = (0); + r0 = (s.s___283776).fields["_vy"] = (0); case 5: case 6: case 7: @@ -12360,48 +11271,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___53491; + s.tmp_2 = r0 = s.vx___283777; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___53492; + r0 = s.vy___283778; 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___53490; + s.tmp_4 = r0 = s.s___283776; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___53491); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___283777); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___53490; + s.tmp_0 = r0 = s.s___283776; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___53492); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___283778); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___53491); + r0 = pxsim_numops_toBoolDecr(s.vx___283777); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___53490; + s.tmp_0 = r0 = s.s___283776; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___53491); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___283777); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___53492); + r0 = pxsim_numops_toBoolDecr(s.vy___283778); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___53490; + s.tmp_0 = r0 = s.s___283776; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___53492); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___283778); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -12418,12 +11329,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P53487.info = {"start":11849,"length":1171,"line":361,"column":44,"endLine":389,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +controller_Controller___preUpdate_inline__P283773.info = {"start":11849,"length":1171,"line":361,"column":44,"endLine":389,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -function controller_Controller___preUpdate_inline__P53487_mk(s) { +function controller_Controller___preUpdate_inline__P283773_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P53487, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P283773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12432,9 +11343,9 @@ function controller_Controller___preUpdate_inline__P53487_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___53490: undefined, - vx___53491: undefined, - vy___53492: undefined, + s___283776: undefined, + vx___283777: undefined, + vy___283778: undefined, arg0: undefined, } } @@ -12442,7 +11353,7 @@ function controller_Controller___preUpdate_inline__P53487_mk(s) { -function controller_Controller___preUpdate_inline__P53544(s) { +function controller_Controller___preUpdate_inline__P283830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12467,12 +11378,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P53544.info = {"start":13147,"length":42,"line":393,"column":28,"endLine":393,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +controller_Controller___preUpdate_inline__P283830.info = {"start":13147,"length":42,"line":393,"column":28,"endLine":393,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} -function controller_Controller___preUpdate_inline__P53544_mk(s) { +function controller_Controller___preUpdate_inline__P283830_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P53544, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P283830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12484,7 +11395,7 @@ function controller_Controller___preUpdate_inline__P53544_mk(s) { -function controller_Button_pressureLevel__P43995(s) { +function controller_Button_pressureLevel__P274018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12499,16 +11410,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C274006_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__C43983_v0_1_mk(s); + s.tmp_3 = controller_Button__C274006_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C43983_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C274006_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: @@ -12537,12 +11448,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P43995.info = {"start":6453,"length":311,"line":192,"column":8,"endLine":199,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} +controller_Button_pressureLevel__P274018.info = {"start":6453,"length":311,"line":192,"column":8,"endLine":199,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pressureLevel","argumentNames":["this"]} -function controller_Button_pressureLevel__P43995_mk(s) { +function controller_Button_pressureLevel__P274018_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P43995, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P274018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12557,7 +11468,7 @@ function controller_Button_pressureLevel__P43995_mk(s) { -function controller_Controller_down__P43940(s) { +function controller_Controller_down__P273963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12572,7 +11483,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -12581,13 +11492,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P43940.info = {"start":4131,"length":77,"line":145,"column":8,"endLine":147,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} -controller_Controller_down__P43940.isGetter = true; +controller_Controller_down__P273963.info = {"start":4131,"length":77,"line":145,"column":8,"endLine":147,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} +controller_Controller_down__P273963.isGetter = true; -function controller_Controller_down__P43940_mk(s) { +function controller_Controller_down__P273963_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P43940, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P273963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12598,7 +11509,7 @@ function controller_Controller_down__P43940_mk(s) { -function controller_Controller_button__P46564(s) { +function controller_Controller_button__P276586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12614,7 +11525,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -12623,12 +11534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P46564.info = {"start":6666,"length":105,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P276586.info = {"start":6666,"length":105,"line":220,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} -function controller_Controller_button__P46564_mk(s) { +function controller_Controller_button__P276586_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P46564, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P276586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12640,7 +11551,7 @@ function controller_Controller_button__P46564_mk(s) { -function controller_Controller_up__P43939(s) { +function controller_Controller_up__P273962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12655,7 +11566,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -12664,13 +11575,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P43939.info = {"start":3979,"length":73,"line":137,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} -controller_Controller_up__P43939.isGetter = true; +controller_Controller_up__P273962.info = {"start":3979,"length":73,"line":137,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} +controller_Controller_up__P273962.isGetter = true; -function controller_Controller_up__P43939_mk(s) { +function controller_Controller_up__P273962_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P43939, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P273962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12681,7 +11592,7 @@ function controller_Controller_up__P43939_mk(s) { -function controller_Controller_right__P43938(s) { +function controller_Controller_right__P273961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12696,7 +11607,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -12705,13 +11616,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P43938.info = {"start":3823,"length":79,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} -controller_Controller_right__P43938.isGetter = true; +controller_Controller_right__P273961.info = {"start":3823,"length":79,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} +controller_Controller_right__P273961.isGetter = true; -function controller_Controller_right__P43938_mk(s) { +function controller_Controller_right__P273961_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P43938, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P273961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12722,7 +11633,7 @@ function controller_Controller_right__P43938_mk(s) { -function controller_Controller_left__P43937(s) { +function controller_Controller_left__P273960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12737,7 +11648,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -12746,13 +11657,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P43937.info = {"start":3666,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} -controller_Controller_left__P43937.isGetter = true; +controller_Controller_left__P273960.info = {"start":3666,"length":77,"line":121,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} +controller_Controller_left__P273960.isGetter = true; -function controller_Controller_left__P43937_mk(s) { +function controller_Controller_left__P273960_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P43937, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P273960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12763,7 +11674,7 @@ function controller_Controller_left__P43937_mk(s) { -function controller_Controller__controlledSprites__P43934(s) { +function controller_Controller__controlledSprites__P273957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12779,9 +11690,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P44793_mk(s); - s.callLocIdx = 160; s.pc = 1; return s.tmp_1; + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 161; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = r0.fields["controlledSprites"]; @@ -12793,12 +11704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P43934.info = {"start":3300,"length":134,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} +controller_Controller__controlledSprites__P273957.info = {"start":3300,"length":134,"line":105,"column":8,"endLine":107,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} -function controller_Controller__controlledSprites__P43934_mk(s) { +function controller_Controller__controlledSprites__P273957_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P43934, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P273957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12811,7 +11722,7 @@ function controller_Controller__controlledSprites__P43934_mk(s) { -function controller_Controller__controlledSprites__P43933(s) { +function controller_Controller__controlledSprites__P273956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12826,9 +11737,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P44793_mk(s); - s.callLocIdx = 159; s.pc = 1; return s.tmp_1; + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 160; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = r0.fields["controlledSprites"]; @@ -12839,13 +11750,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P43933.info = {"start":3158,"length":132,"line":101,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} -controller_Controller__controlledSprites__P43933.isGetter = true; +controller_Controller__controlledSprites__P273956.info = {"start":3158,"length":132,"line":101,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} +controller_Controller__controlledSprites__P273956.isGetter = true; -function controller_Controller__controlledSprites__P43933_mk(s) { +function controller_Controller__controlledSprites__P273956_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P43933, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P273956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12857,7 +11768,7 @@ function controller_Controller__controlledSprites__P43933_mk(s) { -function Fx_imul__P41954(s) { +function Fx_imul__P271977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12876,12 +11787,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P41954.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__P271977.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__P41954_mk(s) { +function Fx_imul__P271977_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P41954, depth: s.depth + 1, + parent: s, fn: Fx_imul__P271977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -12891,7 +11802,7 @@ function Fx_imul__P41954_mk(s) { -function power_checkDeepSleep__P43724(s) { +function power_checkDeepSleep__P273747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12901,13 +11812,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___52155 = undefined; - s.to___52158 = undefined; - s.tmp_0 = power_init__P46408_mk(s); - s.callLocIdx = 75; s.pc = 11; return s.tmp_0; + s.p___282441 = undefined; + s.to___282444 = undefined; + s.tmp_0 = power_init__P276430_mk(s); + s.callLocIdx = 76; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___46406; + s.tmp_0 = r0 = globals._poked___276428; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -12917,8 +11828,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___52155 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___46407; + s.p___282441 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___276429; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -12928,8 +11839,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___52158 = (s.tmp_1); - r0 = (s.to___52158 > 0); + s.to___282444 = (s.tmp_1); + r0 = (s.to___282444 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -12938,9 +11849,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___52155); + r0 = (s.tmp_2 - s.p___282441); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___52158); + r0 = (s.tmp_1 > s.to___282444); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -12966,12 +11877,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P43724.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P273747.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__P43724_mk(s) { +function power_checkDeepSleep__P273747_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P43724, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P273747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12980,15 +11891,15 @@ function power_checkDeepSleep__P43724_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___52155: undefined, - to___52158: undefined, + p___282441: undefined, + to___282444: undefined, } } -function power_init__P46408(s) { +function power_init__P276430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12998,7 +11909,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___46407 !== undefined); + r0 = (globals._timeout___276429 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -13008,21 +11919,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___46407 = (r0); - r0 = (globals._timeout___46407 > 0); + globals._timeout___276429 = (r0); + r0 = (globals._timeout___276429 > 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___46407 < 300000); + r0 = (globals._timeout___276429 < 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___46407 = (300000); + globals._timeout___276429 = (300000); case 5: case 6: case 7: @@ -13030,12 +11941,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P46408.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P276430.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__P46408_mk(s) { +function power_init__P276430_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P46408, depth: s.depth + 1, + parent: s, fn: power_init__P276430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13045,7 +11956,7 @@ function power_init__P46408_mk(s) { -function power_poke__P43723(s) { +function power_poke__P273746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13055,22 +11966,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P46408_mk(s); - s.callLocIdx = 74; s.pc = 1; return s.tmp_0; + s.tmp_0 = power_init__P276430_mk(s); + s.callLocIdx = 75; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___46406 = (r0); + globals._poked___276428 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P43723.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P273746.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__P43723_mk(s) { +function power_poke__P273746_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P43723, depth: s.depth + 1, + parent: s, fn: power_poke__P273746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13079,7 +11990,7 @@ function power_poke__P43723_mk(s) { -function control_EventContext_deltaTime__P42193(s) { +function control_EventContext_deltaTime__P272216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13094,20 +12005,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C42188_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C272211_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__P42193.info = {"start":2135,"length":75,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P42193.isGetter = true; +control_EventContext_deltaTime__P272216.info = {"start":2135,"length":75,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} +control_EventContext_deltaTime__P272216.isGetter = true; -function control_EventContext_deltaTime__P42193_mk(s) { +function control_EventContext_deltaTime__P272216_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P42193, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P272216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13117,7 +12028,7 @@ function control_EventContext_deltaTime__P42193_mk(s) { -function scene_Scene_constructor__P44660(s) { +function scene_Scene_constructor__P274683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13134,36 +12045,36 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C44637_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C274660_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__C44321_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C274344_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P44322_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P274345_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 = 904; s.pc = 1; return s.tmp_1; + s.callLocIdx = 905; 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__C44575_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C274598_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P44579_mk(s); + s.tmp_1 = scene_Camera_constructor__P274602_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 905; s.pc = 2; return s.tmp_1; + s.callLocIdx = 906; 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__C44463_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C274486_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P44467_mk(s); + s.tmp_1 = scene_Background_constructor__P274490_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 906; s.pc = 3; return s.tmp_1; + s.callLocIdx = 907; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["background"] = (s.tmp_0); @@ -13220,12 +12131,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P44660.info = {"start":3586,"length":836,"line":106,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P274683.info = {"start":3586,"length":836,"line":106,"column":8,"endLine":125,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -function scene_Scene_constructor__P44660_mk(s) { +function scene_Scene_constructor__P274683_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P44660, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P274683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13238,7 +12149,7 @@ function scene_Scene_constructor__P44660_mk(s) { -function scene_Camera_constructor__P44579(s) { +function scene_Camera_constructor__P274602(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13253,7 +12164,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C44575_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -13262,12 +12173,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P44579.info = {"start":550,"length":156,"line":17,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} +scene_Camera_constructor__P274602.info = {"start":550,"length":156,"line":17,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} -function scene_Camera_constructor__P44579_mk(s) { +function scene_Camera_constructor__P274602_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P44579, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P274602, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13276,7 +12187,7 @@ function scene_Camera_constructor__P44579_mk(s) { -function scene_Background_constructor__P44467(s) { +function scene_Background_constructor__P274490(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13292,7 +12203,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C44463_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C274486_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -13303,12 +12214,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P44467.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__P274490.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__P44467_mk(s) { +function scene_Background_constructor__P274490_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P44467, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P274490, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13320,7 +12231,7 @@ function scene_Background_constructor__P44467_mk(s) { -function ArcadePhysicsEngine_constructor__P44322(s) { +function ArcadePhysicsEngine_constructor__P274345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13338,48 +12249,48 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_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__C44240_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C274263_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P44241_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P274264_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 525; s.pc = 1; return s.tmp_1; + s.callLocIdx = 526; 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__P44324_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P274347_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 526; s.pc = 2; return s.tmp_0; + s.callLocIdx = 527; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P44328_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P274351_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 527; s.pc = 3; return s.tmp_0; + s.callLocIdx = 528; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P44326_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P274349_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 528; s.pc = 4; return s.tmp_0; + s.callLocIdx = 529; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P44322.info = {"start":1601,"length":277,"line":58,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} +ArcadePhysicsEngine_constructor__P274345.info = {"start":1601,"length":277,"line":58,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} -function ArcadePhysicsEngine_constructor__P44322_mk(s) { +function ArcadePhysicsEngine_constructor__P274345_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P44322, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P274345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13393,7 +12304,7 @@ function ArcadePhysicsEngine_constructor__P44322_mk(s) { -function ArcadePhysicsEngine_maxStep__P44328(s) { +function ArcadePhysicsEngine_maxStep__P274351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13409,7 +12320,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -13420,12 +12331,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P44328.info = {"start":2329,"length":67,"line":88,"column":4,"endLine":90,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxStep__P274351.info = {"start":2329,"length":67,"line":88,"column":4,"endLine":90,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxStep__P44328_mk(s) { +function ArcadePhysicsEngine_maxStep__P274351_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P44328, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P274351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13438,7 +12349,7 @@ function ArcadePhysicsEngine_maxStep__P44328_mk(s) { -function ArcadePhysicsEngine_maxStep__P44327(s) { +function ArcadePhysicsEngine_maxStep__P274350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13453,7 +12364,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -13462,13 +12373,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P44327.info = {"start":2249,"length":74,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} -ArcadePhysicsEngine_maxStep__P44327.isGetter = true; +ArcadePhysicsEngine_maxStep__P274350.info = {"start":2249,"length":74,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} +ArcadePhysicsEngine_maxStep__P274350.isGetter = true; -function ArcadePhysicsEngine_maxStep__P44327_mk(s) { +function ArcadePhysicsEngine_maxStep__P274350_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P44327, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P274350, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13479,7 +12390,7 @@ function ArcadePhysicsEngine_maxStep__P44327_mk(s) { -function Fx_toInt__P41965(s) { +function Fx_toInt__P271988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13499,12 +12410,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P41965.info = {"start":2379,"length":86,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} +Fx_toInt__P271988.info = {"start":2379,"length":86,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} -function Fx_toInt__P41965_mk(s) { +function Fx_toInt__P271988_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P41965, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P271988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13514,7 +12425,7 @@ function Fx_toInt__P41965_mk(s) { -function ArcadePhysicsEngine_minStep__P44326(s) { +function ArcadePhysicsEngine_minStep__P274349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13530,7 +12441,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -13541,12 +12452,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P44326.info = {"start":2176,"length":67,"line":80,"column":4,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_minStep__P274349.info = {"start":2176,"length":67,"line":80,"column":4,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_minStep__P44326_mk(s) { +function ArcadePhysicsEngine_minStep__P274349_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P44326, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P274349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13559,7 +12470,7 @@ function ArcadePhysicsEngine_minStep__P44326_mk(s) { -function ArcadePhysicsEngine_minStep__P44325(s) { +function ArcadePhysicsEngine_minStep__P274348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13574,7 +12485,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -13583,13 +12494,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P44325.info = {"start":2096,"length":74,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} -ArcadePhysicsEngine_minStep__P44325.isGetter = true; +ArcadePhysicsEngine_minStep__P274348.info = {"start":2096,"length":74,"line":76,"column":4,"endLine":78,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} +ArcadePhysicsEngine_minStep__P274348.isGetter = true; -function ArcadePhysicsEngine_minStep__P44325_mk(s) { +function ArcadePhysicsEngine_minStep__P274348_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P44325, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P274348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13600,7 +12511,7 @@ function ArcadePhysicsEngine_minStep__P44325_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P44324(s) { +function ArcadePhysicsEngine_maxSpeed__P274347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13616,7 +12527,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -13633,12 +12544,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P44324.info = {"start":1963,"length":127,"line":71,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxSpeed__P274347.info = {"start":1963,"length":127,"line":71,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxSpeed__P44324_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P274347_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P44324, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P274347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13651,7 +12562,7 @@ function ArcadePhysicsEngine_maxSpeed__P44324_mk(s) { -function Fx_neg__P41948(s) { +function Fx_neg__P271971(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13669,12 +12580,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P41948.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__P271971.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__P41948_mk(s) { +function Fx_neg__P271971_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P41948, depth: s.depth + 1, + parent: s, fn: Fx_neg__P271971, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13683,7 +12594,7 @@ function Fx_neg__P41948_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P44323(s) { +function ArcadePhysicsEngine_maxSpeed__P274346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13698,7 +12609,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -13707,13 +12618,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P44323.info = {"start":1884,"length":73,"line":67,"column":4,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} -ArcadePhysicsEngine_maxSpeed__P44323.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P274346.info = {"start":1884,"length":73,"line":67,"column":4,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} +ArcadePhysicsEngine_maxSpeed__P274346.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P44323_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P274346_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P44323, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P274346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13724,7 +12635,7 @@ function ArcadePhysicsEngine_maxSpeed__P44323_mk(s) { -function PhysicsEngine_constructor__P44306(s) { +function PhysicsEngine_constructor__P274329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13739,17 +12650,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C44305_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C274328_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P44306.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__P274329.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__P44306_mk(s) { +function PhysicsEngine_constructor__P274329_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P44306, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P274329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13758,7 +12669,7 @@ function PhysicsEngine_constructor__P44306_mk(s) { -function sprites_SpriteMap_constructor__P44241(s) { +function sprites_SpriteMap_constructor__P274264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13773,7 +12684,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C44240_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -13782,12 +12693,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P44241.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__P274264.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__P44241_mk(s) { +function sprites_SpriteMap_constructor__P274264_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P44241, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P274264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13798,7 +12709,7 @@ function sprites_SpriteMap_constructor__P44241_mk(s) { -function control_pushEventContext__P42202(s) { +function control_pushEventContext__P272225(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13808,63 +12719,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___53716 = undefined; - s.n___53722 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___46283); + s.ctx___284002 = undefined; + s.n___284008 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___276305); 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___46283 = (r0); + globals.eventContexts___276305 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P42201_mk(s); - s.callLocIdx = 53; s.pc = 5; return s.tmp_0; + s.tmp_0 = control_eventContext__P272224_mk(s); + s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___53716 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___53716); + s.ctx___284002 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___284002); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P42195_mk(s); - s.tmp_0.arg0 = s.ctx___53716; - s.callLocIdx = 54; s.pc = 6; return s.tmp_0; + s.tmp_0 = control_EventContext_unregister__P272218_mk(s); + s.tmp_0.arg0 = s.ctx___284002; + 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__C42188_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C272211_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P42192_mk(s); + s.tmp_1 = control_EventContext_constructor__P272215_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 55; s.pc = 7; return s.tmp_1; + s.callLocIdx = 56; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___53722 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___46283, s.n___53722); - r0 = s.n___53722; + s.n___284008 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___276305, s.n___284008); + r0 = s.n___284008; return leave(s, r0) default: oops() } } } -control_pushEventContext__P42202.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P272225.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -function control_pushEventContext__P42202_mk(s) { +function control_pushEventContext__P272225_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P42202, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P272225, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___53716: undefined, - n___53722: undefined, + ctx___284002: undefined, + n___284008: undefined, } } -function control_EventContext_constructor__P42192(s) { +function control_EventContext_constructor__P272215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13879,7 +12790,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C42188_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C272211_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -13889,26 +12800,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___42190); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___272213); 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___42190 = (r0); + globals.control_EventContext_lastStats___272213 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P42192.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P272215.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -function control_EventContext_constructor__P42192_mk(s) { +function control_EventContext_constructor__P272215_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P42192, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P272215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13919,7 +12830,7 @@ function control_EventContext_constructor__P42192_mk(s) { -function particles_disableAll__P44976(s) { +function particles_disableAll__P274999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13929,22 +12840,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___53901 = undefined; - s.tmp_0 = particles_particleSources__P47134_mk(s); - s.callLocIdx = 1257; s.pc = 3; return s.tmp_0; + s.sources___284187 = undefined; + s.tmp_0 = particles_particleSources__P277156_mk(s); + s.callLocIdx = 1258; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___53901 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___53901); + s.sources___284187 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___284187); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P41902_mk(s); - s.tmp_0.arg0 = s.sources___53901; - s.tmp_0.arg1 = particles_disableAll_inline__P53907; - s.callLocIdx = 1259; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P271925_mk(s); + s.tmp_0.arg0 = s.sources___284187; + s.tmp_0.arg1 = particles_disableAll_inline__P284193; + s.callLocIdx = 1260; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P47130_mk(s); - s.callLocIdx = 1260; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P277152_mk(s); + s.callLocIdx = 1261; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -13953,22 +12864,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P44976.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P274999.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} -function particles_disableAll__P44976_mk(s) { +function particles_disableAll__P274999_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P44976, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P274999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___53901: undefined, + sources___284187: undefined, } } -function particles_disableAll_inline__P53907(s) { +function particles_disableAll_inline__P284193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13982,22 +12893,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P44958_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P274981_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1258; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1259; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = false; return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P53907.info = {"start":12495,"length":22,"line":405,"column":28,"endLine":405,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +particles_disableAll_inline__P284193.info = {"start":12495,"length":22,"line":405,"column":28,"endLine":405,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function particles_disableAll_inline__P53907_mk(s) { +function particles_disableAll_inline__P284193_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P53907, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P284193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14007,7 +12918,7 @@ function particles_disableAll_inline__P53907_mk(s) { -function particles_clearAll__P44975(s) { +function particles_clearAll__P274998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14017,22 +12928,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___53912 = undefined; - s.tmp_0 = particles_particleSources__P47134_mk(s); - s.callLocIdx = 1253; s.pc = 3; return s.tmp_0; + s.sources___284198 = undefined; + s.tmp_0 = particles_particleSources__P277156_mk(s); + s.callLocIdx = 1254; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___53912 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___53912); + s.sources___284198 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___284198); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P41902_mk(s); - s.tmp_0.arg0 = s.sources___53912; - s.tmp_0.arg1 = particles_clearAll_inline__P53918; - s.callLocIdx = 1255; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P271925_mk(s); + s.tmp_0.arg0 = s.sources___284198; + s.tmp_0.arg1 = particles_clearAll_inline__P284204; + s.callLocIdx = 1256; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P47130_mk(s); - s.callLocIdx = 1256; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P277152_mk(s); + s.callLocIdx = 1257; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -14041,22 +12952,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P44975.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P274998.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} -function particles_clearAll__P44975_mk(s) { +function particles_clearAll__P274998_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P44975, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P274998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___53912: undefined, + sources___284198: undefined, } } -function particles_clearAll_inline__P53918(s) { +function particles_clearAll_inline__P284204(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14070,21 +12981,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P44960_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P274983_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1254; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1255; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P53918.info = {"start":12221,"length":14,"line":394,"column":28,"endLine":394,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +particles_clearAll_inline__P284204.info = {"start":12221,"length":14,"line":394,"column":28,"endLine":394,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function particles_clearAll_inline__P53918_mk(s) { +function particles_clearAll_inline__P284204_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P53918, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P284204, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14094,7 +13005,7 @@ function particles_clearAll_inline__P53918_mk(s) { -function particles_ParticleSource_clear__P44960(s) { +function particles_ParticleSource_clear__P274983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14109,18 +13020,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P44960.info = {"start":7424,"length":54,"line":243,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} +particles_ParticleSource_clear__P274983.info = {"start":7424,"length":54,"line":243,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} -function particles_ParticleSource_clear__P44960_mk(s) { +function particles_ParticleSource_clear__P274983_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P44960, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P274983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -14129,7 +13040,7 @@ function particles_ParticleSource_clear__P44960_mk(s) { -function game_SplashDialog_setSubtext__P44735(s) { +function game_SplashDialog_setSubtext__P274758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14145,11 +13056,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C44726_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C274749_VT)) failedCast(r0); r0 = (s.arg0).fields["subtext"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P46756_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P276778_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 977; s.pc = 1; return s.tmp_0; + s.callLocIdx = 978; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -14164,14 +13075,14 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charWidth"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charWidth"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 978; s.pc = 2; return s.tmp_6; } + else { s.callLocIdx = 979; s.pc = 2; return s.tmp_6; } } case 2: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -14186,12 +13097,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setSubtext__P44735.info = {"start":9748,"length":200,"line":300,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} +game_SplashDialog_setSubtext__P274758.info = {"start":9748,"length":200,"line":300,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} -function game_SplashDialog_setSubtext__P44735_mk(s) { +function game_SplashDialog_setSubtext__P274758_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setSubtext__P44735, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setSubtext__P274758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14211,7 +13122,7 @@ function game_SplashDialog_setSubtext__P44735_mk(s) { -function game_SplashDialog_updateFont__P46756(s) { +function game_SplashDialog_updateFont__P276778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14226,7 +13137,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C44726_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C274749_VT)) failedCast(r0); r0 = s.arg0.fields["text"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -14249,9 +13160,9 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = game_BaseDialog_setFont__P46753_mk(s); + s.tmp_4 = game_BaseDialog_setFont__P276775_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_5 = image_getFontForText__P43771_mk(s); + s.tmp_5 = image_getFontForText__P273794_mk(s); if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 7); pxsim_String__stringConv(s.tmp_1); @@ -14272,23 +13183,23 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_6, s.tmp_7); s.tmp_5.arg0 = r0; - s.callLocIdx = 973; s.pc = 6; return s.tmp_5; + s.callLocIdx = 974; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 974; s.pc = 5; return s.tmp_4; + s.callLocIdx = 975; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_SplashDialog_updateFont__P46756.info = {"start":9357,"length":122,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} +game_SplashDialog_updateFont__P276778.info = {"start":9357,"length":122,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} -function game_SplashDialog_updateFont__P46756_mk(s) { +function game_SplashDialog_updateFont__P276778_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_updateFont__P46756, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_updateFont__P276778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14305,7 +13216,7 @@ function game_SplashDialog_updateFont__P46756_mk(s) { -function game_BaseDialog_setFont__P46753(s) { +function game_BaseDialog_setFont__P276775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14321,18 +13232,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = (s.arg0).fields["font"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setFont__P46753.info = {"start":5994,"length":77,"line":190,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} +game_BaseDialog_setFont__P276775.info = {"start":5994,"length":77,"line":190,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} -function game_BaseDialog_setFont__P46753_mk(s) { +function game_BaseDialog_setFont__P276775_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setFont__P46753, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setFont__P276775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -14342,7 +13253,7 @@ function game_BaseDialog_setFont__P46753_mk(s) { -function game_SplashDialog_setText__P44734(s) { +function game_SplashDialog_setText__P274757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14358,11 +13269,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C44726_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C274749_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P46756_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P276778_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 975; s.pc = 1; return s.tmp_0; + s.callLocIdx = 976; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["offset"] = (0); @@ -14378,14 +13289,14 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charWidth"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charWidth"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 976; s.pc = 2; return s.tmp_6; } + else { s.callLocIdx = 977; s.pc = 2; return s.tmp_6; } } case 2: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -14401,12 +13312,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setText__P44734.info = {"start":9489,"length":249,"line":292,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} +game_SplashDialog_setText__P274757.info = {"start":9489,"length":249,"line":292,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} -function game_SplashDialog_setText__P44734_mk(s) { +function game_SplashDialog_setText__P274757_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setText__P44734, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setText__P274757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14426,7 +13337,7 @@ function game_SplashDialog_setText__P44734_mk(s) { -function game_SplashDialog_constructor__P44733(s) { +function game_SplashDialog_constructor__P274756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14443,19 +13354,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C44726_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_constructor__P44709_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C274749_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_constructor__P274732_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = game_defaultSplashFrame__P46768_mk(s); - s.callLocIdx = 971; s.pc = 2; return s.tmp_1; + s.tmp_1 = game_defaultSplashFrame__P276790_mk(s); + s.callLocIdx = 972; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg3 = r0; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; - s.callLocIdx = 972; s.pc = 1; return s.tmp_0; + s.callLocIdx = 973; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["maxOffset"] = (-1); @@ -14465,12 +13376,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_constructor__P44733.info = {"start":9137,"length":210,"line":281,"column":8,"endLine":286,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} +game_SplashDialog_constructor__P274756.info = {"start":9137,"length":210,"line":281,"column":8,"endLine":286,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} -function game_SplashDialog_constructor__P44733_mk(s) { +function game_SplashDialog_constructor__P274756_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_constructor__P44733, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_constructor__P274756, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14483,7 +13394,7 @@ function game_SplashDialog_constructor__P44733_mk(s) { -function game_defaultSplashFrame__P46768(s) { +function game_defaultSplashFrame__P276790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14493,14 +13404,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___43826); + r0 = pxsim_ImageMethods.isMono(globals.screen___273849); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex51617); + r0 = pxsim.image.ofBuffer(_hex281903); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex51619); + r0 = pxsim.image.ofBuffer(_hex281905); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -14508,24 +13419,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultSplashFrame__P46768.info = {"start":27877,"length":220,"line":768,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} +game_defaultSplashFrame__P276790.info = {"start":27877,"length":220,"line":768,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} -function game_defaultSplashFrame__P46768_mk(s) { +function game_defaultSplashFrame__P276790_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultSplashFrame__P46768, depth: s.depth + 1, + parent: s, fn: game_defaultSplashFrame__P276790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex51617 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") -const _hex51619 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") +const _hex281903 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") +const _hex281905 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") -function game_BaseDialog_constructor__P44709(s) { +function game_BaseDialog_constructor__P274732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14545,28 +13456,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = (s.arg0).fields["cursorCount"] = (0); - s.tmp_0 = game_BaseDialog_resize__P44710_mk(s); + s.tmp_0 = game_BaseDialog_resize__P274733_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = s.arg3; s.tmp_0.arg4 = s.arg4; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 940; 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() } } } -game_BaseDialog_constructor__P44709.info = {"start":1103,"length":199,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_constructor__P274732.info = {"start":1103,"length":199,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -function game_BaseDialog_constructor__P44709_mk(s) { +function game_BaseDialog_constructor__P274732_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_constructor__P44709, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_constructor__P274732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14581,7 +13492,7 @@ function game_BaseDialog_constructor__P44709_mk(s) { -function game_BaseDialog_resize__P44710(s) { +function game_BaseDialog_resize__P274733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14601,14 +13512,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.dialogFrame___46740; + r0 = globals.dialogFrame___276762; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -14617,12 +13528,12 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - s.tmp_3 = game_defaultFrame__P46767_mk(s); - s.callLocIdx = 941; s.pc = 13; return s.tmp_3; + s.tmp_3 = game_defaultFrame__P276789_mk(s); + s.callLocIdx = 942; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; - globals.dialogFrame___46740 = (r0); + globals.dialogFrame___276762 = (r0); r0 = s.tmp_2; case 4: // jmp value (already in r0) @@ -14690,7 +13601,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = globals.font8___43769; + r0 = globals.font8___273792; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -14701,7 +13612,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = globals.dialogCursor___46741; + r0 = globals.dialogCursor___276763; case 8: // jmp value (already in r0) s.tmp_1 = r0; @@ -14710,50 +13621,50 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 9: - s.tmp_3 = game_defaultCursorImage__P46769_mk(s); - s.callLocIdx = 942; s.pc = 14; return s.tmp_3; + s.tmp_3 = game_defaultCursorImage__P276791_mk(s); + s.callLocIdx = 943; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; s.tmp_2 = r0; - globals.dialogCursor___46741 = (r0); + globals.dialogCursor___276763 = (r0); r0 = s.tmp_2; case 10: // jmp value (already in r0) s.tmp_4 = r0; r0 = (s.arg0).fields["cursor"] = (s.tmp_4); - r0 = (globals.dialogTextColor___46742 == undefined); + r0 = (globals.dialogTextColor___276764 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - globals.dialogTextColor___46742 = (15); + globals.dialogTextColor___276764 = (15); r0 = 15; { step = 12; continue; } case 11: - r0 = globals.dialogTextColor___46742; + r0 = globals.dialogTextColor___276764; case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["textColor"] = (s.tmp_1); - s.tmp_0 = game_BaseDialog_drawBorder__P46745_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P276767_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 943; s.pc = 15; return s.tmp_0; + s.callLocIdx = 944; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_clearInterior__P46747_mk(s); + s.tmp_0 = game_BaseDialog_clearInterior__P276769_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 944; s.pc = 16; return s.tmp_0; + s.callLocIdx = 945; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_resize__P44710.info = {"start":1312,"length":849,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"resize","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_resize__P274733.info = {"start":1312,"length":849,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"resize","argumentNames":["this","width","height","frame","font","cursor"]} -function game_BaseDialog_resize__P44710_mk(s) { +function game_BaseDialog_resize__P274733_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_resize__P44710, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_resize__P274733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14774,7 +13685,7 @@ function game_BaseDialog_resize__P44710_mk(s) { -function game_defaultCursorImage__P46769(s) { +function game_defaultCursorImage__P276791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14784,14 +13695,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___43826); + r0 = pxsim_ImageMethods.isMono(globals.screen___273849); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex51815); + r0 = pxsim.image.ofBuffer(_hex282101); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex51817); + r0 = pxsim.image.ofBuffer(_hex282103); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -14799,24 +13710,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultCursorImage__P46769.info = {"start":28103,"length":690,"line":783,"column":4,"endLine":809,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} +game_defaultCursorImage__P276791.info = {"start":28103,"length":690,"line":783,"column":4,"endLine":809,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} -function game_defaultCursorImage__P46769_mk(s) { +function game_defaultCursorImage__P276791_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultCursorImage__P46769, depth: s.depth + 1, + parent: s, fn: game_defaultCursorImage__P276791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex51815 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") -const _hex51817 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") +const _hex282101 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") +const _hex282103 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") -function game_defaultFrame__P46767(s) { +function game_defaultFrame__P276789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14826,14 +13737,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___43826); + r0 = pxsim_ImageMethods.isMono(globals.screen___273849); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex51821); + r0 = pxsim.image.ofBuffer(_hex282107); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex51823); + r0 = pxsim.image.ofBuffer(_hex282109); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -14841,24 +13752,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultFrame__P46767.info = {"start":27315,"length":556,"line":744,"column":4,"endLine":766,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} +game_defaultFrame__P276789.info = {"start":27315,"length":556,"line":744,"column":4,"endLine":766,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} -function game_defaultFrame__P46767_mk(s) { +function game_defaultFrame__P276789_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultFrame__P46767, depth: s.depth + 1, + parent: s, fn: game_defaultFrame__P276789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex51821 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") -const _hex51823 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") +const _hex282107 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") +const _hex282109 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") -function game_BaseDialog_clearInterior__P46747(s) { +function game_BaseDialog_clearInterior__P276769(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14868,21 +13779,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___50588 = undefined; - s.s___50595 = undefined; + s.d___280874 = undefined; + s.s___280881 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P46746_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P276768_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 4; s.tmp_2.arg2 = 1; @@ -14895,15 +13806,15 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 - 2); s.tmp_2.arg5 = r0; - s.callLocIdx = 967; s.pc = 8; return s.tmp_2; + s.callLocIdx = 968; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; { step = 7; continue; } case 1: case 2: - s.d___50588 = (1); + s.d___280874 = (1); case 3: - s.tmp_1 = r0 = s.d___50588; + s.tmp_1 = r0 = s.d___280874; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -14912,9 +13823,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.s___50595 = (1); + s.s___280881 = (1); case 4: - s.tmp_1 = r0 = s.s___50595; + s.tmp_1 = r0 = s.s___280881; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -14923,20 +13834,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P46748_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P276770_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 4; - s.tmp_4.arg2 = s.d___50588; - s.tmp_4.arg3 = s.s___50595; - s.callLocIdx = 968; s.pc = 9; return s.tmp_4; + s.tmp_4.arg2 = s.d___280874; + s.tmp_4.arg3 = s.s___280881; + s.callLocIdx = 969; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; - r0 = (s.s___50595 + 1); - s.s___50595 = (r0); + r0 = (s.s___280881 + 1); + s.s___280881 = (r0); { step = 4; continue; } case 5: - r0 = (s.d___50588 + 1); - s.d___50588 = (r0); + r0 = (s.d___280874 + 1); + s.d___280874 = (r0); { step = 3; continue; } case 6: case 7: @@ -14944,20 +13855,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_clearInterior__P46747.info = {"start":4543,"length":342,"line":146,"column":8,"endLine":155,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} +game_BaseDialog_clearInterior__P276769.info = {"start":4543,"length":342,"line":146,"column":8,"endLine":155,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} -function game_BaseDialog_clearInterior__P46747_mk(s) { +function game_BaseDialog_clearInterior__P276769_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_clearInterior__P46747, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_clearInterior__P276769, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___50588: undefined, - s___50595: undefined, + d___280874: undefined, + s___280881: undefined, arg0: undefined, } } @@ -14965,7 +13876,7 @@ function game_BaseDialog_clearInterior__P46747_mk(s) { -function game_BaseDialog_drawPartial__P46748(s) { +function game_BaseDialog_drawPartial__P276770(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14975,12 +13886,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___50613 = undefined; - s.y0___50621 = undefined; - s.xf___50629 = undefined; - s.yf___50636 = undefined; - s.e___50643 = undefined; - s.t___50649 = undefined; + s.x0___280899 = undefined; + s.y0___280907 = undefined; + s.xf___280915 = undefined; + s.yf___280922 = undefined; + s.e___280929 = undefined; + s.t___280935 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14989,7 +13900,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = s.arg0.fields["innerLeft"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -14997,7 +13908,7 @@ switch (step) { r0 = (s.arg2 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.x0___50613 = (r0); + s.x0___280899 = (r0); r0 = s.arg0.fields["innerTop"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -15005,68 +13916,68 @@ switch (step) { r0 = (s.arg3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y0___50621 = (r0); + s.y0___280907 = (r0); r0 = (s.arg1 % 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.xf___50629 = (r0); + s.xf___280915 = (r0); r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.yf___50636 = (r0); - s.e___50643 = (0); + s.yf___280922 = (r0); + s.e___280929 = (0); case 1: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.e___50643 < s.tmp_1); + r0 = (s.e___280929 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.t___50649 = (0); + s.t___280935 = (0); case 2: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.t___50649 < s.tmp_1); + r0 = (s.t___280935 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["image"]; s.tmp_2 = r0; - r0 = (s.x0___50613 + s.e___50643); + r0 = (s.x0___280899 + s.e___280929); s.tmp_3 = r0; - r0 = (s.y0___50621 + s.t___50649); + r0 = (s.y0___280907 + s.t___280935); s.tmp_4 = r0; r0 = s.arg0.fields["frame"]; s.tmp_6 = r0; - r0 = (s.xf___50629 + s.e___50643); + r0 = (s.xf___280915 + s.e___280929); s.tmp_7 = r0; - r0 = (s.yf___50636 + s.t___50649); + r0 = (s.yf___280922 + s.t___280935); s.tmp_8 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_6, s.tmp_7, s.tmp_8); s.tmp_5 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_2, s.tmp_3, s.tmp_4, s.tmp_5); - r0 = (s.t___50649 + 1); - s.t___50649 = (r0); + r0 = (s.t___280935 + 1); + s.t___280935 = (r0); { step = 2; continue; } case 3: - r0 = (s.e___50643 + 1); - s.e___50643 = (r0); + r0 = (s.e___280929 + 1); + s.e___280929 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawPartial__P46748.info = {"start":4895,"length":604,"line":157,"column":8,"endLine":172,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} +game_BaseDialog_drawPartial__P276770.info = {"start":4895,"length":604,"line":157,"column":8,"endLine":172,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} -function game_BaseDialog_drawPartial__P46748_mk(s) { +function game_BaseDialog_drawPartial__P276770_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawPartial__P46748, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawPartial__P276770, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15077,12 +13988,12 @@ function game_BaseDialog_drawPartial__P46748_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - x0___50613: undefined, - y0___50621: undefined, - xf___50629: undefined, - yf___50636: undefined, - e___50643: undefined, - t___50649: undefined, + x0___280899: undefined, + y0___280907: undefined, + xf___280915: undefined, + yf___280922: undefined, + e___280929: undefined, + t___280935: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15093,7 +14004,7 @@ function game_BaseDialog_drawPartial__P46748_mk(s) { -function game_BaseDialog_fastFill__P46746(s) { +function game_BaseDialog_fastFill__P276768(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15103,7 +14014,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.color___50685 = undefined; + s.color___280971 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15114,7 +14025,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = s.arg0.fields["frame"]; s.tmp_0 = r0; r0 = (s.arg1 % 3); @@ -15122,8 +14033,8 @@ switch (step) { r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_2 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_2); - s.color___50685 = (r0); - s.tmp_0 = helpers_imageFillRect__P43750_mk(s); + s.color___280971 = (r0); + s.tmp_0 = helpers_imageFillRect__P273773_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["innerLeft"]; @@ -15136,25 +14047,25 @@ switch (step) { s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg4; s.tmp_0.arg4 = s.arg5; - s.tmp_0.arg5 = s.color___50685; - s.callLocIdx = 966; s.pc = 1; return s.tmp_0; + s.tmp_0.arg5 = s.color___280971; + s.callLocIdx = 967; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_fastFill__P46746.info = {"start":4284,"length":249,"line":141,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} +game_BaseDialog_fastFill__P276768.info = {"start":4284,"length":249,"line":141,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} -function game_BaseDialog_fastFill__P46746_mk(s) { +function game_BaseDialog_fastFill__P276768_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_fastFill__P46746, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_fastFill__P276768, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - color___50685: undefined, + color___280971: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15167,7 +14078,7 @@ function game_BaseDialog_fastFill__P46746_mk(s) { -function game_BaseDialog_drawBorder__P46745(s) { +function game_BaseDialog_drawBorder__P276767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15177,32 +14088,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.y___51746 = undefined; - s.c___51762 = undefined; - s.r___51796 = undefined; + s.y___282032 = undefined; + s.c___282048 = undefined; + s.r___282082 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P46746_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P276768_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; s.tmp_2.arg3 = 0; s.tmp_2.arg4 = 1; s.tmp_2.arg5 = 1; - s.callLocIdx = 950; s.pc = 12; return s.tmp_2; + s.callLocIdx = 951; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P46746_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P276768_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; @@ -15212,10 +14123,10 @@ switch (step) { r0 = (s.tmp_1 - 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 951; s.pc = 13; return s.tmp_0; + s.callLocIdx = 952; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P46746_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P276768_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; r0 = s.arg0.fields["columns"]; @@ -15225,10 +14136,10 @@ switch (step) { s.tmp_0.arg3 = 0; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; - s.callLocIdx = 952; s.pc = 14; return s.tmp_0; + s.callLocIdx = 953; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P46746_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P276768_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 0; @@ -15238,10 +14149,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg5 = r0; - s.callLocIdx = 953; s.pc = 15; return s.tmp_0; + s.callLocIdx = 954; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P46746_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P276768_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; @@ -15254,73 +14165,73 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 - 2); s.tmp_0.arg5 = r0; - s.callLocIdx = 954; s.pc = 16; return s.tmp_0; + s.callLocIdx = 955; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = s.arg0.fields["rows"]; s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.y___51746 = (r0); - s.tmp_0 = game_BaseDialog_fastFill__P46746_mk(s); + s.y___282032 = (r0); + s.tmp_0 = game_BaseDialog_fastFill__P276768_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.y___51746; + s.tmp_0.arg3 = s.y___282032; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; - s.callLocIdx = 955; s.pc = 17; return s.tmp_0; + s.callLocIdx = 956; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P46746_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P276768_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = s.y___51746; + s.tmp_0.arg3 = s.y___282032; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 956; s.pc = 18; return s.tmp_0; + s.callLocIdx = 957; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P46746_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P276768_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.y___51746; + s.tmp_0.arg3 = s.y___282032; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; - s.callLocIdx = 957; s.pc = 19; return s.tmp_0; + s.callLocIdx = 958; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; { step = 11; continue; } case 1: case 2: - s.c___51762 = (0); + s.c___282048 = (0); case 3: r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; - r0 = (s.c___51762 < s.tmp_1); + r0 = (s.c___282048 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.c___51762 == 0); + r0 = (s.c___282048 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = game_BaseDialog_drawPartial__P46748_mk(s); + s.tmp_3 = game_BaseDialog_drawPartial__P276770_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; s.tmp_3.arg3 = 0; - s.callLocIdx = 958; s.pc = 20; return s.tmp_3; + s.callLocIdx = 959; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P46748_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P276770_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; @@ -15328,12 +14239,12 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg3 = r0; - s.callLocIdx = 959; s.pc = 21; return s.tmp_0; + s.callLocIdx = 960; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; { step = 7; continue; } case 4: - s.tmp_1 = r0 = s.c___51762; + s.tmp_1 = r0 = s.c___282048; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -15342,55 +14253,55 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P46748_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P276770_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; - s.tmp_4.arg2 = s.c___51762; + s.tmp_4.arg2 = s.c___282048; s.tmp_4.arg3 = 0; - s.callLocIdx = 960; s.pc = 22; return s.tmp_4; + s.callLocIdx = 961; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P46748_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P276770_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; - s.tmp_0.arg2 = s.c___51762; + s.tmp_0.arg2 = s.c___282048; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg3 = r0; - s.callLocIdx = 961; s.pc = 23; return s.tmp_0; + s.callLocIdx = 962; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = game_BaseDialog_drawPartial__P46748_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P276770_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.tmp_0.arg2 = s.c___51762; + s.tmp_0.arg2 = s.c___282048; s.tmp_0.arg3 = 0; - s.callLocIdx = 962; s.pc = 24; return s.tmp_0; + s.callLocIdx = 963; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P46748_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P276770_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; - s.tmp_0.arg2 = s.c___51762; + s.tmp_0.arg2 = s.c___282048; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg3 = r0; - s.callLocIdx = 963; s.pc = 25; return s.tmp_0; + s.callLocIdx = 964; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; case 6: case 7: - r0 = (s.c___51762 + 1); - s.c___51762 = (r0); + r0 = (s.c___282048 + 1); + s.c___282048 = (r0); { step = 3; continue; } case 8: - s.r___51796 = (1); + s.r___282082 = (1); case 9: - s.tmp_1 = r0 = s.r___51796; + s.tmp_1 = r0 = s.r___282082; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -15399,27 +14310,27 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P46748_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P276770_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 3; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.r___51796; - s.callLocIdx = 964; s.pc = 26; return s.tmp_4; + s.tmp_4.arg3 = s.r___282082; + s.callLocIdx = 965; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P46748_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P276770_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.r___51796; - s.callLocIdx = 965; s.pc = 27; return s.tmp_0; + s.tmp_0.arg3 = s.r___282082; + s.callLocIdx = 966; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - r0 = (s.r___51796 + 1); - s.r___51796 = (r0); + r0 = (s.r___282082 + 1); + s.r___282082 = (r0); { step = 9; continue; } case 10: case 11: @@ -15427,21 +14338,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawBorder__P46745.info = {"start":2953,"length":1321,"line":103,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} +game_BaseDialog_drawBorder__P276767.info = {"start":2953,"length":1321,"line":103,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} -function game_BaseDialog_drawBorder__P46745_mk(s) { +function game_BaseDialog_drawBorder__P276767_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawBorder__P46745, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawBorder__P276767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - y___51746: undefined, - c___51762: undefined, - r___51796: undefined, + y___282032: undefined, + c___282048: undefined, + r___282082: undefined, arg0: undefined, } } @@ -15449,7 +14360,7 @@ function game_BaseDialog_drawBorder__P46745_mk(s) { -function game_BaseDialog_update__P44711(s) { +function game_BaseDialog_update__P274734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15464,34 +14375,34 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P46747_mk(s); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P276769_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 945; s.pc = 1; return s.tmp_0; + s.callLocIdx = 946; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_BaseDialog__C44697_v2_1_mk(s); + s.tmp_0 = game_BaseDialog__C274720_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C44697_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C274720_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawCursorRow__P44714_mk(s); + s.tmp_0 = game_BaseDialog_drawCursorRow__P274737_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 946; s.pc = 3; return s.tmp_0; + s.callLocIdx = 947; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_update__P44711.info = {"start":2171,"length":121,"line":74,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_BaseDialog_update__P274734.info = {"start":2171,"length":121,"line":74,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_BaseDialog_update__P44711_mk(s) { +function game_BaseDialog_update__P274734_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_update__P44711, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_update__P274734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15501,7 +14412,7 @@ function game_BaseDialog_update__P44711_mk(s) { -function game_BaseDialog_drawCursorRow__P44714(s) { +function game_BaseDialog_drawCursorRow__P274737(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15511,21 +14422,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.offset___50486 = undefined; + s.offset___280772 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); - s.offset___50486 = (0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); + s.offset___280772 = (0); r0 = s.arg0.fields["cursorCount"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 20); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offset___50486 = (1); + s.offset___280772 = (1); case 1: case 2: s.tmp_0 = r0 = s.arg0; @@ -15542,9 +14453,9 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_6 = r0; - s.tmp_8 = game_BaseDialog_textAreaWidth__P46751_mk(s); + s.tmp_8 = game_BaseDialog_textAreaWidth__P276773_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 947; s.pc = 3; return s.tmp_8; + s.callLocIdx = 948; s.pc = 3; return s.tmp_8; case 3: r0 = s.retval; s.tmp_7 = r0; @@ -15554,7 +14465,7 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_5 + s.tmp_9); s.tmp_4 = r0; - r0 = (s.tmp_4 + s.offset___50486); + r0 = (s.tmp_4 + s.offset___280772); s.tmp_3 = r0; r0 = s.arg0.fields["cursor"]; s.tmp_11 = r0; @@ -15568,9 +14479,9 @@ switch (step) { s.tmp_17 = r0; r0 = (s.tmp_16 + s.tmp_17); s.tmp_15 = r0; - s.tmp_19 = game_BaseDialog_textAreaHeight__P46752_mk(s); + s.tmp_19 = game_BaseDialog_textAreaHeight__P276774_mk(s); s.tmp_19.arg0 = s.arg0; - s.callLocIdx = 948; s.pc = 4; return s.tmp_19; + s.callLocIdx = 949; s.pc = 4; return s.tmp_19; case 4: r0 = s.retval; s.tmp_18 = r0; @@ -15591,12 +14502,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawCursorRow__P44714.info = {"start":2464,"length":479,"line":88,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} +game_BaseDialog_drawCursorRow__P274737.info = {"start":2464,"length":479,"line":88,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} -function game_BaseDialog_drawCursorRow__P44714_mk(s) { +function game_BaseDialog_drawCursorRow__P274737_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawCursorRow__P44714, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawCursorRow__P274737, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15621,7 +14532,7 @@ function game_BaseDialog_drawCursorRow__P44714_mk(s) { tmp_20: undefined, tmp_21: undefined, tmp_22: undefined, - offset___50486: undefined, + offset___280772: undefined, arg0: undefined, } } @@ -15629,7 +14540,7 @@ function game_BaseDialog_drawCursorRow__P44714_mk(s) { -function game_BaseDialog_textAreaHeight__P46752(s) { +function game_BaseDialog_textAreaHeight__P276774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15644,18 +14555,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerTop"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P41924_mk(s); + s.tmp_7 = Math_min__P271947_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; - s.callLocIdx = 970; s.pc = 1; return s.tmp_7; + s.callLocIdx = 971; s.pc = 1; return s.tmp_7; case 1: r0 = s.retval; s.tmp_6 = r0; @@ -15669,12 +14580,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaHeight__P46752.info = {"start":5841,"length":143,"line":186,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} +game_BaseDialog_textAreaHeight__P276774.info = {"start":5841,"length":143,"line":186,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} -function game_BaseDialog_textAreaHeight__P46752_mk(s) { +function game_BaseDialog_textAreaHeight__P276774_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaHeight__P46752, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaHeight__P276774, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15691,7 +14602,7 @@ function game_BaseDialog_textAreaHeight__P46752_mk(s) { -function game_BaseDialog_textAreaWidth__P46751(s) { +function game_BaseDialog_textAreaWidth__P276773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15706,18 +14617,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.width(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P41924_mk(s); + s.tmp_7 = Math_min__P271947_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; - s.callLocIdx = 969; s.pc = 1; return s.tmp_7; + s.callLocIdx = 970; s.pc = 1; return s.tmp_7; case 1: r0 = s.retval; s.tmp_6 = r0; @@ -15731,12 +14642,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaWidth__P46751.info = {"start":5689,"length":142,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} +game_BaseDialog_textAreaWidth__P276773.info = {"start":5689,"length":142,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} -function game_BaseDialog_textAreaWidth__P46751_mk(s) { +function game_BaseDialog_textAreaWidth__P276773_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaWidth__P46751, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaWidth__P276773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15753,7 +14664,7 @@ function game_BaseDialog_textAreaWidth__P46751_mk(s) { -function game_BaseDialog_cursorRowHeight__P46749(s) { +function game_BaseDialog_cursorRowHeight__P276771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15768,7 +14679,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = s.arg0.fields["cursor"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.height(s.tmp_1); @@ -15777,12 +14688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_cursorRowHeight__P46749.info = {"start":5509,"length":82,"line":174,"column":8,"endLine":176,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} +game_BaseDialog_cursorRowHeight__P276771.info = {"start":5509,"length":82,"line":174,"column":8,"endLine":176,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} -function game_BaseDialog_cursorRowHeight__P46749_mk(s) { +function game_BaseDialog_cursorRowHeight__P276771_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_cursorRowHeight__P46749, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_cursorRowHeight__P276771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15793,7 +14704,7 @@ function game_BaseDialog_cursorRowHeight__P46749_mk(s) { -function game_BaseDialog_drawTextCore__P44713(s) { +function game_BaseDialog_drawTextCore__P274736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15808,17 +14719,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawTextCore__P44713.info = {"start":2389,"length":65,"line":84,"column":8,"endLine":86,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_BaseDialog_drawTextCore__P274736.info = {"start":2389,"length":65,"line":84,"column":8,"endLine":86,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_BaseDialog_drawTextCore__P44713_mk(s) { +function game_BaseDialog_drawTextCore__P274736_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawTextCore__P44713, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawTextCore__P274736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15827,7 +14738,7 @@ function game_BaseDialog_drawTextCore__P44713_mk(s) { -function scene_setBackgroundImage__P44679(s) { +function scene_setBackgroundImage__P274702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15837,36 +14748,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___50448 = undefined; + s.scene___280734 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 938; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 939; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___50448 = (r0); - s.tmp_0 = scene_Background_image__P44470_mk(s); - r0 = s.scene___50448.fields["background"]; + s.scene___280734 = (r0); + s.tmp_0 = scene_Background_image__P274493_mk(s); + r0 = s.scene___280734.fields["background"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 939; s.pc = 2; return s.tmp_0; + s.callLocIdx = 940; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setBackgroundImage__P44679.info = {"start":1962,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} +scene_setBackgroundImage__P274702.info = {"start":1962,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -function scene_setBackgroundImage__P44679_mk(s) { +function scene_setBackgroundImage__P274702_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundImage__P44679, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundImage__P274702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___50448: undefined, + scene___280734: undefined, arg0: undefined, } } @@ -15874,7 +14785,7 @@ function scene_setBackgroundImage__P44679_mk(s) { -function scene_Background_image__P44470(s) { +function scene_Background_image__P274493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15890,18 +14801,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C44463_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C274486_VT)) failedCast(r0); r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_image__P44470.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} +scene_Background_image__P274493.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} -function scene_Background_image__P44470_mk(s) { +function scene_Background_image__P274493_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P44470, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P274493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15911,7 +14822,7 @@ function scene_Background_image__P44470_mk(s) { -function scene_Background_image__P44469(s) { +function scene_Background_image__P274492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15926,7 +14837,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C44463_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C274486_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -15936,9 +14847,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_3 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_6 = r0; r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; @@ -15949,13 +14860,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Background_image__P44469.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} -scene_Background_image__P44469.isGetter = true; +scene_Background_image__P274492.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} +scene_Background_image__P274492.isGetter = true; -function scene_Background_image__P44469_mk(s) { +function scene_Background_image__P274492_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P44469, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P274492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15971,7 +14882,7 @@ function scene_Background_image__P44469_mk(s) { -function sprites_create__P44069(s) { +function sprites_create__P274092(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15981,78 +14892,78 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___50809 = undefined; - s.sprite___50812 = undefined; + s.scene___281095 = undefined; + s.sprite___281098 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 296; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 297; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___50809 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C44135_VT); + s.scene___281095 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C274158_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P44182_mk(s); + s.tmp_1 = Sprite_constructor__P274205_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.callLocIdx = 297; s.pc = 2; return s.tmp_1; + s.callLocIdx = 298; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___50812 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P44202_mk(s); - s.tmp_0.arg0 = s.sprite___50812; + s.sprite___281098 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P274225_mk(s); + s.tmp_0.arg0 = s.sprite___281098; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 298; s.pc = 3; return s.tmp_0; + s.callLocIdx = 299; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C44305_v0_2_mk(s); - r0 = s.scene___50809.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C274328_v0_2_mk(s); + r0 = s.scene___281095.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___50812; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C44305_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___281098; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C274328_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, forEach_inline__P50827); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P281113); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P50834); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P281120); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___50812); - s.tmp_2 = helpers_arrayForEach__P41902_mk(s); - s.tmp_3 = helpers_arrayFilter__P41903_mk(s); - r0 = s.scene___50809.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___281098); + s.tmp_2 = helpers_arrayForEach__P271925_mk(s); + s.tmp_3 = helpers_arrayFilter__P271926_mk(s); + r0 = s.scene___281095.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 299; s.pc = 6; return s.tmp_3; + s.callLocIdx = 300; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 301; s.pc = 5; return s.tmp_2; + s.callLocIdx = 302; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___50812; + r0 = s.sprite___281098; return leave(s, r0) default: oops() } } } -sprites_create__P44069.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__P274092.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__P44069_mk(s) { +function sprites_create__P274092_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P44069, depth: s.depth + 1, + parent: s, fn: sprites_create__P274092, 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___50809: undefined, - sprite___50812: undefined, + scene___281095: undefined, + sprite___281098: undefined, arg0: undefined, arg1: undefined, } } @@ -16061,7 +14972,7 @@ function sprites_create__P44069_mk(s) { -function forEach_inline__P50827(s) { +function forEach_inline__P281113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16081,12 +14992,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P50827.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P281113.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P50827_mk(s) { +function forEach_inline__P281113_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P50827, depth: s.depth + 1, + parent: s, fn: forEach_inline__P281113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16096,7 +15007,7 @@ function forEach_inline__P50827_mk(s) { -function sprites_create_inline__P50834(s) { +function sprites_create_inline__P281120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16115,12 +15026,12 @@ switch (step) { s.tmp_0.arg1 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 2); - s.callLocIdx = 300; s.pc = 1; return s.tmp_0; + s.callLocIdx = 301; 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"], 2); s.callLocIdx = 300; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 300; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 300; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 301; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 301; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 301; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -16128,12 +15039,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P50834.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +sprites_create_inline__P281120.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -function sprites_create_inline__P50834_mk(s) { +function sprites_create_inline__P281120_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P50834, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P281120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16143,7 +15054,7 @@ function sprites_create_inline__P50834_mk(s) { -function PhysicsEngine_addSprite__P44307(s) { +function PhysicsEngine_addSprite__P274330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16159,17 +15070,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C44305_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C274328_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P44307.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__P274330.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__P44307_mk(s) { +function PhysicsEngine_addSprite__P274330_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P44307, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P274330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16179,7 +15090,7 @@ function PhysicsEngine_addSprite__P44307_mk(s) { -function Sprite_setKind__P44202(s) { +function Sprite_setKind__P274225(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16189,15 +15100,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___50879 = undefined; - s.overlapMap___50908 = undefined; + s.spritesByKind___281165 = undefined; + s.overlapMap___281194 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -16216,12 +15127,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P44793_mk(s); - s.callLocIdx = 366; s.pc = 16; return s.tmp_3; + s.tmp_3 = game_currentScene__P274816_mk(s); + s.callLocIdx = 367; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___50879 = (r0); + s.spritesByKind___281165 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -16233,19 +15144,19 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___50879, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___281165, 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__P44264_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P274287_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___50879, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___281165, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; - s.callLocIdx = 367; s.pc = 17; return s.tmp_4; + s.callLocIdx = 368; s.pc = 17; return s.tmp_4; case 17: r0 = s.retval; case 7: @@ -16254,7 +15165,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___50879, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___281165, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -16262,32 +15173,32 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C44257_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C274280_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P44259_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P274282_mk(s); s.tmp_5.arg0 = s.tmp_4; - s.callLocIdx = 368; s.pc = 18; return s.tmp_5; + s.callLocIdx = 369; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___50879, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___281165, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P44262_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___50879, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P274285_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___281165, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 369; s.pc = 19; return s.tmp_0; + s.callLocIdx = 370; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 370; s.pc = 20; return s.tmp_0; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 371; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___50908 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___50908, s.arg1); + s.overlapMap___281194 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___281194, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -16295,7 +15206,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___50908; + s.tmp_3 = r0 = s.overlapMap___281194; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -16303,7 +15214,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___50908, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___281194, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -16312,12 +15223,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P44202.info = {"start":12841,"length":663,"line":464,"column":4,"endLine":484,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P274225.info = {"start":12841,"length":663,"line":464,"column":4,"endLine":484,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P44202_mk(s) { +function Sprite_setKind__P274225_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P44202, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P274225, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16325,8 +15236,8 @@ function Sprite_setKind__P44202_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___50879: undefined, - overlapMap___50908: undefined, + spritesByKind___281165: undefined, + overlapMap___281194: undefined, arg0: undefined, arg1: undefined, } } @@ -16335,7 +15246,7 @@ function Sprite_setKind__P44202_mk(s) { -function sprites_SpriteSet_remove__P44264(s) { +function sprites_SpriteSet_remove__P274287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16345,28 +15256,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___50956 = undefined; + s.i___281242 = 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__C44257_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C274280_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___50956 = (r0); - r0 = (s.i___50956 > -1); + s.i___281242 = (r0); + r0 = (s.i___281242 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P41893_mk(s); + s.tmp_1 = helpers_arraySplice__P271916_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___50956; + s.tmp_1.arg1 = s.i___281242; s.tmp_1.arg2 = 1; - s.callLocIdx = 516; s.pc = 4; return s.tmp_1; + s.callLocIdx = 517; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; r0 = true; @@ -16378,16 +15289,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P44264.info = {"start":1827,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} +sprites_SpriteSet_remove__P274287.info = {"start":1827,"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__P44264_mk(s) { +function sprites_SpriteSet_remove__P274287_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P44264, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P274287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___50956: undefined, + i___281242: undefined, arg0: undefined, arg1: undefined, } } @@ -16396,7 +15307,7 @@ function sprites_SpriteSet_remove__P44264_mk(s) { -function helpers_arraySplice__P41893(s) { +function helpers_arraySplice__P271916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16406,7 +15317,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___49959 = undefined; + s.i___280245 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16420,15 +15331,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___49959 = (0); + s.i___280245 = (0); case 3: - r0 = (s.i___49959 < s.arg2); + r0 = (s.i___280245 < 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___49959 + 1); - s.i___49959 = (r0); + r0 = (s.i___280245 + 1); + s.i___280245 = (r0); { step = 3; continue; } case 4: case 5: @@ -16436,15 +15347,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P41893.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__P271916.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__P41893_mk(s) { +function helpers_arraySplice__P271916_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P41893, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P271916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___49959: undefined, + i___280245: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16454,7 +15365,7 @@ function helpers_arraySplice__P41893_mk(s) { -function sprites_SpriteSet_add__P44262(s) { +function sprites_SpriteSet_add__P274285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16470,7 +15381,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C44257_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C274280_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -16501,12 +15412,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P44262.info = {"start":1041,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} +sprites_SpriteSet_add__P274285.info = {"start":1041,"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__P44262_mk(s) { +function sprites_SpriteSet_add__P274285_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P44262, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P274285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16522,7 +15433,7 @@ function sprites_SpriteSet_add__P44262_mk(s) { -function sprites_SpriteSet_contains__P44265(s) { +function sprites_SpriteSet_contains__P274288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16538,7 +15449,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C44257_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C274280_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -16547,12 +15458,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P44265.info = {"start":2172,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} +sprites_SpriteSet_contains__P274288.info = {"start":2172,"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__P44265_mk(s) { +function sprites_SpriteSet_contains__P274288_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P44265, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P274288, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16564,7 +15475,7 @@ function sprites_SpriteSet_contains__P44265_mk(s) { -function sprites_SpriteSet_constructor__P44259(s) { +function sprites_SpriteSet_constructor__P274282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16579,7 +15490,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C44257_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C274280_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -16588,12 +15499,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P44259.info = {"start":485,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} +sprites_SpriteSet_constructor__P274282.info = {"start":485,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} -function sprites_SpriteSet_constructor__P44259_mk(s) { +function sprites_SpriteSet_constructor__P274282_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P44259, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P274282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16604,7 +15515,7 @@ function sprites_SpriteSet_constructor__P44259_mk(s) { -function Sprite_constructor__P44182(s) { +function Sprite_constructor__P274205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16620,15 +15531,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P43890_mk(s); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P273913_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 328; s.pc = 1; return s.tmp_0; + s.callLocIdx = 329; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -16642,7 +15553,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___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -16661,55 +15572,55 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P44153_mk(s); + s.tmp_0 = Sprite_vx__P274176_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 331; s.pc = 2; return s.tmp_0; + s.callLocIdx = 332; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P44155_mk(s); + s.tmp_0 = Sprite_vy__P274178_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 332; s.pc = 3; return s.tmp_0; + s.callLocIdx = 333; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P44157_mk(s); + s.tmp_0 = Sprite_ax__P274180_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 333; s.pc = 4; return s.tmp_0; + s.callLocIdx = 334; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P44159_mk(s); + s.tmp_0 = Sprite_ay__P274182_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 334; s.pc = 5; return s.tmp_0; + s.callLocIdx = 335; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P44161_mk(s); + s.tmp_0 = Sprite_fx__P274184_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 335; s.pc = 6; return s.tmp_0; + s.callLocIdx = 336; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P44163_mk(s); + s.tmp_0 = Sprite_fy__P274186_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 336; s.pc = 7; return s.tmp_0; + s.callLocIdx = 337; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["_sx"] = (256); r0 = (s.arg0).fields["_sy"] = (256); r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P44185_mk(s); + s.tmp_0 = Sprite_setImage__P274208_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 337; s.pc = 8; return s.tmp_0; + s.callLocIdx = 338; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P44202_mk(s); + s.tmp_0 = Sprite_setKind__P274225_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; - s.callLocIdx = 338; s.pc = 9; return s.tmp_0; + s.callLocIdx = 339; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = (s.arg0).fields["layer"] = (1); @@ -16726,12 +15637,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P44182.info = {"start":7406,"length":678,"line":278,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P274205.info = {"start":7406,"length":678,"line":278,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P44182_mk(s) { +function Sprite_constructor__P274205_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P44182, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P274205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16748,7 +15659,7 @@ function Sprite_constructor__P44182_mk(s) { -function Sprite_setImage__P44185(s) { +function Sprite_setImage__P274208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16764,7 +15675,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -16786,9 +15697,9 @@ switch (step) { case 3: case 4: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite__C44135_v5_1_mk(s); + s.tmp_0 = Sprite__C274158_v5_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C44135_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C274158_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.recalcSize; s.pc = 6; return s.tmp_0; case 6: @@ -16798,12 +15709,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P44185.info = {"start":9299,"length":131,"line":332,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P274208.info = {"start":9299,"length":131,"line":332,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P44185_mk(s) { +function Sprite_setImage__P274208_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P44185, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P274208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16817,7 +15728,7 @@ function Sprite_setImage__P44185_mk(s) { -function Sprite_recalcSize__P46591(s) { +function Sprite_recalcSize__P276613(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16832,15 +15743,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sx__P44164_mk(s); + s.tmp_6 = Sprite_sx__P274187_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 343; s.pc = 1; return s.tmp_6; + s.callLocIdx = 344; s.pc = 1; return s.tmp_6; case 1: r0 = s.retval; s.tmp_5 = r0; @@ -16856,9 +15767,9 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sy__P44166_mk(s); + s.tmp_6 = Sprite_sy__P274189_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 345; s.pc = 2; return s.tmp_6; + s.callLocIdx = 346; s.pc = 2; return s.tmp_6; case 2: r0 = s.retval; s.tmp_5 = r0; @@ -16869,21 +15780,21 @@ switch (step) { r0 = (s.tmp_7 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_height"] = (s.tmp_1); - s.tmp_0 = Sprite_resetHitbox__P44187_mk(s); + s.tmp_0 = Sprite_resetHitbox__P274210_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 347; s.pc = 3; return s.tmp_0; + s.callLocIdx = 348; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_recalcSize__P46591.info = {"start":9982,"length":178,"line":363,"column":4,"endLine":367,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"recalcSize","argumentNames":["this"]} +Sprite_recalcSize__P276613.info = {"start":9982,"length":178,"line":363,"column":4,"endLine":367,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"recalcSize","argumentNames":["this"]} -function Sprite_recalcSize__P46591_mk(s) { +function Sprite_recalcSize__P276613_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_recalcSize__P46591, depth: s.depth + 1, + parent: s, fn: Sprite_recalcSize__P276613, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16900,7 +15811,7 @@ function Sprite_recalcSize__P46591_mk(s) { -function Sprite_resetHitbox__P44187(s) { +function Sprite_resetHitbox__P274210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16915,11 +15826,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = (s.arg0).fields["_hitbox"] = (null); - s.tmp_0 = Sprite__C44135_v4_1_mk(s); + s.tmp_0 = Sprite__C274158_v4_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C44135_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C274158_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setHitbox; s.pc = 1; return s.tmp_0; case 1: @@ -16928,12 +15839,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_resetHitbox__P44187.info = {"start":9580,"length":76,"line":342,"column":4,"endLine":345,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"resetHitbox","argumentNames":["this"]} +Sprite_resetHitbox__P274210.info = {"start":9580,"length":76,"line":342,"column":4,"endLine":345,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"resetHitbox","argumentNames":["this"]} -function Sprite_resetHitbox__P44187_mk(s) { +function Sprite_resetHitbox__P274210_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_resetHitbox__P44187, depth: s.depth + 1, + parent: s, fn: Sprite_resetHitbox__P274210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16943,7 +15854,7 @@ function Sprite_resetHitbox__P44187_mk(s) { -function Sprite_setHitbox__P44188(s) { +function Sprite_setHitbox__P274211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16958,23 +15869,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_Hitbox_updateIfInvalid__P44016_mk(s); + s.tmp_1 = game_Hitbox_updateIfInvalid__P274039_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 341; s.pc = 3; return s.tmp_1; + s.callLocIdx = 342; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; { step = 2; continue; } case 1: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_calculateHitBox__P44018_mk(s); + s.tmp_2 = game_calculateHitBox__P274041_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 342; s.pc = 4; return s.tmp_2; + s.callLocIdx = 343; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; @@ -16984,12 +15895,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P44188.info = {"start":9662,"length":173,"line":347,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} +Sprite_setHitbox__P274211.info = {"start":9662,"length":173,"line":347,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setHitbox","argumentNames":["this"]} -function Sprite_setHitbox__P44188_mk(s) { +function Sprite_setHitbox__P274211_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P44188, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P274211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17001,7 +15912,7 @@ function Sprite_setHitbox__P44188_mk(s) { -function game_calculateHitBox__P44018(s) { +function game_calculateHitBox__P274041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17011,17 +15922,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___51087 = undefined; - s.minX___51090 = undefined; - s.minY___51094 = undefined; - s.maxX___51098 = undefined; - s.maxY___51100 = undefined; - s.c___51102 = undefined; - s.fxc___51103 = undefined; - s.r___51110 = undefined; - s.fxr___51111 = undefined; - s.width___51175 = undefined; - s.height___51183 = undefined; + s.i___281373 = undefined; + s.minX___281376 = undefined; + s.minY___281380 = undefined; + s.maxX___281384 = undefined; + s.maxY___281386 = undefined; + s.c___281388 = undefined; + s.fxc___281389 = undefined; + s.r___281396 = undefined; + s.fxr___281397 = undefined; + s.width___281461 = undefined; + s.height___281469 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -17033,10 +15944,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = game_Hitbox_isValid__P44014_mk(s); + s.tmp_1 = game_Hitbox_isValid__P274037_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 275; s.pc = 12; return s.tmp_1; + s.callLocIdx = 276; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; case 2: @@ -17049,139 +15960,139 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___51087 = (r0); - r0 = pxsim_ImageMethods.width(s.i___51087); + s.i___281373 = (r0); + r0 = pxsim_ImageMethods.width(s.i___281373); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minX___51090 = (r0); - r0 = pxsim_ImageMethods.height(s.i___51087); + s.minX___281376 = (r0); + r0 = pxsim_ImageMethods.height(s.i___281373); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minY___51094 = (r0); - s.maxX___51098 = (0); - s.maxY___51100 = (0); - s.c___51102 = (0); - s.fxc___51103 = (0); + s.minY___281380 = (r0); + s.maxX___281384 = (0); + s.maxY___281386 = (0); + s.c___281388 = (0); + s.fxc___281389 = (0); case 5: - s.tmp_1 = r0 = s.c___51102; - r0 = pxsim_ImageMethods.width(s.i___51087); + s.tmp_1 = r0 = s.c___281388; + r0 = pxsim_ImageMethods.width(s.i___281373); 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; } - s.r___51110 = (0); - s.fxr___51111 = (0); + s.r___281396 = (0); + s.fxr___281397 = (0); case 6: - s.tmp_1 = r0 = s.r___51110; - r0 = pxsim_ImageMethods.height(s.i___51087); + s.tmp_1 = r0 = s.r___281396; + r0 = pxsim_ImageMethods.height(s.i___281373); 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 = 9; continue; } - r0 = pxsim_ImageMethods.getPixel(s.i___51087, s.c___51102, s.r___51110); + r0 = pxsim_ImageMethods.getPixel(s.i___281373, s.c___281388, s.r___281396); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Fx_min__P41959_mk(s); - s.tmp_4.arg0 = s.minX___51090; - s.tmp_4.arg1 = s.fxc___51103; - s.callLocIdx = 279; s.pc = 13; return s.tmp_4; + s.tmp_4 = Fx_min__P271982_mk(s); + s.tmp_4.arg0 = s.minX___281376; + s.tmp_4.arg1 = s.fxc___281389; + s.callLocIdx = 280; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___51090 = (r0); - s.tmp_0 = Fx_min__P41959_mk(s); - s.tmp_0.arg0 = s.minY___51094; - s.tmp_0.arg1 = s.fxr___51111; - s.callLocIdx = 280; s.pc = 14; return s.tmp_0; + s.minX___281376 = (r0); + s.tmp_0 = Fx_min__P271982_mk(s); + s.tmp_0.arg0 = s.minY___281380; + s.tmp_0.arg1 = s.fxr___281397; + s.callLocIdx = 281; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___51094 = (r0); - s.tmp_0 = Fx_max__P41960_mk(s); - s.tmp_0.arg0 = s.maxX___51098; - s.tmp_0.arg1 = s.fxc___51103; - s.callLocIdx = 281; s.pc = 15; return s.tmp_0; + s.minY___281380 = (r0); + s.tmp_0 = Fx_max__P271983_mk(s); + s.tmp_0.arg0 = s.maxX___281384; + s.tmp_0.arg1 = s.fxc___281389; + s.callLocIdx = 282; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___51098 = (r0); - s.tmp_0 = Fx_max__P41960_mk(s); - s.tmp_0.arg0 = s.maxY___51100; - s.tmp_0.arg1 = s.fxr___51111; - s.callLocIdx = 282; s.pc = 16; return s.tmp_0; + s.maxX___281384 = (r0); + s.tmp_0 = Fx_max__P271983_mk(s); + s.tmp_0.arg0 = s.maxY___281386; + s.tmp_0.arg1 = s.fxr___281397; + s.callLocIdx = 283; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___51100 = (r0); + s.maxY___281386 = (r0); case 7: case 8: - r0 = (s.r___51110 + 1); - s.r___51110 = (r0); - r0 = (s.fxr___51111 + 256); + r0 = (s.r___281396 + 1); + s.r___281396 = (r0); + r0 = (s.fxr___281397 + 256); s.tmp_0 = r0; - s.fxr___51111 = (r0); + s.fxr___281397 = (r0); r0 = s.tmp_0; { step = 6; continue; } case 9: - r0 = (s.c___51102 + 1); - s.c___51102 = (r0); - r0 = (s.fxc___51103 + 256); + r0 = (s.c___281388 + 1); + s.c___281388 = (r0); + r0 = (s.fxc___281389 + 256); s.tmp_0 = r0; - s.fxc___51103 = (r0); + s.fxc___281389 = (r0); r0 = s.tmp_0; { step = 5; continue; } case 10: r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minX___51090, s.tmp_0); + r0 = pxsim.Math_.imul(s.minX___281376, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minX___51090 = (r0); + s.minX___281376 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minY___51094, s.tmp_0); + r0 = pxsim.Math_.imul(s.minY___281380, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minY___51094 = (r0); + s.minY___281380 = (r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxX___51098, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxX___281384, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxX___51098 = (r0); + s.maxX___281384 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxY___51100, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxY___281386, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxY___51100 = (r0); - r0 = (s.maxX___51098 - s.minX___51090); + s.maxY___281386 = (r0); + r0 = (s.maxX___281384 - s.minX___281376); s.tmp_0 = r0; r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___51175 = (r0); - r0 = (s.maxY___51100 - s.minY___51094); + s.width___281461 = (r0); + r0 = (s.maxY___281386 - s.minY___281380); s.tmp_0 = r0; r0 = s.arg0.fields["_sy"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___51183 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C44002_VT); + s.height___281469 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C274025_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P44009_mk(s); + s.tmp_1 = game_Hitbox_constructor__P274032_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___51175; - s.tmp_1.arg3 = s.height___51183; - r0 = (s.minX___51090 & -256); + s.tmp_1.arg2 = s.width___281461; + s.tmp_1.arg3 = s.height___281469; + r0 = (s.minX___281376 & -256); s.tmp_1.arg4 = r0; - r0 = (s.minY___51094 & -256); + r0 = (s.minY___281380 & -256); s.tmp_1.arg5 = r0; - s.callLocIdx = 295; s.pc = 17; return s.tmp_1; + s.callLocIdx = 296; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; r0 = s.tmp_0; @@ -17189,29 +16100,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P44018.info = {"start":3223,"length":1086,"line":103,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} +game_calculateHitBox__P274041.info = {"start":3223,"length":1086,"line":103,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} -function game_calculateHitBox__P44018_mk(s) { +function game_calculateHitBox__P274041_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P44018, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P274041, 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___51087: undefined, - minX___51090: undefined, - minY___51094: undefined, - maxX___51098: undefined, - maxY___51100: undefined, - c___51102: undefined, - fxc___51103: undefined, - r___51110: undefined, - fxr___51111: undefined, - width___51175: undefined, - height___51183: undefined, + i___281373: undefined, + minX___281376: undefined, + minY___281380: undefined, + maxX___281384: undefined, + maxY___281386: undefined, + c___281388: undefined, + fxc___281389: undefined, + r___281396: undefined, + fxr___281397: undefined, + width___281461: undefined, + height___281469: undefined, arg0: undefined, } } @@ -17219,7 +16130,7 @@ function game_calculateHitBox__P44018_mk(s) { -function Sprite_image__P44184(s) { +function Sprite_image__P274207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17234,18 +16145,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P44184.info = {"start":9023,"length":54,"line":322,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P44184.isGetter = true; +Sprite_image__P274207.info = {"start":9023,"length":54,"line":322,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P274207.isGetter = true; -function Sprite_image__P44184_mk(s) { +function Sprite_image__P274207_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P44184, depth: s.depth + 1, + parent: s, fn: Sprite_image__P274207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17254,7 +16165,7 @@ function Sprite_image__P44184_mk(s) { -function game_Hitbox_isValid__P44014(s) { +function game_Hitbox_isValid__P274037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17269,13 +16180,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C44002_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C274025_VT)) failedCast(r0); r0 = s.arg0.fields["hash"]; s.tmp_0 = r0; - s.tmp_2 = Sprite_calcDimensionalHash__P44186_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P274209_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 228; s.pc = 1; return s.tmp_2; + s.callLocIdx = 229; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -17283,12 +16194,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_isValid__P44014.info = {"start":935,"length":89,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} +game_Hitbox_isValid__P274037.info = {"start":935,"length":89,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"isValid","argumentNames":["this"]} -function game_Hitbox_isValid__P44014_mk(s) { +function game_Hitbox_isValid__P274037_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_isValid__P44014, depth: s.depth + 1, + parent: s, fn: game_Hitbox_isValid__P274037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17300,7 +16211,7 @@ function game_Hitbox_isValid__P44014_mk(s) { -function Sprite_calcDimensionalHash__P44186(s) { +function Sprite_calcDimensionalHash__P274209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17315,7 +16226,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.revision(s.tmp_2); @@ -17338,12 +16249,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_calcDimensionalHash__P44186.info = {"start":9436,"length":138,"line":338,"column":4,"endLine":340,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"calcDimensionalHash","argumentNames":["this"]} +Sprite_calcDimensionalHash__P274209.info = {"start":9436,"length":138,"line":338,"column":4,"endLine":340,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"calcDimensionalHash","argumentNames":["this"]} -function Sprite_calcDimensionalHash__P44186_mk(s) { +function Sprite_calcDimensionalHash__P274209_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_calcDimensionalHash__P44186, depth: s.depth + 1, + parent: s, fn: Sprite_calcDimensionalHash__P274209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17361,7 +16272,7 @@ function Sprite_calcDimensionalHash__P44186_mk(s) { -function Fx_toIntShifted__P41949(s) { +function Fx_toIntShifted__P271972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17383,12 +16294,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P41949.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__P271972.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__P41949_mk(s) { +function Fx_toIntShifted__P271972_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P41949, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P271972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17400,7 +16311,7 @@ function Fx_toIntShifted__P41949_mk(s) { -function game_Hitbox_constructor__P44009(s) { +function game_Hitbox_constructor__P274032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17420,11 +16331,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C44002_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C274025_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_calcDimensionalHash__P44186_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P274209_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 219; s.pc = 1; return s.tmp_2; + s.callLocIdx = 220; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -17438,12 +16349,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P44009.info = {"start":173,"length":288,"line":9,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} +game_Hitbox_constructor__P274032.info = {"start":173,"length":288,"line":9,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} -function game_Hitbox_constructor__P44009_mk(s) { +function game_Hitbox_constructor__P274032_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P44009, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P274032, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17460,7 +16371,7 @@ function game_Hitbox_constructor__P44009_mk(s) { -function Fx_floor__P41961(s) { +function Fx_floor__P271984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17478,12 +16389,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_floor__P41961.info = {"start":1919,"length":103,"line":62,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"floor","argumentNames":["v"]} +Fx_floor__P271984.info = {"start":1919,"length":103,"line":62,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"floor","argumentNames":["v"]} -function Fx_floor__P41961_mk(s) { +function Fx_floor__P271984_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_floor__P41961, depth: s.depth + 1, + parent: s, fn: Fx_floor__P271984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17492,7 +16403,7 @@ function Fx_floor__P41961_mk(s) { -function Fx_max__P41960(s) { +function Fx_max__P271983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17523,12 +16434,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P41960.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__P271983.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__P41960_mk(s) { +function Fx_max__P271983_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P41960, depth: s.depth + 1, + parent: s, fn: Fx_max__P271983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17539,7 +16450,7 @@ function Fx_max__P41960_mk(s) { -function Fx_min__P41959(s) { +function Fx_min__P271982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17570,12 +16481,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P41959.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__P271982.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__P41959_mk(s) { +function Fx_min__P271982_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P41959, depth: s.depth + 1, + parent: s, fn: Fx_min__P271982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17586,7 +16497,7 @@ function Fx_min__P41959_mk(s) { -function Fx_mul__P41953(s) { +function Fx_mul__P271976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17607,12 +16518,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P41953.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__P271976.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__P41953_mk(s) { +function Fx_mul__P271976_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P41953, depth: s.depth + 1, + parent: s, fn: Fx_mul__P271976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17623,7 +16534,7 @@ function Fx_mul__P41953_mk(s) { -function Fx_sub__P41952(s) { +function Fx_sub__P271975(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17642,12 +16553,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P41952.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__P271975.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__P41952_mk(s) { +function Fx_sub__P271975_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P41952, depth: s.depth + 1, + parent: s, fn: Fx_sub__P271975, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17657,7 +16568,7 @@ function Fx_sub__P41952_mk(s) { -function game_Hitbox_updateIfInvalid__P44016(s) { +function game_Hitbox_updateIfInvalid__P274039(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17667,26 +16578,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___51300 = undefined; - s.oMinX___51305 = undefined; - s.oMinY___51308 = undefined; - s.oMaxX___51311 = undefined; - s.oMaxY___51317 = undefined; - s.nMinX___51323 = undefined; - s.nMinY___51326 = undefined; - s.nMaxX___51329 = undefined; - s.nMaxY___51335 = undefined; - s.xDiff___51341 = undefined; - s.yDiff___51352 = undefined; + s.newHitBox___281586 = undefined; + s.oMinX___281591 = undefined; + s.oMinY___281594 = undefined; + s.oMaxX___281597 = undefined; + s.oMaxY___281603 = undefined; + s.nMinX___281609 = undefined; + s.nMinY___281612 = undefined; + s.nMaxX___281615 = undefined; + s.nMaxY___281621 = undefined; + s.xDiff___281627 = undefined; + s.yDiff___281638 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C44002_VT)) failedCast(r0); - s.tmp_1 = game_Hitbox_isValid__P44014_mk(s); + if (!checkSubtype(r0, game_Hitbox__C274025_VT)) failedCast(r0); + s.tmp_1 = game_Hitbox_isValid__P274037_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 233; s.pc = 8; return s.tmp_1; + s.callLocIdx = 234; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -17695,90 +16606,90 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_2 = game_calculateHitBox__P44018_mk(s); + s.tmp_2 = game_calculateHitBox__P274041_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 234; s.pc = 9; return s.tmp_2; + s.callLocIdx = 235; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.newHitBox___51300 = (r0); + s.newHitBox___281586 = (r0); r0 = s.arg0.fields["ox"]; - s.oMinX___51305 = (r0); + s.oMinX___281591 = (r0); r0 = s.arg0.fields["oy"]; - s.oMinY___51308 = (r0); + s.oMinY___281594 = (r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___51305 + s.tmp_0); - s.oMaxX___51311 = (r0); + r0 = (s.oMinX___281591 + s.tmp_0); + s.oMaxX___281597 = (r0); r0 = s.arg0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___51308 + s.tmp_0); - s.oMaxY___51317 = (r0); - r0 = s.newHitBox___51300.fields["ox"]; - s.nMinX___51323 = (r0); - r0 = s.newHitBox___51300.fields["oy"]; - s.nMinY___51326 = (r0); - r0 = s.newHitBox___51300.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___51323 + s.tmp_0); - s.nMaxX___51329 = (r0); - r0 = s.newHitBox___51300.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___51326 + s.tmp_0); - s.nMaxY___51335 = (r0); - s.tmp_1 = Fx_abs__P41958_mk(s); - r0 = (s.oMinX___51305 - s.nMinX___51323); + r0 = (s.oMinY___281594 + s.tmp_0); + s.oMaxY___281603 = (r0); + r0 = s.newHitBox___281586.fields["ox"]; + s.nMinX___281609 = (r0); + r0 = s.newHitBox___281586.fields["oy"]; + s.nMinY___281612 = (r0); + r0 = s.newHitBox___281586.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___281609 + s.tmp_0); + s.nMaxX___281615 = (r0); + r0 = s.newHitBox___281586.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___281612 + s.tmp_0); + s.nMaxY___281621 = (r0); + s.tmp_1 = Fx_abs__P271981_mk(s); + r0 = (s.oMinX___281591 - s.nMinX___281609); s.tmp_1.arg0 = r0; - s.callLocIdx = 240; s.pc = 10; return s.tmp_1; + s.callLocIdx = 241; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P41958_mk(s); - r0 = (s.oMaxX___51311 - s.nMaxX___51329); + s.tmp_3 = Fx_abs__P271981_mk(s); + r0 = (s.oMaxX___281597 - s.nMaxX___281615); s.tmp_3.arg0 = r0; - s.callLocIdx = 242; s.pc = 11; return s.tmp_3; + s.callLocIdx = 243; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___51341 = (r0); - s.tmp_1 = Fx_abs__P41958_mk(s); - r0 = (s.oMinY___51308 - s.nMinY___51326); + s.xDiff___281627 = (r0); + s.tmp_1 = Fx_abs__P271981_mk(s); + r0 = (s.oMinY___281594 - s.nMinY___281612); s.tmp_1.arg0 = r0; - s.callLocIdx = 245; s.pc = 12; return s.tmp_1; + s.callLocIdx = 246; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P41958_mk(s); - r0 = (s.oMaxY___51317 - s.nMaxY___51335); + s.tmp_3 = Fx_abs__P271981_mk(s); + r0 = (s.oMaxY___281603 - s.nMaxY___281621); s.tmp_3.arg0 = r0; - s.callLocIdx = 247; s.pc = 13; return s.tmp_3; + s.callLocIdx = 248; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___51352 = (r0); - r0 = (s.xDiff___51341 > 512); + s.yDiff___281638 = (r0); + r0 = (s.xDiff___281627 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["ox"] = (s.nMinX___51323); - r0 = s.newHitBox___51300.fields["width"]; + r0 = (s.arg0).fields["ox"] = (s.nMinX___281609); + r0 = s.newHitBox___281586.fields["width"]; s.tmp_0 = r0; r0 = (s.arg0).fields["width"] = (s.tmp_0); case 3: case 4: - r0 = (s.yDiff___51352 > 512); + r0 = (s.yDiff___281638 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.arg0).fields["oy"] = (s.nMinY___51326); - r0 = s.newHitBox___51300.fields["height"]; + r0 = (s.arg0).fields["oy"] = (s.nMinY___281612); + r0 = s.newHitBox___281586.fields["height"]; s.tmp_0 = r0; r0 = (s.arg0).fields["height"] = (s.tmp_0); case 5: case 6: - r0 = s.newHitBox___51300.fields["hash"]; + r0 = s.newHitBox___281586.fields["hash"]; s.tmp_0 = r0; r0 = (s.arg0).fields["hash"] = (s.tmp_0); case 7: @@ -17786,28 +16697,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_updateIfInvalid__P44016.info = {"start":1188,"length":1317,"line":48,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"updateIfInvalid","argumentNames":["this"]} +game_Hitbox_updateIfInvalid__P274039.info = {"start":1188,"length":1317,"line":48,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"updateIfInvalid","argumentNames":["this"]} -function game_Hitbox_updateIfInvalid__P44016_mk(s) { +function game_Hitbox_updateIfInvalid__P274039_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_updateIfInvalid__P44016, depth: s.depth + 1, + parent: s, fn: game_Hitbox_updateIfInvalid__P274039, 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___51300: undefined, - oMinX___51305: undefined, - oMinY___51308: undefined, - oMaxX___51311: undefined, - oMaxY___51317: undefined, - nMinX___51323: undefined, - nMinY___51326: undefined, - nMaxX___51329: undefined, - nMaxY___51335: undefined, - xDiff___51341: undefined, - yDiff___51352: undefined, + newHitBox___281586: undefined, + oMinX___281591: undefined, + oMinY___281594: undefined, + oMaxX___281597: undefined, + oMaxY___281603: undefined, + nMinX___281609: undefined, + nMinY___281612: undefined, + nMaxX___281615: undefined, + nMaxY___281621: undefined, + xDiff___281627: undefined, + yDiff___281638: undefined, arg0: undefined, } } @@ -17815,7 +16726,7 @@ function game_Hitbox_updateIfInvalid__P44016_mk(s) { -function Fx_abs__P41958(s) { +function Fx_abs__P271981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17845,12 +16756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P41958.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__P271981.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__P41958_mk(s) { +function Fx_abs__P271981_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P41958, depth: s.depth + 1, + parent: s, fn: Fx_abs__P271981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17860,7 +16771,7 @@ function Fx_abs__P41958_mk(s) { -function Sprite_sy__P44166(s) { +function Sprite_sy__P274189(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17875,20 +16786,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_sy__P44166.info = {"start":5719,"length":61,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sy","argumentNames":["this"]} -Sprite_sy__P44166.isGetter = true; +Sprite_sy__P274189.info = {"start":5719,"length":61,"line":209,"column":4,"endLine":211,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sy","argumentNames":["this"]} +Sprite_sy__P274189.isGetter = true; -function Sprite_sy__P44166_mk(s) { +function Sprite_sy__P274189_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sy__P44166, depth: s.depth + 1, + parent: s, fn: Sprite_sy__P274189, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17898,7 +16809,7 @@ function Sprite_sy__P44166_mk(s) { -function Sprite_sx__P44164(s) { +function Sprite_sx__P274187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17913,20 +16824,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_sx__P44164.info = {"start":5287,"length":61,"line":196,"column":4,"endLine":198,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sx","argumentNames":["this"]} -Sprite_sx__P44164.isGetter = true; +Sprite_sx__P274187.info = {"start":5287,"length":61,"line":196,"column":4,"endLine":198,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sx","argumentNames":["this"]} +Sprite_sx__P274187.isGetter = true; -function Sprite_sx__P44164_mk(s) { +function Sprite_sx__P274187_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sx__P44164, depth: s.depth + 1, + parent: s, fn: Sprite_sx__P274187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17936,7 +16847,7 @@ function Sprite_sx__P44164_mk(s) { -function Sprite_fy__P44163(s) { +function Sprite_fy__P274186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17952,12 +16863,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P41923_mk(s); + s.tmp_3 = Math_max__P271946_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 324; s.pc = 1; return s.tmp_3; + s.callLocIdx = 325; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -17970,12 +16881,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P44163.info = {"start":5109,"length":64,"line":191,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} +Sprite_fy__P274186.info = {"start":5109,"length":64,"line":191,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this","v"]} -function Sprite_fy__P44163_mk(s) { +function Sprite_fy__P274186_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P44163, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P274186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17990,7 +16901,7 @@ function Sprite_fy__P44163_mk(s) { -function Sprite_fy__P44162(s) { +function Sprite_fy__P274185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18005,20 +16916,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44162.info = {"start":4947,"length":60,"line":186,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} -Sprite_fy__P44162.isGetter = true; +Sprite_fy__P274185.info = {"start":4947,"length":60,"line":186,"column":4,"endLine":188,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fy","argumentNames":["this"]} +Sprite_fy__P274185.isGetter = true; -function Sprite_fy__P44162_mk(s) { +function Sprite_fy__P274185_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P44162, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P274185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18028,7 +16939,7 @@ function Sprite_fy__P44162_mk(s) { -function Sprite_fx__P44161(s) { +function Sprite_fx__P274184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18044,12 +16955,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P41923_mk(s); + s.tmp_3 = Math_max__P271946_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 321; s.pc = 1; return s.tmp_3; + s.callLocIdx = 322; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -18062,12 +16973,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P44161.info = {"start":4766,"length":64,"line":181,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} +Sprite_fx__P274184.info = {"start":4766,"length":64,"line":181,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this","v"]} -function Sprite_fx__P44161_mk(s) { +function Sprite_fx__P274184_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P44161, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P274184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18082,7 +16993,7 @@ function Sprite_fx__P44161_mk(s) { -function Sprite_fx__P44160(s) { +function Sprite_fx__P274183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18097,20 +17008,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44160.info = {"start":4604,"length":60,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} -Sprite_fx__P44160.isGetter = true; +Sprite_fx__P274183.info = {"start":4604,"length":60,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"fx","argumentNames":["this"]} +Sprite_fx__P274183.isGetter = true; -function Sprite_fx__P44160_mk(s) { +function Sprite_fx__P274183_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P44160, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P274183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18120,7 +17031,7 @@ function Sprite_fx__P44160_mk(s) { -function Sprite_ay__P44159(s) { +function Sprite_ay__P274182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18136,7 +17047,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18147,12 +17058,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P44159.info = {"start":4435,"length":51,"line":170,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P274182.info = {"start":4435,"length":51,"line":170,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P44159_mk(s) { +function Sprite_ay__P274182_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P44159, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P274182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18165,7 +17076,7 @@ function Sprite_ay__P44159_mk(s) { -function Sprite_ay__P44158(s) { +function Sprite_ay__P274181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18180,20 +17091,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44158.info = {"start":4269,"length":60,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P44158.isGetter = true; +Sprite_ay__P274181.info = {"start":4269,"length":60,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P274181.isGetter = true; -function Sprite_ay__P44158_mk(s) { +function Sprite_ay__P274181_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P44158, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P274181, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18203,7 +17114,7 @@ function Sprite_ay__P44158_mk(s) { -function Sprite_ax__P44157(s) { +function Sprite_ax__P274180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18219,7 +17130,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18230,12 +17141,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P44157.info = {"start":4096,"length":51,"line":159,"column":4,"endLine":161,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P274180.info = {"start":4096,"length":51,"line":159,"column":4,"endLine":161,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P44157_mk(s) { +function Sprite_ax__P274180_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P44157, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P274180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18248,7 +17159,7 @@ function Sprite_ax__P44157_mk(s) { -function Sprite_ax__P44156(s) { +function Sprite_ax__P274179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18263,20 +17174,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44156.info = {"start":3930,"length":60,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P44156.isGetter = true; +Sprite_ax__P274179.info = {"start":3930,"length":60,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P274179.isGetter = true; -function Sprite_ax__P44156_mk(s) { +function Sprite_ax__P274179_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P44156, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P274179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18286,7 +17197,7 @@ function Sprite_ax__P44156_mk(s) { -function Sprite_vy__P44155(s) { +function Sprite_vy__P274178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18302,7 +17213,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18313,12 +17224,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P44155.info = {"start":3757,"length":51,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P274178.info = {"start":3757,"length":51,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P44155_mk(s) { +function Sprite_vy__P274178_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P44155, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P274178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18331,7 +17242,7 @@ function Sprite_vy__P44155_mk(s) { -function Sprite_vy__P44154(s) { +function Sprite_vy__P274177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18346,20 +17257,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44154.info = {"start":3595,"length":60,"line":143,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P44154.isGetter = true; +Sprite_vy__P274177.info = {"start":3595,"length":60,"line":143,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P274177.isGetter = true; -function Sprite_vy__P44154_mk(s) { +function Sprite_vy__P274177_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P44154, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P274177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18369,7 +17280,7 @@ function Sprite_vy__P44154_mk(s) { -function Sprite_vx__P44153(s) { +function Sprite_vx__P274176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18385,7 +17296,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -18396,12 +17307,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P44153.info = {"start":3426,"length":51,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P274176.info = {"start":3426,"length":51,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P44153_mk(s) { +function Sprite_vx__P274176_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P44153, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P274176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18414,7 +17325,7 @@ function Sprite_vx__P44153_mk(s) { -function Sprite_vx__P44152(s) { +function Sprite_vx__P274175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18429,20 +17340,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44152.info = {"start":3264,"length":60,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P44152.isGetter = true; +Sprite_vx__P274175.info = {"start":3264,"length":60,"line":132,"column":4,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P274175.isGetter = true; -function Sprite_vx__P44152_mk(s) { +function Sprite_vx__P274175_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P44152, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P274175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18452,7 +17363,7 @@ function Sprite_vx__P44152_mk(s) { -function sprites_BaseSprite_constructor__P43890(s) { +function sprites_BaseSprite_constructor__P273913(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18468,33 +17379,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C43888_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P43893_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C273911_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P273916_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 129; s.pc = 1; return s.tmp_0; + s.callLocIdx = 130; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P44664_mk(s); - s.tmp_1 = game_currentScene__P44793_mk(s); - s.callLocIdx = 130; s.pc = 3; return s.tmp_1; + s.tmp_0 = scene_Scene_addSprite__P274687_mk(s); + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 131; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 131; s.pc = 2; return s.tmp_0; + s.callLocIdx = 132; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P43890.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__P273913.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__P43890_mk(s) { +function sprites_BaseSprite_constructor__P273913_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P43890, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P273913, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18506,7 +17417,7 @@ function sprites_BaseSprite_constructor__P43890_mk(s) { -function scene_Scene_addSprite__P44664(s) { +function scene_Scene_addSprite__P274687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18522,7 +17433,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C44637_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C274660_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -18541,7 +17452,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 = 929; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 930; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -18549,12 +17460,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P44664.info = {"start":7218,"length":128,"line":200,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P274687.info = {"start":7218,"length":128,"line":200,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function scene_Scene_addSprite__P44664_mk(s) { +function scene_Scene_addSprite__P274687_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P44664, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P274687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18568,7 +17479,7 @@ function scene_Scene_addSprite__P44664_mk(s) { -function sprites_BaseSprite_z__P43893(s) { +function sprites_BaseSprite_z__P273916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18584,7 +17495,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C43888_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C273911_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -18592,8 +17503,8 @@ 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__P44793_mk(s); - s.callLocIdx = 132; s.pc = 3; return s.tmp_1; + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 133; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -18608,12 +17519,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P43893.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__P273916.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__P43893_mk(s) { +function sprites_BaseSprite_z__P273916_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P43893, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P273916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18627,7 +17538,7 @@ function sprites_BaseSprite_z__P43893_mk(s) { -function sprites_BaseSprite_z__P43892(s) { +function sprites_BaseSprite_z__P273915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18642,18 +17553,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C43888_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C273911_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P43892.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__P43892.isGetter = true; +sprites_BaseSprite_z__P273915.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__P273915.isGetter = true; -function sprites_BaseSprite_z__P43892_mk(s) { +function sprites_BaseSprite_z__P273915_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P43892, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P273915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18662,7 +17573,7 @@ function sprites_BaseSprite_z__P43892_mk(s) { -function controller__setUserEventsEnabled__P44000(s) { +function controller__setUserEventsEnabled__P274023(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18676,17 +17587,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___46579 = (s.arg0); + globals._userEventsEnabled___276601 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P44000.info = {"start":10070,"length":101,"line":291,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} +controller__setUserEventsEnabled__P274023.info = {"start":10070,"length":101,"line":291,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -function controller__setUserEventsEnabled__P44000_mk(s) { +function controller__setUserEventsEnabled__P274023_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P44000, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P274023, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18695,7 +17606,7 @@ function controller__setUserEventsEnabled__P44000_mk(s) { -function controller_Button_isPressed__P43994(s) { +function controller_Button_isPressed__P274017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18710,17 +17621,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P43994.info = {"start":6303,"length":57,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} +controller_Button_isPressed__P274017.info = {"start":6303,"length":57,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_Button_isPressed__P43994_mk(s) { +function controller_Button_isPressed__P274017_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P43994, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P274017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18729,7 +17640,7 @@ function controller_Button_isPressed__P43994_mk(s) { -function console_inspect__P42175(s) { +function console_inspect__P272198(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18739,10 +17650,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___53947 = undefined; - s.asString___53965 = undefined; - s.keys___53977 = undefined; - s.snipped___53981 = undefined; + s.asArr___284233 = undefined; + s.asString___284251 = undefined; + s.keys___284263 = undefined; + s.snipped___284267 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18783,17 +17694,17 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___53947 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___53947); + s.asArr___284233 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___284233); 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__P41896_mk(s); - s.tmp_2.arg0 = s.asArr___53947; + s.tmp_2 = helpers_arrayJoin__P271919_mk(s); + s.tmp_2.arg0 = s.asArr___284233; s.tmp_2.arg1 = ","; - s.callLocIdx = 34; s.pc = 19; return s.tmp_2; + s.callLocIdx = 35; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; { step = 17; continue; } @@ -18801,17 +17712,17 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P41896_mk(s); - s.tmp_8 = helpers_arraySlice__P41908_mk(s); - s.tmp_8.arg0 = s.asArr___53947; + s.tmp_7 = helpers_arrayJoin__P271919_mk(s); + s.tmp_8 = helpers_arraySlice__P271931_mk(s); + s.tmp_8.arg0 = s.asArr___284233; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; - s.callLocIdx = 35; s.pc = 21; return s.tmp_8; + s.callLocIdx = 36; s.pc = 21; return s.tmp_8; case 21: r0 = s.retval; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = ","; - s.callLocIdx = 36; s.pc = 20; return s.tmp_7; + s.callLocIdx = 37; s.pc = 20; return s.tmp_7; case 20: r0 = s.retval; s.tmp_6 = r0; @@ -18843,46 +17754,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___53965 = (r0); - r0 = (s.asString___53965 != "[object Object]"); + s.asString___284251 = (r0); + r0 = (s.asString___284251 != "[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___53965 != "[Object]"); + r0 = (s.asString___284251 != "[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___53965; + r0 = s.asString___284251; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___53977 = (r0); - r0 = pxsim_Array__length(s.keys___53977); + s.keys___284263 = (r0); + r0 = pxsim_Array__length(s.keys___284263); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___53981 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___53981); + s.snipped___284267 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___284267); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P41908_mk(s); - s.tmp_0.arg0 = s.keys___53977; + s.tmp_0 = helpers_arraySlice__P271931_mk(s); + s.tmp_0.arg0 = s.keys___284263; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 37; s.pc = 24; return s.tmp_0; + s.callLocIdx = 38; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___53977 = (r0); + s.keys___284263 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P53998); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P284284); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___53981); + r0 = pxsim_numops_toBoolDecr(s.snipped___284267); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -18891,12 +17802,12 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P41905_mk(s); - s.tmp_7.arg0 = s.keys___53977; + s.tmp_7 = helpers_arrayReduce__P271928_mk(s); + s.tmp_7.arg0 = s.keys___284263; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; - s.callLocIdx = 38; s.pc = 25; return s.tmp_7; + s.callLocIdx = 39; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_6 = r0; @@ -18941,12 +17852,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P42175.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__P272198.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__P42175_mk(s) { +function console_inspect__P272198_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P42175, depth: s.depth + 1, + parent: s, fn: console_inspect__P272198, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18959,10 +17870,10 @@ function console_inspect__P42175_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___53947: undefined, - asString___53965: undefined, - keys___53977: undefined, - snipped___53981: undefined, + asArr___284233: undefined, + asString___284251: undefined, + keys___284263: undefined, + snipped___284267: undefined, arg0: undefined, arg1: undefined, } } @@ -18971,7 +17882,7 @@ function console_inspect__P42175_mk(s) { -function console_inspect_inline__P53998(s) { +function console_inspect_inline__P284284(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19034,12 +17945,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P53998.info = {"start":3293,"length":61,"line":108,"column":20,"endLine":108,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} +console_inspect_inline__P284284.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 console_inspect_inline__P53998_mk(s) { +function console_inspect_inline__P284284_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P53998, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P284284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19057,7 +17968,7 @@ function console_inspect_inline__P53998_mk(s) { -function helpers_arrayReduce__P41905(s) { +function helpers_arrayReduce__P271928(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19067,8 +17978,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___54025 = undefined; - s.i___54028 = undefined; + s.len___284311 = undefined; + s.i___284314 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19076,43 +17987,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___54025 = (r0); - s.i___54028 = (0); + s.len___284311 = (r0); + s.i___284314 = (0); case 1: - r0 = (s.i___54028 < s.len___54025); + r0 = (s.i___284314 < s.len___284311); 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___54028); + r0 = pxsim_Array__getAt(s.arg0, s.i___284314); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___54028; + s.tmp_1.arg2 = s.i___284314; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 7; s.pc = 3; return s.tmp_1; + s.callLocIdx = 8; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___54028 + 1); - s.i___54028 = (r0); + r0 = (s.i___284314 + 1); + s.i___284314 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P41905.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__P271928.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__P41905_mk(s) { +function helpers_arrayReduce__P271928_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P41905, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P271928, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___54025: undefined, - i___54028: undefined, + len___284311: undefined, + i___284314: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19122,7 +18033,7 @@ function helpers_arrayReduce__P41905_mk(s) { -function helpers_arrayJoin__P41896(s) { +function helpers_arrayJoin__P271919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19132,9 +18043,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___54053 = undefined; - s.len___54054 = undefined; - s.i___54057 = undefined; + s.r___284339 = undefined; + s.len___284340 = undefined; + s.i___284343 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -19157,16 +18068,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___54053 = (r0); + s.r___284339 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___54054 = (r0); - s.i___54057 = (0); + s.len___284340 = (r0); + s.i___284343 = (0); case 5: - r0 = (s.i___54057 < s.len___54054); + r0 = (s.i___284343 < s.len___284340); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___54057 > 0); + r0 = (s.i___284343 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -19179,12 +18090,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___54053) && (s.r___54053).vtable) { + if ((s.r___284339) && (s.r___284339).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___54053); + pxsim_String__stringConv(s.r___284339); checkResumeConsumed(); return; - } else { s.retval = (s.r___54053) + ""; } + } else { s.retval = (s.r___284339) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -19198,10 +18109,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___54053 = (r0); + s.r___284339 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___54057); + r0 = pxsim_Array__getAt(s.arg0, s.i___284343); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -19210,7 +18121,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___54057); + r0 = pxsim_Array__getAt(s.arg0, s.i___284343); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -19221,16 +18132,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___54057); + r0 = pxsim_Array__getAt(s.arg0, s.i___284343); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___54053) && (s.r___54053).vtable) { + if ((s.r___284339) && (s.r___284339).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___54053); + pxsim_String__stringConv(s.r___284339); checkResumeConsumed(); return; - } else { s.retval = (s.r___54053) + ""; } + } else { s.retval = (s.r___284339) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -19244,21 +18155,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___54053 = (r0); - r0 = (s.i___54057 + 1); - s.i___54057 = (r0); + s.r___284339 = (r0); + r0 = (s.i___284343 + 1); + s.i___284343 = (r0); { step = 5; continue; } case 14: - r0 = s.r___54053; + r0 = s.r___284339; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P41896.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__P271919.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__P41896_mk(s) { +function helpers_arrayJoin__P271919_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P41896, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P271919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19267,9 +18178,9 @@ function helpers_arrayJoin__P41896_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___54053: undefined, - len___54054: undefined, - i___54057: undefined, + r___284339: undefined, + len___284340: undefined, + i___284343: undefined, arg0: undefined, arg1: undefined, } } @@ -19278,7 +18189,7 @@ function helpers_arrayJoin__P41896_mk(s) { -function pauseUntil__P42160(s) { +function pauseUntil__P272183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19305,7 +18216,7 @@ switch (step) { s.tmp_2 = lambda_1_mk(s); s.tmp_2.argL = s.arg0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 29; s.pc = 8; return s.tmp_2; + s.callLocIdx = 30; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; case 2: @@ -19325,11 +18236,11 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P42159_mk(s); + s.tmp_0 = control___queuePollEvent__P272182_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; - s.callLocIdx = 30; s.pc = 9; return s.tmp_0; + s.callLocIdx = 31; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 7: @@ -19337,12 +18248,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P42160.info = {"start":2224,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} +pauseUntil__P272183.info = {"start":2224,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} -function pauseUntil__P42160_mk(s) { +function pauseUntil__P272183_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P42160, depth: s.depth + 1, + parent: s, fn: pauseUntil__P272183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19358,7 +18269,7 @@ function pauseUntil__P42160_mk(s) { -function control___queuePollEvent__P42159(s) { +function control___queuePollEvent__P272182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19368,16 +18279,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___49775 = undefined; + s.ev___280061 = 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__C46254_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C276276_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P46255_mk(s); + s.tmp_1 = control_PollEvent_constructor__P276277_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -19390,11 +18301,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1.arg6 = r0; - s.callLocIdx = 27; s.pc = 5; return s.tmp_1; + s.callLocIdx = 28; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___49775 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___46257); + s.ev___280061 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___276279); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19402,30 +18313,30 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___49775); - globals._pollEventQueue___46257 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P46258); + r0 = pxsim_Array__push(s.tmp_2, s.ev___280061); + globals._pollEventQueue___276279 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P276280); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___46257, s.ev___49775); + r0 = pxsim_Array__push(globals._pollEventQueue___276279, s.ev___280061); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P42184_mk(s); - r0 = s.ev___49775.fields["eid"]; + s.tmp_0 = control_onEvent__P272207_mk(s); + r0 = s.ev___280061.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___49775.fields["vid"]; + r0 = s.ev___280061.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; - s.callLocIdx = 28; s.pc = 6; return s.tmp_0; + s.callLocIdx = 29; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___49775.fields["eid"]; + r0 = s.ev___280061.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___49775.fields["vid"]; + r0 = s.ev___280061.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -19438,17 +18349,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P42159.info = {"start":1262,"length":758,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} +control___queuePollEvent__P272182.info = {"start":1262,"length":758,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} -function control___queuePollEvent__P42159_mk(s) { +function control___queuePollEvent__P272182_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P42159, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P272182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___49775: undefined, + ev___280061: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -19458,7 +18369,7 @@ function control___queuePollEvent__P42159_mk(s) { -function control_pollEvents__P46258(s) { +function control_pollEvents__P276280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19468,39 +18379,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___49902 = undefined; - s.i___49905 = undefined; - s.ev___49911 = undefined; + s.now___280188 = undefined; + s.i___280191 = undefined; + s.ev___280197 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___46257); + r0 = pxsim_Array__length(globals._pollEventQueue___276279); 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___49902 = (r0); - s.i___49905 = (0); + s.now___280188 = (r0); + s.i___280191 = (0); case 2: - s.tmp_1 = r0 = s.i___49905; - r0 = pxsim_Array__length(globals._pollEventQueue___46257); + s.tmp_1 = r0 = s.i___280191; + r0 = pxsim_Array__length(globals._pollEventQueue___276279); 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___46257, s.i___49905); - s.ev___49911 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___276279, s.i___280191); + s.ev___280197 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___49911; + s.tmp_1.arg0 = s.ev___280197; 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; + s.callLocIdx = 25; s.pc = 13; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["condition"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["condition"], 1); s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 24; s.pc = 13; return s.tmp_1;; } - else { s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["condition"], 1); s.callLocIdx = 25; s.pc = 13; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 25; s.pc = 13; return s.tmp_1;; } + else { s.callLocIdx = 25; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -19510,7 +18421,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___49911.fields["timeOut"]; + r0 = s.ev___280197.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -19519,11 +18430,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___49911.fields["start"]; + r0 = s.ev___280197.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___49902 - s.tmp_5); + r0 = (s.now___280188 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___49911.fields["timeOut"]; + r0 = s.ev___280197.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -19535,50 +18446,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___49911.fields["eid"]; + r0 = s.ev___280197.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___49911.fields["vid"]; + r0 = s.ev___280197.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___49911.fields["once"]; + r0 = s.ev___280197.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P41893_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___46257; - s.tmp_1.arg1 = s.i___49905; + s.tmp_1 = helpers_arraySplice__P271916_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___276279; + s.tmp_1.arg1 = s.i___280191; s.tmp_1.arg2 = 1; - s.callLocIdx = 25; s.pc = 14; return s.tmp_1; + s.callLocIdx = 26; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___49905 - 1); - s.i___49905 = (r0); + r0 = (s.i___280191 - 1); + s.i___280191 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___49905 + 1); - s.i___49905 = (r0); + r0 = (s.i___280191 + 1); + s.i___280191 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P42206_mk(s); + s.tmp_0 = pause__P272229_mk(s); s.tmp_0.arg0 = 50; - s.callLocIdx = 26; s.pc = 15; return s.tmp_0; + s.callLocIdx = 27; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___46257 = (undefined); + globals._pollEventQueue___276279 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P46258.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P276280.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__P46258_mk(s) { +function control_pollEvents__P276280_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P46258, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P276280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19591,16 +18502,16 @@ function control_pollEvents__P46258_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___49902: undefined, - i___49905: undefined, - ev___49911: undefined, + now___280188: undefined, + i___280191: undefined, + ev___280197: undefined, } } -function control_PollEvent_constructor__P46255(s) { +function control_PollEvent_constructor__P276277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19621,7 +18532,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C46254_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C276276_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -19632,12 +18543,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P46255.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__P276277.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__P46255_mk(s) { +function control_PollEvent_constructor__P276277_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P46255, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P276277, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19652,7 +18563,7 @@ function control_PollEvent_constructor__P46255_mk(s) { -function game_eventContext__P44796(s) { +function ArrayBuffer_byteLength__P300770(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19662,21 +18573,257 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P46791_mk(s); + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, ArrayBuffer__C300769_VT)) failedCast(r0); + r0 = s.arg0.fields["_byteLength"]; + return leaveAccessor(s, r0) + default: oops() +} } } +ArrayBuffer_byteLength__P300770.info = {"start":2242,"length":71,"line":61,"column":4,"endLine":63,"endColumn":5,"fileName":"arrayBuffer.ts","functionName":"byteLength","argumentNames":["this"]} +ArrayBuffer_byteLength__P300770.isGetter = true; + +function ArrayBuffer_byteLength__P300770_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: ArrayBuffer_byteLength__P300770, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function create__P315174(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.buffer___315176 = undefined; + s.array___315181 = undefined; + s.i___315187 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = pxsim_pxtcore_mkClassInstance(ArrayBuffer__C300769_VT); + s.tmp_0 = r0; + s.tmp_1 = ArrayBuffer_constructor__P300774_mk(s); + s.tmp_1.arg0 = s.tmp_0; + r0 = pxsim_Array__length(s.arg0); + s.tmp_1.arg1 = r0; + s.callLocIdx = 105; s.pc = 3; return s.tmp_1; + case 3: + r0 = s.retval; + s.buffer___315176 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Uint8Array__C276205_VT); + s.tmp_0 = r0; + s.tmp_1 = Uint8Array_constructor__P276206_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = 0; + s.callLocIdx = 106; s.pc = 4; return s.tmp_1; + case 4: + r0 = s.retval; + s.array___315181 = (s.tmp_0); + s.tmp_0 = TypedArray_fromArrayBuffer__P276178_mk(s); + s.tmp_0.arg0 = s.array___315181; + s.tmp_0.arg1 = s.buffer___315176; + s.tmp_0.arg2 = 0; + s.tmp_0.arg3 = null; + s.callLocIdx = 107; s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + s.i___315187 = (0); + case 1: + s.tmp_1 = r0 = s.i___315187; + r0 = pxsim_Array__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 = TypedArray_set__P276186_mk(s); + s.tmp_3.arg0 = s.array___315181; + s.tmp_3.arg1 = s.i___315187; + r0 = pxsim_Array__getAt(s.arg0, s.i___315187); + s.tmp_3.arg2 = r0; + s.callLocIdx = 108; s.pc = 6; return s.tmp_3; + case 6: + r0 = s.retval; + r0 = (s.i___315187 + 1); + s.i___315187 = (r0); + { step = 1; continue; } + case 2: + r0 = s.buffer___315176; + return leave(s, r0) + default: oops() +} } } +create__P315174.info = {"start":300,"length":298,"line":14,"column":0,"endLine":24,"endColumn":1,"fileName":"test.ts","functionName":"create","argumentNames":["bytes"]} + +function create__P315174_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: create__P315174, 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, + buffer___315176: undefined, + array___315181: undefined, + i___315187: undefined, + arg0: undefined, +} } + + + + + +function TypedArray_set__P276186(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.bytes___279434 = undefined; + s.i___279438 = undefined; + s.o___279439 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, TypedArray__C276175_VT)) failedCast(r0); + r0 = (s.arg1 >>> 0); + s.arg1 = (r0); + r0 = s.arg0.fields["_length"]; + s.tmp_1 = r0; + r0 = (s.arg1 >= s.tmp_1); + 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_2 = if__pack_2_mk(s); + s.tmp_2.arg0 = s.arg0; + s.tmp_2.arg1 = s.arg2; + if (!s.tmp_2.arg0.vtable.iface) { + setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "_pack"), 2); + s.callLocIdx = 78; s.pc = 6; return s.tmp_2; + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["_pack"]; + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["_pack"], 2); s.callLocIdx = 78; s.pc = 6; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 78; s.pc = 6; return s.tmp_2;; } + else { s.callLocIdx = 78; s.pc = 6; return s.tmp_2; } + } + case 6: + r0 = s.retval; + s.bytes___279434 = (r0); + s.i___279438 = (0); + r0 = s.arg0.fields["_byteOffset"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; + s.tmp_3 = r0; + r0 = (s.arg1 * s.tmp_3); + s.tmp_2 = r0; + r0 = (s.tmp_1 + s.tmp_2); + s.tmp_0 = r0; + s.o___279439 = (r0); + r0 = s.tmp_0; + case 3: + r0 = s.arg0.fields["BYTES_PER_ELEMENT"]; + s.tmp_1 = r0; + r0 = (s.i___279438 < s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 4; continue; } + r0 = s.arg0.fields["_buffer"]; + s.tmp_3 = r0; + r0 = s.tmp_3.fields["_bytes"]; + s.tmp_2 = r0; + s.tmp_4 = r0 = s.o___279439; + r0 = pxsim_Array__getAt(s.bytes___279434, s.i___279438); + s.tmp_5 = r0; + r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_4, s.tmp_5); + r0 = (s.i___279438 + 1); + s.i___279438 = (r0); + s.tmp_0 = r0 = s.o___279439; + r0 = (s.tmp_0 + 1); + s.o___279439 = (r0); + r0 = s.tmp_0; + { step = 3; continue; } + case 4: + case 5: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +TypedArray_set__P276186.info = {"start":5292,"length":436,"line":168,"column":4,"endLine":183,"endColumn":5,"fileName":"typedArray.ts","functionName":"set","argumentNames":["this","index","value"]} + +function TypedArray_set__P276186_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: TypedArray_set__P276186, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + bytes___279434: undefined, + i___279438: undefined, + o___279439: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function game_eventContext__P274819(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.tmp_0 = game_init__P276813_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1009; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1010; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___46783.fields["eventContext"]; + r0 = globals._scene___276805.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P44796.info = {"start":4442,"length":112,"line":136,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P274819.info = {"start":4442,"length":112,"line":136,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function game_eventContext__P44796_mk(s) { +function game_eventContext__P274819_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P44796, depth: s.depth + 1, + parent: s, fn: game_eventContext__P274819, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -19685,7 +18832,7 @@ function game_eventContext__P44796_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P43999(s) { +function controller_pauseUntilAnyButtonIsPressed__P274022(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19705,12 +18852,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P43999.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P274022.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} -function controller_pauseUntilAnyButtonIsPressed__P43999_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P274022_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P43999, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P274022, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -19718,7 +18865,7 @@ function controller_pauseUntilAnyButtonIsPressed__P43999_mk(s) { -function game_setWaitAnyButton__P44794(s) { +function game_setWaitAnyButton__P274817(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19732,17 +18879,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___46787 = (s.arg0); + globals.__waitAnyButton___276809 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P44794.info = {"start":4236,"length":83,"line":127,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P274817.info = {"start":4236,"length":83,"line":127,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -function game_setWaitAnyButton__P44794_mk(s) { +function game_setWaitAnyButton__P274817_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P44794, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P274817, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19751,7 +18898,7 @@ function game_setWaitAnyButton__P44794_mk(s) { -function Math_FastRandom_constructor__P44855(s) { +function Math_FastRandom_constructor__P274878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19767,7 +18914,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C44853_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C274876_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -19782,12 +18929,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P44855.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__P274878.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__P44855_mk(s) { +function Math_FastRandom_constructor__P274878_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P44855, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P274878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19798,7 +18945,7 @@ function Math_FastRandom_constructor__P44855_mk(s) { -function game_consoleOverlay_listener__P47118(s) { +function game_consoleOverlay_listener__P277140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19813,7 +18960,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___47083); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___277105); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19833,39 +18980,39 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P41902_mk(s); - s.tmp_5 = helpers_arrayFilter__P41903_mk(s); - s.tmp_6 = helpers_stringSplit__P41915_mk(s); + s.tmp_4 = helpers_arrayForEach__P271925_mk(s); + s.tmp_5 = helpers_arrayFilter__P271926_mk(s); + s.tmp_6 = helpers_stringSplit__P271938_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1190; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1191; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P54132; - s.callLocIdx = 1191; s.pc = 9; return s.tmp_5; + s.tmp_5.arg1 = forEach_inline__P284437; + s.callLocIdx = 1192; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P54137; - s.callLocIdx = 1193; s.pc = 8; return s.tmp_4; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P284442; + s.callLocIdx = 1194; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___47083); + r0 = pxsim_Array__length(globals.consoleStrings___277105); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___47096); + r0 = (s.tmp_1 > globals.consoleLines___277118); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P41893_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___47083; + s.tmp_2 = helpers_arraySplice__P271916_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___277105; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___47083); + r0 = pxsim_Array__length(globals.consoleStrings___277105); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___47096); + r0 = (s.tmp_3 - globals.consoleLines___277118); s.tmp_2.arg2 = r0; - s.callLocIdx = 1194; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1195; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; case 5: @@ -19875,12 +19022,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P47118.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__P277140.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__P47118_mk(s) { +function game_consoleOverlay_listener__P277140_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P47118, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P277140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19897,7 +19044,7 @@ function game_consoleOverlay_listener__P47118_mk(s) { -function forEach_inline__P54132(s) { +function forEach_inline__P284437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19921,12 +19068,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P54132.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +forEach_inline__P284437.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function forEach_inline__P54132_mk(s) { +function forEach_inline__P284437_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P54132, depth: s.depth + 1, + parent: s, fn: forEach_inline__P284437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19938,7 +19085,7 @@ function forEach_inline__P54132_mk(s) { -function game_consoleOverlay_listener_inline__P54137(s) { +function game_consoleOverlay_listener_inline__P284442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19948,45 +19095,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___54139 = undefined; + s.j___284444 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___54139 = (0); + s.j___284444 = (0); case 1: - s.tmp_1 = r0 = s.j___54139; + s.tmp_1 = r0 = s.j___284444; 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___47083; - s.tmp_5 = helpers_stringSlice__P41912_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___277105; + s.tmp_5 = helpers_stringSlice__P271935_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___54139; - r0 = (s.j___54139 + globals.consoleColumns___47106); + s.tmp_5.arg1 = s.j___284444; + r0 = (s.j___284444 + globals.consoleColumns___277128); s.tmp_5.arg2 = r0; - s.callLocIdx = 1192; s.pc = 3; return s.tmp_5; + s.callLocIdx = 1193; 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___54139 + globals.consoleColumns___47106); - s.j___54139 = (r0); + r0 = (s.j___284444 + globals.consoleColumns___277128); + s.j___284444 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P54137.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +game_consoleOverlay_listener_inline__P284442.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function game_consoleOverlay_listener_inline__P54137_mk(s) { +function game_consoleOverlay_listener_inline__P284442_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P54137, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P284442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19994,7 +19141,7 @@ function game_consoleOverlay_listener_inline__P54137_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___54139: undefined, + j___284444: undefined, arg0: undefined, } } @@ -20002,7 +19149,7 @@ function game_consoleOverlay_listener_inline__P54137_mk(s) { -function console_addListener__P42176(s) { +function console_addListener__P272199(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20025,7 +19172,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___46261, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___276283, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -20036,18 +19183,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___46261, s.arg0); + r0 = pxsim_Array__push(globals.listeners___276283, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P42176.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__P272199.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__P42176_mk(s) { +function console_addListener__P272199_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P42176, depth: s.depth + 1, + parent: s, fn: console_addListener__P272199, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20060,7 +19207,7 @@ function console_addListener__P42176_mk(s) { -function listeners_inline__P46260(s) { +function listeners_inline__P276282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20080,12 +19227,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P46260.info = {"start":534,"length":85,"line":25,"column":8,"endLine":25,"endColumn":93,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["priority","text"]} +listeners_inline__P276282.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 listeners_inline__P46260_mk(s) { +function listeners_inline__P276282_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P46260, depth: s.depth + 1, + parent: s, fn: listeners_inline__P276282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20095,7 +19242,7 @@ function listeners_inline__P46260_mk(s) { -function scene_systemMenu_register__P44900(s) { +function scene_systemMenu_register__P274923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20105,16 +19252,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___47037); + r0 = pxsim_numops_toBoolDecr(globals.instance___277059); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P43990_mk(s); - s.tmp_0.arg0 = globals.menu___43913; + s.tmp_0 = controller_Button_onEvent__P274013_mk(s); + s.tmp_0.arg0 = globals.menu___273936; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P44901; - s.callLocIdx = 1177; s.pc = 4; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P274924; + s.callLocIdx = 1178; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -20122,12 +19269,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P44900.info = {"start":12793,"length":193,"line":382,"column":4,"endLine":386,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} +scene_systemMenu_register__P274923.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__P44900_mk(s) { +function scene_systemMenu_register__P274923_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P44900, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P274923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20136,7 +19283,7 @@ function scene_systemMenu_register__P44900_mk(s) { -function scene_systemMenu_showSystemMenu__P44901(s) { +function scene_systemMenu_showSystemMenu__P274924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20146,28 +19293,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___47037); + r0 = pxsim_numops_toBoolDecr(globals.instance___277059); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P44797_mk(s); - s.callLocIdx = 1178; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_pushScene__P274820_mk(s); + s.callLocIdx = 1179; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C44889_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C274912_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P44890_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P274913_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P44897; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P274920; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1179; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1180; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___47037 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P44891_mk(s); - s.tmp_0.arg0 = globals.instance___47037; - s.callLocIdx = 1180; s.pc = 6; return s.tmp_0; + globals.instance___277059 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P274914_mk(s); + s.tmp_0.arg0 = globals.instance___277059; + s.callLocIdx = 1181; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -20175,12 +19322,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P44901.info = {"start":12992,"length":172,"line":388,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} +scene_systemMenu_showSystemMenu__P274924.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__P44901_mk(s) { +function scene_systemMenu_showSystemMenu__P274924_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P44901, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P274924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20190,7 +19337,7 @@ function scene_systemMenu_showSystemMenu__P44901_mk(s) { -function scene_systemMenu_buildOptionList__P44897(s) { +function scene_systemMenu_buildOptionList__P274920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20200,136 +19347,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___55276 = undefined; + s.options___285581 = undefined; r0 = pxsim_Array__mk(); - s.options___55276 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C44881_VT); + s.options___285581 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C274904_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P44882_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P274905_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___44911; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P55284; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P47043; - s.callLocIdx = 1160; s.pc = 5; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___274934; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P285589; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P277065; + s.callLocIdx = 1161; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___55276, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C44881_VT); + r0 = pxsim_Array__push(s.options___285581, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C274904_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P44882_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P274905_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___44908; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P55298; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P47042; - s.callLocIdx = 1162; s.pc = 6; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___274931; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P285603; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P277064; + s.callLocIdx = 1163; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___55276, s.tmp_0); + r0 = pxsim_Array__push(s.options___285581, 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__C44881_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C274904_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P44882_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P274905_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___44909; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P55313; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P47045; - s.callLocIdx = 1165; s.pc = 7; return s.tmp_2; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___274932; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P285618; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P277067; + s.callLocIdx = 1166; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___55276, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C44881_VT); + r0 = pxsim_Array__push(s.options___285581, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C274904_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P44882_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P274905_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___44914; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P55328; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P47044; - s.callLocIdx = 1167; s.pc = 8; return s.tmp_1; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___274937; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P285633; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P277066; + s.callLocIdx = 1168; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___55276, s.tmp_0); + r0 = pxsim_Array__push(s.options___285581, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C44881_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C274904_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P44882_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P274905_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___44915; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P55343; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P47047; - s.callLocIdx = 1168; s.pc = 9; return s.tmp_1; + s.tmp_1.arg1 = globals.STATS_ICON___274938; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P285648; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P277069; + s.callLocIdx = 1169; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___55276, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C44881_VT); + r0 = pxsim_Array__push(s.options___285581, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C274904_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P44882_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P274905_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___44913; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P55352; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P47048; - s.callLocIdx = 1170; s.pc = 10; return s.tmp_1; + s.tmp_1.arg1 = globals.CONSOLE_ICON___274936; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P285657; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P277070; + s.callLocIdx = 1171; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___55276, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C44881_VT); + r0 = pxsim_Array__push(s.options___285581, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C274904_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P44882_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P274905_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___44912; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P55361; - s.tmp_1.arg3 = scene_systemMenu_sleep__P47049; - s.callLocIdx = 1171; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = globals.SLEEP_ICON___274935; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P285666; + s.tmp_1.arg3 = scene_systemMenu_sleep__P277071; + s.callLocIdx = 1172; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___55276, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___47038); + r0 = pxsim_Array__push(s.options___285581, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___277060); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P41906_mk(s); - s.tmp_0.arg0 = s.options___55276; - s.tmp_0.arg1 = globals.customMenuOptions___47038; - s.callLocIdx = 1172; s.pc = 12; return s.tmp_0; + s.tmp_0 = helpers_arrayConcat__P271929_mk(s); + s.tmp_0.arg0 = s.options___285581; + s.tmp_0.arg1 = globals.customMenuOptions___277060; + s.callLocIdx = 1173; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___55276 = (r0); + s.options___285581 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C44881_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C274904_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P44882_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P274905_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___44910; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P55374; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P44896; - s.callLocIdx = 1173; s.pc = 13; return s.tmp_1; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___274933; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P285679; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P274919; + s.callLocIdx = 1174; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___55276, s.tmp_0); - r0 = s.options___55276; + r0 = pxsim_Array__push(s.options___285581, s.tmp_0); + r0 = s.options___285581; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P44897.info = {"start":10499,"length":1149,"line":334,"column":4,"endLine":354,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} +scene_systemMenu_buildOptionList__P274920.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__P44897_mk(s) { +function scene_systemMenu_buildOptionList__P274920_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P44897, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P274920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___55276: undefined, + options___285581: undefined, } } -function scene_systemMenu_buildOptionList_inline__P55284(s) { +function scene_systemMenu_buildOptionList_inline__P285589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20339,8 +19486,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P43415_mk(s); - s.callLocIdx = 1159; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P273438_mk(s); + s.callLocIdx = 1160; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -20359,12 +19506,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P55284.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P285589.info = {"start":10644,"length":39,"line":337,"column":54,"endLine":337,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P55284_mk(s) { +function scene_systemMenu_buildOptionList_inline__P285589_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P55284, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P285589, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20376,7 +19523,7 @@ function scene_systemMenu_buildOptionList_inline__P55284_mk(s) { -function scene_systemMenu_buildOptionList_inline__P55298(s) { +function scene_systemMenu_buildOptionList_inline__P285603(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20386,8 +19533,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P43415_mk(s); - s.callLocIdx = 1161; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P273438_mk(s); + s.callLocIdx = 1162; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -20406,12 +19553,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P55298.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P285603.info = {"start":10751,"length":37,"line":338,"column":52,"endLine":338,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P55298_mk(s) { +function scene_systemMenu_buildOptionList_inline__P285603_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P55298, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P285603, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20423,7 +19570,7 @@ function scene_systemMenu_buildOptionList_inline__P55298_mk(s) { -function scene_systemMenu_buildOptionList_inline__P55313(s) { +function scene_systemMenu_buildOptionList_inline__P285618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20433,7 +19580,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___43745; + r0 = globals.brightness___273768; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -20450,12 +19597,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P55313.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P285618.info = {"start":10910,"length":48,"line":340,"column":62,"endLine":340,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P55313_mk(s) { +function scene_systemMenu_buildOptionList_inline__P285618_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P55313, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P285618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20466,7 +19613,7 @@ function scene_systemMenu_buildOptionList_inline__P55313_mk(s) { -function scene_systemMenu_buildOptionList_inline__P55328(s) { +function scene_systemMenu_buildOptionList_inline__P285633(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20476,7 +19623,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___43745; + r0 = globals.brightness___273768; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -20493,12 +19640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P55328.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P285633.info = {"start":11038,"length":46,"line":341,"column":60,"endLine":341,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P55328_mk(s) { +function scene_systemMenu_buildOptionList_inline__P285633_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P55328, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P285633, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20509,7 +19656,7 @@ function scene_systemMenu_buildOptionList_inline__P55328_mk(s) { -function scene_systemMenu_buildOptionList_inline__P55343(s) { +function scene_systemMenu_buildOptionList_inline__P285648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20519,7 +19666,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___44762); + r0 = pxsim_numops_toBoolDecr(globals.stats___274785); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -20532,12 +19679,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P55343.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P285648.info = {"start":11160,"length":46,"line":343,"column":48,"endLine":343,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P55343_mk(s) { +function scene_systemMenu_buildOptionList_inline__P285648_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P55343, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P285648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20546,7 +19693,7 @@ function scene_systemMenu_buildOptionList_inline__P55343_mk(s) { -function scene_systemMenu_buildOptionList_inline__P55352(s) { +function scene_systemMenu_buildOptionList_inline__P285657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20556,7 +19703,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___47083); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___277105); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -20577,12 +19724,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P55352.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P285657.info = {"start":11273,"length":71,"line":344,"column":50,"endLine":344,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P55352_mk(s) { +function scene_systemMenu_buildOptionList_inline__P285657_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P55352, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P285657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20595,7 +19742,7 @@ function scene_systemMenu_buildOptionList_inline__P55352_mk(s) { -function scene_systemMenu_buildOptionList_inline__P55361(s) { +function scene_systemMenu_buildOptionList_inline__P285666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20609,12 +19756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P55361.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P285666.info = {"start":11411,"length":13,"line":345,"column":48,"endLine":345,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P55361_mk(s) { +function scene_systemMenu_buildOptionList_inline__P285666_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P55361, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P285666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -20622,7 +19769,7 @@ function scene_systemMenu_buildOptionList_inline__P55361_mk(s) { -function scene_systemMenu_buildOptionList_inline__P55374(s) { +function scene_systemMenu_buildOptionList_inline__P285679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20636,12 +19783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P55374.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_buildOptionList_inline__P285679.info = {"start":11590,"length":13,"line":351,"column":53,"endLine":351,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_buildOptionList_inline__P55374_mk(s) { +function scene_systemMenu_buildOptionList_inline__P285679_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P55374, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P285679, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -20649,7 +19796,7 @@ function scene_systemMenu_buildOptionList_inline__P55374_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P47050(s) { +function scene_systemMenu_setScreenBrightnessSupported__P277072(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20663,12 +19810,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P47050.info = {"start":10398,"length":95,"line":330,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} +scene_systemMenu_setScreenBrightnessSupported__P277072.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__P47050_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P277072_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P47050, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P277072, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -20676,7 +19823,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P47050_mk(s) { -function scene_systemMenu_sleep__P47049(s) { +function scene_systemMenu_sleep__P277071(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20691,12 +19838,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P47049.info = {"start":10072,"length":51,"line":316,"column":4,"endLine":318,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} +scene_systemMenu_sleep__P277071.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__P47049_mk(s) { +function scene_systemMenu_sleep__P277071_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P47049, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P277071, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -20704,7 +19851,7 @@ function scene_systemMenu_sleep__P47049_mk(s) { -function scene_systemMenu_toggleConsole__P47048(s) { +function scene_systemMenu_toggleConsole__P277070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20714,7 +19861,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___47083); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___277105); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -20724,23 +19871,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__P44920_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P274943_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; - s.callLocIdx = 1153; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1154; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P44920_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P274943_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1154; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1155; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P42173_mk(s); + s.tmp_0 = console_log__P272196_mk(s); s.tmp_0.arg0 = "console"; - s.callLocIdx = 1155; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1156; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -20748,12 +19895,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P47048.info = {"start":9827,"length":239,"line":307,"column":4,"endLine":314,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} +scene_systemMenu_toggleConsole__P277070.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__P47048_mk(s) { +function scene_systemMenu_toggleConsole__P277070_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P47048, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P277070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20766,7 +19913,7 @@ function scene_systemMenu_toggleConsole__P47048_mk(s) { -function game_consoleOverlay_setVisible__P44920(s) { +function game_consoleOverlay_setVisible__P274943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20782,7 +19929,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___47083); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___277105); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -20803,26 +19950,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___47083 = (s.tmp_6); + globals.consoleStrings___277105 = (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___47082 = (s.arg1); + globals.consoleColor___277104 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P44920.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__P274943.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__P44920_mk(s) { +function game_consoleOverlay_setVisible__P274943_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P44920, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P274943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20839,7 +19986,7 @@ function game_consoleOverlay_setVisible__P44920_mk(s) { -function console_log__P42173(s) { +function console_log__P272196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20853,22 +20000,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P42169_mk(s); + s.tmp_0 = console_add__P272192_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 33; s.pc = 1; return s.tmp_0; + s.callLocIdx = 34; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -console_log__P42173.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__P272196.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__P42173_mk(s) { +function console_log__P272196_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P42173, depth: s.depth + 1, + parent: s, fn: console_log__P272196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20878,7 +20025,7 @@ function console_log__P42173_mk(s) { -function console_add__P42169(s) { +function console_add__P272192(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20888,58 +20035,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___55413 = undefined; - s.i___55422 = undefined; + s.text___285718 = undefined; + s.i___285727 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___42168); + r0 = (s.arg0 < globals.minPriority___272191); 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__P42175_mk(s); + s.tmp_1 = console_inspect__P272198_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; - s.callLocIdx = 31; s.pc = 6; return s.tmp_1; + s.callLocIdx = 32; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___55413 = (r0); - if ((s.text___55413) && (s.text___55413).vtable) { + s.text___285718 = (r0); + if ((s.text___285718) && (s.text___285718).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___55413); + pxsim_String__stringConv(s.text___285718); checkResumeConsumed(); return; - } else { s.retval = (s.text___55413) + ""; } + } else { s.retval = (s.text___285718) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___55413 = (r0); - s.i___55422 = (0); + s.text___285718 = (r0); + s.i___285727 = (0); case 3: - s.tmp_1 = r0 = s.i___55422; - r0 = pxsim_Array__length(globals.listeners___46261); + s.tmp_1 = r0 = s.i___285727; + r0 = pxsim_Array__length(globals.listeners___276283); 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___46261, s.i___55422); + r0 = pxsim_Array__getAt(globals.listeners___276283, s.i___285727); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___55413; + s.tmp_3.arg1 = s.text___285718; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 32; s.pc = 8; return s.tmp_3; + s.callLocIdx = 33; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___55422 + 1); - s.i___55422 = (r0); + r0 = (s.i___285727 + 1); + s.i___285727 = (r0); { step = 3; continue; } case 4: case 5: @@ -20947,19 +20094,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P42169.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__P272192.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__P42169_mk(s) { +function console_add__P272192_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P42169, depth: s.depth + 1, + parent: s, fn: console_add__P272192, 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___55413: undefined, - i___55422: undefined, + text___285718: undefined, + i___285727: undefined, arg0: undefined, arg1: undefined, } } @@ -20968,7 +20115,7 @@ function console_add__P42169_mk(s) { -function scene_systemMenu_toggleStats__P47047(s) { +function scene_systemMenu_toggleStats__P277069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20978,11 +20125,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___44762); + r0 = pxsim_numops_toBoolDecr(globals.stats___274785); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___44762 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___44762); + globals.stats___274785 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___274785); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -20991,18 +20138,18 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___42191; + r0 = globals.control_EventContext_onStats___272214; 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___42191; + s.tmp_3.argL = globals.control_EventContext_onStats___272214; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 1151; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1152; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; case 3: @@ -21011,12 +20158,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P47047.info = {"start":9642,"length":179,"line":300,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} +scene_systemMenu_toggleStats__P277069.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__P47047_mk(s) { +function scene_systemMenu_toggleStats__P277069_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P47047, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P277069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21028,7 +20175,7 @@ function scene_systemMenu_toggleStats__P47047_mk(s) { -function scene_systemMenu_brightnessDown__P47045(s) { +function scene_systemMenu_brightnessDown__P277067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21038,24 +20185,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P47046_mk(s); - r0 = globals.brightness___43745; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P277068_mk(s); + r0 = globals.brightness___273768; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1147; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1148; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P47045.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__P277067.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__P47045_mk(s) { +function scene_systemMenu_brightnessDown__P277067_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P47045, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P277067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21065,7 +20212,7 @@ function scene_systemMenu_brightnessDown__P47045_mk(s) { -function scene_systemMenu_setScreenBrightness__P47046(s) { +function scene_systemMenu_setScreenBrightness__P277068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21079,29 +20226,29 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P43759_mk(s); - s.tmp_0.arg0 = globals.screen___43826; + s.tmp_0 = helpers_setScreenBrightness__P273782_mk(s); + s.tmp_0.arg0 = globals.screen___273849; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1148; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1149; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P43857_mk(s); + s.tmp_0 = settings_writeNumber__P273880_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___43745; + r0 = globals.brightness___273768; s.tmp_0.arg1 = r0; - s.callLocIdx = 1150; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1151; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P47046.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__P277068.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__P47046_mk(s) { +function scene_systemMenu_setScreenBrightness__P277068_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P47046, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P277068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21111,7 +20258,7 @@ function scene_systemMenu_setScreenBrightness__P47046_mk(s) { -function settings_writeNumber__P43857(s) { +function settings_writeNumber__P273880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21129,27 +20276,27 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_1 = settings_writeBuffer__P43854_mk(s); + s.tmp_1 = settings_writeBuffer__P273877_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P41977_mk(s); + s.tmp_2 = msgpack_packNumberArray__P272000_mk(s); s.tmp_2.arg0 = s.tmp_0; - s.callLocIdx = 124; s.pc = 2; return s.tmp_2; + s.callLocIdx = 125; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1.arg1 = r0; - s.callLocIdx = 125; s.pc = 1; return s.tmp_1; + s.callLocIdx = 126; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_writeNumber__P43857.info = {"start":2265,"length":122,"line":89,"column":4,"endLine":91,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} +settings_writeNumber__P273880.info = {"start":2265,"length":122,"line":89,"column":4,"endLine":91,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} -function settings_writeNumber__P43857_mk(s) { +function settings_writeNumber__P273880_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P43857, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P273880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21162,7 +20309,7 @@ function settings_writeNumber__P43857_mk(s) { -function settings_writeBuffer__P43854(s) { +function settings_writeBuffer__P273877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21189,12 +20336,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P43854.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__P273877.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__P43854_mk(s) { +function settings_writeBuffer__P273877_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P43854, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P273877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21205,7 +20352,7 @@ function settings_writeBuffer__P43854_mk(s) { -function msgpack_packNumberArray__P41977(s) { +function msgpack_packNumberArray__P272000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21215,100 +20362,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___55484 = undefined; - s.n___55486 = undefined; - s.unnamed242___U2 = undefined; - s.unnamed243___U3 = undefined; - s.buf___55496 = undefined; - s.n___55502 = undefined; - s.unnamed244___U6 = undefined; - s.unnamed245___U7 = undefined; + s.off___285789 = undefined; + s.n___285791 = undefined; + s.unnamed2110___U2 = undefined; + s.unnamed2111___U3 = undefined; + s.buf___285801 = undefined; + s.n___285807 = undefined; + s.unnamed2112___U6 = undefined; + s.unnamed2113___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___55484 = (0); - s.n___55486 = (undefined); - s.unnamed242___U2 = (s.arg0); - s.unnamed243___U3 = (0); + s.off___285789 = (0); + s.n___285791 = (undefined); + s.unnamed2110___U2 = (s.arg0); + s.unnamed2111___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed243___U3; - r0 = pxsim_Array__length(s.unnamed242___U2); + s.tmp_0 = r0 = s.unnamed2111___U3; + r0 = pxsim_Array__length(s.unnamed2110___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed242___U2, s.unnamed243___U3); - s.n___55486 = (r0); - s.tmp_2 = r0 = s.off___55484; - s.tmp_4 = msgpack_packNumberCore__P46220_mk(s); + r0 = pxsim_Array__getAt(s.unnamed2110___U2, s.unnamed2111___U3); + s.n___285791 = (r0); + s.tmp_2 = r0 = s.off___285789; + s.tmp_4 = msgpack_packNumberCore__P276242_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___55484; - s.tmp_4.arg2 = s.n___55486; - s.callLocIdx = 21; s.pc = 5; return s.tmp_4; + s.tmp_4.arg1 = s.off___285789; + s.tmp_4.arg2 = s.n___285791; + s.callLocIdx = 22; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___55484 = (r0); - r0 = (s.unnamed243___U3 + 1); - s.unnamed243___U3 = (r0); + s.off___285789 = (r0); + r0 = (s.unnamed2111___U3 + 1); + s.unnamed2111___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed242___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___55484); - s.buf___55496 = (r0); - s.off___55484 = (0); - s.n___55502 = (undefined); - s.unnamed244___U6 = (s.arg0); - s.unnamed245___U7 = (0); + s.unnamed2110___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___285789); + s.buf___285801 = (r0); + s.off___285789 = (0); + s.n___285807 = (undefined); + s.unnamed2112___U6 = (s.arg0); + s.unnamed2113___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed245___U7; - r0 = pxsim_Array__length(s.unnamed244___U6); + s.tmp_0 = r0 = s.unnamed2113___U7; + r0 = pxsim_Array__length(s.unnamed2112___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed244___U6, s.unnamed245___U7); - s.n___55502 = (r0); - s.tmp_2 = r0 = s.off___55484; - s.tmp_4 = msgpack_packNumberCore__P46220_mk(s); - s.tmp_4.arg0 = s.buf___55496; - s.tmp_4.arg1 = s.off___55484; - s.tmp_4.arg2 = s.n___55502; - s.callLocIdx = 22; s.pc = 6; return s.tmp_4; + r0 = pxsim_Array__getAt(s.unnamed2112___U6, s.unnamed2113___U7); + s.n___285807 = (r0); + s.tmp_2 = r0 = s.off___285789; + s.tmp_4 = msgpack_packNumberCore__P276242_mk(s); + s.tmp_4.arg0 = s.buf___285801; + s.tmp_4.arg1 = s.off___285789; + s.tmp_4.arg2 = s.n___285807; + s.callLocIdx = 23; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___55484 = (r0); - r0 = (s.unnamed245___U7 + 1); - s.unnamed245___U7 = (r0); + s.off___285789 = (r0); + r0 = (s.unnamed2113___U7 + 1); + s.unnamed2113___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed244___U6 = (undefined); - r0 = s.buf___55496; + s.unnamed2112___U6 = (undefined); + r0 = s.buf___285801; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P41977.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__P272000.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__P41977_mk(s) { +function msgpack_packNumberArray__P272000_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P41977, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P272000, 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___55484: undefined, - n___55486: undefined, - unnamed242___U2: undefined, - unnamed243___U3: undefined, - buf___55496: undefined, - n___55502: undefined, - unnamed244___U6: undefined, - unnamed245___U7: undefined, + off___285789: undefined, + n___285791: undefined, + unnamed2110___U2: undefined, + unnamed2111___U3: undefined, + buf___285801: undefined, + n___285807: undefined, + unnamed2112___U6: undefined, + unnamed2113___U7: undefined, arg0: undefined, } } @@ -21316,7 +20463,7 @@ function msgpack_packNumberArray__P41977_mk(s) { -function msgpack_packNumberCore__P46220(s) { +function msgpack_packNumberCore__P276242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21326,15 +20473,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___55516 = undefined; - s.fmt___55559 = undefined; + s.tag___285821 = undefined; + s.fmt___285864 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___55516 = (203); + s.tag___285821 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -21384,17 +20531,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___55516 = (204); + s.tag___285821 = (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___55516 = (205); + s.tag___285821 = (205); { step = 10; continue; } case 9: - s.tag___55516 = (206); + s.tag___285821 = (206); case 10: case 11: { step = 17; continue; } @@ -21403,42 +20550,42 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___55516 = (208); + s.tag___285821 = (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___55516 = (209); + s.tag___285821 = (209); { step = 15; continue; } case 14: - s.tag___55516 = (210); + s.tag___285821 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P46219_mk(s); - s.tmp_0.arg0 = s.tag___55516; - s.callLocIdx = 17; s.pc = 24; return s.tmp_0; + s.tmp_0 = msgpack_tagFormat__P276241_mk(s); + s.tmp_0.arg0 = s.tag___285821; + s.callLocIdx = 18; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___55559 = (r0); + s.fmt___285864 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___55516); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___285821); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___55559; + s.tmp_1 = r0 = s.fmt___285864; 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__P41968_mk(s); - s.tmp_1.arg0 = s.fmt___55559; - s.callLocIdx = 18; s.pc = 25; return s.tmp_1; + s.tmp_1 = pins_sizeOf__P271991_mk(s); + s.tmp_1.arg0 = s.fmt___285864; + s.callLocIdx = 19; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; s.tmp_0 = r0; @@ -21447,12 +20594,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P46220.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__P276242.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__P46220_mk(s) { +function msgpack_packNumberCore__P276242_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P46220, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P276242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21462,8 +20609,8 @@ function msgpack_packNumberCore__P46220_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___55516: undefined, - fmt___55559: undefined, + tag___285821: undefined, + fmt___285864: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21473,7 +20620,7 @@ function msgpack_packNumberCore__P46220_mk(s) { -function msgpack_tagFormat__P46219(s) { +function msgpack_tagFormat__P276241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21533,12 +20680,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P46219.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__P276241.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__P46219_mk(s) { +function msgpack_tagFormat__P276241_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P46219, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P276241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21548,7 +20695,7 @@ function msgpack_tagFormat__P46219_mk(s) { -function pins_sizeOf__P41968(s) { +function pins_sizeOf__P271991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21562,20 +20709,20 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P42008_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P272031_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 16; s.pc = 1; return s.tmp_0; + s.callLocIdx = 17; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -pins_sizeOf__P41968.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__P271991.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__P41968_mk(s) { +function pins_sizeOf__P271991_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P41968, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P271991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21585,7 +20732,7 @@ function pins_sizeOf__P41968_mk(s) { -function Buffer_sizeOfNumberFormat__P42008(s) { +function Buffer_sizeOfNumberFormat__P272031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21664,12 +20811,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P42008.info = {"start":14912,"length":856,"line":508,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} +Buffer_sizeOfNumberFormat__P272031.info = {"start":14912,"length":856,"line":508,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} -function Buffer_sizeOfNumberFormat__P42008_mk(s) { +function Buffer_sizeOfNumberFormat__P272031_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P42008, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P272031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21679,7 +20826,7 @@ function Buffer_sizeOfNumberFormat__P42008_mk(s) { -function helpers_setScreenBrightness__P43759(s) { +function helpers_setScreenBrightness__P273782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21694,27 +20841,27 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P41920_mk(s); + s.tmp_0 = Math_clamp__P271943_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); s.tmp_0.arg2 = r0; - s.callLocIdx = 87; s.pc = 1; return s.tmp_0; + s.callLocIdx = 88; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___43745 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___43745); + globals.brightness___273768 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___273768); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P43759.info = {"start":8945,"length":210,"line":282,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P273782.info = {"start":8945,"length":210,"line":282,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P43759_mk(s) { +function helpers_setScreenBrightness__P273782_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P43759, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P273782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21725,7 +20872,7 @@ function helpers_setScreenBrightness__P43759_mk(s) { -function scene_systemMenu_brightnessUp__P47044(s) { +function scene_systemMenu_brightnessUp__P277066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21735,24 +20882,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P47046_mk(s); - r0 = globals.brightness___43745; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P277068_mk(s); + r0 = globals.brightness___273768; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1145; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1146; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P47044.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__P277066.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__P47044_mk(s) { +function scene_systemMenu_brightnessUp__P277066_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P47044, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P277066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21762,7 +20909,7 @@ function scene_systemMenu_brightnessUp__P47044_mk(s) { -function scene_systemMenu_volumeDown__P47043(s) { +function scene_systemMenu_volumeDown__P277065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21772,54 +20919,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___55832 = undefined; - s.remainder___55835 = undefined; - s.newVolume___55838 = undefined; - s.tmp_0 = music_volume__P43415_mk(s); - s.callLocIdx = 1142; s.pc = 3; return s.tmp_0; + s.v___286137 = undefined; + s.remainder___286140 = undefined; + s.newVolume___286143 = undefined; + s.tmp_0 = music_volume__P273438_mk(s); + s.callLocIdx = 1143; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___55832 = (r0); - r0 = (s.v___55832 % 32); - s.remainder___55835 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___55835); + s.v___286137 = (r0); + r0 = (s.v___286137 % 32); + s.remainder___286140 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___286140); if (!r0) { step = 1; continue; } - r0 = s.remainder___55835; + r0 = s.remainder___286140; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___55832 - s.tmp_0); - s.newVolume___55838 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P47041_mk(s); - s.tmp_0.arg0 = s.newVolume___55838; - s.callLocIdx = 1143; s.pc = 4; return s.tmp_0; + r0 = (s.v___286137 - s.tmp_0); + s.newVolume___286143 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P277063_mk(s); + s.tmp_0.arg0 = s.newVolume___286143; + s.callLocIdx = 1144; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P47043.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__P277065.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__P47043_mk(s) { +function scene_systemMenu_volumeDown__P277065_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P47043, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P277065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___55832: undefined, - remainder___55835: undefined, - newVolume___55838: undefined, + v___286137: undefined, + remainder___286140: undefined, + newVolume___286143: undefined, } } -function scene_systemMenu_setVolume__P47041(s) { +function scene_systemMenu_setVolume__P277063(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21833,33 +20980,33 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P43414_mk(s); + s.tmp_0 = music_setVolume__P273437_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1137; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1138; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P43416_mk(s); + s.tmp_0 = music_playTone__P273439_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; - s.callLocIdx = 1138; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1139; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P43857_mk(s); + s.tmp_0 = settings_writeNumber__P273880_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1139; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1140; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P47041.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__P277063.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__P47041_mk(s) { +function scene_systemMenu_setVolume__P277063_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P47041, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P277063, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21869,7 +21016,7 @@ function scene_systemMenu_setVolume__P47041_mk(s) { -function music_playTone__P43416(s) { +function music_playTone__P273439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21879,7 +21026,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___55673 = undefined; + s.id___285978 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21904,29 +21051,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P46319_mk(s); + s.tmp_2 = music_playNoteCore__P276341_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_2.arg2 = r0; - s.callLocIdx = 64; s.pc = 5; return s.tmp_2; + s.callLocIdx = 65; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P42206_mk(s); + s.tmp_0 = pause__P272229_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; - s.callLocIdx = 65; s.pc = 6; return s.tmp_0; + s.callLocIdx = 66; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___46321 + 1); + r0 = (globals.playToneID___276343 + 1); s.tmp_0 = r0; - globals.playToneID___46321 = (r0); - s.id___55673 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P55679); + globals.playToneID___276343 = (r0); + s.id___285978 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P285984); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___55673); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___285978); 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); @@ -21935,17 +21082,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P43416.info = {"start":2612,"length":831,"line":84,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} +music_playTone__P273439.info = {"start":2612,"length":831,"line":84,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -function music_playTone__P43416_mk(s) { +function music_playTone__P273439_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P43416, depth: s.depth + 1, + parent: s, fn: music_playTone__P273439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___55673: undefined, + id___285978: undefined, arg0: undefined, arg1: undefined, } } @@ -21954,7 +21101,7 @@ function music_playTone__P43416_mk(s) { -function music_playTone_inline__P55679(s) { +function music_playTone_inline__P285984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21964,14 +21111,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___55680 = undefined; - s.now___55690 = undefined; - s.d___55693 = undefined; - s.t___55697 = undefined; + s.pos___285985 = undefined; + s.now___285995 = undefined; + s.d___285998 = undefined; + s.t___286002 = undefined; r0 = pxsim.control.millis(); - s.pos___55680 = (r0); + s.pos___285985 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___46321); + r0 = (s.caps[0] == globals.playToneID___276343); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -21987,31 +21134,31 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___55690 = (r0); - r0 = (s.pos___55680 - s.now___55690); - s.d___55693 = (r0); - s.tmp_0 = Math_min__P41924_mk(s); + s.now___285995 = (r0); + r0 = (s.pos___285985 - s.now___285995); + s.d___285998 = (r0); + s.tmp_0 = Math_min__P271947_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; - s.callLocIdx = 66; s.pc = 7; return s.tmp_0; + s.callLocIdx = 67; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___55697 = (r0); + s.t___286002 = (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___55697); + r0 = (s.tmp_2 - s.t___286002); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___55680 + s.t___55697); - s.pos___55680 = (r0); - s.tmp_0 = music_playNoteCore__P46319_mk(s); - r0 = (s.d___55693 - 1); + r0 = (s.pos___285985 + s.t___286002); + s.pos___285985 = (r0); + s.tmp_0 = music_playNoteCore__P276341_mk(s); + r0 = (s.d___285998 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___55697; - s.callLocIdx = 67; s.pc = 8; return s.tmp_0; + s.tmp_0.arg2 = s.t___286002; + s.callLocIdx = 68; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); @@ -22020,20 +21167,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P42206_mk(s); - r0 = (s.d___55693 + s.t___55697); + s.tmp_2 = pause__P272229_mk(s); + r0 = (s.d___285998 + s.t___286002); s.tmp_2.arg0 = r0; - s.callLocIdx = 68; s.pc = 9; return s.tmp_2; + s.callLocIdx = 69; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P42206_mk(s); - r0 = (s.d___55693 + s.t___55697); + s.tmp_0 = pause__P272229_mk(s); + r0 = (s.d___285998 + s.t___286002); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; - s.callLocIdx = 69; s.pc = 10; return s.tmp_0; + s.callLocIdx = 70; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 5: @@ -22043,27 +21190,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P55679.info = {"start":2911,"length":515,"line":93,"column":34,"endLine":107,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_playTone_inline__P285984.info = {"start":2911,"length":515,"line":93,"column":34,"endLine":107,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function music_playTone_inline__P55679_mk(s) { +function music_playTone_inline__P285984_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P55679, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P285984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___55680: undefined, - now___55690: undefined, - d___55693: undefined, - t___55697: undefined, + pos___285985: undefined, + now___285995: undefined, + d___285998: undefined, + t___286002: undefined, } } -function music_playNoteCore__P46319(s) { +function music_playNoteCore__P276341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22073,7 +21220,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___55727 = undefined; + s.buf___286032 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22081,39 +21228,39 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___55727 = (r0); - s.tmp_0 = music_addNote__P43430_mk(s); - s.tmp_0.arg0 = s.buf___55727; + s.buf___286032 = (r0); + s.tmp_0 = music_addNote__P273453_mk(s); + s.tmp_0.arg0 = s.buf___286032; 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__P43415_mk(s); - s.callLocIdx = 62; s.pc = 2; return s.tmp_1; + s.tmp_1 = music_volume__P273438_mk(s); + s.callLocIdx = 63; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg7 = r0; s.tmp_0.arg8 = s.arg1; - s.callLocIdx = 63; s.pc = 1; return s.tmp_0; + s.callLocIdx = 64; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___55727); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___286032); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P46319.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__P276341.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__P46319_mk(s) { +function music_playNoteCore__P276341_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P46319, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P276341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___55727: undefined, + buf___286032: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22123,7 +21270,7 @@ function music_playNoteCore__P46319_mk(s) { -function music_addNote__P43430(s) { +function music_addNote__P273453(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22191,12 +21338,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P43430.info = {"start":10288,"length":911,"line":323,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P273453.info = {"start":10288,"length":911,"line":323,"column":4,"endLine":336,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -function music_addNote__P43430_mk(s) { +function music_addNote__P273453_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P43430, depth: s.depth + 1, + parent: s, fn: music_addNote__P273453, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22217,7 +21364,7 @@ function music_addNote__P43430_mk(s) { -function music_setVolume__P43414(s) { +function music_setVolume__P273437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22231,16 +21378,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P41920_mk(s); + s.tmp_0 = Math_clamp__P271943_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); s.tmp_0.arg2 = r0; - s.callLocIdx = 59; s.pc = 3; return s.tmp_0; + s.callLocIdx = 60; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___46314 = (r0); - r0 = (globals.globalVolume___46314 > 0); + globals.globalVolume___276336 = (r0); + r0 = (globals.globalVolume___276336 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -22256,12 +21403,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P43414.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__P273437.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__P43414_mk(s) { +function music_setVolume__P273437_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P43414, depth: s.depth + 1, + parent: s, fn: music_setVolume__P273437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22272,7 +21419,7 @@ function music_setVolume__P43414_mk(s) { -function music_enableAmp__P46317(s) { +function music_enableAmp__P276339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22290,12 +21437,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P46317.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__P276339.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__P46317_mk(s) { +function music_enableAmp__P276339_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P46317, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P276339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -22304,7 +21451,7 @@ function music_enableAmp__P46317_mk(s) { -function scene_systemMenu_volumeUp__P47042(s) { +function scene_systemMenu_volumeUp__P277064(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22314,47 +21461,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___55641 = undefined; - s.remainder___55644 = undefined; - s.newVolume___55647 = undefined; - s.tmp_0 = music_volume__P43415_mk(s); - s.callLocIdx = 1140; s.pc = 1; return s.tmp_0; + s.v___285946 = undefined; + s.remainder___285949 = undefined; + s.newVolume___285952 = undefined; + s.tmp_0 = music_volume__P273438_mk(s); + s.callLocIdx = 1141; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___55641 = (r0); - r0 = (s.v___55641 % 32); - s.remainder___55644 = (r0); - r0 = (s.v___55641 + 32); + s.v___285946 = (r0); + r0 = (s.v___285946 % 32); + s.remainder___285949 = (r0); + r0 = (s.v___285946 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___55644); - s.newVolume___55647 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P47041_mk(s); - s.tmp_0.arg0 = s.newVolume___55647; - s.callLocIdx = 1141; s.pc = 2; return s.tmp_0; + r0 = (s.tmp_0 - s.remainder___285949); + s.newVolume___285952 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P277063_mk(s); + s.tmp_0.arg0 = s.newVolume___285952; + s.callLocIdx = 1142; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P47042.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__P277064.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__P47042_mk(s) { +function scene_systemMenu_volumeUp__P277064_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P47042, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P277064, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___55641: undefined, - remainder___55644: undefined, - newVolume___55647: undefined, + v___285946: undefined, + remainder___285949: undefined, + newVolume___285952: undefined, } } -function game_consoleOverlay_isVisible__P44918(s) { +function game_consoleOverlay_isVisible__P274941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22364,7 +21511,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___47083); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___277105); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -22374,12 +21521,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P44918.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__P274941.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__P44918_mk(s) { +function game_consoleOverlay_isVisible__P274941_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P44918, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P274941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22390,7 +21537,7 @@ function game_consoleOverlay_isVisible__P44918_mk(s) { -function scene_systemMenu_closeMenu__P44896(s) { +function scene_systemMenu_closeMenu__P274919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22400,21 +21547,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___47037); + r0 = pxsim_numops_toBoolDecr(globals.instance___277059); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P44895_mk(s); - s.tmp_0.arg0 = globals.instance___47037; - s.callLocIdx = 1156; s.pc = 3; return s.tmp_0; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P274918_mk(s); + s.tmp_0.arg0 = globals.instance___277059; + s.callLocIdx = 1157; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___47037 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P44000_mk(s); + globals.instance___277059 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P274023_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1157; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1158; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P44798_mk(s); - s.callLocIdx = 1158; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_popScene__P274821_mk(s); + s.callLocIdx = 1159; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -22423,12 +21570,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P44896.info = {"start":10129,"length":216,"line":320,"column":4,"endLine":327,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} +scene_systemMenu_closeMenu__P274919.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__P44896_mk(s) { +function scene_systemMenu_closeMenu__P274919_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P44896, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P274919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -22437,7 +21584,7 @@ function scene_systemMenu_closeMenu__P44896_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P44895(s) { +function scene_systemMenu_PauseMenu_dispose__P274918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22452,16 +21599,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C44889_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C274912_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__P41902_mk(s); + s.tmp_1 = helpers_arrayForEach__P271925_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P54749; - s.callLocIdx = 1133; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P285054; + s.callLocIdx = 1134; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["options"] = (undefined); @@ -22471,12 +21618,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P44895.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__P274918.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__P44895_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P274918_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P44895, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P274918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22487,7 +21634,7 @@ function scene_systemMenu_PauseMenu_dispose__P44895_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P54749(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P285054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22501,21 +21648,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P44888_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P274911_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1132; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1133; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose_inline__P54749.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +scene_systemMenu_PauseMenu_dispose_inline__P285054.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} -function scene_systemMenu_PauseMenu_dispose_inline__P54749_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P285054_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P54749, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P285054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22525,7 +21672,7 @@ function scene_systemMenu_PauseMenu_dispose_inline__P54749_mk(s) { -function scene_systemMenu_MenuOption_dispose__P44888(s) { +function scene_systemMenu_MenuOption_dispose__P274911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22540,25 +21687,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C44881_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C274904_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__P44222_mk(s); + s.tmp_1 = Sprite_destroy__P274245_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1052; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1053; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P44222_mk(s); + s.tmp_0 = Sprite_destroy__P274245_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 1053; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1054; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["card"] = (undefined); @@ -22569,12 +21716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P44888.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__P274911.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__P44888_mk(s) { +function scene_systemMenu_MenuOption_dispose__P274911_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P44888, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P274911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22585,7 +21732,7 @@ function scene_systemMenu_MenuOption_dispose__P44888_mk(s) { -function Sprite_destroy__P44222(s) { +function Sprite_destroy__P274245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22602,7 +21749,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -22620,19 +21767,19 @@ 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__P45059_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P275082_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; - s.callLocIdx = 431; s.pc = 6; return s.tmp_0; + s.callLocIdx = 432; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P44223_mk(s); + s.tmp_0 = Sprite__destroyCore__P274246_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 432; s.pc = 7; return s.tmp_0; + s.callLocIdx = 433; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 4: @@ -22641,12 +21788,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P44222.info = {"start":26493,"length":293,"line":859,"column":4,"endLine":868,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P274245.info = {"start":26493,"length":293,"line":859,"column":4,"endLine":868,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P44222_mk(s) { +function Sprite_destroy__P274245_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P44222, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P274245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22662,7 +21809,7 @@ function Sprite_destroy__P44222_mk(s) { -function effects_ParticleEffect_destroy__P45059(s) { +function effects_ParticleEffect_destroy__P275082(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22680,15 +21827,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C45056_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P44213_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C275079_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P274236_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; - s.callLocIdx = 1317; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1318; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P45058_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P275081_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -22705,7 +21852,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg4 = r0; - s.callLocIdx = 1318; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1319; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -22720,22 +21867,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__P45086_mk(s); - s.tmp_0.arg0 = globals.dissolve___45089; + s.tmp_0 = effects_ImageEffect_applyTo__P275109_mk(s); + s.tmp_0.arg0 = globals.dissolve___275112; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1319; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1320; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P45059.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__P275082.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__P45059_mk(s) { +function effects_ParticleEffect_destroy__P275082_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P45059, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P275082, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22753,7 +21900,7 @@ function effects_ParticleEffect_destroy__P45059_mk(s) { -function dissolve_inline__P54874(s) { +function dissolve_inline__P285179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22763,11 +21910,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___54877 = undefined; - s.x___54888 = undefined; - s.y___54894 = undefined; - s.w___54900 = undefined; - s.h___54904 = undefined; + s.i___285182 = undefined; + s.x___285193 = undefined; + s.y___285199 = undefined; + s.w___285205 = undefined; + s.h___285209 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22780,13 +21927,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___54877 = (r0); + s.i___285182 = (r0); case 1: - r0 = (s.i___54877 > 0); + r0 = (s.i___285182 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P44857_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P274880_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -22794,8 +21941,8 @@ switch (step) { s.callLocIdx = 52; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___54888 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P44857_mk(s); + s.x___285193 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P274880_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -22803,56 +21950,56 @@ switch (step) { s.callLocIdx = 53; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___54894 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P44857_mk(s); + s.y___285199 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P274880_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___54900 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P44857_mk(s); + s.w___285205 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P274880_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___54904 = (r0); - s.tmp_0 = helpers_imageDrawRect__P43753_mk(s); + s.h___285209 = (r0); + s.tmp_0 = helpers_imageDrawRect__P273776_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___54888; - s.tmp_0.arg2 = s.y___54894; - s.tmp_0.arg3 = s.w___54900; - s.tmp_0.arg4 = s.h___54904; + s.tmp_0.arg1 = s.x___285193; + s.tmp_0.arg2 = s.y___285199; + s.tmp_0.arg3 = s.w___285205; + s.tmp_0.arg4 = s.h___285209; s.tmp_0.arg5 = 0; s.callLocIdx = 56; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___54877 - 1); - s.i___54877 = (r0); + r0 = (s.i___285182 - 1); + s.i___285182 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P54874.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +dissolve_inline__P285179.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 dissolve_inline__P54874_mk(s) { +function dissolve_inline__P285179_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P54874, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P285179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___54877: undefined, - x___54888: undefined, - y___54894: undefined, - w___54900: undefined, - h___54904: undefined, + i___285182: undefined, + x___285193: undefined, + y___285199: undefined, + w___285205: undefined, + h___285209: undefined, arg0: undefined, arg1: undefined, } } @@ -22861,7 +22008,7 @@ function dissolve_inline__P54874_mk(s) { -function helpers_imageDrawRect__P43753(s) { +function helpers_imageDrawRect__P273776(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22900,7 +22047,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P43752_mk(s); + s.tmp_0 = helpers_imageDrawLine__P273775_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -22908,10 +22055,10 @@ switch (step) { s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg2; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 83; s.pc = 6; return s.tmp_0; + s.callLocIdx = 84; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P43752_mk(s); + s.tmp_0 = helpers_imageDrawLine__P273775_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -22919,10 +22066,10 @@ switch (step) { r0 = (s.arg2 + s.arg4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 84; s.pc = 7; return s.tmp_0; + s.callLocIdx = 85; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P43752_mk(s); + s.tmp_0 = helpers_imageDrawLine__P273775_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -22932,10 +22079,10 @@ switch (step) { s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg2; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 85; s.pc = 8; return s.tmp_0; + s.callLocIdx = 86; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P43752_mk(s); + s.tmp_0 = helpers_imageDrawLine__P273775_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -22945,7 +22092,7 @@ switch (step) { r0 = (s.arg2 + s.arg4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 86; s.pc = 9; return s.tmp_0; + s.callLocIdx = 87; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 5: @@ -22953,12 +22100,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P43753.info = {"start":5945,"length":370,"line":185,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P273776.info = {"start":5945,"length":370,"line":185,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P43753_mk(s) { +function helpers_imageDrawRect__P273776_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P43753, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P273776, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22974,7 +22121,7 @@ function helpers_imageDrawRect__P43753_mk(s) { -function helpers_imageDrawLine__P43752(s) { +function helpers_imageDrawLine__P273775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22994,17 +22141,17 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P46420_mk(s); + s.tmp_2 = helpers_pack__P276442_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; - s.callLocIdx = 81; s.pc = 1; return s.tmp_2; + s.callLocIdx = 82; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P46420_mk(s); + s.tmp_4 = helpers_pack__P276442_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; - s.callLocIdx = 82; s.pc = 2; return s.tmp_4; + s.callLocIdx = 83; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -23013,12 +22160,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P43752.info = {"start":5781,"length":159,"line":182,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P273775.info = {"start":5781,"length":159,"line":182,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P43752_mk(s) { +function helpers_imageDrawLine__P273775_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P43752, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P273775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23037,7 +22184,7 @@ function helpers_imageDrawLine__P43752_mk(s) { -function Math_FastRandom_randomRange__P44857(s) { +function Math_FastRandom_randomRange__P274880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23054,14 +22201,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C44853_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C274876_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__P44856_mk(s); + s.tmp_2 = Math_FastRandom_next__P274879_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1034; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1035; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -23080,12 +22227,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P44857.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__P274880.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__P44857_mk(s) { +function Math_FastRandom_randomRange__P274880_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P44857, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P274880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23102,7 +22249,7 @@ function Math_FastRandom_randomRange__P44857_mk(s) { -function Math_FastRandom_next__P44856(s) { +function Math_FastRandom_next__P274879(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23117,7 +22264,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C44853_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C274876_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -23138,12 +22285,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P44856.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__P274879.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__P44856_mk(s) { +function Math_FastRandom_next__P274879_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P44856, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P274879, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23160,7 +22307,7 @@ function Math_FastRandom_next__P44856_mk(s) { -function effects_ImageEffect_constructor__P45085(s) { +function effects_ImageEffect_constructor__P275108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23177,14 +22324,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C45084_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C275107_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C44853_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C274876_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P44855_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P274878_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1327; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1328; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); @@ -23194,12 +22341,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P45085.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__P275108.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__P45085_mk(s) { +function effects_ImageEffect_constructor__P275108_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P45085, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P275108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23212,7 +22359,7 @@ function effects_ImageEffect_constructor__P45085_mk(s) { -function effects_ImageEffect_applyTo__P45086(s) { +function effects_ImageEffect_applyTo__P275109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23222,14 +22369,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___55053 = undefined; + s.clonedImage___285358 = 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__C45084_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C275107_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -23255,17 +22402,17 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___55053 = (r0); - s.tmp_0 = effects_ImageEffect_change__P45087_mk(s); + s.clonedImage___285358 = (r0); + s.tmp_0 = effects_ImageEffect_change__P275110_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___55053; - s.callLocIdx = 1330; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___285358; + s.callLocIdx = 1331; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P44185_mk(s); + s.tmp_0 = Sprite_setImage__P274208_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___55053; - s.callLocIdx = 1331; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___285358; + s.callLocIdx = 1332; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 5: @@ -23273,12 +22420,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P45086.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__P275109.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__P45086_mk(s) { +function effects_ImageEffect_applyTo__P275109_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P45086, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P275109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23286,7 +22433,7 @@ function effects_ImageEffect_applyTo__P45086_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___55053: undefined, + clonedImage___285358: undefined, arg0: undefined, arg1: undefined, } } @@ -23295,7 +22442,7 @@ function effects_ImageEffect_applyTo__P45086_mk(s) { -function effects_ImageEffect_change__P45087(s) { +function effects_ImageEffect_change__P275110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23311,7 +22458,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C45084_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C275107_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -23319,12 +22466,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 = 1332; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1333; 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 = 1332; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1332; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 1332; 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 = 1333; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1333; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1333; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -23332,12 +22479,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P45087.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__P275110.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__P45087_mk(s) { +function effects_ImageEffect_change__P275110_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P45087, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P275110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23348,7 +22495,7 @@ function effects_ImageEffect_change__P45087_mk(s) { -function effects_ParticleEffect_start__P45058(s) { +function effects_ParticleEffect_start__P275081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23358,7 +22505,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___55078 = undefined; + s.src___285383 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23368,7 +22515,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C45056_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C275079_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -23395,18 +22542,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 = 1315; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1316; 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 = 1315; s.pc = 10; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1315; s.pc = 10; return s.tmp_4;; } - else { s.callLocIdx = 1315; 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 = 1316; s.pc = 10; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1316; s.pc = 10; return s.tmp_4;; } + else { s.callLocIdx = 1316; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; - s.src___55078 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P44956_mk(s); - s.tmp_0.arg0 = s.src___55078; + s.src___285383 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P274979_mk(s); + s.tmp_0.arg0 = s.src___285383; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -23415,7 +22562,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1316; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1317; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -23431,7 +22578,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___55078).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___285383).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -23439,19 +22586,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P45058.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__P275081.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__P45058_mk(s) { +function effects_ParticleEffect_start__P275081_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P45058, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P275081, 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___55078: undefined, + src___285383: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23463,7 +22610,7 @@ function effects_ParticleEffect_start__P45058_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P44956(s) { +function particles_ParticleSource_setRelativeToCamera__P274979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23479,7 +22626,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -23505,12 +22652,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P44956.info = {"start":6439,"length":173,"line":211,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} +particles_ParticleSource_setRelativeToCamera__P274979.info = {"start":6439,"length":173,"line":211,"column":8,"endLine":214,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} -function particles_ParticleSource_setRelativeToCamera__P44956_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P274979_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P44956, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P274979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23525,7 +22672,7 @@ function particles_ParticleSource_setRelativeToCamera__P44956_mk(s) { -function Sprite_setFlag__P44213(s) { +function Sprite_setFlag__P274236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23542,7 +22689,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -23568,12 +22715,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P44213.info = {"start":20205,"length":130,"line":676,"column":4,"endLine":679,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P274236.info = {"start":20205,"length":130,"line":676,"column":4,"endLine":679,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P44213_mk(s) { +function Sprite_setFlag__P274236_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P44213, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P274236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23589,7 +22736,7 @@ function Sprite_setFlag__P44213_mk(s) { -function Sprite__destroyCore__P44223(s) { +function Sprite__destroyCore__P274246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23599,25 +22746,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___54799 = undefined; + s.scene___285104 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44793_mk(s); - s.callLocIdx = 433; s.pc = 7; return s.tmp_0; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 434; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___54799 = (r0); - r0 = s.scene___54799.fields["allSprites"]; + s.scene___285104 = (r0); + r0 = s.scene___285104.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -23629,7 +22776,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___54799.fields["spritesByKind"]; + r0 = s.scene___285104.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -23639,24 +22786,24 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_5 = sprites_SpriteSet_remove__P44264_mk(s); - r0 = s.scene___54799.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P274287_mk(s); + r0 = s.scene___285104.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_6, s.tmp_7); s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; - s.callLocIdx = 437; s.pc = 8; return s.tmp_5; + s.callLocIdx = 438; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; case 3: case 4: - s.tmp_0 = PhysicsEngine__C44305_v1_2_mk(s); - r0 = s.scene___54799.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C274328_v1_2_mk(s); + r0 = s.scene___285104.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C44305_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C274328_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.removeSprite; s.pc = 9; return s.tmp_0; case 9: @@ -23669,46 +22816,46 @@ switch (step) { s.tmp_1.arg0 = s.arg0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "destroyHandler"), 1); - s.callLocIdx = 438; s.pc = 10; return s.tmp_1; + s.callLocIdx = 439; s.pc = 10; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["destroyHandler"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["destroyHandler"], 1); s.callLocIdx = 438; s.pc = 10; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 438; s.pc = 10; return s.tmp_1;; } - else { s.callLocIdx = 438; s.pc = 10; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["destroyHandler"], 1); s.callLocIdx = 439; s.pc = 10; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 439; s.pc = 10; return s.tmp_1;; } + else { s.callLocIdx = 439; s.pc = 10; return s.tmp_1; } } case 10: r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P54828); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P285133); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P54834); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P285139); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P41902_mk(s); - s.tmp_3 = helpers_arrayFilter__P41903_mk(s); - r0 = s.scene___54799.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P271925_mk(s); + s.tmp_3 = helpers_arrayFilter__P271926_mk(s); + r0 = s.scene___285104.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 440; s.pc = 12; return s.tmp_3; + s.callLocIdx = 441; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 442; s.pc = 11; return s.tmp_2; + s.callLocIdx = 443; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P44223.info = {"start":26792,"length":522,"line":870,"column":4,"endLine":882,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P274246.info = {"start":26792,"length":522,"line":870,"column":4,"endLine":882,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P44223_mk(s) { +function Sprite__destroyCore__P274246_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P44223, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P274246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23718,7 +22865,7 @@ function Sprite__destroyCore__P44223_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___54799: undefined, + scene___285104: undefined, arg0: undefined, } } @@ -23726,7 +22873,7 @@ function Sprite__destroyCore__P44223_mk(s) { -function forEach_inline__P54828(s) { +function forEach_inline__P285133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23748,12 +22895,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P54828.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P285133.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P54828_mk(s) { +function forEach_inline__P285133_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P54828, depth: s.depth + 1, + parent: s, fn: forEach_inline__P285133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23764,7 +22911,7 @@ function forEach_inline__P54828_mk(s) { -function Sprite__destroyCore_inline__P54834(s) { +function Sprite__destroyCore_inline__P285139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23783,12 +22930,12 @@ switch (step) { s.tmp_0.arg1 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 2); - s.callLocIdx = 441; s.pc = 1; return s.tmp_0; + s.callLocIdx = 442; 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"], 2); s.callLocIdx = 441; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 441; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 441; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 442; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 442; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 442; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -23796,12 +22943,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P54834.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite__destroyCore_inline__P285139.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite__destroyCore_inline__P54834_mk(s) { +function Sprite__destroyCore_inline__P285139_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P54834, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P285139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23811,7 +22958,7 @@ function Sprite__destroyCore_inline__P54834_mk(s) { -function PhysicsEngine_removeSprite__P44308(s) { +function PhysicsEngine_removeSprite__P274331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23827,17 +22974,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C44305_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C274328_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P44308.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__P274331.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__P44308_mk(s) { +function PhysicsEngine_removeSprite__P274331_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P44308, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P274331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23847,7 +22994,7 @@ function PhysicsEngine_removeSprite__P44308_mk(s) { -function Sprite_kind__P44201(s) { +function Sprite_kind__P274224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23862,17 +23009,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P44201.info = {"start":12573,"length":41,"line":453,"column":4,"endLine":455,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P274224.info = {"start":12573,"length":41,"line":453,"column":4,"endLine":455,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P44201_mk(s) { +function Sprite_kind__P274224_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P44201, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P274224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23881,7 +23028,7 @@ function Sprite_kind__P44201_mk(s) { -function scene_systemMenu_MenuOption_constructor__P44882(s) { +function scene_systemMenu_MenuOption_constructor__P274905(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23899,7 +23046,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C44881_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C274904_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -23907,12 +23054,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P44882.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__P274905.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__P44882_mk(s) { +function scene_systemMenu_MenuOption_constructor__P274905_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P44882, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P274905, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23924,7 +23071,7 @@ function scene_systemMenu_MenuOption_constructor__P44882_mk(s) { -function helpers_screenBrightness__P43760(s) { +function helpers_screenBrightness__P273783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23938,16 +23085,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___43745; + r0 = globals.brightness___273768; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P43760.info = {"start":9161,"length":98,"line":288,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P273783.info = {"start":9161,"length":98,"line":288,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P43760_mk(s) { +function helpers_screenBrightness__P273783_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P43760, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P273783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23956,7 +23103,7 @@ function helpers_screenBrightness__P43760_mk(s) { -function music_volume__P43415(s) { +function music_volume__P273438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23966,20 +23113,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P46318_mk(s); - s.callLocIdx = 61; s.pc = 1; return s.tmp_0; + s.tmp_0 = music_initVolume__P276340_mk(s); + s.callLocIdx = 62; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___46314; + r0 = globals.globalVolume___276336; return leave(s, r0) default: oops() } } } -music_volume__P43415.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P273438.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__P43415_mk(s) { +function music_volume__P273438_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P43415, depth: s.depth + 1, + parent: s, fn: music_volume__P273438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -23988,7 +23135,7 @@ function music_volume__P43415_mk(s) { -function music_initVolume__P46318(s) { +function music_initVolume__P276340(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23998,15 +23145,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___46314 === null); + r0 = (globals.globalVolume___276336 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___46314 = (0); - s.tmp_0 = music_setVolume__P43414_mk(s); + globals.globalVolume___276336 = (0); + s.tmp_0 = music_setVolume__P273437_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; - s.callLocIdx = 58; s.pc = 3; return s.tmp_0; + s.callLocIdx = 59; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: @@ -24015,12 +23162,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P46318.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P276340.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__P46318_mk(s) { +function music_initVolume__P276340_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P46318, depth: s.depth + 1, + parent: s, fn: music_initVolume__P276340, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24029,7 +23176,7 @@ function music_initVolume__P46318_mk(s) { -function helpers_arrayConcat__P41906(s) { +function helpers_arrayConcat__P271929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24039,74 +23186,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___55379 = undefined; - s.value___55382 = undefined; - s.unnamed238___U2 = undefined; - s.unnamed239___U3 = undefined; - s.value___55389 = undefined; - s.unnamed240___U5 = undefined; - s.unnamed241___U6 = undefined; + s.out___285684 = undefined; + s.value___285687 = undefined; + s.unnamed2106___U2 = undefined; + s.unnamed2107___U3 = undefined; + s.value___285694 = undefined; + s.unnamed2108___U5 = undefined; + s.unnamed2109___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___55379 = (r0); - s.value___55382 = (undefined); - s.unnamed238___U2 = (s.arg0); - s.unnamed239___U3 = (0); + s.out___285684 = (r0); + s.value___285687 = (undefined); + s.unnamed2106___U2 = (s.arg0); + s.unnamed2107___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed239___U3; - r0 = pxsim_Array__length(s.unnamed238___U2); + s.tmp_0 = r0 = s.unnamed2107___U3; + r0 = pxsim_Array__length(s.unnamed2106___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed238___U2, s.unnamed239___U3); - s.value___55382 = (r0); - r0 = pxsim_Array__push(s.out___55379, s.value___55382); - r0 = (s.unnamed239___U3 + 1); - s.unnamed239___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed2106___U2, s.unnamed2107___U3); + s.value___285687 = (r0); + r0 = pxsim_Array__push(s.out___285684, s.value___285687); + r0 = (s.unnamed2107___U3 + 1); + s.unnamed2107___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed238___U2 = (undefined); - s.value___55389 = (undefined); - s.unnamed240___U5 = (s.arg1); - s.unnamed241___U6 = (0); + s.unnamed2106___U2 = (undefined); + s.value___285694 = (undefined); + s.unnamed2108___U5 = (s.arg1); + s.unnamed2109___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed241___U6; - r0 = pxsim_Array__length(s.unnamed240___U5); + s.tmp_0 = r0 = s.unnamed2109___U6; + r0 = pxsim_Array__length(s.unnamed2108___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed240___U5, s.unnamed241___U6); - s.value___55389 = (r0); - r0 = pxsim_Array__push(s.out___55379, s.value___55389); - r0 = (s.unnamed241___U6 + 1); - s.unnamed241___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed2108___U5, s.unnamed2109___U6); + s.value___285694 = (r0); + r0 = pxsim_Array__push(s.out___285684, s.value___285694); + r0 = (s.unnamed2109___U6 + 1); + s.unnamed2109___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed240___U5 = (undefined); - r0 = s.out___55379; + s.unnamed2108___U5 = (undefined); + r0 = s.out___285684; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P41906.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__P271929.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__P41906_mk(s) { +function helpers_arrayConcat__P271929_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P41906, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P271929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___55379: undefined, - value___55382: undefined, - unnamed238___U2: undefined, - unnamed239___U3: undefined, - value___55389: undefined, - unnamed240___U5: undefined, - unnamed241___U6: undefined, + out___285684: undefined, + value___285687: undefined, + unnamed2106___U2: undefined, + unnamed2107___U3: undefined, + value___285694: undefined, + unnamed2108___U5: undefined, + unnamed2109___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -24115,7 +23262,7 @@ function helpers_arrayConcat__P41906_mk(s) { -function scene_systemMenu_PauseMenu_show__P44891(s) { +function scene_systemMenu_PauseMenu_show__P274914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24125,34 +23272,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___54217 = undefined; - s.i___54218 = undefined; + s.current___284522 = undefined; + s.i___284523 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C44889_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C274912_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 = 1065; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1066; 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 = 1065; s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1065; s.pc = 3; return s.tmp_2;; } - else { s.callLocIdx = 1065; 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 = 1066; s.pc = 3; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1066; s.pc = 3; return s.tmp_2;; } + else { s.callLocIdx = 1066; 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___54218 = (0); + s.i___284523 = (0); case 1: - s.tmp_1 = r0 = s.i___54218; + s.tmp_1 = r0 = s.i___284523; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -24163,22 +23310,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___54218); - s.current___54217 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P44883_mk(s); - s.tmp_0.arg0 = s.current___54217; - s.callLocIdx = 1066; s.pc = 4; return s.tmp_0; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___284523); + s.current___284522 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P274906_mk(s); + s.tmp_0.arg0 = s.current___284522; + s.callLocIdx = 1067; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P44886_mk(s); - s.tmp_0.arg0 = s.current___54217; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P274909_mk(s); + s.tmp_0.arg0 = s.current___284522; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1067; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1068; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P44884_mk(s); - s.tmp_0.arg0 = s.current___54217; + s.tmp_0 = scene_systemMenu_MenuOption_position__P274907_mk(s); + s.tmp_0.arg0 = s.current___284522; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -24188,12 +23335,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 = 1068; s.pc = 7; return s.tmp_2; } + else { s.callLocIdx = 1069; s.pc = 7; return s.tmp_2; } } case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___54218; + s.tmp_5 = r0 = s.i___284523; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -24203,7 +23350,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 = 1069; s.pc = 8; return s.tmp_7; } + else { s.callLocIdx = 1070; s.pc = 8; return s.tmp_7; } } case 8: r0 = s.retval; @@ -24219,7 +23366,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 = 1070; s.pc = 9; return s.tmp_10; } + else { s.callLocIdx = 1071; s.pc = 9; return s.tmp_10; } } case 9: r0 = s.retval; @@ -24233,7 +23380,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 = 1071; s.pc = 10; return s.tmp_12; } + else { s.callLocIdx = 1072; s.pc = 10; return s.tmp_12; } } case 10: r0 = s.retval; @@ -24253,12 +23400,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 = 1072; s.pc = 11; return s.tmp_14; } + else { s.callLocIdx = 1073; s.pc = 11; return s.tmp_14; } } case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___54218; + s.tmp_17 = r0 = s.i___284523; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -24268,7 +23415,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 = 1073; s.pc = 12; return s.tmp_19; } + else { s.callLocIdx = 1074; s.pc = 12; return s.tmp_19; } } case 12: r0 = s.retval; @@ -24284,7 +23431,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 = 1074; s.pc = 13; return s.tmp_22; } + else { s.callLocIdx = 1075; s.pc = 13; return s.tmp_22; } } case 13: r0 = s.retval; @@ -24298,7 +23445,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 = 1075; s.pc = 14; return s.tmp_24; } + else { s.callLocIdx = 1076; s.pc = 14; return s.tmp_24; } } case 14: r0 = s.retval; @@ -24309,116 +23456,116 @@ switch (step) { s.tmp_15 = r0; r0 = (s.tmp_13 + s.tmp_15); s.tmp_0.arg2 = r0; - s.callLocIdx = 1076; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1077; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___54218 + 1); - s.i___54218 = (r0); + r0 = (s.i___284523 + 1); + s.i___284523 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P44000_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P274023_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 1077; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1078; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P54281); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P284586); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P43990_mk(s); - s.tmp_1.arg0 = globals.A___43907; + s.tmp_1 = controller_Button_onEvent__P274013_mk(s); + s.tmp_1.arg0 = globals.A___273930; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1079; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1080; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P54301); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P284606); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P43990_mk(s); - s.tmp_1.arg0 = globals.A___43907; + s.tmp_1 = controller_Button_onEvent__P274013_mk(s); + s.tmp_1.arg0 = globals.A___273930; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1081; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1082; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P43990_mk(s); - s.tmp_0.arg0 = globals.B___43908; + s.tmp_0 = controller_Button_onEvent__P274013_mk(s); + s.tmp_0.arg0 = globals.B___273931; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P54330; - s.callLocIdx = 1083; s.pc = 18; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P284635; + s.callLocIdx = 1084; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P43990_mk(s); - s.tmp_0.arg0 = globals.menu___43913; + s.tmp_0 = controller_Button_onEvent__P274013_mk(s); + s.tmp_0.arg0 = globals.menu___273936; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P54335; - s.callLocIdx = 1085; s.pc = 19; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P284640; + s.callLocIdx = 1086; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P54340); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P284645); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P43990_mk(s); - s.tmp_1.arg0 = globals.up___43910; + s.tmp_1 = controller_Button_onEvent__P274013_mk(s); + s.tmp_1.arg0 = globals.up___273933; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1089; s.pc = 20; return s.tmp_1; + s.callLocIdx = 1090; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P54352); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P284657); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P43990_mk(s); - s.tmp_1.arg0 = globals.left___43909; + s.tmp_1 = controller_Button_onEvent__P274013_mk(s); + s.tmp_1.arg0 = globals.left___273932; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1092; s.pc = 21; return s.tmp_1; + s.callLocIdx = 1093; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P54361); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P284666); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P43990_mk(s); - s.tmp_1.arg0 = globals.down___43912; + s.tmp_1 = controller_Button_onEvent__P274013_mk(s); + s.tmp_1.arg0 = globals.down___273935; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1096; s.pc = 22; return s.tmp_1; + s.callLocIdx = 1097; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P54377); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P284682); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P43990_mk(s); - s.tmp_1.arg0 = globals.right___43911; + s.tmp_1 = controller_Button_onEvent__P274013_mk(s); + s.tmp_1.arg0 = globals.right___273934; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1099; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1100; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P54389); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P284694); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P44811_mk(s); + s.tmp_1 = game_onShade__P274834_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1102; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1103; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P44893_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P274916_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1103; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1104; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P44891.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__P274914.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__P44891_mk(s) { +function scene_systemMenu_PauseMenu_show__P274914_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P44891, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P274914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24445,8 +23592,8 @@ function scene_systemMenu_PauseMenu_show__P44891_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___54217: undefined, - i___54218: undefined, + current___284522: undefined, + i___284523: undefined, arg0: undefined, } } @@ -24454,7 +23601,7 @@ function scene_systemMenu_PauseMenu_show__P44891_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P54281(s) { +function scene_systemMenu_PauseMenu_show_inline__P284586(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24492,7 +23639,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P44887_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P274910_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -24500,7 +23647,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 = 1078; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1079; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; case 5: @@ -24508,12 +23655,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P54281.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P284586.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P54281_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P284586_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P54281, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P284586, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24532,7 +23679,7 @@ function scene_systemMenu_PauseMenu_show_inline__P54281_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P54301(s) { +function scene_systemMenu_PauseMenu_show_inline__P284606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24570,7 +23717,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P44887_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P274910_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -24578,7 +23725,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 = 1080; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1081; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; r0 = s.caps[0].fields["options"]; @@ -24594,12 +23741,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P54301.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P284606.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P54301_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P284606_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P54301, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P284606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24618,7 +23765,7 @@ function scene_systemMenu_PauseMenu_show_inline__P54301_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P54330(s) { +function scene_systemMenu_PauseMenu_show_inline__P284635(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24628,20 +23775,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P44896_mk(s); - s.callLocIdx = 1082; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P274919_mk(s); + s.callLocIdx = 1083; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P54330.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P284635.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P54330_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P284635_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P54330, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P284635, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24650,7 +23797,7 @@ function scene_systemMenu_PauseMenu_show_inline__P54330_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P54335(s) { +function scene_systemMenu_PauseMenu_show_inline__P284640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24660,20 +23807,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P44896_mk(s); - s.callLocIdx = 1084; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P274919_mk(s); + s.callLocIdx = 1085; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P54335.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P284640.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P54335_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P284640_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P54335, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P284640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24682,7 +23829,7 @@ function scene_systemMenu_PauseMenu_show_inline__P54335_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P54340(s) { +function scene_systemMenu_PauseMenu_show_inline__P284645(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24692,9 +23839,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P44893_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P274916_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P41923_mk(s); + s.tmp_1 = Math_max__P271946_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -24707,30 +23854,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 = 1086; s.pc = 3; return s.tmp_4; } + else { s.callLocIdx = 1087; 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 = 1087; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1088; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1088; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1089; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P54340.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P284645.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P54340_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P284645_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P54340, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P284645, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24743,7 +23890,7 @@ function scene_systemMenu_PauseMenu_show_inline__P54340_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P54352(s) { +function scene_systemMenu_PauseMenu_show_inline__P284657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24753,31 +23900,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P44893_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P274916_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P41923_mk(s); + s.tmp_1 = Math_max__P271946_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 = 1090; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1091; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1091; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1092; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P54352.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P284657.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P54352_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P284657_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P54352, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P284657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24788,7 +23935,7 @@ function scene_systemMenu_PauseMenu_show_inline__P54352_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P54361(s) { +function scene_systemMenu_PauseMenu_show_inline__P284666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24798,9 +23945,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P44893_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P274916_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P41924_mk(s); + s.tmp_1 = Math_min__P271947_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -24818,30 +23965,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 = 1093; s.pc = 3; return s.tmp_6; } + else { s.callLocIdx = 1094; 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 = 1094; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1095; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1095; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1096; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P54361.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P284666.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P54361_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P284666_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P54361, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P284666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24856,7 +24003,7 @@ function scene_systemMenu_PauseMenu_show_inline__P54361_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P54377(s) { +function scene_systemMenu_PauseMenu_show_inline__P284682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24866,9 +24013,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P44893_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P274916_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P41924_mk(s); + s.tmp_1 = Math_min__P271947_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -24879,23 +24026,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 1097; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1098; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1098; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1099; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P54377.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P284682.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P54377_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P284682_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P54377, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P284682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24908,7 +24055,7 @@ function scene_systemMenu_PauseMenu_show_inline__P54377_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P54389(s) { +function scene_systemMenu_PauseMenu_show_inline__P284694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24918,26 +24065,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P44892_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P274915_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1100; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1101; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P44894_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P274917_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1101; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1102; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P54389.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +scene_systemMenu_PauseMenu_show_inline__P284694.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function scene_systemMenu_PauseMenu_show_inline__P54389_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P284694_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P54389, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P284694, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24946,7 +24093,7 @@ function scene_systemMenu_PauseMenu_show_inline__P54389_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P44894(s) { +function scene_systemMenu_PauseMenu_drawText__P274917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24961,7 +24108,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C44889_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C274912_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -24973,11 +24120,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P43750_mk(s); - s.tmp_3.arg0 = globals.screen___43826; + s.tmp_3 = helpers_imageFillRect__P273773_mk(s); + s.tmp_3.arg0 = globals.screen___273849; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -24988,7 +24135,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 = 1114; s.pc = 5; return s.tmp_5; } + else { s.callLocIdx = 1115; s.pc = 5; return s.tmp_5; } } case 5: r0 = s.retval; @@ -24996,11 +24143,11 @@ switch (step) { r0 = (s.tmp_4 - 2); s.tmp_3.arg4 = r0; s.tmp_3.arg5 = 15; - s.callLocIdx = 1115; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1116; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P43783_mk(s); - s.tmp_0.arg0 = globals.screen___43826; + s.tmp_0 = helpers_imagePrintCenter__P273806_mk(s); + s.tmp_0.arg0 = globals.screen___273849; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -25010,7 +24157,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 = 1116; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 1117; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; @@ -25026,16 +24173,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 = 1117; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1118; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1118; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1119; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P43750_mk(s); - s.tmp_0.arg0 = globals.screen___43826; + s.tmp_0 = helpers_imageFillRect__P273773_mk(s); + s.tmp_0.arg0 = globals.screen___273849; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -25046,16 +24193,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 = 1119; s.pc = 10; return s.tmp_2; } + else { s.callLocIdx = 1120; 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___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -25066,7 +24213,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 = 1120; s.pc = 11; return s.tmp_6; } + else { s.callLocIdx = 1121; s.pc = 11; return s.tmp_6; } } case 11: r0 = s.retval; @@ -25076,11 +24223,11 @@ switch (step) { r0 = (s.tmp_3 + 6); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; - s.callLocIdx = 1121; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1122; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P43750_mk(s); - s.tmp_0.arg0 = globals.screen___43826; + s.tmp_0 = helpers_imageFillRect__P273773_mk(s); + s.tmp_0.arg0 = globals.screen___273849; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -25090,7 +24237,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 = 1122; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 1123; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -25104,12 +24251,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 = 1123; s.pc = 14; return s.tmp_2; } + else { s.callLocIdx = 1124; s.pc = 14; return s.tmp_2; } } case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -25120,7 +24267,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 = 1124; s.pc = 15; return s.tmp_6; } + else { s.callLocIdx = 1125; s.pc = 15; return s.tmp_6; } } case 15: r0 = s.retval; @@ -25139,7 +24286,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 = 1125; s.pc = 17; return s.tmp_9; } + else { s.callLocIdx = 1126; s.pc = 17; return s.tmp_9; } } case 17: r0 = s.retval; @@ -25150,7 +24297,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 = 1126; s.pc = 16; return s.tmp_8; } + else { s.callLocIdx = 1127; s.pc = 16; return s.tmp_8; } } case 16: r0 = s.retval; @@ -25158,11 +24305,11 @@ switch (step) { r0 = (s.tmp_7 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 1127; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1128; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P43783_mk(s); - s.tmp_0.arg0 = globals.screen___43826; + s.tmp_0 = helpers_imagePrintCenter__P273806_mk(s); + s.tmp_0.arg0 = globals.screen___273849; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -25172,12 +24319,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 = 1128; s.pc = 19; return s.tmp_1; + s.callLocIdx = 1129; 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 = 1128; s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1128; s.pc = 19; return s.tmp_1;; } - else { s.callLocIdx = 1128; 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 = 1129; s.pc = 19; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1129; s.pc = 19; return s.tmp_1;; } + else { s.callLocIdx = 1129; s.pc = 19; return s.tmp_1; } } case 19: r0 = s.retval; @@ -25191,7 +24338,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 = 1129; s.pc = 20; return s.tmp_5; } + else { s.callLocIdx = 1130; s.pc = 20; return s.tmp_5; } } case 20: r0 = s.retval; @@ -25208,12 +24355,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 = 1130; s.pc = 21; return s.tmp_6; } + else { s.callLocIdx = 1131; s.pc = 21; return s.tmp_6; } } case 21: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1131; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1132; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: @@ -25221,12 +24368,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P44894.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__P274917.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__P44894_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P274917_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P44894, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P274917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25245,7 +24392,7 @@ function scene_systemMenu_PauseMenu_drawText__P44894_mk(s) { -function helpers_imagePrintCenter__P43783(s) { +function helpers_imagePrintCenter__P273806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25255,8 +24402,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___54476 = undefined; - s.x___54482 = undefined; + s.w___284781 = undefined; + s.x___284787 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25271,9 +24418,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P43771_mk(s); + s.tmp_2 = image_getFontForText__P273794_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 94; s.pc = 3; return s.tmp_2; + s.callLocIdx = 95; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.arg4 = (r0); @@ -25289,46 +24436,46 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 95; s.pc = 4; return s.tmp_2; } + else { s.callLocIdx = 96; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___54476 = (r0); + s.w___284781 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___54476); + r0 = (s.tmp_1 - s.w___284781); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___54482 = (r0); - s.tmp_0 = helpers_imagePrint__P43784_mk(s); + s.x___284787 = (r0); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___54482; + s.tmp_0.arg2 = s.x___284787; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; s.tmp_0.arg6 = undefined; - s.callLocIdx = 96; s.pc = 5; return s.tmp_0; + s.callLocIdx = 97; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P43783.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__P273806.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__P43783_mk(s) { +function helpers_imagePrintCenter__P273806_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P43783, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P273806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___54476: undefined, - x___54482: undefined, + w___284781: undefined, + x___284787: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -25340,7 +24487,7 @@ function helpers_imagePrintCenter__P43783_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P44893(s) { +function scene_systemMenu_PauseMenu_setSelection__P274916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25356,7 +24503,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C44889_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C274912_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -25376,7 +24523,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__P44887_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P274910_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -25384,7 +24531,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 = 1111; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1112; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; case 3: @@ -25398,9 +24545,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C43983_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___43907; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C43983_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C274006_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___273930; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C274006_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: @@ -25415,7 +24562,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P44887_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P274910_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -25423,14 +24570,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 = 1112; s.pc = 12; return s.tmp_6; + s.callLocIdx = 1113; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P47040_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P277062_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1113; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1114; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 9: @@ -25438,12 +24585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P44893.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__P274916.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__P44893_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P274916_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P44893, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P274916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25462,7 +24609,7 @@ function scene_systemMenu_PauseMenu_setSelection__P44893_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P47040(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P277062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25472,13 +24619,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___54695 = undefined; + s.row___285000 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C44889_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C274912_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -25490,23 +24637,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 = 1134; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1135; 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___54695 = (r0); + s.row___285000 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___54695 === s.tmp_1); + r0 = (s.row___285000 === 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___54695 - 1); + r0 = (s.row___285000 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -25521,7 +24668,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___54695 > s.tmp_6); + r0 = (s.row___285000 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -25552,7 +24699,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 = 1135; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 1136; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; @@ -25566,7 +24713,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 = 1136; s.pc = 10; return s.tmp_7; } + else { s.callLocIdx = 1137; s.pc = 10; return s.tmp_7; } } case 10: r0 = s.retval; @@ -25581,12 +24728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P47040.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__P277062.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__P47040_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P277062_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P47040, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P277062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25598,7 +24745,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P47040_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___54695: undefined, + row___285000: undefined, arg0: undefined, } } @@ -25606,7 +24753,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P47040_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P44892(s) { +function scene_systemMenu_PauseMenu_onUpdate__P274915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25616,22 +24763,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___54498 = undefined; - s.i___54502 = undefined; - s.dt___54531 = undefined; + s.t___284803 = undefined; + s.i___284807 = undefined; + s.dt___284836 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C44889_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C274912_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___54498 = (r0); - s.i___54502 = (0); + s.t___284803 = (r0); + s.i___284807 = (0); case 1: - s.tmp_1 = r0 = s.i___54502; + s.tmp_1 = r0 = s.i___284807; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -25640,13 +24787,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__P44885_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P274908_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___54502); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___284807); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___54498; - s.tmp_11 = r0 = s.i___54502; + s.tmp_8 = r0 = s.t___284803; + s.tmp_11 = r0 = s.i___284807; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -25656,7 +24803,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 = 1104; s.pc = 11; return s.tmp_13; } + else { s.callLocIdx = 1105; s.pc = 11; return s.tmp_13; } } case 11: r0 = s.retval; @@ -25671,15 +24818,15 @@ switch (step) { s.tmp_6 = r0; r0 = (2 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 1105; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1106; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___54502 + 1); - s.i___54502 = (r0); + r0 = (s.i___284807 + 1); + s.i___284807 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P44793_mk(s); - s.callLocIdx = 1106; s.pc = 12; return s.tmp_1; + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 1107; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -25687,7 +24834,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___54531 = (r0); + s.dt___284836 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -25699,7 +24846,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___54531 * 100); + r0 = (s.dt___284836 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -25717,7 +24864,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___54531 * 100); + r0 = (s.dt___284836 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -25727,14 +24874,14 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P41921_mk(s); + s.tmp_2 = Math_abs__P271944_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 = 1108; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1109; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -25747,16 +24894,16 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P44583_mk(s); - s.tmp_1 = game_currentScene__P44793_mk(s); - s.callLocIdx = 1109; s.pc = 15; return s.tmp_1; + s.tmp_0 = scene_Camera_offsetY__P274606_mk(s); + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 1110; 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 = 1110; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1111; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 9: @@ -25764,12 +24911,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P44892.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__P274915.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__P44892_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P274915_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P44892, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P274915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25785,9 +24932,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P44892_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___54498: undefined, - i___54502: undefined, - dt___54531: undefined, + t___284803: undefined, + i___284807: undefined, + dt___284836: undefined, arg0: undefined, } } @@ -25795,7 +24942,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P44892_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P44885(s) { +function scene_systemMenu_MenuOption_setOffset__P274908(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25811,40 +24958,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C44881_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P44198_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C274904_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P274221_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 = 1047; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1048; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P44151_mk(s); + s.tmp_0 = Sprite_y__P274174_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P44150_mk(s); + s.tmp_1 = Sprite_y__P274173_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1048; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1049; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1049; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1050; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P44885.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__P274908.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__P44885_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P274908_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P44885, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P274908, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25856,7 +25003,7 @@ function scene_systemMenu_MenuOption_setOffset__P44885_mk(s) { -function Sprite_top__P44198(s) { +function Sprite_top__P274221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25866,22 +25013,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___54615 = undefined; + s.physics___284920 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 359; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 360; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___54615 = (r0); - s.tmp_0 = PhysicsEngine__C44305_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___54615; + s.physics___284920 = (r0); + s.tmp_0 = PhysicsEngine__C274328_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___284920; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -25892,7 +25039,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__C44305_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C274328_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: @@ -25901,18 +25048,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P44198.info = {"start":11687,"length":256,"line":421,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P274221.info = {"start":11687,"length":256,"line":421,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P44198_mk(s) { +function Sprite_top__P274221_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P44198, depth: s.depth + 1, + parent: s, fn: Sprite_top__P274221, 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___54615: undefined, + physics___284920: undefined, arg0: undefined, arg1: undefined, } } @@ -25921,7 +25068,7 @@ function Sprite_top__P44198_mk(s) { -function PhysicsEngine_moveSprite__P44309(s) { +function PhysicsEngine_moveSprite__P274332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25939,17 +25086,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C44305_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C274328_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P44309.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__P274332.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__P44309_mk(s) { +function PhysicsEngine_moveSprite__P274332_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P44309, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P274332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25961,7 +25108,7 @@ function PhysicsEngine_moveSprite__P44309_mk(s) { -function Sprite_top__P44197(s) { +function Sprite_top__P274220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25976,20 +25123,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44197.info = {"start":11544,"length":53,"line":416,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P44197.isGetter = true; +Sprite_top__P274220.info = {"start":11544,"length":53,"line":416,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P274220.isGetter = true; -function Sprite_top__P44197_mk(s) { +function Sprite_top__P274220_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P44197, depth: s.depth + 1, + parent: s, fn: Sprite_top__P274220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25999,7 +25146,7 @@ function Sprite_top__P44197_mk(s) { -function Sprite_y__P44151(s) { +function Sprite_y__P274174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26015,13 +25162,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P44198_mk(s); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P274221_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_height__P44192_mk(s); + s.tmp_4 = Sprite_height__P274215_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 310; s.pc = 2; return s.tmp_4; + s.callLocIdx = 311; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -26029,19 +25176,19 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 311; s.pc = 1; return s.tmp_0; + s.callLocIdx = 312; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_y__P44151.info = {"start":3081,"length":65,"line":126,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P274174.info = {"start":3081,"length":65,"line":126,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P44151_mk(s) { +function Sprite_y__P274174_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P44151, depth: s.depth + 1, + parent: s, fn: Sprite_y__P274174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26056,7 +25203,7 @@ function Sprite_y__P44151_mk(s) { -function Sprite_height__P44192(s) { +function Sprite_height__P274215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26071,20 +25218,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_height__P44192.info = {"start":10541,"length":61,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P44192.isGetter = true; +Sprite_height__P274215.info = {"start":10541,"length":61,"line":380,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P274215.isGetter = true; -function Sprite_height__P44192_mk(s) { +function Sprite_height__P274215_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P44192, depth: s.depth + 1, + parent: s, fn: Sprite_height__P274215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26094,7 +25241,7 @@ function Sprite_height__P44192_mk(s) { -function Math_abs__P41921(s) { +function Math_abs__P271944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26123,12 +25270,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P41921.info = {"start":16120,"length":77,"line":539,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P271944.info = {"start":16120,"length":77,"line":539,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P41921_mk(s) { +function Math_abs__P271944_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P41921, depth: s.depth + 1, + parent: s, fn: Math_abs__P271944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26139,7 +25286,7 @@ function Math_abs__P41921_mk(s) { -function scene_systemMenu_MenuOption_setState__P44887(s) { +function scene_systemMenu_MenuOption_setState__P274910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26155,7 +25302,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C44881_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C274904_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -26166,9 +25313,9 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P47039_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P277061_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1051; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1052; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -26176,12 +25323,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P44887.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__P274910.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__P44887_mk(s) { +function scene_systemMenu_MenuOption_setState__P274910_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P44887, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P274910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26193,7 +25340,7 @@ function scene_systemMenu_MenuOption_setState__P44887_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P47039(s) { +function scene_systemMenu_MenuOption_updateCard__P277061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26208,7 +25355,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C44881_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C274904_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -26231,7 +25378,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P44185_mk(s); + s.tmp_4 = Sprite_setImage__P274208_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -26243,17 +25390,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 = 1054; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 1055; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 1055; s.pc = 8; return s.tmp_4; + s.callLocIdx = 1056; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P44185_mk(s); + s.tmp_0 = Sprite_setImage__P274208_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -26265,17 +25412,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 = 1056; s.pc = 11; return s.tmp_1; } + else { s.callLocIdx = 1057; s.pc = 11; return s.tmp_1; } } case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1057; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1058; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P44185_mk(s); + s.tmp_0 = Sprite_setImage__P274208_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -26287,39 +25434,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 = 1058; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 1059; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1059; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1060; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P44149_mk(s); + s.tmp_0 = Sprite_x__P274172_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P44148_mk(s); + s.tmp_1 = Sprite_x__P274171_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1060; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1061; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1061; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1062; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P44151_mk(s); + s.tmp_0 = Sprite_y__P274174_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P44150_mk(s); + s.tmp_1 = Sprite_y__P274173_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1062; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1063; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1063; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1064; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 7: @@ -26327,12 +25474,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P47039.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__P277061.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__P47039_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P277061_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P47039, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P277061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26347,7 +25494,7 @@ function scene_systemMenu_MenuOption_updateCard__P47039_mk(s) { -function Sprite_x__P44149(s) { +function Sprite_x__P274172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26363,13 +25510,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P44194_mk(s); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P274217_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_width__P44191_mk(s); + s.tmp_4 = Sprite_width__P274214_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 305; s.pc = 2; return s.tmp_4; + s.callLocIdx = 306; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -26377,19 +25524,19 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 306; s.pc = 1; return s.tmp_0; + s.callLocIdx = 307; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_x__P44149.info = {"start":2724,"length":65,"line":115,"column":4,"endLine":117,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P274172.info = {"start":2724,"length":65,"line":115,"column":4,"endLine":117,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P44149_mk(s) { +function Sprite_x__P274172_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P44149, depth: s.depth + 1, + parent: s, fn: Sprite_x__P274172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26404,7 +25551,7 @@ function Sprite_x__P44149_mk(s) { -function Sprite_left__P44194(s) { +function Sprite_left__P274217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26414,22 +25561,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___55201 = undefined; + s.physics___285506 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 351; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 352; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___55201 = (r0); - s.tmp_0 = PhysicsEngine__C44305_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___55201; + s.physics___285506 = (r0); + s.tmp_0 = PhysicsEngine__C274328_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___285506; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -26440,7 +25587,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__C44305_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C274328_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: @@ -26449,18 +25596,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P44194.info = {"start":10853,"length":257,"line":391,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P274217.info = {"start":10853,"length":257,"line":391,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P44194_mk(s) { +function Sprite_left__P274217_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P44194, depth: s.depth + 1, + parent: s, fn: Sprite_left__P274217, 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___55201: undefined, + physics___285506: undefined, arg0: undefined, arg1: undefined, } } @@ -26469,7 +25616,7 @@ function Sprite_left__P44194_mk(s) { -function Sprite_left__P44193(s) { +function Sprite_left__P274216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26484,20 +25631,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44193.info = {"start":10709,"length":53,"line":386,"column":4,"endLine":388,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P44193.isGetter = true; +Sprite_left__P274216.info = {"start":10709,"length":53,"line":386,"column":4,"endLine":388,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P274216.isGetter = true; -function Sprite_left__P44193_mk(s) { +function Sprite_left__P274216_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P44193, depth: s.depth + 1, + parent: s, fn: Sprite_left__P274216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26507,7 +25654,7 @@ function Sprite_left__P44193_mk(s) { -function Sprite_width__P44191(s) { +function Sprite_width__P274214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26522,20 +25669,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 256); return leaveAccessor(s, r0) default: oops() } } } -Sprite_width__P44191.info = {"start":10374,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P44191.isGetter = true; +Sprite_width__P274214.info = {"start":10374,"length":59,"line":375,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P274214.isGetter = true; -function Sprite_width__P44191_mk(s) { +function Sprite_width__P274214_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P44191, depth: s.depth + 1, + parent: s, fn: Sprite_width__P274214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26545,7 +25692,7 @@ function Sprite_width__P44191_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P44886(s) { +function scene_systemMenu_MenuOption_setTheme__P274909(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26561,23 +25708,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C44881_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C274904_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P47039_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P277061_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1050; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1051; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P44886.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__P274909.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__P44886_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P274909_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P44886, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P274909, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26588,7 +25735,7 @@ function scene_systemMenu_MenuOption_setTheme__P44886_mk(s) { -function scene_systemMenu_MenuOption_position__P44884(s) { +function scene_systemMenu_MenuOption_position__P274907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26605,58 +25752,58 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C44881_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C274904_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P44194_mk(s); + s.tmp_0 = Sprite_left__P274217_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1041; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1042; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P44198_mk(s); + s.tmp_0 = Sprite_top__P274221_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1042; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1043; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P44149_mk(s); + s.tmp_0 = Sprite_x__P274172_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P44148_mk(s); + s.tmp_1 = Sprite_x__P274171_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1043; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1044; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1044; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1045; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P44151_mk(s); + s.tmp_0 = Sprite_y__P274174_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P44150_mk(s); + s.tmp_1 = Sprite_y__P274173_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1045; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1046; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1046; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1047; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P44884.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__P274907.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__P44884_mk(s) { +function scene_systemMenu_MenuOption_position__P274907_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P44884, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P274907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26669,7 +25816,7 @@ function scene_systemMenu_MenuOption_position__P44884_mk(s) { -function scene_systemMenu_MenuOption_show__P44883(s) { +function scene_systemMenu_MenuOption_show__P274906(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26684,7 +25831,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C44881_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C274904_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -26698,21 +25845,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 = 1036; s.pc = 3; return s.tmp_1; } + else { s.callLocIdx = 1037; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___44905; + r0 = globals.CARD_NORMAL___274928; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P44069_mk(s); + s.tmp_5 = sprites_create__P274092_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; - s.callLocIdx = 1037; s.pc = 4; return s.tmp_5; + s.callLocIdx = 1038; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -26727,16 +25874,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 = 1038; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 1039; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P44069_mk(s); + s.tmp_2 = sprites_create__P274092_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1039; s.pc = 6; return s.tmp_2; + s.callLocIdx = 1040; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -26751,7 +25898,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 = 1040; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 1041; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -26760,12 +25907,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P44883.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__P274906.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__P44883_mk(s) { +function scene_systemMenu_MenuOption_show__P274906_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P44883, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P274906, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26780,7 +25927,7 @@ function scene_systemMenu_MenuOption_show__P44883_mk(s) { -function game_onShade__P44811(s) { +function game_onShade__P274834(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26794,9 +25941,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P46791_mk(s); + s.tmp_0 = game_init__P276813_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1025; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1026; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -26808,11 +25955,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P44599_mk(s); + s.tmp_2 = scene_createRenderable__P274622_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 1026; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1027; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -26820,12 +25967,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P44811.info = {"start":15927,"length":145,"line":474,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P274834.info = {"start":15927,"length":145,"line":474,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P44811_mk(s) { +function game_onShade__P274834_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P44811, depth: s.depth + 1, + parent: s, fn: game_onShade__P274834, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26837,7 +25984,7 @@ function game_onShade__P44811_mk(s) { -function scene_createRenderable__P44599(s) { +function scene_createRenderable__P274622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26847,14 +25994,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___54647 = undefined; + s.renderable___284952 = 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__C44594_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C274617_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -26862,35 +26009,35 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P54653; + r0 = renderable_inline__P284958; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P44595_mk(s); + s.tmp_3 = scene_Renderable_constructor__P274618_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 = 903; s.pc = 3; return s.tmp_3; + s.callLocIdx = 904; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___54647 = (s.tmp_0); - r0 = s.renderable___54647; + s.renderable___284952 = (s.tmp_0); + r0 = s.renderable___284952; return leave(s, r0) default: oops() } } } -scene_createRenderable__P44599.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__P274622.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__P44599_mk(s) { +function scene_createRenderable__P274622_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P44599, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P274622, 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___54647: undefined, + renderable___284952: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26900,7 +26047,7 @@ function scene_createRenderable__P44599_mk(s) { -function renderable_inline__P54653(s) { +function renderable_inline__P284958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26914,12 +26061,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P54653.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P284958.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function renderable_inline__P54653_mk(s) { +function renderable_inline__P284958_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P54653, depth: s.depth + 1, + parent: s, fn: renderable_inline__P284958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -26927,7 +26074,7 @@ function renderable_inline__P54653_mk(s) { -function scene_Renderable_constructor__P44595(s) { +function scene_Renderable_constructor__P274618(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26945,25 +26092,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C44594_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C274617_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P43890_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P273913_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 900; s.pc = 1; return s.tmp_0; + s.callLocIdx = 901; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P44595.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__P274618.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__P44595_mk(s) { +function scene_Renderable_constructor__P274618_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P44595, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P274618, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26976,7 +26123,7 @@ function scene_Renderable_constructor__P44595_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P44890(s) { +function scene_systemMenu_PauseMenu_constructor__P274913(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26993,7 +26140,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C44889_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C274912_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -27001,13 +26148,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P44898_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___44905); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P274921_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___274928); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = undefined; - s.callLocIdx = 1064; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1065; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -27021,12 +26168,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P44890.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__P274913.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__P44890_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P274913_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P44890, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P274913, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27040,7 +26187,7 @@ function scene_systemMenu_PauseMenu_constructor__P44890_mk(s) { -function scene_systemMenu_buildMenuTheme__P44898(s) { +function scene_systemMenu_buildMenuTheme__P274921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27050,7 +26197,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___55877 = undefined; + s.cardsPerRow___286182 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27058,19 +26205,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); 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___55877 = (r0); + s.cardsPerRow___286182 = (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___43769; + r0 = globals.font8___273792; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -27081,9 +26228,9 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P43772_mk(s); + s.tmp_1 = image_doubledFont__P273795_mk(s); s.tmp_1.arg0 = s.arg2; - s.callLocIdx = 1174; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1175; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 4: @@ -27094,12 +26241,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___55877); - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___286182); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_3 = r0; - r0 = (s.cardsPerRow___55877 * s.arg0); + r0 = (s.cardsPerRow___286182 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___55877 - 1); + r0 = (s.cardsPerRow___286182 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -27120,7 +26267,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 = 1175; s.pc = 6; return s.tmp_11; } + else { s.callLocIdx = 1176; s.pc = 6; return s.tmp_11; } } case 6: r0 = s.retval; @@ -27130,7 +26277,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___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -27140,7 +26287,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 = 1176; s.pc = 7; return s.tmp_16; } + else { s.callLocIdx = 1177; s.pc = 7; return s.tmp_16; } } case 7: r0 = s.retval; @@ -27151,19 +26298,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___44906); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___44907); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___44905); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___274929); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___274930); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___274928); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P44898.info = {"start":11654,"length":906,"line":356,"column":4,"endLine":375,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} +scene_systemMenu_buildMenuTheme__P274921.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__P44898_mk(s) { +function scene_systemMenu_buildMenuTheme__P274921_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P44898, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P274921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27182,7 +26329,7 @@ function scene_systemMenu_buildMenuTheme__P44898_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___55877: undefined, + cardsPerRow___286182: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27193,7 +26340,7 @@ function scene_systemMenu_buildMenuTheme__P44898_mk(s) { -function image_doubledFont__P43772(s) { +function image_doubledFont__P273795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27207,21 +26354,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P43773_mk(s); + s.tmp_0 = image_scaledFont__P273796_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; - s.callLocIdx = 88; s.pc = 1; return s.tmp_0; + s.callLocIdx = 89; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -image_doubledFont__P43772.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__P273795.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__P43772_mk(s) { +function image_doubledFont__P273795_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P43772, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P273795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27231,7 +26378,7 @@ function image_doubledFont__P43772_mk(s) { -function image_scaledFont__P43773(s) { +function image_scaledFont__P273796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27266,7 +26413,7 @@ switch (step) { 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 = 89; s.pc = 6; return s.tmp_4; } + else { s.callLocIdx = 90; s.pc = 6; return s.tmp_4; } } case 6: r0 = s.retval; @@ -27282,7 +26429,7 @@ switch (step) { 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 = 90; s.pc = 7; return s.tmp_7; } + else { s.callLocIdx = 91; s.pc = 7; return s.tmp_7; } } case 7: r0 = s.retval; @@ -27298,7 +26445,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["data"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["data"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 91; s.pc = 8; return s.tmp_9; } + else { s.callLocIdx = 92; s.pc = 8; return s.tmp_9; } } case 8: r0 = s.retval; @@ -27312,7 +26459,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["multiplier"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["multiplier"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 92; s.pc = 9; return s.tmp_11; } + else { s.callLocIdx = 93; s.pc = 9; return s.tmp_11; } } case 9: r0 = s.retval; @@ -27328,7 +26475,7 @@ switch (step) { s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["multiplier"]; if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["multiplier"]; } else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.callLocIdx = 93; s.pc = 10; return s.tmp_14; } + else { s.callLocIdx = 94; s.pc = 10; return s.tmp_14; } } case 10: r0 = s.retval; @@ -27346,12 +26493,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P43773.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__P273796.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__P43773_mk(s) { +function image_scaledFont__P273796_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P43773, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P273796, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27377,7 +26524,7 @@ function image_scaledFont__P43773_mk(s) { -function controller_Button_onEvent__P43990(s) { +function controller_Button_onEvent__P274013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27387,7 +26534,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.eventHandler___55959 = undefined; + s.eventHandler___286264 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27395,28 +26542,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); - s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P46572_mk(s); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); + s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P276594_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 202; s.pc = 1; return s.tmp_0; + s.callLocIdx = 203; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.eventHandler___55959 = (r0); - r0 = (s.eventHandler___55959).fields["callback"] = (s.arg2); + s.eventHandler___286264 = (r0); + r0 = (s.eventHandler___286264).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P43990.info = {"start":3784,"length":188,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} +controller_Button_onEvent__P274013.info = {"start":3784,"length":188,"line":123,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} -function controller_Button_onEvent__P43990_mk(s) { +function controller_Button_onEvent__P274013_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P43990, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P274013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - eventHandler___55959: undefined, + eventHandler___286264: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -27426,7 +26573,7 @@ function controller_Button_onEvent__P43990_mk(s) { -function controller_Button_getOrCreateHandlerForEvent__P46572(s) { +function controller_Button_getOrCreateHandlerForEvent__P276594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27436,21 +26583,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___55980 = undefined; - s.eventHandler___55989 = undefined; - s.unnamed260___U2 = undefined; - s.unnamed261___U3 = undefined; - s.newHandler___56005 = undefined; + s.handlerState___286285 = undefined; + s.eventHandler___286294 = undefined; + s.unnamed2128___U2 = undefined; + s.unnamed2129___U3 = undefined; + s.newHandler___286310 = 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__C43983_VT)) failedCast(r0); - s.tmp_3 = controller_Button_handlerState__P46567_mk(s); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); + s.tmp_3 = controller_Button_handlerState__P276589_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 212; s.pc = 10; return s.tmp_3; + s.callLocIdx = 213; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; @@ -27460,17 +26607,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C43979_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C274002_VT); s.tmp_4 = r0; - s.tmp_5 = controller_ButtonEventHandlerState_constructor__P43980_mk(s); + s.tmp_5 = controller_ButtonEventHandlerState_constructor__P274003_mk(s); s.tmp_5.arg0 = s.tmp_4; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; - s.callLocIdx = 214; s.pc = 11; return s.tmp_5; + s.callLocIdx = 215; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; - s.tmp_7 = game_currentScene__P44793_mk(s); - s.callLocIdx = 213; s.pc = 12; return s.tmp_7; + s.tmp_7 = game_currentScene__P274816_mk(s); + s.callLocIdx = 214; s.pc = 12; return s.tmp_7; case 12: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; @@ -27478,13 +26625,13 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_6, s.tmp_4); case 1: case 2: - s.tmp_0 = controller_Button_handlerState__P46567_mk(s); + s.tmp_0 = controller_Button_handlerState__P276589_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 215; s.pc = 13; return s.tmp_0; + s.callLocIdx = 216; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.handlerState___55980 = (r0); - r0 = s.handlerState___55980.fields["user"]; + s.handlerState___286285 = (r0); + r0 = s.handlerState___286285.fields["user"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -27492,76 +26639,76 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = r0 = s.handlerState___55980; + s.tmp_3 = r0 = s.handlerState___286285; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["user"] = (s.tmp_4); case 3: case 4: - s.eventHandler___55989 = (undefined); - r0 = s.handlerState___55980.fields["user"]; - s.unnamed260___U2 = (r0); - s.unnamed261___U3 = (0); + s.eventHandler___286294 = (undefined); + r0 = s.handlerState___286285.fields["user"]; + s.unnamed2128___U2 = (r0); + s.unnamed2129___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed261___U3; - r0 = pxsim_Array__length(s.unnamed260___U2); + s.tmp_0 = r0 = s.unnamed2129___U3; + r0 = pxsim_Array__length(s.unnamed2128___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed260___U2, s.unnamed261___U3); - s.eventHandler___55989 = (r0); - r0 = s.eventHandler___55989.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed2128___U2, s.unnamed2129___U3); + s.eventHandler___286294 = (r0); + r0 = s.eventHandler___286294.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } - r0 = s.eventHandler___55989; + r0 = s.eventHandler___286294; { step = 9; continue; } case 6: case 7: - r0 = (s.unnamed261___U3 + 1); - s.unnamed261___U3 = (r0); + r0 = (s.unnamed2129___U3 + 1); + s.unnamed2129___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed260___U2 = (undefined); - r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P56002); + s.unnamed2128___U2 = (undefined); + r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P286307); s.tmp_4 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.arg1); - s.tmp_5 = control_onEvent__P42184_mk(s); + s.tmp_5 = control_onEvent__P272207_mk(s); s.tmp_5.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; s.tmp_5.arg2 = s.tmp_4; s.tmp_5.arg3 = 16; - s.callLocIdx = 217; s.pc = 14; return s.tmp_5; + s.callLocIdx = 218; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C43977_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C274000_VT); s.tmp_0 = r0; - s.tmp_1 = controller_ButtonHandler_constructor__P43978_mk(s); + s.tmp_1 = controller_ButtonHandler_constructor__P274001_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = undefined; - s.callLocIdx = 218; s.pc = 15; return s.tmp_1; + s.callLocIdx = 219; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.newHandler___56005 = (s.tmp_0); - r0 = s.handlerState___55980.fields["user"]; + s.newHandler___286310 = (s.tmp_0); + r0 = s.handlerState___286285.fields["user"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newHandler___56005); - r0 = s.newHandler___56005; + r0 = pxsim_Array__push(s.tmp_0, s.newHandler___286310); + r0 = s.newHandler___286310; case 9: return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent__P46572.info = {"start":8550,"length":829,"line":250,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"getOrCreateHandlerForEvent","argumentNames":["this","event"]} +controller_Button_getOrCreateHandlerForEvent__P276594.info = {"start":8550,"length":829,"line":250,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"getOrCreateHandlerForEvent","argumentNames":["this","event"]} -function controller_Button_getOrCreateHandlerForEvent__P46572_mk(s) { +function controller_Button_getOrCreateHandlerForEvent__P276594_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P46572, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P276594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27571,11 +26718,11 @@ function controller_Button_getOrCreateHandlerForEvent__P46572_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - handlerState___55980: undefined, - eventHandler___55989: undefined, - unnamed260___U2: undefined, - unnamed261___U3: undefined, - newHandler___56005: undefined, + handlerState___286285: undefined, + eventHandler___286294: undefined, + unnamed2128___U2: undefined, + unnamed2129___U3: undefined, + newHandler___286310: undefined, arg0: undefined, arg1: undefined, } } @@ -27584,7 +26731,7 @@ function controller_Button_getOrCreateHandlerForEvent__P46572_mk(s) { -function controller_Button_getOrCreateHandlerForEvent_inline__P56002(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P286307(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27594,22 +26741,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_runButtonEvents__P46571_mk(s); + s.tmp_0 = controller_Button_runButtonEvents__P276593_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; - s.callLocIdx = 216; s.pc = 1; return s.tmp_0; + s.callLocIdx = 217; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent_inline__P56002.info = {"start":9186,"length":33,"line":265,"column":44,"endLine":265,"endColumn":77,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_getOrCreateHandlerForEvent_inline__P286307.info = {"start":9186,"length":33,"line":265,"column":44,"endLine":265,"endColumn":77,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_getOrCreateHandlerForEvent_inline__P56002_mk(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P286307_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P56002, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P286307, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -27618,7 +26765,7 @@ function controller_Button_getOrCreateHandlerForEvent_inline__P56002_mk(s) { -function controller_Button_runButtonEvents__P46571(s) { +function controller_Button_runButtonEvents__P276593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27628,25 +26775,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___56019 = undefined; - s.userHandler___56023 = undefined; - s.eventHandler___56034 = undefined; - s.unnamed258___U3 = undefined; - s.unnamed259___U4 = undefined; + s.handlerState___286324 = undefined; + s.userHandler___286328 = undefined; + s.eventHandler___286339 = undefined; + s.unnamed2126___U3 = undefined; + s.unnamed2127___U4 = 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__C43983_VT)) failedCast(r0); - s.tmp_0 = controller_Button_handlerState__P46567_mk(s); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); + s.tmp_0 = controller_Button_handlerState__P276589_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 208; s.pc = 14; return s.tmp_0; + s.callLocIdx = 209; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.handlerState___56019 = (r0); - r0 = pxsim_numops_toBoolDecr(s.handlerState___56019); + s.handlerState___286324 = (r0); + r0 = pxsim_numops_toBoolDecr(s.handlerState___286324); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -27655,49 +26802,49 @@ switch (step) { { step = 13; continue; } case 1: case 2: - s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P46572_mk(s); + s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P276594_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 209; s.pc = 15; return s.tmp_2; + s.callLocIdx = 210; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.userHandler___56023 = (r0); - r0 = s.userHandler___56023.fields["callback"]; + s.userHandler___286328 = (r0); + r0 = s.userHandler___286328.fields["callback"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = if_callback_1_mk(s); - s.tmp_1.arg0 = s.userHandler___56023; + s.tmp_1.arg0 = s.userHandler___286328; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "callback"), 1); - s.callLocIdx = 210; s.pc = 16; return s.tmp_1; + s.callLocIdx = 211; s.pc = 16; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["callback"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["callback"], 1); s.callLocIdx = 210; s.pc = 16; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 210; s.pc = 16; return s.tmp_1;; } - else { s.callLocIdx = 210; s.pc = 16; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["callback"], 1); s.callLocIdx = 211; s.pc = 16; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 211; s.pc = 16; return s.tmp_1;; } + else { s.callLocIdx = 211; s.pc = 16; return s.tmp_1; } } case 16: r0 = s.retval; case 3: case 4: - r0 = s.handlerState___56019.fields["system"]; + r0 = s.handlerState___286324.fields["system"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.eventHandler___56034 = (undefined); - r0 = s.handlerState___56019.fields["system"]; - s.unnamed258___U3 = (r0); - s.unnamed259___U4 = (0); + s.eventHandler___286339 = (undefined); + r0 = s.handlerState___286324.fields["system"]; + s.unnamed2126___U3 = (r0); + s.unnamed2127___U4 = (0); case 5: - s.tmp_0 = r0 = s.unnamed259___U4; - r0 = pxsim_Array__length(s.unnamed258___U3); + s.tmp_0 = r0 = s.unnamed2127___U4; + r0 = pxsim_Array__length(s.unnamed2126___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed258___U3, s.unnamed259___U4); - s.eventHandler___56034 = (r0); - r0 = s.eventHandler___56034.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed2126___U3, s.unnamed2127___U4); + s.eventHandler___286339 = (r0); + r0 = s.eventHandler___286339.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; @@ -27706,32 +26853,32 @@ switch (step) { r0 = s.tmp_2; { step = 7; continue; } case 6: - r0 = s.eventHandler___56034.fields["callback"]; + r0 = s.eventHandler___286339.fields["callback"]; case 7: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 8; continue; } s.tmp_5 = if_callback_1_mk(s); - s.tmp_5.arg0 = s.eventHandler___56034; + s.tmp_5.arg0 = s.eventHandler___286339; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "callback"), 1); - s.callLocIdx = 211; s.pc = 17; return s.tmp_5; + s.callLocIdx = 212; s.pc = 17; return s.tmp_5; } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["callback"]; - if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["callback"], 1); s.callLocIdx = 211; s.pc = 17; return s.tmp_5; } - else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 211; s.pc = 17; return s.tmp_5;; } - else { s.callLocIdx = 211; s.pc = 17; return s.tmp_5; } + if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["callback"], 1); s.callLocIdx = 212; s.pc = 17; return s.tmp_5; } + else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 212; s.pc = 17; return s.tmp_5;; } + else { s.callLocIdx = 212; s.pc = 17; return s.tmp_5; } } case 17: r0 = s.retval; case 8: case 9: - r0 = (s.unnamed259___U4 + 1); - s.unnamed259___U4 = (r0); + r0 = (s.unnamed2127___U4 + 1); + s.unnamed2127___U4 = (r0); { step = 5; continue; } case 10: - s.unnamed258___U3 = (undefined); + s.unnamed2126___U3 = (undefined); case 11: case 12: case 13: @@ -27739,12 +26886,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_runButtonEvents__P46571.info = {"start":8005,"length":535,"line":236,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"runButtonEvents","argumentNames":["this","event"]} +controller_Button_runButtonEvents__P276593.info = {"start":8005,"length":535,"line":236,"column":8,"endLine":248,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"runButtonEvents","argumentNames":["this","event"]} -function controller_Button_runButtonEvents__P46571_mk(s) { +function controller_Button_runButtonEvents__P276593_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_runButtonEvents__P46571, depth: s.depth + 1, + parent: s, fn: controller_Button_runButtonEvents__P276593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27752,11 +26899,11 @@ function controller_Button_runButtonEvents__P46571_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - handlerState___56019: undefined, - userHandler___56023: undefined, - eventHandler___56034: undefined, - unnamed258___U3: undefined, - unnamed259___U4: undefined, + handlerState___286324: undefined, + userHandler___286328: undefined, + eventHandler___286339: undefined, + unnamed2126___U3: undefined, + unnamed2127___U4: undefined, arg0: undefined, arg1: undefined, } } @@ -27765,7 +26912,7 @@ function controller_Button_runButtonEvents__P46571_mk(s) { -function controller_Button_handlerState__P46567(s) { +function controller_Button_handlerState__P276589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27775,32 +26922,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___56050 = undefined; - s.unnamed256___U1 = undefined; - s.unnamed257___U2 = undefined; + s.state___286355 = undefined; + s.unnamed2124___U1 = undefined; + s.unnamed2125___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); - s.state___56050 = (undefined); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 198; s.pc = 6; return s.tmp_0; + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); + s.state___286355 = (undefined); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 199; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; - s.unnamed256___U1 = (r0); - s.unnamed257___U2 = (0); + s.unnamed2124___U1 = (r0); + s.unnamed2125___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed257___U2; - r0 = pxsim_Array__length(s.unnamed256___U1); + s.tmp_0 = r0 = s.unnamed2125___U2; + r0 = pxsim_Array__length(s.unnamed2124___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed256___U1, s.unnamed257___U2); - s.state___56050 = (r0); - r0 = s.state___56050.fields["id"]; + r0 = pxsim_Array__getAt(s.unnamed2124___U1, s.unnamed2125___U2); + s.state___286355 = (r0); + r0 = s.state___286355.fields["id"]; s.tmp_3 = r0; r0 = s.arg0.fields["id"]; s.tmp_4 = r0; @@ -27808,36 +26955,36 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.state___56050; + r0 = s.state___286355; { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed257___U2 + 1); - s.unnamed257___U2 = (r0); + r0 = (s.unnamed2125___U2 + 1); + s.unnamed2125___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed256___U1 = (undefined); + s.unnamed2124___U1 = (undefined); r0 = undefined; case 5: return leaveAccessor(s, r0) default: oops() } } } -controller_Button_handlerState__P46567.info = {"start":1644,"length":240,"line":66,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"handlerState","argumentNames":["this"]} -controller_Button_handlerState__P46567.isGetter = true; +controller_Button_handlerState__P276589.info = {"start":1644,"length":240,"line":66,"column":8,"endLine":71,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"handlerState","argumentNames":["this"]} +controller_Button_handlerState__P276589.isGetter = true; -function controller_Button_handlerState__P46567_mk(s) { +function controller_Button_handlerState__P276589_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_handlerState__P46567, depth: s.depth + 1, + parent: s, fn: controller_Button_handlerState__P276589, 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, - state___56050: undefined, - unnamed256___U1: undefined, - unnamed257___U2: undefined, + state___286355: undefined, + unnamed2124___U1: undefined, + unnamed2125___U2: undefined, arg0: undefined, } } @@ -27845,7 +26992,7 @@ function controller_Button_handlerState__P46567_mk(s) { -function controller_ButtonEventHandlerState_constructor__P43980(s) { +function controller_ButtonEventHandlerState_constructor__P274003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27861,18 +27008,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonEventHandlerState__C43979_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonEventHandlerState__C274002_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonEventHandlerState_constructor__P43980.info = {"start":1122,"length":33,"line":48,"column":8,"endLine":48,"endColumn":41,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id"]} +controller_ButtonEventHandlerState_constructor__P274003.info = {"start":1122,"length":33,"line":48,"column":8,"endLine":48,"endColumn":41,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id"]} -function controller_ButtonEventHandlerState_constructor__P43980_mk(s) { +function controller_ButtonEventHandlerState_constructor__P274003_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonEventHandlerState_constructor__P43980, depth: s.depth + 1, + parent: s, fn: controller_ButtonEventHandlerState_constructor__P274003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27882,7 +27029,7 @@ function controller_ButtonEventHandlerState_constructor__P43980_mk(s) { -function controller_ButtonHandler_constructor__P43978(s) { +function controller_ButtonHandler_constructor__P274001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27899,19 +27046,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonHandler__C43977_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonHandler__C274000_VT)) failedCast(r0); r0 = (s.arg0).fields["event"] = (s.arg1); r0 = (s.arg0).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonHandler_constructor__P43978.info = {"start":997,"length":66,"line":44,"column":8,"endLine":44,"endColumn":74,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","event","callback"]} +controller_ButtonHandler_constructor__P274001.info = {"start":997,"length":66,"line":44,"column":8,"endLine":44,"endColumn":74,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","event","callback"]} -function controller_ButtonHandler_constructor__P43978_mk(s) { +function controller_ButtonHandler_constructor__P274001_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonHandler_constructor__P43978, depth: s.depth + 1, + parent: s, fn: controller_ButtonHandler_constructor__P274001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27922,7 +27069,7 @@ function controller_ButtonHandler_constructor__P43978_mk(s) { -function scene_systemMenu_initScreen__P47052(s) { +function scene_systemMenu_initScreen__P277074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27932,21 +27079,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___56062 = undefined; - s.tmp_0 = settings_readNumber__P43862_mk(s); + s.brightness___286367 = undefined; + s.tmp_0 = settings_readNumber__P273885_mk(s); s.tmp_0.arg0 = "#brightness"; - s.callLocIdx = 1183; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1184; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___56062 = (r0); - r0 = (s.brightness___56062 !== undefined); + s.brightness___286367 = (r0); + r0 = (s.brightness___286367 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P43759_mk(s); - s.tmp_1.arg0 = globals.screen___43826; - s.tmp_1.arg1 = s.brightness___56062; - s.callLocIdx = 1184; s.pc = 4; return s.tmp_1; + s.tmp_1 = helpers_setScreenBrightness__P273782_mk(s); + s.tmp_1.arg0 = globals.screen___273849; + s.tmp_1.arg1 = s.brightness___286367; + s.callLocIdx = 1185; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -27955,23 +27102,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P47052.info = {"start":13388,"length":175,"line":405,"column":4,"endLine":409,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initScreen","argumentNames":[]} +scene_systemMenu_initScreen__P277074.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__P47052_mk(s) { +function scene_systemMenu_initScreen__P277074_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P47052, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P277074, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___56062: undefined, + brightness___286367: undefined, } } -function settings_readNumber__P43862(s) { +function settings_readNumber__P273885(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27981,15 +27128,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___56073 = undefined; - s.nums___56080 = undefined; + s.buf___286378 = undefined; + s.nums___286385 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___56073 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___56073); + s.buf___286378 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___286378); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -27999,20 +27146,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P41976_mk(s); - s.tmp_2.arg0 = s.buf___56073; + s.tmp_2 = msgpack_unpackNumberArray__P271999_mk(s); + s.tmp_2.arg0 = s.buf___286378; s.tmp_2.arg1 = 0; - s.callLocIdx = 128; s.pc = 8; return s.tmp_2; + s.callLocIdx = 129; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___56080 = (r0); - s.tmp_0 = r0 = s.nums___56080; + s.nums___286385 = (r0); + s.tmp_0 = r0 = s.nums___286385; 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___56080); + r0 = pxsim_Array__length(s.nums___286385); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -28020,7 +27167,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___56080, 0); + r0 = pxsim_Array__getAt(s.nums___286385, 0); { step = 7; continue; } case 4: case 5: @@ -28032,18 +27179,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P43862.info = {"start":3283,"length":313,"line":131,"column":4,"endLine":141,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} +settings_readNumber__P273885.info = {"start":3283,"length":313,"line":131,"column":4,"endLine":141,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} -function settings_readNumber__P43862_mk(s) { +function settings_readNumber__P273885_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P43862, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P273885, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___56073: undefined, - nums___56080: undefined, + buf___286378: undefined, + nums___286385: undefined, arg0: undefined, } } @@ -28051,7 +27198,7 @@ function settings_readNumber__P43862_mk(s) { -function settings_readBuffer__P43859(s) { +function settings_readBuffer__P273882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28069,12 +27216,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P43859.info = {"start":2694,"length":72,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} +settings_readBuffer__P273882.info = {"start":2694,"length":72,"line":103,"column":4,"endLine":105,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} -function settings_readBuffer__P43859_mk(s) { +function settings_readBuffer__P273882_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P43859, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P273882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28083,7 +27230,7 @@ function settings_readBuffer__P43859_mk(s) { -function msgpack_unpackNumberArray__P41976(s) { +function msgpack_unpackNumberArray__P271999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28093,16 +27240,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___56093 = undefined; - s.fmt___56100 = undefined; - s.v___56109 = undefined; + s.res___286398 = undefined; + s.fmt___286405 = undefined; + s.v___286414 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___56093 = (r0); + s.res___286398 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -28114,14 +27261,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P46219_mk(s); + s.tmp_4 = msgpack_tagFormat__P276241_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; + s.callLocIdx = 20; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___56100 = (r0); - r0 = (s.fmt___56100 === null); + s.fmt___286405 = (r0); + r0 = (s.fmt___286405 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -28129,21 +27276,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___56109 = (r0); - r0 = (-31 <= s.v___56109); + s.v___286414 = (r0); + r0 = (-31 <= s.v___286414); 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___56109 <= 127); + r0 = (s.v___286414 <= 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___56093, s.v___56109); + r0 = pxsim_Array__push(s.res___286398, s.v___286414); { step = 5; continue; } case 4: r0 = null; @@ -28151,14 +27298,14 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___56093; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___56100, s.arg1); + s.tmp_0 = r0 = s.res___286398; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___286405, 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__P41968_mk(s); - s.tmp_2.arg0 = s.fmt___56100; - s.callLocIdx = 20; s.pc = 13; return s.tmp_2; + s.tmp_2 = pins_sizeOf__P271991_mk(s); + s.tmp_2.arg0 = s.fmt___286405; + s.callLocIdx = 21; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -28178,26 +27325,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___56093; + r0 = s.res___286398; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P41976.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__P271999.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__P41976_mk(s) { +function msgpack_unpackNumberArray__P271999_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P41976, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P271999, 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___56093: undefined, - fmt___56100: undefined, - v___56109: undefined, + res___286398: undefined, + fmt___286405: undefined, + v___286414: undefined, arg0: undefined, arg1: undefined, } } @@ -28206,7 +27353,7 @@ function msgpack_unpackNumberArray__P41976_mk(s) { -function scene_systemMenu_initVolume__P47051(s) { +function scene_systemMenu_initVolume__P277073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28216,20 +27363,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___56154 = undefined; - s.tmp_0 = settings_readNumber__P43862_mk(s); + s.vol___286459 = undefined; + s.tmp_0 = settings_readNumber__P273885_mk(s); s.tmp_0.arg0 = "#volume"; - s.callLocIdx = 1181; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1182; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___56154 = (r0); - r0 = (s.vol___56154 !== undefined); + s.vol___286459 = (r0); + r0 = (s.vol___286459 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P43414_mk(s); - s.tmp_1.arg0 = s.vol___56154; - s.callLocIdx = 1182; s.pc = 4; return s.tmp_1; + s.tmp_1 = music_setVolume__P273437_mk(s); + s.tmp_1.arg0 = s.vol___286459; + s.callLocIdx = 1183; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -28238,23 +27385,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P47051.info = {"start":13238,"length":144,"line":399,"column":4,"endLine":403,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} +scene_systemMenu_initVolume__P277073.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__P47051_mk(s) { +function scene_systemMenu_initVolume__P277073_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P47051, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P277073, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___56154: undefined, + vol___286459: undefined, } } -function game_GameOverConfig_constructor__P44782(s) { +function game_GameOverConfig_constructor__P274805(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28269,22 +27416,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C44767_VT)) failedCast(r0); - s.tmp_0 = game_GameOverConfig_init__P44783_mk(s); + if (!checkSubtype(r0, game_GameOverConfig__C274790_VT)) failedCast(r0); + s.tmp_0 = game_GameOverConfig_init__P274806_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1004; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1005; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverConfig_constructor__P44782.info = {"start":893,"length":50,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["this"]} +game_GameOverConfig_constructor__P274805.info = {"start":893,"length":50,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["this"]} -function game_GameOverConfig_constructor__P44782_mk(s) { +function game_GameOverConfig_constructor__P274805_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_constructor__P44782, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_constructor__P274805, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28294,7 +27441,7 @@ function game_GameOverConfig_constructor__P44782_mk(s) { -function game_GameOverConfig_init__P44783(s) { +function game_GameOverConfig_init__P274806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28309,22 +27456,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C44767_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C274790_VT)) failedCast(r0); r0 = (s.arg0).fields["scoringType"] = (0); - r0 = (s.arg0).fields["winEffect"] = (globals.confetti___45068); - r0 = (s.arg0).fields["loseEffect"] = (globals.melt___45090); + r0 = (s.arg0).fields["winEffect"] = (globals.confetti___275091); + r0 = (s.arg0).fields["loseEffect"] = (globals.melt___275113); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = music_melodyPlayable__P43717_mk(s); - s.tmp_2.arg0 = globals.powerUp___43444; - s.callLocIdx = 1005; s.pc = 1; return s.tmp_2; + s.tmp_2 = music_melodyPlayable__P273740_mk(s); + s.tmp_2.arg0 = globals.powerUp___273467; + s.callLocIdx = 1006; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["winSound"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = music_melodyPlayable__P43717_mk(s); - s.tmp_2.arg0 = globals.wawawawaa___43441; - s.callLocIdx = 1006; s.pc = 2; return s.tmp_2; + s.tmp_2 = music_melodyPlayable__P273740_mk(s); + s.tmp_2.arg0 = globals.wawawawaa___273464; + s.callLocIdx = 1007; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; @@ -28342,12 +27489,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_init__P44783.info = {"start":953,"length":701,"line":39,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["this"]} +game_GameOverConfig_init__P274806.info = {"start":953,"length":701,"line":39,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["this"]} -function game_GameOverConfig_init__P44783_mk(s) { +function game_GameOverConfig_init__P274806_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_init__P44783, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_init__P274806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28359,7 +27506,7 @@ function game_GameOverConfig_init__P44783_mk(s) { -function melt_inline__P56217(s) { +function melt_inline__P286522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28369,11 +27516,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___56220 = undefined; - s.j___56228 = undefined; - s.x___56233 = undefined; - s.y___56239 = undefined; - s.c___56245 = undefined; + s.rounds___286525 = undefined; + s.j___286533 = undefined; + s.x___286538 = undefined; + s.y___286544 = undefined; + s.c___286550 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28386,14 +27533,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___56220 = (r0); - s.j___56228 = (0); + s.rounds___286525 = (r0); + s.j___286533 = (0); case 1: - r0 = (s.j___56228 < s.rounds___56220); + r0 = (s.j___286533 < s.rounds___286525); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P44857_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P274880_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -28403,8 +27550,8 @@ switch (step) { s.callLocIdx = 58; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___56233 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P44857_mk(s); + s.x___286538 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P274880_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -28414,42 +27561,42 @@ switch (step) { s.callLocIdx = 59; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___56239 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___56233, s.y___56239); - s.c___56245 = (r0); + s.y___286544 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___286538, s.y___286544); + s.c___286550 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___56233; - r0 = (s.y___56239 + 1); + s.tmp_1 = r0 = s.x___286538; + r0 = (s.y___286544 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___56245); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___286550); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___56233; - r0 = (s.y___56239 + 2); + s.tmp_1 = r0 = s.x___286538; + r0 = (s.y___286544 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___56245); - r0 = (s.j___56228 + 1); - s.j___56228 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___286550); + r0 = (s.j___286533 + 1); + s.j___286533 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P56217.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +melt_inline__P286522.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 melt_inline__P56217_mk(s) { +function melt_inline__P286522_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P56217, depth: s.depth + 1, + parent: s, fn: melt_inline__P286522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___56220: undefined, - j___56228: undefined, - x___56233: undefined, - y___56239: undefined, - c___56245: undefined, + rounds___286525: undefined, + j___286533: undefined, + x___286538: undefined, + y___286544: undefined, + c___286550: undefined, arg0: undefined, arg1: undefined, } } @@ -28458,7 +27605,7 @@ function melt_inline__P56217_mk(s) { -function confetti_inline__P56271(s) { +function confetti_inline__P286576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28468,13 +27615,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___56274 = undefined; + s.factory___286579 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C45012_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C275035_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -28509,27 +27656,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P45013_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P275036_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 48; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___56274 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P44989_mk(s); - s.tmp_0.arg0 = s.factory___56274; + s.factory___286579 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P275012_mk(s); + s.tmp_0.arg0 = s.factory___286579; s.tmp_0.arg1 = 30; s.callLocIdx = 49; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C44945_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C274968_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P44950_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P274973_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___56274; + s.tmp_1.arg3 = s.factory___286579; s.callLocIdx = 50; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -28537,12 +27684,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -confetti_inline__P56271.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +confetti_inline__P286576.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 confetti_inline__P56271_mk(s) { +function confetti_inline__P286576_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P56271, depth: s.depth + 1, + parent: s, fn: confetti_inline__P286576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28550,7 +27697,7 @@ function confetti_inline__P56271_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___56274: undefined, + factory___286579: undefined, arg0: undefined, arg1: undefined, } } @@ -28559,7 +27706,7 @@ function confetti_inline__P56271_mk(s) { -function particles_ParticleSource_constructor__P44950(s) { +function particles_ParticleSource_constructor__P274973(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28569,8 +27716,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___56295 = undefined; - s.removedSource___56304 = undefined; + s.sources___286600 = undefined; + s.removedSource___286609 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28579,65 +27726,65 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P43890_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P273913_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1203; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1204; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P47128_mk(s); - s.callLocIdx = 1204; s.pc = 6; return s.tmp_0; + s.tmp_0 = particles_init__P277150_mk(s); + s.callLocIdx = 1205; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P47134_mk(s); - s.callLocIdx = 1205; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_particleSources__P277156_mk(s); + s.callLocIdx = 1206; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___56295 = (r0); - r0 = pxsim_Array__length(s.sources___56295); + s.sources___286600 = (r0); + r0 = pxsim_Array__length(s.sources___286600); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___47120); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___277142); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P47131_mk(s); - s.tmp_2.arg0 = s.sources___56295; - s.callLocIdx = 1206; s.pc = 8; return s.tmp_2; + s.tmp_2 = particles_sortSources__P277153_mk(s); + s.tmp_2.arg0 = s.sources___286600; + s.callLocIdx = 1207; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___56295, 0); - s.removedSource___56304 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P44960_mk(s); - s.tmp_0.arg0 = s.removedSource___56304; - s.callLocIdx = 1208; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array_.removeAt(s.sources___286600, 0); + s.removedSource___286609 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P274983_mk(s); + s.tmp_0.arg0 = s.removedSource___286609; + s.callLocIdx = 1209; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P44959_mk(s); - s.tmp_0.arg0 = s.removedSource___56304; - s.callLocIdx = 1209; s.pc = 10; return s.tmp_0; + s.tmp_0 = particles_ParticleSource_destroy__P274982_mk(s); + s.tmp_0.arg0 = s.removedSource___286609; + s.callLocIdx = 1210; 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__P44962_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P274985_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1210; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1211; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P44954_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P274977_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.callLocIdx = 1211; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1212; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P44961_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P274984_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1212; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1213; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = (s.arg0).fields["lifespan"] = (undefined); @@ -28649,39 +27796,39 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___44965; + r0 = globals.defaultFactory___274988; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P44964_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P274987_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1213; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1214; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___56295, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P44958_mk(s); + r0 = pxsim_Array__push(s.sources___286600, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P274981_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1214; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1215; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P44950.info = {"start":2307,"length":899,"line":87,"column":8,"endLine":110,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} +particles_ParticleSource_constructor__P274973.info = {"start":2307,"length":899,"line":87,"column":8,"endLine":110,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} -function particles_ParticleSource_constructor__P44950_mk(s) { +function particles_ParticleSource_constructor__P274973_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P44950, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P274973, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___56295: undefined, - removedSource___56304: undefined, + sources___286600: undefined, + removedSource___286609: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28692,7 +27839,7 @@ function particles_ParticleSource_constructor__P44950_mk(s) { -function particles_sortSources__P47131(s) { +function particles_sortSources__P277153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28706,22 +27853,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P41898_mk(s); + s.tmp_0 = helpers_arraySort__P271921_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P56502; - s.callLocIdx = 1252; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = particles_sortSources_inline__P286807; + s.callLocIdx = 1253; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_sortSources__P47131.info = {"start":10026,"length":129,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} +particles_sortSources__P277153.info = {"start":10026,"length":129,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} -function particles_sortSources__P47131_mk(s) { +function particles_sortSources__P277153_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P47131, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P277153, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28731,7 +27878,7 @@ function particles_sortSources__P47131_mk(s) { -function particles_sortSources_inline__P56502(s) { +function particles_sortSources_inline__P286807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28769,12 +27916,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P56502.info = {"start":10097,"length":50,"line":333,"column":21,"endLine":333,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} +particles_sortSources_inline__P286807.info = {"start":10097,"length":50,"line":333,"column":21,"endLine":333,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} -function particles_sortSources_inline__P56502_mk(s) { +function particles_sortSources_inline__P286807_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P56502, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P286807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28790,7 +27937,7 @@ function particles_sortSources_inline__P56502_mk(s) { -function particles_init__P47128(s) { +function particles_init__P277150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28800,34 +27947,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___56541 = undefined; - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 1242; s.pc = 4; return s.tmp_0; + s.scene___286846 = undefined; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 1243; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___56541 = (r0); - r0 = s.scene___56541.fields["particleSources"]; + s.scene___286846 = (r0); + r0 = s.scene___286846.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___56541; + s.tmp_1 = r0 = s.scene___286846; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___47123 = (r0); - s.tmp_0 = game_onUpdate__P44817_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P47129; - s.callLocIdx = 1243; s.pc = 5; return s.tmp_0; + globals.lastUpdate___277145 = (r0); + s.tmp_0 = game_onUpdate__P274840_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P277151; + s.callLocIdx = 1244; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P44818_mk(s); + s.tmp_0 = game_onUpdateInterval__P274841_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P47130; - s.callLocIdx = 1244; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles__P277152; + s.callLocIdx = 1245; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -28835,24 +27982,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P47128.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P277150.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} -function particles_init__P47128_mk(s) { +function particles_init__P277150_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P47128, depth: s.depth + 1, + parent: s, fn: particles_init__P277150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___56541: undefined, + scene___286846: undefined, } } -function particles_updateParticles__P47129(s) { +function particles_updateParticles__P277151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28862,16 +28009,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___56583 = undefined; - s.time___56590 = undefined; - s.dt___56593 = undefined; - s.i___56599 = undefined; - s.tmp_0 = particles_particleSources__P47134_mk(s); - s.callLocIdx = 1245; s.pc = 6; return s.tmp_0; + s.sources___286888 = undefined; + s.time___286895 = undefined; + s.dt___286898 = undefined; + s.i___286904 = undefined; + s.tmp_0 = particles_particleSources__P277156_mk(s); + s.callLocIdx = 1246; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___56583 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___56583); + s.sources___286888 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___286888); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28880,34 +28027,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P47131_mk(s); - s.tmp_2.arg0 = s.sources___56583; - s.callLocIdx = 1246; s.pc = 7; return s.tmp_2; + s.tmp_2 = particles_sortSources__P277153_mk(s); + s.tmp_2.arg0 = s.sources___286888; + s.callLocIdx = 1247; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___56590 = (r0); - r0 = (s.time___56590 - globals.lastUpdate___47123); - s.dt___56593 = (r0); - globals.lastUpdate___47123 = (s.time___56590); - s.i___56599 = (0); + s.time___286895 = (r0); + r0 = (s.time___286895 - globals.lastUpdate___277145); + s.dt___286898 = (r0); + globals.lastUpdate___277145 = (s.time___286895); + s.i___286904 = (0); case 3: - s.tmp_1 = r0 = s.i___56599; - r0 = pxsim_Array__length(s.sources___56583); + s.tmp_1 = r0 = s.i___286904; + r0 = pxsim_Array__length(s.sources___286888); 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__P44952_mk(s); - r0 = pxsim_Array__getAt(s.sources___56583, s.i___56599); + s.tmp_3 = particles_ParticleSource__update__P274975_mk(s); + r0 = pxsim_Array__getAt(s.sources___286888, s.i___286904); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___56593; - s.callLocIdx = 1247; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.dt___286898; + s.callLocIdx = 1248; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___56599 + 1); - s.i___56599 = (r0); + r0 = (s.i___286904 + 1); + s.i___286904 = (r0); { step = 3; continue; } case 4: case 5: @@ -28915,28 +28062,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P47129.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P277151.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} -function particles_updateParticles__P47129_mk(s) { +function particles_updateParticles__P277151_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P47129, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P277151, 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___56583: undefined, - time___56590: undefined, - dt___56593: undefined, - i___56599: undefined, + sources___286888: undefined, + time___286895: undefined, + dt___286898: undefined, + i___286904: undefined, } } -function particles_ParticleSource__update__P44952(s) { +function particles_ParticleSource__update__P274975(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28946,16 +28093,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___56662 = undefined; - s.current___56681 = undefined; - s.fixedDt___56689 = undefined; + s.p___286967 = undefined; + s.current___286986 = undefined; + s.fixedDt___286994 = 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__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -28981,9 +28128,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__P44959_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P274982_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1218; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1219; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 1: @@ -29006,7 +28153,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 = 1219; s.pc = 29; return s.tmp_2; } + else { s.callLocIdx = 1220; s.pc = 29; return s.tmp_2; } } case 29: r0 = s.retval; @@ -29029,7 +28176,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 = 1220; s.pc = 30; return s.tmp_5; } + else { s.callLocIdx = 1221; s.pc = 30; return s.tmp_5; } } case 30: r0 = s.retval; @@ -29054,9 +28201,9 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P44957_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P274980_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1221; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1222; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 13: @@ -29072,18 +28219,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__C44981_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C275004_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__C44981_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C275004_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___56662 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___56662); + s.p___286967 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___286967); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -29094,8 +28241,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___56662).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___56662); + r0 = (s.p___286967).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___286967); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -29110,7 +28257,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___56681 = (r0); + s.current___286986 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -29122,36 +28269,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___56689 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___56689); + s.fixedDt___286994 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___286994); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___56681.fields["lifespan"]; + r0 = s.current___286986.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___56681; + s.tmp_2 = r0 = s.current___286986; 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__C44945_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C274968_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___56681; - s.tmp_0.arg2 = s.fixedDt___56689; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C44945_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___286986; + s.tmp_0.arg2 = s.fixedDt___286994; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C274968_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___56681.fields["next"]; + r0 = s.current___286986.fields["next"]; s.tmp_0 = r0; - s.current___56681 = (r0); + s.current___286986 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -29160,15 +28307,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___56681; + s.tmp_0 = r0 = s.current___286986; 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___56681.fields["next"]; + r0 = s.current___286986.fields["next"]; s.tmp_0 = r0; - s.current___56681 = (r0); + s.current___286986 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -29179,12 +28326,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P44952.info = {"start":3694,"length":1400,"line":124,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} +particles_ParticleSource__update__P274975.info = {"start":3694,"length":1400,"line":124,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} -function particles_ParticleSource__update__P44952_mk(s) { +function particles_ParticleSource__update__P274975_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P44952, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P274975, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29194,9 +28341,9 @@ function particles_ParticleSource__update__P44952_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___56662: undefined, - current___56681: undefined, - fixedDt___56689: undefined, + p___286967: undefined, + current___286986: undefined, + fixedDt___286994: undefined, arg0: undefined, arg1: undefined, } } @@ -29205,7 +28352,7 @@ function particles_ParticleSource__update__P44952_mk(s) { -function particles_ParticleSource_updateParticle__P47125(s) { +function particles_ParticleSource_updateParticle__P277147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29222,7 +28369,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -29277,12 +28424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P47125.info = {"start":8248,"length":357,"line":277,"column":8,"endLine":285,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} +particles_ParticleSource_updateParticle__P277147.info = {"start":8248,"length":357,"line":277,"column":8,"endLine":285,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} -function particles_ParticleSource_updateParticle__P47125_mk(s) { +function particles_ParticleSource_updateParticle__P277147_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P47125, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P277147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29299,7 +28446,7 @@ function particles_ParticleSource_updateParticle__P47125_mk(s) { -function Fx_rightShift__P41964(s) { +function Fx_rightShift__P271987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29318,12 +28465,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P41964.info = {"start":2266,"length":108,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} +Fx_rightShift__P271987.info = {"start":2266,"length":108,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} -function Fx_rightShift__P41964_mk(s) { +function Fx_rightShift__P271987_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P41964, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P271987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -29333,7 +28480,7 @@ function Fx_rightShift__P41964_mk(s) { -function particles_ParticleFactory_createParticle__P44983(s) { +function particles_ParticleFactory_createParticle__P275006(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29343,17 +28490,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___56772 = undefined; + s.p___287077 = 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__C44981_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C44926_VT); - s.p___56772 = (r0); - s.tmp_0 = r0 = s.p___56772; + if (!checkSubtype(r0, particles_ParticleFactory__C275004_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C274949_VT); + s.p___287077 = (r0); + s.tmp_0 = r0 = s.p___287077; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -29362,7 +28509,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 = 1272; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1273; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -29372,7 +28519,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___56772; + s.tmp_0 = r0 = s.p___287077; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -29381,7 +28528,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 = 1274; s.pc = 2; return s.tmp_3; } + else { s.callLocIdx = 1275; s.pc = 2; return s.tmp_3; } } case 2: r0 = s.retval; @@ -29391,26 +28538,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___56772).fields["vx"] = (0); - r0 = (s.p___56772).fields["vy"] = (0); - r0 = (s.p___56772).fields["lifespan"] = (500); - r0 = s.p___56772; + r0 = (s.p___287077).fields["vx"] = (0); + r0 = (s.p___287077).fields["vy"] = (0); + r0 = (s.p___287077).fields["lifespan"] = (500); + r0 = s.p___287077; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P44983.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__P275006.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__P44983_mk(s) { +function particles_ParticleFactory_createParticle__P275006_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P44983, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P275006, 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___56772: undefined, + p___287077: undefined, arg0: undefined, arg1: undefined, } } @@ -29419,7 +28566,7 @@ function particles_ParticleFactory_createParticle__P44983_mk(s) { -function game_onUpdateInterval__P44818(s) { +function game_onUpdateInterval__P274841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29429,7 +28576,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___56563 = undefined; + s.timer___286868 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29454,22 +28601,22 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___56563 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___56563, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P56567); + s.timer___286868 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___286868, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P286872); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___56563); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___286868); 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__P42196_mk(s); - s.tmp_2 = game_eventContext__P44796_mk(s); - s.callLocIdx = 1029; s.pc = 7; return s.tmp_2; + s.tmp_1 = control_EventContext_registerFrameHandler__P272219_mk(s); + s.tmp_2 = game_eventContext__P274819_mk(s); + s.callLocIdx = 1030; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 19; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1033; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1034; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 5: @@ -29477,17 +28624,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P44818.info = {"start":813,"length":401,"line":26,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +game_onUpdateInterval__P274841.info = {"start":813,"length":401,"line":26,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/game/gameutil.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -function game_onUpdateInterval__P44818_mk(s) { +function game_onUpdateInterval__P274841_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P44818, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P274841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___56563: undefined, + timer___286868: undefined, arg0: undefined, arg1: undefined, } } @@ -29496,7 +28643,7 @@ function game_onUpdateInterval__P44818_mk(s) { -function game_onUpdateInterval_inline__P56567(s) { +function game_onUpdateInterval_inline__P286872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29506,28 +28653,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___56568 = undefined; - s.tmp_1 = game_currentScene__P44793_mk(s); - s.callLocIdx = 1030; s.pc = 3; return s.tmp_1; + s.time___286873 = undefined; + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 1031; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___56568 = (r0); + s.time___286873 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___56568); + r0 = (s.tmp_1 <= s.time___286873); 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___56568 + s.caps[1]); + r0 = (s.time___286873 + 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 = 1032; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1033; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -29536,25 +28683,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P56567.info = {"start":1027,"length":179,"line":29,"column":81,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} +game_onUpdateInterval_inline__P286872.info = {"start":1027,"length":179,"line":29,"column":81,"endLine":35,"endColumn":9,"fileName":"pxt_modules/game/gameutil.ts","functionName":"inline","argumentNames":[]} -function game_onUpdateInterval_inline__P56567_mk(s) { +function game_onUpdateInterval_inline__P286872_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P56567, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P286872, 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___56568: undefined, + time___286873: undefined, } } -function scene_Scene_millis__P44663(s) { +function scene_Scene_millis__P274686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29569,17 +28716,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C44637_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C274660_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P44663.info = {"start":7147,"length":61,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P274686.info = {"start":7147,"length":61,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function scene_Scene_millis__P44663_mk(s) { +function scene_Scene_millis__P274686_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P44663, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P274686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29588,7 +28735,7 @@ function scene_Scene_millis__P44663_mk(s) { -function MAX_SOURCES_inline__P56517(s) { +function MAX_SOURCES_inline__P286822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29598,13 +28745,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___56518 = undefined; - s.tmp_0 = control_ramSize__P42139_mk(s); + s.sz___286823 = undefined; + s.tmp_0 = control_ramSize__P272162_mk(s); s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___56518 = (r0); - r0 = (s.sz___56518 <= 102400); + s.sz___286823 = (r0); + r0 = (s.sz___286823 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -29612,7 +28759,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___56518 <= 204800); + r0 = (s.sz___286823 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -29629,23 +28776,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P56517.info = {"start":240,"length":217,"line":9,"column":25,"endLine":18,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +MAX_SOURCES_inline__P286822.info = {"start":240,"length":217,"line":9,"column":25,"endLine":18,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function MAX_SOURCES_inline__P56517_mk(s) { +function MAX_SOURCES_inline__P286822_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P56517, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P286822, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___56518: undefined, + sz___286823: undefined, } } -function control_ramSize__P42139(s) { +function control_ramSize__P272162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29670,12 +28817,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P42139.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P272162.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} -function control_ramSize__P42139_mk(s) { +function control_ramSize__P272162_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P42139, depth: s.depth + 1, + parent: s, fn: control_ramSize__P272162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29685,7 +28832,7 @@ function control_ramSize__P42139_mk(s) { -function control__ramSize__P46246(s) { +function control__ramSize__P276268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29699,12 +28846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P46246.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P276268.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} -function control__ramSize__P46246_mk(s) { +function control__ramSize__P276268_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P46246, depth: s.depth + 1, + parent: s, fn: control__ramSize__P276268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29712,7 +28859,7 @@ function control__ramSize__P46246_mk(s) { -function particles_SprayFactory_constructor__P44986(s) { +function particles_SprayFactory_constructor__P275009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29730,35 +28877,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C44985_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C275008_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P47149_mk(s); - s.callLocIdx = 1279; s.pc = 1; return s.tmp_0; + s.tmp_0 = particles_initTrig__P277171_mk(s); + s.callLocIdx = 1280; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P44989_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P275012_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1280; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1281; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P44990_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P275013_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 1281; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1282; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P44986.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__P275009.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__P44986_mk(s) { +function particles_SprayFactory_constructor__P275009_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P44986, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P275009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29771,7 +28918,7 @@ function particles_SprayFactory_constructor__P44986_mk(s) { -function particles_initTrig__P47149(s) { +function particles_initTrig__P277171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29781,36 +28928,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___47135); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___277157); 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__P44979_mk(s); + s.tmp_2 = particles_cacheSin__P275002_mk(s); s.tmp_2.arg0 = 100; - s.callLocIdx = 1267; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1268; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___47135 = (r0); - s.tmp_0 = particles_cacheCos__P44980_mk(s); + globals.cachedSin___277157 = (r0); + s.tmp_0 = particles_cacheCos__P275003_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 1268; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1269; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___47136 = (r0); + globals.cachedCos___277158 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P47149.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P277171.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__P47149_mk(s) { +function particles_initTrig__P277171_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P47149, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P277171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29821,7 +28968,7 @@ function particles_initTrig__P47149_mk(s) { -function particles_cacheCos__P44980(s) { +function particles_cacheCos__P275003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29831,25 +28978,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___56398 = undefined; - s.anglePerSlice___56400 = undefined; - s.i___56406 = undefined; + s.cos___286703 = undefined; + s.anglePerSlice___286705 = undefined; + s.i___286711 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___56398 = (r0); + s.cos___286703 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___56400 = (r0); - s.i___56406 = (0); + s.anglePerSlice___286705 = (r0); + s.i___286711 = (0); case 1: - r0 = (s.i___56406 < s.arg0); + r0 = (s.i___286711 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___56398; - r0 = (s.i___56406 * s.anglePerSlice___56400); + s.tmp_1 = r0 = s.cos___286703; + r0 = (s.i___286711 * s.anglePerSlice___286705); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -29858,20 +29005,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___56406 + 1); - s.i___56406 = (r0); + r0 = (s.i___286711 + 1); + s.i___286711 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___56398; + r0 = s.cos___286703; return leave(s, r0) default: oops() } } } -particles_cacheCos__P44980.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__P275003.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__P44980_mk(s) { +function particles_cacheCos__P275003_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P44980, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P275003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29879,9 +29026,9 @@ function particles_cacheCos__P44980_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___56398: undefined, - anglePerSlice___56400: undefined, - i___56406: undefined, + cos___286703: undefined, + anglePerSlice___286705: undefined, + i___286711: undefined, arg0: undefined, } } @@ -29889,7 +29036,7 @@ function particles_cacheCos__P44980_mk(s) { -function particles_cacheSin__P44979(s) { +function particles_cacheSin__P275002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29899,25 +29046,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___56424 = undefined; - s.anglePerSlice___56426 = undefined; - s.i___56432 = undefined; + s.sin___286729 = undefined; + s.anglePerSlice___286731 = undefined; + s.i___286737 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___56424 = (r0); + s.sin___286729 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___56426 = (r0); - s.i___56432 = (0); + s.anglePerSlice___286731 = (r0); + s.i___286737 = (0); case 1: - r0 = (s.i___56432 < s.arg0); + r0 = (s.i___286737 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___56424; - r0 = (s.i___56432 * s.anglePerSlice___56426); + s.tmp_1 = r0 = s.sin___286729; + r0 = (s.i___286737 * s.anglePerSlice___286731); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -29926,20 +29073,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___56432 + 1); - s.i___56432 = (r0); + r0 = (s.i___286737 + 1); + s.i___286737 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___56424; + r0 = s.sin___286729; return leave(s, r0) default: oops() } } } -particles_cacheSin__P44979.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__P275002.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__P44979_mk(s) { +function particles_cacheSin__P275002_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P44979, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P275002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29947,9 +29094,9 @@ function particles_cacheSin__P44979_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___56424: undefined, - anglePerSlice___56426: undefined, - i___56432: undefined, + sin___286729: undefined, + anglePerSlice___286731: undefined, + i___286737: undefined, arg0: undefined, } } @@ -29957,7 +29104,7 @@ function particles_cacheSin__P44979_mk(s) { -function particles_SprayFactory_setDirection__P44990(s) { +function particles_SprayFactory_setDirection__P275013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29974,31 +29121,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C44985_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C275008_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P47154_mk(s); + s.tmp_4 = particles_toRadians__P277176_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 = 1289; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1290; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___47148); + r0 = (s.tmp_3 / globals.angleSlice___277170); 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__P47154_mk(s); + s.tmp_4 = particles_toRadians__P277176_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 1290; s.pc = 2; return s.tmp_4; + s.callLocIdx = 1291; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___47148); + r0 = (s.tmp_3 / globals.angleSlice___277170); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -30007,12 +29154,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P44990.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__P275013.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__P44990_mk(s) { +function particles_SprayFactory_setDirection__P275013_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P44990, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P275013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30030,7 +29177,7 @@ function particles_SprayFactory_setDirection__P44990_mk(s) { -function particles_toRadians__P47154(s) { +function particles_toRadians__P277176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30048,9 +29195,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P41921_mk(s); + s.tmp_3 = Math_abs__P271944_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1271; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1272; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -30067,12 +29214,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P47154.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__P277176.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__P47154_mk(s) { +function particles_toRadians__P277176_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P47154, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P277176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30085,7 +29232,7 @@ function particles_toRadians__P47154_mk(s) { -function particles_ParticleFactory_constructor__P44982(s) { +function particles_ParticleFactory_constructor__P275005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30100,17 +29247,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C44981_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C275004_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P44982.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__P275005.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__P44982_mk(s) { +function particles_ParticleFactory_constructor__P275005_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P44982, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P275005, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30119,7 +29266,7 @@ function particles_ParticleFactory_constructor__P44982_mk(s) { -function particles_ParticleSource_setFactory__P44964(s) { +function particles_ParticleSource_setFactory__P274987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30135,7 +29282,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -30145,12 +29292,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P44964.info = {"start":8124,"length":114,"line":272,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} +particles_ParticleSource_setFactory__P274987.info = {"start":8124,"length":114,"line":272,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} -function particles_ParticleSource_setFactory__P44964_mk(s) { +function particles_ParticleSource_setFactory__P274987_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P44964, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P274987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30160,7 +29307,7 @@ function particles_ParticleSource_setFactory__P44964_mk(s) { -function particles_ParticleSource_setRate__P44962(s) { +function particles_ParticleSource_setRate__P274985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30176,7 +29323,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -30188,12 +29335,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P44962.info = {"start":7802,"length":139,"line":259,"column":8,"endLine":262,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} +particles_ParticleSource_setRate__P274985.info = {"start":7802,"length":139,"line":259,"column":8,"endLine":262,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} -function particles_ParticleSource_setRate__P44962_mk(s) { +function particles_ParticleSource_setRate__P274985_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P44962, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P274985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30206,7 +29353,7 @@ function particles_ParticleSource_setRate__P44962_mk(s) { -function particles_ParticleSource_setAnchor__P44961(s) { +function particles_ParticleSource_setAnchor__P274984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30222,18 +29369,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P44961.info = {"start":7594,"length":79,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} +particles_ParticleSource_setAnchor__P274984.info = {"start":7594,"length":79,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} -function particles_ParticleSource_setAnchor__P44961_mk(s) { +function particles_ParticleSource_setAnchor__P274984_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P44961, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P274984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30243,7 +29390,7 @@ function particles_ParticleSource_setAnchor__P44961_mk(s) { -function particles_ParticleSource_destroy__P44959(s) { +function particles_ParticleSource_destroy__P274982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30258,11 +29405,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P44958_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P274981_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1228; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1229; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -30271,21 +29418,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__P44953_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P274976_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1229; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1230; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P44959.info = {"start":7094,"length":240,"line":233,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} +particles_ParticleSource_destroy__P274982.info = {"start":7094,"length":240,"line":233,"column":8,"endLine":238,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} -function particles_ParticleSource_destroy__P44959_mk(s) { +function particles_ParticleSource_destroy__P274982_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P44959, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P274982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30297,7 +29444,7 @@ function particles_ParticleSource_destroy__P44959_mk(s) { -function particles_ParticleSource_setAcceleration__P44954(s) { +function particles_ParticleSource_setAcceleration__P274977(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30314,7 +29461,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -30331,12 +29478,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P44954.info = {"start":6026,"length":113,"line":194,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} +particles_ParticleSource_setAcceleration__P274977.info = {"start":6026,"length":113,"line":194,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} -function particles_ParticleSource_setAcceleration__P44954_mk(s) { +function particles_ParticleSource_setAcceleration__P274977_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P44954, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P274977, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30350,7 +29497,7 @@ function particles_ParticleSource_setAcceleration__P44954_mk(s) { -function helpers_arrayShift__P41895(s) { +function helpers_arrayShift__P271918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30368,12 +29515,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P41895.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__P271918.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__P41895_mk(s) { +function helpers_arrayShift__P271918_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P41895, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P271918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30382,7 +29529,7 @@ function helpers_arrayShift__P41895_mk(s) { -function particles_SprayFactory_setSpeed__P44989(s) { +function particles_SprayFactory_setSpeed__P275012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30398,7 +29545,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C44985_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C275008_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -30409,12 +29556,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P44989.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__P275012.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__P44989_mk(s) { +function particles_SprayFactory_setSpeed__P275012_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P44989, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P275012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30427,7 +29574,7 @@ function particles_SprayFactory_setSpeed__P44989_mk(s) { -function particles_ConfettiFactory_constructor__P45013(s) { +function particles_ConfettiFactory_constructor__P275036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30437,8 +29584,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___56804 = undefined; - s.i___56820 = undefined; + s.confetti___287109 = undefined; + s.i___287125 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30446,52 +29593,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C45012_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C275035_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex56807); + r0 = pxsim.image.ofBuffer(_hex287112); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex56809); + r0 = pxsim.image.ofBuffer(_hex287114); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex56811); + r0 = pxsim.image.ofBuffer(_hex287116); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex56813); + r0 = pxsim.image.ofBuffer(_hex287118); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex56815); + r0 = pxsim.image.ofBuffer(_hex287120); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___56804 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P45008_mk(s); + s.confetti___287109 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P275031_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___56804, 0); + r0 = pxsim_Array__getAt(s.confetti___287109, 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1313; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1314; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___56820 = (1); + s.i___287125 = (1); case 1: - s.tmp_1 = r0 = s.i___56820; - r0 = pxsim_Array__length(s.confetti___56804); + s.tmp_1 = r0 = s.i___287125; + r0 = pxsim_Array__length(s.confetti___287109); 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__P45009_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P275032_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___56804, s.i___56820); + r0 = pxsim_Array__getAt(s.confetti___287109, s.i___287125); s.tmp_3.arg1 = r0; - s.callLocIdx = 1314; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1315; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___56820 + 1); - s.i___56820 = (r0); + r0 = (s.i___287125 + 1); + s.i___287125 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -30500,12 +29647,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P45013.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__P275036.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__P45013_mk(s) { +function particles_ConfettiFactory_constructor__P275036_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P45013, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P275036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30513,23 +29660,23 @@ function particles_ConfettiFactory_constructor__P45013_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___56804: undefined, - i___56820: undefined, + confetti___287109: undefined, + i___287125: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex56807 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex56809 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex56811 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex56813 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex56815 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex287112 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex287114 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex287116 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex287118 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex287120 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P45009(s) { +function particles_ShapeFactory_addShape__P275032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30545,7 +29692,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C45007_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C275030_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -30557,12 +29704,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P45009.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__P275032.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__P45009_mk(s) { +function particles_ShapeFactory_addShape__P275032_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P45009, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P275032, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30573,7 +29720,7 @@ function particles_ShapeFactory_addShape__P45009_mk(s) { -function particles_ShapeFactory_constructor__P45008(s) { +function particles_ShapeFactory_constructor__P275031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30591,14 +29738,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C45007_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P44996_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C275030_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P275019_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 = 1303; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1304; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -30629,12 +29776,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P45008.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__P275031.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__P45008_mk(s) { +function particles_ShapeFactory_constructor__P275031_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P45008, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P275031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30651,7 +29798,7 @@ function particles_ShapeFactory_constructor__P45008_mk(s) { -function particles_AreaFactory_constructor__P44996(s) { +function particles_AreaFactory_constructor__P275019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30670,13 +29817,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C44991_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P44986_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C275014_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P275009_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 = 1291; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1292; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["xRange"] = (s.arg1); @@ -30701,12 +29848,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__C44853_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C274876_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P44855_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P274878_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1292; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1293; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -30714,12 +29861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P44996.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__P275019.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__P44996_mk(s) { +function particles_AreaFactory_constructor__P275019_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P44996, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P275019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30734,7 +29881,7 @@ function particles_AreaFactory_constructor__P44996_mk(s) { -function effects_ScreenEffect_constructor__P45061(s) { +function effects_ScreenEffect_constructor__P275084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30753,13 +29900,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C45060_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P45057_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C275083_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P275080_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 = 1320; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1321; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["sceneDefaultRate"] = (s.arg2); @@ -30767,12 +29914,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P45061.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__P275084.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__P45061_mk(s) { +function effects_ScreenEffect_constructor__P275084_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P45061, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P275084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30786,7 +29933,7 @@ function effects_ScreenEffect_constructor__P45061_mk(s) { -function effects_ParticleEffect_constructor__P45057(s) { +function effects_ParticleEffect_constructor__P275080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30804,7 +29951,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C45056_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C275079_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -30812,12 +29959,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P45057.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__P275080.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__P45057_mk(s) { +function effects_ParticleEffect_constructor__P275080_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P45057, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P275080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30829,7 +29976,7 @@ function effects_ParticleEffect_constructor__P45057_mk(s) { -function music_melodyPlayable__P43717(s) { +function music_melodyPlayable__P273740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30843,24 +29990,24 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C43710_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C273733_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayable_constructor__P43711_mk(s); + s.tmp_1 = music_MelodyPlayable_constructor__P273734_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.callLocIdx = 73; s.pc = 1; return s.tmp_1; + s.callLocIdx = 74; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -music_melodyPlayable__P43717.info = {"start":3172,"length":107,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"melodyPlayable","argumentNames":["melody"]} +music_melodyPlayable__P273740.info = {"start":3172,"length":107,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"melodyPlayable","argumentNames":["melody"]} -function music_melodyPlayable__P43717_mk(s) { +function music_melodyPlayable__P273740_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_melodyPlayable__P43717, depth: s.depth + 1, + parent: s, fn: music_melodyPlayable__P273740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30871,7 +30018,7 @@ function music_melodyPlayable__P43717_mk(s) { -function music_MelodyPlayable_constructor__P43711(s) { +function music_MelodyPlayable_constructor__P273734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30887,19 +30034,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayable__C43710_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayable__C273733_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayable_constructor__P43711.info = {"start":1531,"length":67,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this","melody"]} +music_MelodyPlayable_constructor__P273734.info = {"start":1531,"length":67,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this","melody"]} -function music_MelodyPlayable_constructor__P43711_mk(s) { +function music_MelodyPlayable_constructor__P273734_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayable_constructor__P43711, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayable_constructor__P273734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30909,7 +30056,7 @@ function music_MelodyPlayable_constructor__P43711_mk(s) { -function music_Playable_constructor__P43707(s) { +function music_Playable_constructor__P273730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30924,17 +30071,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Playable__C43705_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Playable__C273728_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Playable_constructor__P43707.info = {"start":1086,"length":26,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} +music_Playable_constructor__P273730.info = {"start":1086,"length":26,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} -function music_Playable_constructor__P43707_mk(s) { +function music_Playable_constructor__P273730_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Playable_constructor__P43707, depth: s.depth + 1, + parent: s, fn: music_Playable_constructor__P273730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30943,7 +30090,7 @@ function music_Playable_constructor__P43707_mk(s) { -function music_Melody_constructor__P43423(s) { +function music_Melody_constructor__P273446(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30959,18 +30106,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C43420_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C273443_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P43423.info = {"start":6430,"length":67,"line":203,"column":8,"endLine":205,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P273446.info = {"start":6430,"length":67,"line":203,"column":8,"endLine":205,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} -function music_Melody_constructor__P43423_mk(s) { +function music_Melody_constructor__P273446_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P43423, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P273446, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30980,7 +30127,7 @@ function music_Melody_constructor__P43423_mk(s) { -function Fx8__P41942(s) { +function Fx8__P271965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31000,12 +30147,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P41942.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P271965.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__P41942_mk(s) { +function Fx8__P271965_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P41942, depth: s.depth + 1, + parent: s, fn: Fx8__P271965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31015,7 +30162,7 @@ function Fx8__P41942_mk(s) { -function SpriteKind_create__P44273(s) { +function SpriteKind_create__P274296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31025,26 +30172,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___46602 === undefined); + r0 = (globals.nextKind___276624 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___46602 = (1000); + globals.nextKind___276624 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___46602; + s.tmp_0 = r0 = globals.nextKind___276624; r0 = (s.tmp_0 + 1); - globals.nextKind___46602 = (r0); + globals.nextKind___276624 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P44273.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P274296.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} -function SpriteKind_create__P44273_mk(s) { +function SpriteKind_create__P274296_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P44273, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P274296, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31053,7 +30200,7 @@ function SpriteKind_create__P44273_mk(s) { -function controller_Button_constructor__P43989(s) { +function controller_Button_constructor__P274012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31070,7 +30217,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -31080,13 +30227,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P56957); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P287262); 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, controller_Button_inline__P56964); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P287269); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -31105,12 +30252,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P43989.info = {"start":2004,"length":864,"line":77,"column":8,"endLine":94,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} +controller_Button_constructor__P274012.info = {"start":2004,"length":864,"line":77,"column":8,"endLine":94,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -function controller_Button_constructor__P43989_mk(s) { +function controller_Button_constructor__P274012_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P43989, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P274012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31124,7 +30271,7 @@ function controller_Button_constructor__P43989_mk(s) { -function controller_Button_inline__P56957(s) { +function controller_Button_inline__P287262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31134,22 +30281,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P43996_mk(s); + s.tmp_0 = controller_Button_setPressed__P274019_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; - s.callLocIdx = 199; s.pc = 1; return s.tmp_0; + s.callLocIdx = 200; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_inline__P56957.info = {"start":2627,"length":28,"line":88,"column":66,"endLine":88,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P287262.info = {"start":2627,"length":28,"line":88,"column":66,"endLine":88,"endColumn":94,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P56957_mk(s) { +function controller_Button_inline__P287262_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P56957, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P287262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31158,7 +30305,7 @@ function controller_Button_inline__P56957_mk(s) { -function controller_Button_inline__P56964(s) { +function controller_Button_inline__P287269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31168,22 +30315,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P43996_mk(s); + s.tmp_0 = controller_Button_setPressed__P274019_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; - s.callLocIdx = 200; s.pc = 1; return s.tmp_0; + s.callLocIdx = 201; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_inline__P56964.info = {"start":2729,"length":27,"line":89,"column":68,"endLine":89,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} +controller_Button_inline__P287269.info = {"start":2729,"length":27,"line":89,"column":68,"endLine":89,"endColumn":95,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"inline","argumentNames":[]} -function controller_Button_inline__P56964_mk(s) { +function controller_Button_inline__P287269_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P56964, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P287269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31192,7 +30339,7 @@ function controller_Button_inline__P56964_mk(s) { -function controller_setupButton__P46585(s) { +function controller_setupButton__P276607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31211,12 +30358,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P46585.info = {"start":861,"length":93,"line":39,"column":4,"endLine":41,"endColumn":6,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} +controller_setupButton__P276607.info = {"start":861,"length":93,"line":39,"column":4,"endLine":41,"endColumn":6,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} -function controller_setupButton__P46585_mk(s) { +function controller_setupButton__P276607_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P46585, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P276607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31226,7 +30373,7 @@ function controller_setupButton__P46585_mk(s) { -function controller_Button_setPressed__P43996(s) { +function controller_Button_setPressed__P274019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31242,26 +30389,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C274006_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__P43723_mk(s); - s.callLocIdx = 203; s.pc = 7; return s.tmp_2; + s.tmp_2 = power_poke__P273746_mk(s); + s.callLocIdx = 204; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = s.arg0.fields["_owner"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = controller_Controller_connected__P43950_mk(s); + s.tmp_1 = controller_Controller_connected__P273973_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; - s.callLocIdx = 204; s.pc = 8; return s.tmp_1; + s.callLocIdx = 205; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; case 1: @@ -31272,17 +30419,17 @@ 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__P46569_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P276591_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 205; s.pc = 9; return s.tmp_0; + s.callLocIdx = 206; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P46568_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P276590_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 206; s.pc = 10; return s.tmp_0; + s.callLocIdx = 207; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 4: @@ -31292,12 +30439,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P43996.info = {"start":6774,"length":507,"line":201,"column":8,"endLine":215,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} +controller_Button_setPressed__P274019.info = {"start":6774,"length":507,"line":201,"column":8,"endLine":215,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -function controller_Button_setPressed__P43996_mk(s) { +function controller_Button_setPressed__P274019_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P43996, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P274019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31310,7 +30457,7 @@ function controller_Button_setPressed__P43996_mk(s) { -function controller_Button_raiseButtonDown__P46569(s) { +function controller_Button_raiseButtonDown__P276591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31325,8 +30472,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___46579); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___276601); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -31341,12 +30488,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P46569.info = {"start":3088,"length":205,"line":103,"column":8,"endLine":108,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} +controller_Button_raiseButtonDown__P276591.info = {"start":3088,"length":205,"line":103,"column":8,"endLine":108,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function controller_Button_raiseButtonDown__P46569_mk(s) { +function controller_Button_raiseButtonDown__P276591_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P46569, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P276591, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31356,7 +30503,7 @@ function controller_Button_raiseButtonDown__P46569_mk(s) { -function controller_Button_raiseButtonUp__P46568(s) { +function controller_Button_raiseButtonUp__P276590(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31371,8 +30518,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___46579); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___276601); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -31387,12 +30534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P46568.info = {"start":2878,"length":200,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} +controller_Button_raiseButtonUp__P276590.info = {"start":2878,"length":200,"line":96,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function controller_Button_raiseButtonUp__P46568_mk(s) { +function controller_Button_raiseButtonUp__P276590_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P46568, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P276590, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31402,7 +30549,7 @@ function controller_Button_raiseButtonUp__P46568_mk(s) { -function game_addScenePushHandler__P44812(s) { +function game_addScenePushHandler__P274835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31416,35 +30563,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___46785); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___276807); 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___46785 = (r0); + globals._scenePushHandlers___276807 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___46785, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___276807, 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___46785, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___276807, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P44812.info = {"start":16454,"length":242,"line":489,"column":4,"endLine":493,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P274835.info = {"start":16454,"length":242,"line":489,"column":4,"endLine":493,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P44812_mk(s) { +function game_addScenePushHandler__P274835_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P44812, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P274835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31455,7 +30602,7 @@ function game_addScenePushHandler__P44812_mk(s) { -function controller_Controller_id__P43935(s) { +function controller_Controller_id__P273958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31470,18 +30617,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P43935.info = {"start":3444,"length":49,"line":109,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} -controller_Controller_id__P43935.isGetter = true; +controller_Controller_id__P273958.info = {"start":3444,"length":49,"line":109,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} +controller_Controller_id__P273958.isGetter = true; -function controller_Controller_id__P43935_mk(s) { +function controller_Controller_id__P273958_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P43935, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P273958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31490,7 +30637,7 @@ function controller_Controller_id__P43935_mk(s) { -function controller_Controller_connected__P43949(s) { +function controller_Controller_connected__P273972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31505,18 +30652,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C43928_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C273951_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P43949.info = {"start":7723,"length":63,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} -controller_Controller_connected__P43949.isGetter = true; +controller_Controller_connected__P273972.info = {"start":7723,"length":63,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} +controller_Controller_connected__P273972.isGetter = true; -function controller_Controller_connected__P43949_mk(s) { +function controller_Controller_connected__P273972_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P43949, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P273972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31525,7 +30672,7 @@ function controller_Controller_connected__P43949_mk(s) { -function game_currentScene__P44793(s) { +function game_currentScene__P274816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31535,21 +30682,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P46791_mk(s); + s.tmp_0 = game_init__P276813_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1008; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1009; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___46783; + r0 = globals._scene___276805; return leave(s, r0) default: oops() } } } -game_currentScene__P44793.info = {"start":4025,"length":90,"line":118,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P274816.info = {"start":4025,"length":90,"line":118,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function game_currentScene__P44793_mk(s) { +function game_currentScene__P274816_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P44793, depth: s.depth + 1, + parent: s, fn: game_currentScene__P274816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -31558,7 +30705,7 @@ function game_currentScene__P44793_mk(s) { -function game_addScenePopHandler__P44814(s) { +function game_addScenePopHandler__P274837(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31572,35 +30719,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___46786); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___276808); 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___46786 = (r0); + globals._scenePopHandlers___276808 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___46786, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___276808, 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___46786, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___276808, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P44814.info = {"start":17455,"length":237,"line":513,"column":4,"endLine":517,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P274837.info = {"start":17455,"length":237,"line":513,"column":4,"endLine":517,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P44814_mk(s) { +function game_addScenePopHandler__P274837_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P44814, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P274837, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31611,7 +30758,7 @@ function game_addScenePopHandler__P44814_mk(s) { -function settings_initScopes__P46473(s) { +function settings_initScopes__P276495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31621,18 +30768,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___57059 = undefined; - s.tmp_1 = settings_runNumber__P43852_mk(s); - s.callLocIdx = 119; s.pc = 1; return s.tmp_1; + s.rn___287364 = undefined; + s.tmp_1 = settings_runNumber__P273875_mk(s); + s.callLocIdx = 120; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___57059 = (r0); - s.tmp_0 = settings_writeNumber__P43857_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___46461; - s.tmp_0.arg1 = s.rn___57059; - s.callLocIdx = 120; s.pc = 2; return s.tmp_0; + s.rn___287364 = (r0); + s.tmp_0 = settings_writeNumber__P273880_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___276483; + s.tmp_0.arg1 = s.rn___287364; + s.callLocIdx = 121; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = pxsim.control.deviceSerialNumber(); @@ -31640,34 +30787,34 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___57059); - s.tmp_0 = settings_setScope__P46472_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___287364); + s.tmp_0 = settings_setScope__P276494_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; - s.callLocIdx = 121; s.pc = 3; return s.tmp_0; + s.callLocIdx = 122; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_initScopes__P46473.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P276495.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__P46473_mk(s) { +function settings_initScopes__P276495_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P46473, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P276495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___57059: undefined, + rn___287364: undefined, } } -function settings_setScope__P46472(s) { +function settings_setScope__P276494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31677,7 +30824,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___57088 = undefined; + s.currScope___287393 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -31702,21 +30849,21 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P43860_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___46462; - s.callLocIdx = 117; s.pc = 7; return s.tmp_0; + s.tmp_0 = settings_readString__P273883_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___276484; + s.callLocIdx = 118; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___57088 = (r0); - r0 = (s.currScope___57088 != s.arg0); + s.currScope___287393 = (r0); + r0 = (s.currScope___287393 != 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__P43855_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___46462; + s.tmp_0 = settings_writeString__P273878_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___276484; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 118; s.pc = 8; return s.tmp_0; + s.callLocIdx = 119; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 5: @@ -31725,18 +30872,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P46472.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__P276494.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__P46472_mk(s) { +function settings_setScope__P276494_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P46472, depth: s.depth + 1, + parent: s, fn: settings_setScope__P276494, 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___57088: undefined, + currScope___287393: undefined, arg0: undefined, } } @@ -31744,7 +30891,7 @@ function settings_setScope__P46472_mk(s) { -function settings_readString__P43860(s) { +function settings_readString__P273883(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31754,14 +30901,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___57109 = undefined; + s.buf___287414 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___57109 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___57109); + s.buf___287414 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___287414); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -31771,7 +30918,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___57109); + r0 = pxsim.BufferMethods.toString(s.buf___287414); { step = 3; continue; } case 2: r0 = undefined; @@ -31779,16 +30926,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P43860.info = {"start":2827,"length":177,"line":110,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} +settings_readString__P273883.info = {"start":2827,"length":177,"line":110,"column":4,"endLine":116,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} -function settings_readString__P43860_mk(s) { +function settings_readString__P273883_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P43860, depth: s.depth + 1, + parent: s, fn: settings_readString__P273883, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___57109: undefined, + buf___287414: undefined, arg0: undefined, } } @@ -31796,7 +30943,7 @@ function settings_readString__P43860_mk(s) { -function settings_writeString__P43855(s) { +function settings_writeString__P273878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31811,23 +30958,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P43854_mk(s); + s.tmp_0 = settings_writeBuffer__P273877_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 123; s.pc = 1; return s.tmp_0; + s.callLocIdx = 124; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_writeString__P43855.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__P273878.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__P43855_mk(s) { +function settings_writeString__P273878_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P43855, depth: s.depth + 1, + parent: s, fn: settings_writeString__P273878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31838,7 +30985,7 @@ function settings_writeString__P43855_mk(s) { -function settings_runNumber__P43852(s) { +function settings_runNumber__P273875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31848,9 +30995,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P43862_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___46461; - s.callLocIdx = 116; s.pc = 3; return s.tmp_1; + s.tmp_1 = settings_readNumber__P273885_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___276483; + s.callLocIdx = 117; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -31867,12 +31014,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P43852.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P273875.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__P43852_mk(s) { +function settings_runNumber__P273875_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P43852, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P273875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31883,7 +31030,7 @@ function settings_runNumber__P43852_mk(s) { -function control___screen_setupUpdate__P43788(s) { +function control___screen_setupUpdate__P273811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31897,24 +31044,24 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___46428 = (true); - globals.__update___46426 = (s.arg0); + globals.__updated___276450 = (true); + globals.__update___276448 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 110; s.pc = 1; return s.tmp_0; + s.callLocIdx = 111; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P43788.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__P273811.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__P43788_mk(s) { +function control___screen_setupUpdate__P273811_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P43788, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P273811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31924,7 +31071,7 @@ function control___screen_setupUpdate__P43788_mk(s) { -function _screen_internal_getScreenHeight__P43831(s) { +function _screen_internal_getScreenHeight__P273854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31942,12 +31089,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenHeight__P43831.info = {"start":960,"length":127,"line":28,"column":4,"endLine":30,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenHeight","argumentNames":["defl"]} +_screen_internal_getScreenHeight__P273854.info = {"start":960,"length":127,"line":28,"column":4,"endLine":30,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenHeight","argumentNames":["defl"]} -function _screen_internal_getScreenHeight__P43831_mk(s) { +function _screen_internal_getScreenHeight__P273854_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenHeight__P43831, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenHeight__P273854, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31956,7 +31103,7 @@ function _screen_internal_getScreenHeight__P43831_mk(s) { -function _screen_internal_getScreenWidth__P43830(s) { +function _screen_internal_getScreenWidth__P273853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31974,12 +31121,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenWidth__P43830.info = {"start":810,"length":125,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenWidth","argumentNames":["defl"]} +_screen_internal_getScreenWidth__P273853.info = {"start":810,"length":125,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"getScreenWidth","argumentNames":["defl"]} -function _screen_internal_getScreenWidth__P43830_mk(s) { +function _screen_internal_getScreenWidth__P273853_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenWidth__P43830, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenWidth__P273853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31988,7 +31135,7 @@ function _screen_internal_getScreenWidth__P43830_mk(s) { -function control___screen_update__P43787(s) { +function control___screen_update__P273810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31998,27 +31145,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___46426); + r0 = pxsim_numops_toBoolDecr(globals.__update___276448); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___46426; + s.tmp_0.argL = globals.__update___276448; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 109; s.pc = 3; return s.tmp_0; + s.callLocIdx = 110; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___46428 = (true); + globals.__updated___276450 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P43787.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__P273810.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__P43787_mk(s) { +function control___screen_update__P273810_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P43787, depth: s.depth + 1, + parent: s, fn: control___screen_update__P273810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32027,7 +31174,7 @@ function control___screen_update__P43787_mk(s) { -function pause__P42206(s) { +function pause__P272229(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32051,12 +31198,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P42206.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P272229.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__P42206_mk(s) { +function pause__P272229_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P42206, depth: s.depth + 1, + parent: s, fn: pause__P272229, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -32065,7 +31212,7 @@ function pause__P42206_mk(s) { -function music_Melody_toString__P43429(s) { +function music_Melody_toString__P273452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32080,17 +31227,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C43420_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C273443_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P43429.info = {"start":10223,"length":53,"line":318,"column":8,"endLine":320,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P273452.info = {"start":10223,"length":53,"line":318,"column":8,"endLine":320,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P43429_mk(s) { +function music_Melody_toString__P273452_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P43429, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P273452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -32099,7 +31246,7 @@ function music_Melody_toString__P43429_mk(s) { -function particles_ShapeFactory_createParticle__P45011(s) { +function particles_ShapeFactory_createParticle__P275034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32109,47 +31256,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___57147 = undefined; + s.p___287452 = 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__C45007_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P44997_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C275030_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P275020_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1311; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1312; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___57147 = (r0); - s.tmp_0 = r0 = s.p___57147; - s.tmp_2 = Math_FastRandom_randomRange__P44857_mk(s); + s.p___287452 = (r0); + s.tmp_0 = r0 = s.p___287452; + s.tmp_2 = Math_FastRandom_randomRange__P274880_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; s.tmp_2.arg2 = 14; - s.callLocIdx = 1312; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1313; 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___57147; + r0 = s.p___287452; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P45011.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__P275034.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__P45011_mk(s) { +function particles_ShapeFactory_createParticle__P275034_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P45011, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P275034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___57147: undefined, + p___287452: undefined, arg0: undefined, arg1: undefined, } } @@ -32158,7 +31305,7 @@ function particles_ShapeFactory_createParticle__P45011_mk(s) { -function particles_AreaFactory_createParticle__P44997(s) { +function particles_AreaFactory_createParticle__P275020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32168,42 +31315,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___57159 = undefined; + s.p___287464 = 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__C44991_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P44987_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C275014_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P275010_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1293; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1294; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___57159 = (r0); - s.tmp_0 = r0 = s.p___57159; - s.tmp_2 = Math_FastRandom_randomRange__P44857_mk(s); + s.p___287464 = (r0); + s.tmp_0 = r0 = s.p___287464; + s.tmp_2 = Math_FastRandom_randomRange__P274880_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 = 1294; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1295; 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___57159; - s.tmp_4 = Math_FastRandom_randomRange__P44857_mk(s); + s.tmp_0 = r0 = s.p___287464; + s.tmp_4 = Math_FastRandom_randomRange__P274880_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 = 1295; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1296; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -32213,7 +31360,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___57159.fields["_x"]; + r0 = s.p___287464.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -32228,7 +31375,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 = 1298; s.pc = 6; return s.tmp_1; } + else { s.callLocIdx = 1299; s.pc = 6; return s.tmp_1; } } case 6: r0 = s.retval; @@ -32243,7 +31390,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 = 1299; s.pc = 7; return s.tmp_3; } + else { s.callLocIdx = 1300; s.pc = 7; return s.tmp_3; } } case 7: r0 = s.retval; @@ -32255,36 +31402,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___57159; - s.tmp_9 = Math_FastRandom_randomRange__P44857_mk(s); + s.tmp_5 = r0 = s.p___287464; + s.tmp_9 = Math_FastRandom_randomRange__P274880_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 = 1297; s.pc = 8; return s.tmp_9; + s.callLocIdx = 1298; 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___57159.fields["_y"]; + r0 = s.p___287464.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___57159; + r0 = s.p___287464; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P44997.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__P275020.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__P44997_mk(s) { +function particles_AreaFactory_createParticle__P275020_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P44997, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P275020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32298,7 +31445,7 @@ function particles_AreaFactory_createParticle__P44997_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___57159: undefined, + p___287464: undefined, arg0: undefined, arg1: undefined, } } @@ -32307,7 +31454,7 @@ function particles_AreaFactory_createParticle__P44997_mk(s) { -function Fx_iadd__P41951(s) { +function Fx_iadd__P271974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32328,12 +31475,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P41951.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__P271974.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__P41951_mk(s) { +function Fx_iadd__P271974_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P41951, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P271974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32344,7 +31491,7 @@ function Fx_iadd__P41951_mk(s) { -function particles_SprayFactory_createParticle__P44987(s) { +function particles_SprayFactory_createParticle__P275010(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32354,39 +31501,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___57215 = undefined; - s.angle___57219 = undefined; + s.p___287520 = undefined; + s.angle___287524 = 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__C44985_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P44983_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C275008_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P275006_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1282; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1283; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___57215 = (r0); + s.p___287520 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P44857_mk(s); - s.tmp_3.arg0 = globals.galois___47140; + s.tmp_3 = Math_FastRandom_randomRange__P274880_mk(s); + s.tmp_3.arg0 = globals.galois___277162; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1283; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1284; 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___57219 = (r0); - s.tmp_0 = r0 = s.p___57215; - r0 = pxsim_Array__getAt(globals.cachedSin___47135, s.angle___57219); + s.angle___287524 = (r0); + s.tmp_0 = r0 = s.p___287520; + r0 = pxsim_Array__getAt(globals.cachedSin___277157, s.angle___287524); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -32395,8 +31542,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___57215; - r0 = pxsim_Array__getAt(globals.cachedCos___47136, s.angle___57219); + s.tmp_0 = r0 = s.p___287520; + r0 = pxsim_Array__getAt(globals.cachedCos___277158, s.angle___287524); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -32405,24 +31552,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___57215; + r0 = s.p___287520; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P44987.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__P275010.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__P44987_mk(s) { +function particles_SprayFactory_createParticle__P275010_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P44987, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P275010, 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___57215: undefined, - angle___57219: undefined, + p___287520: undefined, + angle___287524: undefined, arg0: undefined, arg1: undefined, } } @@ -32431,7 +31578,7 @@ function particles_SprayFactory_createParticle__P44987_mk(s) { -function sprites_SpriteSet_toString__P44268(s) { +function sprites_SpriteSet_toString__P274291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32446,7 +31593,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C44257_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C274280_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -32468,12 +31615,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P44268.info = {"start":2586,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} +sprites_SpriteSet_toString__P274291.info = {"start":2586,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} -function sprites_SpriteSet_toString__P44268_mk(s) { +function sprites_SpriteSet_toString__P274291_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P44268, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P274291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32487,7 +31634,7 @@ function sprites_SpriteSet_toString__P44268_mk(s) { -function sprites_SpriteSet_length__P44260(s) { +function sprites_SpriteSet_length__P274283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32502,20 +31649,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C44257_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C274280_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__P44260.info = {"start":625,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} -sprites_SpriteSet_length__P44260.isGetter = true; +sprites_SpriteSet_length__P274283.info = {"start":625,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} +sprites_SpriteSet_length__P274283.isGetter = true; -function sprites_SpriteSet_length__P44260_mk(s) { +function sprites_SpriteSet_length__P274283_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P44260, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P274283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32525,7 +31672,7 @@ function sprites_SpriteSet_length__P44260_mk(s) { -function sprites_SpriteMap_toString__P44248(s) { +function sprites_SpriteMap_toString__P274271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32540,7 +31687,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C44240_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -32560,11 +31707,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P41903_mk(s); + s.tmp_10 = helpers_arrayFilter__P271926_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P57263; - s.callLocIdx = 514; s.pc = 2; return s.tmp_10; + s.tmp_10.arg1 = length_inline__P287568; + s.callLocIdx = 515; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; s.tmp_9 = r0; @@ -32585,12 +31732,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P44248.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__P274271.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__P44248_mk(s) { +function sprites_SpriteMap_toString__P274271_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P44248, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P274271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32610,7 +31757,7 @@ function sprites_SpriteMap_toString__P44248_mk(s) { -function length_inline__P57263(s) { +function length_inline__P287568(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32634,12 +31781,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P57263.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +length_inline__P287568.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} -function length_inline__P57263_mk(s) { +function length_inline__P287568_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P57263, depth: s.depth + 1, + parent: s, fn: length_inline__P287568, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32651,7 +31798,7 @@ function length_inline__P57263_mk(s) { -function ArcadePhysicsEngine_moveSprite__P44335(s) { +function ArcadePhysicsEngine_moveSprite__P274358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32661,9 +31808,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___57295 = undefined; - s.maxDist___57303 = undefined; - s.ms___57323 = undefined; + s.tm___287600 = undefined; + s.maxDist___287608 = undefined; + s.ms___287628 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32672,7 +31819,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -32691,19 +31838,19 @@ switch (step) { r0 = (s.tmp_2 + s.arg3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 751; s.pc = 13; return s.tmp_0; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 752; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___57295 = (r0); - s.tmp_0 = r0 = s.tm___57295; + s.tm___287600 = (r0); + s.tmp_0 = r0 = s.tm___287600; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___57295.fields["_map"]; + r0 = s.tm___287600.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -32722,41 +31869,41 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___57303 = (r0); - s.tmp_2 = Math_abs__P41921_mk(s); + s.maxDist___287608 = (r0); + s.tmp_2 = Math_abs__P271944_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 755; s.pc = 14; return s.tmp_2; + s.callLocIdx = 756; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___57303); + r0 = (s.tmp_1 <= s.maxDist___287608); 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: - s.tmp_5 = Math_abs__P41921_mk(s); + s.tmp_5 = Math_abs__P271944_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); s.tmp_5.arg0 = r0; - s.callLocIdx = 757; s.pc = 15; return s.tmp_5; + s.callLocIdx = 758; s.pc = 15; return s.tmp_5; case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___57303); + r0 = (s.tmp_4 <= s.maxDist___287608); case 4: // jmp value (already in r0) s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C44319_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C274342_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P44320_mk(s); + s.tmp_9 = MovingSprite_constructor__P274343_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -32767,23 +31914,23 @@ switch (step) { s.tmp_9.arg5 = s.arg3; s.tmp_9.arg6 = s.arg2; s.tmp_9.arg7 = s.arg3; - s.callLocIdx = 758; s.pc = 16; return s.tmp_9; + s.callLocIdx = 759; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___57323 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P46639_mk(s); + s.ms___287628 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P276661_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___57323; - s.tmp_0.arg2 = s.tm___57295; - s.callLocIdx = 759; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = s.ms___287628; + s.tmp_0.arg2 = s.tm___287600; + s.callLocIdx = 760; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P44552_mk(s); - s.tmp_1.arg0 = s.tm___57295; + s.tmp_1 = tiles_TileMap_isOnWall__P274575_mk(s); + s.tmp_1.arg0 = s.tm___287600; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 760; s.pc = 18; return s.tmp_1; + s.callLocIdx = 761; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; s.tmp_0 = r0; @@ -32792,11 +31939,11 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P46641_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P276663_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___57295; - s.callLocIdx = 761; s.pc = 19; return s.tmp_4; + s.tmp_4.arg2 = s.tm___287600; + s.callLocIdx = 762; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; s.tmp_3 = r0; @@ -32830,12 +31977,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P44335.info = {"start":23898,"length":1208,"line":654,"column":4,"endLine":685,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P274358.info = {"start":23898,"length":1208,"line":654,"column":4,"endLine":685,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P44335_mk(s) { +function ArcadePhysicsEngine_moveSprite__P274358_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P44335, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P274358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32847,9 +31994,9 @@ function ArcadePhysicsEngine_moveSprite__P44335_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___57295: undefined, - maxDist___57303: undefined, - ms___57323: undefined, + tm___287600: undefined, + maxDist___287608: undefined, + ms___287628: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32860,7 +32007,7 @@ function ArcadePhysicsEngine_moveSprite__P44335_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P46641(s) { +function ArcadePhysicsEngine_canResolveClipping__P276663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32870,19 +32017,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___57368 = undefined; - s.sz___57371 = undefined; - s.maxMove___57376 = undefined; - s.origY___57378 = undefined; - s.origX___57381 = undefined; - s.l___57384 = undefined; - s.r___57389 = undefined; - s.t___57394 = undefined; - s.b___57399 = undefined; - s.offset___57404 = undefined; - s.offset___57429 = undefined; - s.offset___57460 = undefined; - s.offset___57485 = undefined; + s.hbox___287673 = undefined; + s.sz___287676 = undefined; + s.maxMove___287681 = undefined; + s.origY___287683 = undefined; + s.origX___287686 = undefined; + s.l___287689 = undefined; + s.r___287694 = undefined; + s.t___287699 = undefined; + s.b___287704 = undefined; + s.offset___287709 = undefined; + s.offset___287734 = undefined; + s.offset___287765 = undefined; + s.offset___287790 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32890,7 +32037,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -32901,9 +32048,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C44135_v4_1_mk(s); + s.tmp_4 = Sprite__C274158_v4_1_mk(s); s.tmp_4.arg0 = s.arg1; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C44135_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, Sprite__C274158_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 20; return s.tmp_4; case 20: @@ -32911,83 +32058,83 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___57368 = (r0); + s.hbox___287673 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___57371 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P44327_mk(s); + s.sz___287676 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P274350_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 764; s.pc = 21; return s.tmp_0; + s.callLocIdx = 765; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___57376 = (r0); + s.maxMove___287681 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___57378 = (r0); + s.origY___287683 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___57381 = (r0); - s.tmp_1 = game_Hitbox_left__P44010_mk(s); - s.tmp_1.arg0 = s.hbox___57368; - s.callLocIdx = 765; s.pc = 22; return s.tmp_1; + s.origX___287686 = (r0); + s.tmp_1 = game_Hitbox_left__P274033_mk(s); + s.tmp_1.arg0 = s.hbox___287673; + s.callLocIdx = 766; 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___57384 = (r0); - s.tmp_1 = game_Hitbox_right__P44012_mk(s); - s.tmp_1.arg0 = s.hbox___57368; - s.callLocIdx = 767; s.pc = 23; return s.tmp_1; + s.l___287689 = (r0); + s.tmp_1 = game_Hitbox_right__P274035_mk(s); + s.tmp_1.arg0 = s.hbox___287673; + s.callLocIdx = 768; 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___57389 = (r0); - s.tmp_1 = game_Hitbox_top__P44011_mk(s); - s.tmp_1.arg0 = s.hbox___57368; - s.callLocIdx = 769; s.pc = 24; return s.tmp_1; + s.r___287694 = (r0); + s.tmp_1 = game_Hitbox_top__P274034_mk(s); + s.tmp_1.arg0 = s.hbox___287673; + s.callLocIdx = 770; 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___57394 = (r0); - s.tmp_1 = game_Hitbox_bottom__P44013_mk(s); - s.tmp_1.arg0 = s.hbox___57368; - s.callLocIdx = 771; s.pc = 25; return s.tmp_1; + s.t___287699 = (r0); + s.tmp_1 = game_Hitbox_bottom__P274036_mk(s); + s.tmp_1.arg0 = s.hbox___287673; + s.callLocIdx = 772; 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___57399 = (r0); - r0 = (s.b___57399 + 1); + s.b___287704 = (r0); + r0 = (s.b___287704 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___57371); - s.offset___57404 = (r0); - r0 = (s.offset___57404 <= s.maxMove___57376); + r0 = (s.tmp_0 % s.sz___287676); + s.offset___287709 = (r0); + r0 = (s.offset___287709 <= s.maxMove___287681); 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___57404 * 256); + r0 = (s.offset___287709 * 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__P44552_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P274575_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 775; s.pc = 26; return s.tmp_3; + s.callLocIdx = 776; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; s.tmp_2 = r0; @@ -33001,38 +32148,38 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___57378); + r0 = (s.arg1).fields["_y"] = (s.origY___287683); case 4: case 5: case 6: - r0 = (s.t___57394 / s.sz___57371); + r0 = (s.t___287699 / s.sz___287676); 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___57371); + r0 = (s.tmp_1 * s.sz___287676); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___57394); - s.offset___57429 = (r0); - r0 = (s.offset___57429 <= s.maxMove___57376); + r0 = (s.tmp_0 - s.t___287699); + s.offset___287734 = (r0); + r0 = (s.offset___287734 <= s.maxMove___287681); 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___57429 * 256); + r0 = (s.offset___287734 * 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__P44552_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P274575_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 778; s.pc = 27; return s.tmp_3; + s.callLocIdx = 779; s.pc = 27; return s.tmp_3; case 27: r0 = s.retval; s.tmp_2 = r0; @@ -33046,32 +32193,32 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___57378); + r0 = (s.arg1).fields["_y"] = (s.origY___287683); case 8: case 9: case 10: - r0 = (s.r___57389 + 1); + r0 = (s.r___287694 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___57371); - s.offset___57460 = (r0); - r0 = (s.offset___57460 <= s.maxMove___57376); + r0 = (s.tmp_0 % s.sz___287676); + s.offset___287765 = (r0); + r0 = (s.offset___287765 <= s.maxMove___287681); 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___57460 * 256); + r0 = (s.offset___287765 * 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__P44552_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P274575_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 781; s.pc = 28; return s.tmp_3; + s.callLocIdx = 782; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -33085,38 +32232,38 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___57381); + r0 = (s.arg1).fields["_x"] = (s.origX___287686); case 12: case 13: case 14: - r0 = (s.l___57384 / s.sz___57371); + r0 = (s.l___287689 / s.sz___287676); 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___57371); + r0 = (s.tmp_1 * s.sz___287676); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___57384); - s.offset___57485 = (r0); - r0 = (s.offset___57485 <= s.maxMove___57376); + r0 = (s.tmp_0 - s.l___287689); + s.offset___287790 = (r0); + r0 = (s.offset___287790 <= s.maxMove___287681); 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___57485 * 256); + r0 = (s.offset___287790 * 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__P44552_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P274575_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 784; s.pc = 29; return s.tmp_3; + s.callLocIdx = 785; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; @@ -33130,7 +32277,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___57381); + r0 = (s.arg1).fields["_x"] = (s.origX___287686); case 16: case 17: case 18: @@ -33139,12 +32286,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P46641.info = {"start":25202,"length":2135,"line":688,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P276663.info = {"start":25202,"length":2135,"line":688,"column":4,"endLine":759,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P46641_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P276663_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P46641, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P276663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33152,19 +32299,19 @@ function ArcadePhysicsEngine_canResolveClipping__P46641_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___57368: undefined, - sz___57371: undefined, - maxMove___57376: undefined, - origY___57378: undefined, - origX___57381: undefined, - l___57384: undefined, - r___57389: undefined, - t___57394: undefined, - b___57399: undefined, - offset___57404: undefined, - offset___57429: undefined, - offset___57460: undefined, - offset___57485: undefined, + hbox___287673: undefined, + sz___287676: undefined, + maxMove___287681: undefined, + origY___287683: undefined, + origX___287686: undefined, + l___287689: undefined, + r___287694: undefined, + t___287699: undefined, + b___287704: undefined, + offset___287709: undefined, + offset___287734: undefined, + offset___287765: undefined, + offset___287790: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33174,7 +32321,7 @@ function ArcadePhysicsEngine_canResolveClipping__P46641_mk(s) { -function Sprite_isStatic__P44189(s) { +function Sprite_isStatic__P274212(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33189,19 +32336,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44189.info = {"start":9841,"length":57,"line":355,"column":4,"endLine":357,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} +Sprite_isStatic__P274212.info = {"start":9841,"length":57,"line":355,"column":4,"endLine":357,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isStatic","argumentNames":["this"]} -function Sprite_isStatic__P44189_mk(s) { +function Sprite_isStatic__P274212_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P44189, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P274212, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33211,7 +32358,7 @@ function Sprite_isStatic__P44189_mk(s) { -function game_Hitbox_bottom__P44013(s) { +function game_Hitbox_bottom__P274036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33226,12 +32373,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C44002_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C274025_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P44011_mk(s); + s.tmp_3 = game_Hitbox_top__P274034_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 225; s.pc = 1; return s.tmp_3; + s.callLocIdx = 226; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -33241,13 +32388,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P44013.info = {"start":786,"length":139,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} -game_Hitbox_bottom__P44013.isGetter = true; +game_Hitbox_bottom__P274036.info = {"start":786,"length":139,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} +game_Hitbox_bottom__P274036.isGetter = true; -function game_Hitbox_bottom__P44013_mk(s) { +function game_Hitbox_bottom__P274036_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P44013, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P274036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33260,7 +32407,7 @@ function game_Hitbox_bottom__P44013_mk(s) { -function game_Hitbox_right__P44012(s) { +function game_Hitbox_right__P274035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33275,12 +32422,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C44002_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C274025_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P44010_mk(s); + s.tmp_3 = game_Hitbox_left__P274033_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 222; s.pc = 1; return s.tmp_3; + s.callLocIdx = 223; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -33290,13 +32437,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P44012.info = {"start":638,"length":138,"line":26,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} -game_Hitbox_right__P44012.isGetter = true; +game_Hitbox_right__P274035.info = {"start":638,"length":138,"line":26,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} +game_Hitbox_right__P274035.isGetter = true; -function game_Hitbox_right__P44012_mk(s) { +function game_Hitbox_right__P274035_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P44012, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P274035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33309,7 +32456,7 @@ function game_Hitbox_right__P44012_mk(s) { -function game_Hitbox_top__P44011(s) { +function game_Hitbox_top__P274034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33324,7 +32471,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C44002_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C274025_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -33334,13 +32481,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P44011.info = {"start":555,"length":73,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} -game_Hitbox_top__P44011.isGetter = true; +game_Hitbox_top__P274034.info = {"start":555,"length":73,"line":22,"column":8,"endLine":24,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} +game_Hitbox_top__P274034.isGetter = true; -function game_Hitbox_top__P44011_mk(s) { +function game_Hitbox_top__P274034_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P44011, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P274034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33351,7 +32498,7 @@ function game_Hitbox_top__P44011_mk(s) { -function game_Hitbox_left__P44010(s) { +function game_Hitbox_left__P274033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33366,7 +32513,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C44002_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C274025_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -33376,13 +32523,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P44010.info = {"start":471,"length":74,"line":18,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} -game_Hitbox_left__P44010.isGetter = true; +game_Hitbox_left__P274033.info = {"start":471,"length":74,"line":18,"column":8,"endLine":20,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} +game_Hitbox_left__P274033.isGetter = true; -function game_Hitbox_left__P44010_mk(s) { +function game_Hitbox_left__P274033_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P44010, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P274033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33393,7 +32540,7 @@ function game_Hitbox_left__P44010_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P46639(s) { +function ArcadePhysicsEngine_tilemapCollisions__P276661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33403,37 +32550,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___57645 = undefined; - s.hbox___57670 = undefined; - s.tileScale___57673 = undefined; - s.tileSize___57676 = undefined; - s.xDiff___57680 = undefined; - s.yDiff___57687 = undefined; - s.right___57703 = undefined; - s.x0___57707 = undefined; - s.collidedTiles___57722 = undefined; - s.y___57724 = undefined; - s.y0___57738 = undefined; - s.obstacle___57754 = undefined; - s.collisionDirection___57781 = undefined; - s.tile___57807 = undefined; - s.unnamed272___U14 = undefined; - s.unnamed273___U15 = undefined; - s.down___57898 = undefined; - s.y0___57902 = undefined; - s.collidedTiles___57917 = undefined; - s.x___57919 = undefined; - s.x0___57929 = undefined; - s.obstacle___57943 = undefined; - s.collisionDirection___57970 = undefined; - s.tile___57996 = undefined; - s.unnamed274___U24 = undefined; - s.unnamed275___U25 = undefined; - s.overlappedTiles___58090 = undefined; - s.x___58092 = undefined; - s.x0___58102 = undefined; - s.y___58112 = undefined; - s.y0___58122 = undefined; + s.s___287950 = undefined; + s.hbox___287975 = undefined; + s.tileScale___287978 = undefined; + s.tileSize___287981 = undefined; + s.xDiff___287985 = undefined; + s.yDiff___287992 = undefined; + s.right___288008 = undefined; + s.x0___288012 = undefined; + s.collidedTiles___288027 = undefined; + s.y___288029 = undefined; + s.y0___288043 = undefined; + s.obstacle___288059 = undefined; + s.collisionDirection___288086 = undefined; + s.tile___288112 = undefined; + s.unnamed2140___U14 = undefined; + s.unnamed2141___U15 = undefined; + s.down___288203 = undefined; + s.y0___288207 = undefined; + s.collidedTiles___288222 = undefined; + s.x___288224 = undefined; + s.x0___288234 = undefined; + s.obstacle___288248 = undefined; + s.collisionDirection___288275 = undefined; + s.tile___288301 = undefined; + s.unnamed2142___U24 = undefined; + s.unnamed2143___U25 = undefined; + s.overlappedTiles___288395 = undefined; + s.x___288397 = undefined; + s.x0___288407 = undefined; + s.y___288417 = undefined; + s.y0___288427 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33441,19 +32588,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___57645 = (r0); - r0 = s.s___57645.fields["flags"]; + s.s___287950 = (r0); + r0 = s.s___287950.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_5 = tiles_TileMap_isOnWall__P44552_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P274575_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___57645; - s.callLocIdx = 647; s.pc = 97; return s.tmp_5; + s.tmp_5.arg1 = s.s___287950; + s.callLocIdx = 648; s.pc = 97; return s.tmp_5; case 97: r0 = s.retval; s.tmp_4 = r0; @@ -33463,7 +32610,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - s.tmp_6 = r0 = s.s___57645; + s.tmp_6 = r0 = s.s___287950; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -33473,7 +32620,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___57645.fields["_image"]; + r0 = s.s___287950.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -33483,34 +32630,34 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite__C44135_v4_1_mk(s); - s.tmp_4.arg0 = s.s___57645; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C44135_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C274158_v4_1_mk(s); + s.tmp_4.arg0 = s.s___287950; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C274158_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 98; return s.tmp_4; case 98: r0 = s.retval; case 5: case 6: - r0 = s.s___57645.fields["_hitbox"]; - s.hbox___57670 = (r0); + r0 = s.s___287950.fields["_hitbox"]; + s.hbox___287975 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___57673 = (r0); - r0 = (1 << s.tileScale___57673); - s.tileSize___57676 = (r0); - r0 = s.s___57645.fields["_x"]; + s.tileScale___287978 = (r0); + r0 = (1 << s.tileScale___287978); + s.tileSize___287981 = (r0); + r0 = s.s___287950.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___57645.fields["_lastX"]; + r0 = s.s___287950.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___57680 = (r0); - r0 = s.s___57645.fields["_y"]; + s.xDiff___287985 = (r0); + r0 = s.s___287950.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___57645.fields["_lastY"]; + r0 = s.s___287950.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___57687 = (r0); - r0 = s.s___57645.fields["flags"]; + s.yDiff___287992 = (r0); + r0 = s.s___287950.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -33520,26 +32667,26 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 83; continue; } - r0 = (s.xDiff___57680 !== 0); + r0 = (s.xDiff___287985 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 43; continue; } - r0 = (s.xDiff___57680 > 0); - s.right___57703 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___57703); + r0 = (s.xDiff___287985 > 0); + s.right___288008 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___288008); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P44012_mk(s); - s.tmp_1.arg0 = s.hbox___57670; - s.callLocIdx = 652; s.pc = 99; return s.tmp_1; + s.tmp_1 = game_Hitbox_right__P274035_mk(s); + s.tmp_1.arg0 = s.hbox___287975; + s.callLocIdx = 653; s.pc = 99; return s.tmp_1; case 99: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P44010_mk(s); - s.tmp_3.arg0 = s.hbox___57670; - s.callLocIdx = 654; s.pc = 100; return s.tmp_3; + s.tmp_3 = game_Hitbox_left__P274033_mk(s); + s.tmp_3.arg0 = s.hbox___287975; + s.callLocIdx = 655; s.pc = 100; return s.tmp_3; case 100: r0 = s.retval; s.tmp_2 = r0; @@ -33549,30 +32696,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___57673 + 8); + r0 = (s.tileScale___287978 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___57707 = (r0); + s.x0___288012 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___57722 = (r0); - s.tmp_1 = game_Hitbox_top__P44011_mk(s); - s.tmp_1.arg0 = s.hbox___57670; - s.callLocIdx = 658; s.pc = 101; return s.tmp_1; + s.collidedTiles___288027 = (r0); + s.tmp_1 = game_Hitbox_top__P274034_mk(s); + s.tmp_1.arg0 = s.hbox___287975; + s.callLocIdx = 659; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___57687); - s.y___57724 = (r0); + r0 = (s.tmp_0 - s.yDiff___287992); + s.y___288029 = (r0); case 9: - s.tmp_1 = r0 = s.y___57724; - s.tmp_3 = r0 = s.tileSize___57676; - s.tmp_6 = game_Hitbox_bottom__P44013_mk(s); - s.tmp_6.arg0 = s.hbox___57670; - s.callLocIdx = 660; s.pc = 102; return s.tmp_6; + s.tmp_1 = r0 = s.y___288029; + s.tmp_3 = r0 = s.tileSize___287981; + s.tmp_6 = game_Hitbox_bottom__P274036_mk(s); + s.tmp_6.arg0 = s.hbox___287975; + s.callLocIdx = 661; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___57687); + r0 = (s.tmp_5 - s.yDiff___287992); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -33582,51 +32729,51 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P41959_mk(s); - s.tmp_10.arg0 = s.y___57724; - s.tmp_12 = game_Hitbox_bottom__P44013_mk(s); - s.tmp_12.arg0 = s.hbox___57670; - s.callLocIdx = 663; s.pc = 104; return s.tmp_12; + s.tmp_10 = Fx_min__P271982_mk(s); + s.tmp_10.arg0 = s.y___288029; + s.tmp_12 = game_Hitbox_bottom__P274036_mk(s); + s.tmp_12.arg0 = s.hbox___287975; + s.callLocIdx = 664; s.pc = 104; return s.tmp_12; case 104: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___57687); + r0 = (s.tmp_11 - s.yDiff___287992); s.tmp_10.arg1 = r0; - s.callLocIdx = 665; s.pc = 103; return s.tmp_10; + s.callLocIdx = 666; s.pc = 103; return s.tmp_10; case 103: r0 = s.retval; s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___57673 + 8); + r0 = (s.tileScale___287978 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___57738 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P44550_mk(s); + s.y0___288043 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P274573_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___57707; - s.tmp_1.arg2 = s.y0___57738; - s.callLocIdx = 668; s.pc = 105; return s.tmp_1; + s.tmp_1.arg1 = s.x0___288012; + s.tmp_1.arg2 = s.y0___288043; + s.callLocIdx = 669; s.pc = 105; return s.tmp_1; case 105: 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__P44551_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P274574_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___57707; - s.tmp_2.arg2 = s.y0___57738; - s.callLocIdx = 669; s.pc = 106; return s.tmp_2; + s.tmp_2.arg1 = s.x0___288012; + s.tmp_2.arg2 = s.y0___288043; + s.callLocIdx = 670; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - s.obstacle___57754 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P57762); + s.obstacle___288059 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P288067); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___57754); - s.tmp_4 = helpers_arraySome__P41900_mk(s); - s.tmp_4.arg0 = s.collidedTiles___57722; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___288059); + s.tmp_4 = helpers_arraySome__P271923_mk(s); + s.tmp_4.arg0 = s.collidedTiles___288027; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 670; s.pc = 107; return s.tmp_4; + s.callLocIdx = 671; s.pc = 107; return s.tmp_4; case 107: r0 = s.retval; s.tmp_3 = r0; @@ -33636,22 +32783,22 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__push(s.collidedTiles___57722, s.obstacle___57754); + r0 = pxsim_Array__push(s.collidedTiles___288027, s.obstacle___288059); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___57676 << 8); + r0 = (s.tileSize___287981 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___57724); - s.y___57724 = (r0); + r0 = (s.tmp_0 + s.y___288029); + s.y___288029 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___57722); + r0 = pxsim_Array__length(s.collidedTiles___288027); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___57703); + r0 = pxsim_numops_toBoolDecr(s.right___288008); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -33660,23 +32807,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___57781 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___57703); + s.collisionDirection___288086 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___288008); if (!r0) { step = 17; continue; } - r0 = (s.x0___57707 << s.tileScale___57673); + r0 = (s.x0___288012 << s.tileScale___287978); 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___57670.fields["width"]; + r0 = s.hbox___287975.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___57707 + 1); + r0 = (s.x0___288012 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___57673); + r0 = (s.tmp_5 << s.tileScale___287978); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -33684,24 +32831,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___57645; - r0 = s.hbox___57670.fields["ox"]; + s.tmp_8 = r0 = s.s___287950; + r0 = s.hbox___287975.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___57807 = (undefined); - s.unnamed272___U14 = (s.collidedTiles___57722); - s.unnamed273___U15 = (0); + s.tile___288112 = (undefined); + s.unnamed2140___U14 = (s.collidedTiles___288027); + s.unnamed2141___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed273___U15; - r0 = pxsim_Array__length(s.unnamed272___U14); + s.tmp_0 = r0 = s.unnamed2141___U15; + r0 = pxsim_Array__length(s.unnamed2140___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed272___U14, s.unnamed273___U15); - s.tile___57807 = (r0); - r0 = s.s___57645.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed2140___U14, s.unnamed2141___U15); + s.tile___288112 = (r0); + r0 = s.s___287950.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -33711,37 +32858,37 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_6 = Sprite_registerObstacle__P44220_mk(s); - s.tmp_6.arg0 = s.s___57645; - s.tmp_6.arg1 = s.collisionDirection___57781; - s.tmp_6.arg2 = s.tile___57807; + s.tmp_6 = Sprite_registerObstacle__P274243_mk(s); + s.tmp_6.arg0 = s.s___287950; + s.tmp_6.arg1 = s.collisionDirection___288086; + s.tmp_6.arg2 = s.tile___288112; s.tmp_6.arg3 = s.arg2; - s.callLocIdx = 676; s.pc = 108; return s.tmp_6; + s.callLocIdx = 677; s.pc = 108; return s.tmp_6; case 108: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed273___U15 + 1); - s.unnamed273___U15 = (r0); + r0 = (s.unnamed2141___U15 + 1); + s.unnamed2141___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed272___U14 = (undefined); - r0 = s.s___57645.fields["flags"]; + s.unnamed2140___U14 = (undefined); + r0 = s.s___287950.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 = 23; continue; } - s.tmp_2 = Sprite_destroy__P44222_mk(s); - s.tmp_2.arg0 = s.s___57645; + s.tmp_2 = Sprite_destroy__P274245_mk(s); + s.tmp_2.arg0 = s.s___287950; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 677; s.pc = 109; return s.tmp_2; + s.callLocIdx = 678; s.pc = 109; return s.tmp_2; case 109: r0 = s.retval; { step = 40; continue; } case 23: - r0 = s.s___57645.fields["_vx"]; + r0 = s.s___287950.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -33752,7 +32899,7 @@ switch (step) { r0 = s.tmp_0; { step = 25; continue; } case 24: - r0 = s.s___57645.fields["flags"]; + r0 = s.s___287950.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -33764,13 +32911,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 36; continue; } - r0 = s.s___57645.fields["flags"]; + r0 = s.s___287950.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 32); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 34; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___57703); + r0 = pxsim_numops_toBoolDecr(s.right___288008); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -33779,9 +32926,9 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 26: - s.tmp_12 = Sprite_vx__P44152_mk(s); - s.tmp_12.arg0 = s.s___57645; - s.callLocIdx = 678; s.pc = 110; return s.tmp_12; + s.tmp_12 = Sprite_vx__P274175_mk(s); + s.tmp_12.arg0 = s.s___287950; + s.callLocIdx = 679; s.pc = 110; return s.tmp_12; case 110: r0 = s.retval; s.tmp_11 = r0; @@ -33794,15 +32941,15 @@ switch (step) { r0 = s.tmp_13; { step = 31; continue; } case 28: - s.tmp_14 = r0 = s.right___57703; + s.tmp_14 = r0 = s.right___288008; r0 = pxsim_numops_toBool(s.tmp_14); if (r0) { step = 29; continue; } r0 = s.tmp_14; { step = 30; continue; } case 29: - s.tmp_16 = Sprite_vx__P44152_mk(s); - s.tmp_16.arg0 = s.s___57645; - s.callLocIdx = 679; s.pc = 111; return s.tmp_16; + s.tmp_16 = Sprite_vx__P274175_mk(s); + s.tmp_16.arg0 = s.s___287950; + s.callLocIdx = 680; s.pc = 111; return s.tmp_16; case 111: r0 = s.retval; s.tmp_15 = r0; @@ -33816,8 +32963,8 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 32; continue; } - s.tmp_19 = r0 = s.s___57645; - r0 = s.s___57645.fields["_vx"]; + s.tmp_19 = r0 = s.s___287950; + r0 = s.s___287950.fields["_vx"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -33839,29 +32986,29 @@ switch (step) { { step = 35; continue; } case 34: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___57645).fields["_vx"] = (0); + r0 = (s.s___287950).fields["_vx"] = (0); case 35: { step = 39; continue; } case 36: - s.tmp_2 = Math_sign__P41922_mk(s); - r0 = s.s___57645.fields["_vx"]; + s.tmp_2 = Math_sign__P271945_mk(s); + r0 = s.s___287950.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 = 684; s.pc = 112; return s.tmp_2; + s.callLocIdx = 685; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P41922_mk(s); + s.tmp_6 = Math_sign__P271945_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 = 686; s.pc = 113; return s.tmp_6; + s.callLocIdx = 687; s.pc = 113; return s.tmp_6; case 113: r0 = s.retval; s.tmp_5 = r0; @@ -33878,26 +33025,26 @@ switch (step) { case 42: case 43: case 44: - r0 = (s.yDiff___57687 !== 0); + r0 = (s.yDiff___287992 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - r0 = (s.yDiff___57687 > 0); - s.down___57898 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___57898); + r0 = (s.yDiff___287992 > 0); + s.down___288203 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___288203); if (!r0) { step = 45; continue; } - s.tmp_1 = game_Hitbox_bottom__P44013_mk(s); - s.tmp_1.arg0 = s.hbox___57670; - s.callLocIdx = 687; s.pc = 114; return s.tmp_1; + s.tmp_1 = game_Hitbox_bottom__P274036_mk(s); + s.tmp_1.arg0 = s.hbox___287975; + s.callLocIdx = 688; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 256); { step = 46; continue; } case 45: - s.tmp_3 = game_Hitbox_top__P44011_mk(s); - s.tmp_3.arg0 = s.hbox___57670; - s.callLocIdx = 689; s.pc = 115; return s.tmp_3; + s.tmp_3 = game_Hitbox_top__P274034_mk(s); + s.tmp_3.arg0 = s.hbox___287975; + s.callLocIdx = 690; s.pc = 115; return s.tmp_3; case 115: r0 = s.retval; s.tmp_2 = r0; @@ -33907,24 +33054,24 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___57673 + 8); + r0 = (s.tileScale___287978 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___57902 = (r0); + s.y0___288207 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___57917 = (r0); - s.tmp_0 = game_Hitbox_left__P44010_mk(s); - s.tmp_0.arg0 = s.hbox___57670; - s.callLocIdx = 693; s.pc = 116; return s.tmp_0; + s.collidedTiles___288222 = (r0); + s.tmp_0 = game_Hitbox_left__P274033_mk(s); + s.tmp_0.arg0 = s.hbox___287975; + s.callLocIdx = 694; s.pc = 116; return s.tmp_0; case 116: r0 = s.retval; - s.x___57919 = (r0); + s.x___288224 = (r0); case 47: - s.tmp_1 = r0 = s.x___57919; - s.tmp_3 = r0 = s.tileSize___57676; - s.tmp_5 = game_Hitbox_right__P44012_mk(s); - s.tmp_5.arg0 = s.hbox___57670; - s.callLocIdx = 694; s.pc = 117; return s.tmp_5; + s.tmp_1 = r0 = s.x___288224; + s.tmp_3 = r0 = s.tileSize___287981; + s.tmp_5 = game_Hitbox_right__P274035_mk(s); + s.tmp_5.arg0 = s.hbox___287975; + s.callLocIdx = 695; s.pc = 117; return s.tmp_5; case 117: r0 = s.retval; s.tmp_4 = r0; @@ -33936,49 +33083,49 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } - s.tmp_9 = Fx_min__P41959_mk(s); - s.tmp_9.arg0 = s.x___57919; - s.tmp_10 = game_Hitbox_right__P44012_mk(s); - s.tmp_10.arg0 = s.hbox___57670; - s.callLocIdx = 696; s.pc = 119; return s.tmp_10; + s.tmp_9 = Fx_min__P271982_mk(s); + s.tmp_9.arg0 = s.x___288224; + s.tmp_10 = game_Hitbox_right__P274035_mk(s); + s.tmp_10.arg0 = s.hbox___287975; + s.callLocIdx = 697; s.pc = 119; return s.tmp_10; case 119: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 697; s.pc = 118; return s.tmp_9; + s.callLocIdx = 698; s.pc = 118; return s.tmp_9; case 118: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___57673 + 8); + r0 = (s.tileScale___287978 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___57929 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P44550_mk(s); + s.x0___288234 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P274573_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___57929; - s.tmp_1.arg2 = s.y0___57902; - s.callLocIdx = 700; s.pc = 120; return s.tmp_1; + s.tmp_1.arg1 = s.x0___288234; + s.tmp_1.arg2 = s.y0___288207; + s.callLocIdx = 701; s.pc = 120; return s.tmp_1; case 120: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 50; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P44551_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P274574_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___57929; - s.tmp_2.arg2 = s.y0___57902; - s.callLocIdx = 701; s.pc = 121; return s.tmp_2; + s.tmp_2.arg1 = s.x0___288234; + s.tmp_2.arg2 = s.y0___288207; + s.callLocIdx = 702; s.pc = 121; return s.tmp_2; case 121: r0 = s.retval; - s.obstacle___57943 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P57951); + s.obstacle___288248 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P288256); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___57943); - s.tmp_4 = helpers_arraySome__P41900_mk(s); - s.tmp_4.arg0 = s.collidedTiles___57917; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___288248); + s.tmp_4 = helpers_arraySome__P271923_mk(s); + s.tmp_4.arg0 = s.collidedTiles___288222; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 702; s.pc = 122; return s.tmp_4; + s.callLocIdx = 703; s.pc = 122; return s.tmp_4; case 122: r0 = s.retval; s.tmp_3 = r0; @@ -33988,22 +33135,22 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 48; continue; } - r0 = pxsim_Array__push(s.collidedTiles___57917, s.obstacle___57943); + r0 = pxsim_Array__push(s.collidedTiles___288222, s.obstacle___288248); case 48: case 49: case 50: case 51: - r0 = (s.tileSize___57676 << 8); + r0 = (s.tileSize___287981 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___57919); - s.x___57919 = (r0); + r0 = (s.tmp_0 + s.x___288224); + s.x___288224 = (r0); { step = 47; continue; } case 52: - r0 = pxsim_Array__length(s.collidedTiles___57917); + r0 = pxsim_Array__length(s.collidedTiles___288222); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___57898); + r0 = pxsim_numops_toBoolDecr(s.down___288203); if (!r0) { step = 53; continue; } r0 = 3; { step = 54; continue; } @@ -34012,23 +33159,23 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___57970 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___57898); + s.collisionDirection___288275 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___288203); if (!r0) { step = 55; continue; } - r0 = (s.y0___57902 << s.tileScale___57673); + r0 = (s.y0___288207 << s.tileScale___287978); 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___57670.fields["height"]; + r0 = s.hbox___287975.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 56; continue; } case 55: - r0 = (s.y0___57902 + 1); + r0 = (s.y0___288207 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___57673); + r0 = (s.tmp_5 << s.tileScale___287978); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -34036,24 +33183,24 @@ switch (step) { case 56: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___57645; - r0 = s.hbox___57670.fields["oy"]; + s.tmp_8 = r0 = s.s___287950; + r0 = s.hbox___287975.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___57996 = (undefined); - s.unnamed274___U24 = (s.collidedTiles___57917); - s.unnamed275___U25 = (0); + s.tile___288301 = (undefined); + s.unnamed2142___U24 = (s.collidedTiles___288222); + s.unnamed2143___U25 = (0); case 57: - s.tmp_0 = r0 = s.unnamed275___U25; - r0 = pxsim_Array__length(s.unnamed274___U24); + s.tmp_0 = r0 = s.unnamed2143___U25; + r0 = pxsim_Array__length(s.unnamed2142___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 60; continue; } - r0 = pxsim_Array__getAt(s.unnamed274___U24, s.unnamed275___U25); - s.tile___57996 = (r0); - r0 = s.s___57645.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed2142___U24, s.unnamed2143___U25); + s.tile___288301 = (r0); + r0 = s.s___287950.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -34063,37 +33210,37 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 58; continue; } - s.tmp_6 = Sprite_registerObstacle__P44220_mk(s); - s.tmp_6.arg0 = s.s___57645; - s.tmp_6.arg1 = s.collisionDirection___57970; - s.tmp_6.arg2 = s.tile___57996; + s.tmp_6 = Sprite_registerObstacle__P274243_mk(s); + s.tmp_6.arg0 = s.s___287950; + s.tmp_6.arg1 = s.collisionDirection___288275; + s.tmp_6.arg2 = s.tile___288301; s.tmp_6.arg3 = s.arg2; - s.callLocIdx = 708; s.pc = 123; return s.tmp_6; + s.callLocIdx = 709; s.pc = 123; return s.tmp_6; case 123: r0 = s.retval; case 58: case 59: - r0 = (s.unnamed275___U25 + 1); - s.unnamed275___U25 = (r0); + r0 = (s.unnamed2143___U25 + 1); + s.unnamed2143___U25 = (r0); { step = 57; continue; } case 60: - s.unnamed274___U24 = (undefined); - r0 = s.s___57645.fields["flags"]; + s.unnamed2142___U24 = (undefined); + r0 = s.s___287950.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 = 61; continue; } - s.tmp_2 = Sprite_destroy__P44222_mk(s); - s.tmp_2.arg0 = s.s___57645; + s.tmp_2 = Sprite_destroy__P274245_mk(s); + s.tmp_2.arg0 = s.s___287950; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 709; s.pc = 124; return s.tmp_2; + s.callLocIdx = 710; s.pc = 124; return s.tmp_2; case 124: r0 = s.retval; { step = 78; continue; } case 61: - r0 = s.s___57645.fields["_vy"]; + r0 = s.s___287950.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -34104,7 +33251,7 @@ switch (step) { r0 = s.tmp_0; { step = 63; continue; } case 62: - r0 = s.s___57645.fields["flags"]; + r0 = s.s___287950.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -34116,13 +33263,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 74; continue; } - r0 = s.s___57645.fields["flags"]; + r0 = s.s___287950.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 32); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 72; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___57898); + r0 = pxsim_numops_toBoolDecr(s.down___288203); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -34131,9 +33278,9 @@ switch (step) { r0 = s.tmp_9; { step = 65; continue; } case 64: - s.tmp_12 = Sprite_vy__P44154_mk(s); - s.tmp_12.arg0 = s.s___57645; - s.callLocIdx = 710; s.pc = 125; return s.tmp_12; + s.tmp_12 = Sprite_vy__P274177_mk(s); + s.tmp_12.arg0 = s.s___287950; + s.callLocIdx = 711; s.pc = 125; return s.tmp_12; case 125: r0 = s.retval; s.tmp_11 = r0; @@ -34146,15 +33293,15 @@ switch (step) { r0 = s.tmp_13; { step = 69; continue; } case 66: - s.tmp_14 = r0 = s.down___57898; + s.tmp_14 = r0 = s.down___288203; r0 = pxsim_numops_toBool(s.tmp_14); if (r0) { step = 67; continue; } r0 = s.tmp_14; { step = 68; continue; } case 67: - s.tmp_16 = Sprite_vy__P44154_mk(s); - s.tmp_16.arg0 = s.s___57645; - s.callLocIdx = 711; s.pc = 126; return s.tmp_16; + s.tmp_16 = Sprite_vy__P274177_mk(s); + s.tmp_16.arg0 = s.s___287950; + s.callLocIdx = 712; s.pc = 126; return s.tmp_16; case 126: r0 = s.retval; s.tmp_15 = r0; @@ -34168,8 +33315,8 @@ switch (step) { s.tmp_18 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_18); if (!r0) { step = 70; continue; } - s.tmp_19 = r0 = s.s___57645; - r0 = s.s___57645.fields["_vy"]; + s.tmp_19 = r0 = s.s___287950; + r0 = s.s___287950.fields["_vy"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -34191,29 +33338,29 @@ switch (step) { { step = 73; continue; } case 72: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___57645).fields["_vy"] = (0); + r0 = (s.s___287950).fields["_vy"] = (0); case 73: { step = 77; continue; } case 74: - s.tmp_2 = Math_sign__P41922_mk(s); - r0 = s.s___57645.fields["_vy"]; + s.tmp_2 = Math_sign__P271945_mk(s); + r0 = s.s___287950.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 = 716; s.pc = 127; return s.tmp_2; + s.callLocIdx = 717; s.pc = 127; return s.tmp_2; case 127: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P41922_mk(s); + s.tmp_6 = Math_sign__P271945_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 = 718; s.pc = 128; return s.tmp_6; + s.callLocIdx = 719; s.pc = 128; return s.tmp_6; case 128: r0 = s.retval; s.tmp_5 = r0; @@ -34232,7 +33379,7 @@ switch (step) { case 82: case 83: case 84: - r0 = s.s___57645.fields["flags"]; + r0 = s.s___287950.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -34243,19 +33390,19 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 95; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___58090 = (r0); - s.tmp_0 = game_Hitbox_left__P44010_mk(s); - s.tmp_0.arg0 = s.hbox___57670; - s.callLocIdx = 719; s.pc = 129; return s.tmp_0; + s.overlappedTiles___288395 = (r0); + s.tmp_0 = game_Hitbox_left__P274033_mk(s); + s.tmp_0.arg0 = s.hbox___287975; + s.callLocIdx = 720; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.x___58092 = (r0); + s.x___288397 = (r0); case 85: - s.tmp_1 = r0 = s.x___58092; - s.tmp_3 = r0 = s.tileSize___57676; - s.tmp_5 = game_Hitbox_right__P44012_mk(s); - s.tmp_5.arg0 = s.hbox___57670; - s.callLocIdx = 720; s.pc = 130; return s.tmp_5; + s.tmp_1 = r0 = s.x___288397; + s.tmp_3 = r0 = s.tileSize___287981; + s.tmp_5 = game_Hitbox_right__P274035_mk(s); + s.tmp_5.arg0 = s.hbox___287975; + s.callLocIdx = 721; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; s.tmp_4 = r0; @@ -34267,36 +33414,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 92; continue; } - s.tmp_9 = Fx_min__P41959_mk(s); - s.tmp_9.arg0 = s.x___58092; - s.tmp_10 = game_Hitbox_right__P44012_mk(s); - s.tmp_10.arg0 = s.hbox___57670; - s.callLocIdx = 722; s.pc = 132; return s.tmp_10; + s.tmp_9 = Fx_min__P271982_mk(s); + s.tmp_9.arg0 = s.x___288397; + s.tmp_10 = game_Hitbox_right__P274035_mk(s); + s.tmp_10.arg0 = s.hbox___287975; + s.callLocIdx = 723; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 723; s.pc = 131; return s.tmp_9; + s.callLocIdx = 724; s.pc = 131; return s.tmp_9; case 131: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___57673 + 8); + r0 = (s.tileScale___287978 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___58102 = (r0); - s.tmp_0 = game_Hitbox_top__P44011_mk(s); - s.tmp_0.arg0 = s.hbox___57670; - s.callLocIdx = 726; s.pc = 133; return s.tmp_0; + s.x0___288407 = (r0); + s.tmp_0 = game_Hitbox_top__P274034_mk(s); + s.tmp_0.arg0 = s.hbox___287975; + s.callLocIdx = 727; s.pc = 133; return s.tmp_0; case 133: r0 = s.retval; - s.y___58112 = (r0); + s.y___288417 = (r0); case 86: - s.tmp_1 = r0 = s.y___58112; - s.tmp_3 = r0 = s.tileSize___57676; - s.tmp_5 = game_Hitbox_bottom__P44013_mk(s); - s.tmp_5.arg0 = s.hbox___57670; - s.callLocIdx = 727; s.pc = 134; return s.tmp_5; + s.tmp_1 = r0 = s.y___288417; + s.tmp_3 = r0 = s.tileSize___287981; + s.tmp_5 = game_Hitbox_bottom__P274036_mk(s); + s.tmp_5.arg0 = s.hbox___287975; + s.callLocIdx = 728; s.pc = 134; return s.tmp_5; case 134: r0 = s.retval; s.tmp_4 = r0; @@ -34308,29 +33455,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 91; continue; } - s.tmp_9 = Fx_min__P41959_mk(s); - s.tmp_9.arg0 = s.y___58112; - s.tmp_10 = game_Hitbox_bottom__P44013_mk(s); - s.tmp_10.arg0 = s.hbox___57670; - s.callLocIdx = 729; s.pc = 136; return s.tmp_10; + s.tmp_9 = Fx_min__P271982_mk(s); + s.tmp_9.arg0 = s.y___288417; + s.tmp_10 = game_Hitbox_bottom__P274036_mk(s); + s.tmp_10.arg0 = s.hbox___287975; + s.callLocIdx = 730; s.pc = 136; return s.tmp_10; case 136: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 730; s.pc = 135; return s.tmp_9; + s.callLocIdx = 731; s.pc = 135; return s.tmp_9; case 135: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___57673 + 8); + r0 = (s.tileScale___287978 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___58122 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P44550_mk(s); + s.y0___288427 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P274573_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___58102; - s.tmp_3.arg2 = s.y0___58122; - s.callLocIdx = 733; s.pc = 137; return s.tmp_3; + s.tmp_3.arg1 = s.x0___288407; + s.tmp_3.arg2 = s.y0___288427; + s.callLocIdx = 734; s.pc = 137; return s.tmp_3; case 137: r0 = s.retval; s.tmp_2 = r0; @@ -34343,7 +33490,7 @@ switch (step) { r0 = s.tmp_0; { step = 88; continue; } case 87: - r0 = s.s___57645.fields["flags"]; + r0 = s.s___287950.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -34359,39 +33506,39 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 89; continue; } - s.tmp_10 = r0 = s.overlappedTiles___58090; - s.tmp_12 = tiles_TileMap_getTile__P44543_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___288395; + s.tmp_12 = tiles_TileMap_getTile__P274566_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___58102; - s.tmp_12.arg2 = s.y0___58122; - s.callLocIdx = 734; s.pc = 138; return s.tmp_12; + s.tmp_12.arg1 = s.x0___288407; + s.tmp_12.arg2 = s.y0___288427; + s.callLocIdx = 735; s.pc = 138; return s.tmp_12; case 138: r0 = s.retval; s.tmp_11 = r0; r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 89: case 90: - r0 = (s.tileSize___57676 << 8); + r0 = (s.tileSize___287981 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___58112); - s.y___58112 = (r0); + r0 = (s.tmp_0 + s.y___288417); + s.y___288417 = (r0); { step = 86; continue; } case 91: - r0 = (s.tileSize___57676 << 8); + r0 = (s.tileSize___287981 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___58092); - s.x___58092 = (r0); + r0 = (s.tmp_0 + s.x___288397); + s.x___288397 = (r0); { step = 85; continue; } case 92: - r0 = pxsim_Array__length(s.overlappedTiles___58090); + r0 = pxsim_Array__length(s.overlappedTiles___288395); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 93; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P46640_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P276662_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___57645; - s.tmp_1.arg2 = s.overlappedTiles___58090; - s.callLocIdx = 737; s.pc = 139; return s.tmp_1; + s.tmp_1.arg1 = s.s___287950; + s.tmp_1.arg2 = s.overlappedTiles___288395; + s.callLocIdx = 738; s.pc = 139; return s.tmp_1; case 139: r0 = s.retval; case 93: @@ -34402,12 +33549,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P46639.info = {"start":12929,"length":9654,"line":379,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P276661.info = {"start":12929,"length":9654,"line":379,"column":4,"endLine":618,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P46639_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P276661_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P46639, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P276661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34431,37 +33578,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P46639_mk(s) { tmp_19: undefined, tmp_20: undefined, tmp_21: undefined, - s___57645: undefined, - hbox___57670: undefined, - tileScale___57673: undefined, - tileSize___57676: undefined, - xDiff___57680: undefined, - yDiff___57687: undefined, - right___57703: undefined, - x0___57707: undefined, - collidedTiles___57722: undefined, - y___57724: undefined, - y0___57738: undefined, - obstacle___57754: undefined, - collisionDirection___57781: undefined, - tile___57807: undefined, - unnamed272___U14: undefined, - unnamed273___U15: undefined, - down___57898: undefined, - y0___57902: undefined, - collidedTiles___57917: undefined, - x___57919: undefined, - x0___57929: undefined, - obstacle___57943: undefined, - collisionDirection___57970: undefined, - tile___57996: undefined, - unnamed274___U24: undefined, - unnamed275___U25: undefined, - overlappedTiles___58090: undefined, - x___58092: undefined, - x0___58102: undefined, - y___58112: undefined, - y0___58122: undefined, + s___287950: undefined, + hbox___287975: undefined, + tileScale___287978: undefined, + tileSize___287981: undefined, + xDiff___287985: undefined, + yDiff___287992: undefined, + right___288008: undefined, + x0___288012: undefined, + collidedTiles___288027: undefined, + y___288029: undefined, + y0___288043: undefined, + obstacle___288059: undefined, + collisionDirection___288086: undefined, + tile___288112: undefined, + unnamed2140___U14: undefined, + unnamed2141___U15: undefined, + down___288203: undefined, + y0___288207: undefined, + collidedTiles___288222: undefined, + x___288224: undefined, + x0___288234: undefined, + obstacle___288248: undefined, + collisionDirection___288275: undefined, + tile___288301: undefined, + unnamed2142___U24: undefined, + unnamed2143___U25: undefined, + overlappedTiles___288395: undefined, + x___288397: undefined, + x0___288407: undefined, + y___288417: undefined, + y0___288427: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34471,7 +33618,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P46639_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P57762(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P288067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34493,12 +33640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P57762.info = {"start":15147,"length":39,"line":441,"column":48,"endLine":441,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P288067.info = {"start":15147,"length":39,"line":441,"column":48,"endLine":441,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P57762_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P288067_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P57762, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P288067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34509,7 +33656,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P57762_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P57951(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P288256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34531,12 +33678,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P57951.info = {"start":18668,"length":39,"line":522,"column":48,"endLine":522,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +ArcadePhysicsEngine_tilemapCollisions_inline__P288256.info = {"start":18668,"length":39,"line":522,"column":48,"endLine":522,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function ArcadePhysicsEngine_tilemapCollisions_inline__P57951_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P288256_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P57951, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P288256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34547,7 +33694,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P57951_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P46640(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P276662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34557,11 +33704,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___58169 = undefined; - s.tile___58172 = undefined; - s.unnamed276___U2 = undefined; - s.unnamed277___U3 = undefined; - s.tileOverlapHandlers___58193 = undefined; + s.alreadyHandled___288474 = undefined; + s.tile___288477 = undefined; + s.unnamed2144___U2 = undefined; + s.unnamed2145___U3 = undefined; + s.tileOverlapHandlers___288498 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34569,27 +33716,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___58169 = (r0); - s.tile___58172 = (undefined); - s.unnamed276___U2 = (s.arg2); - s.unnamed277___U3 = (0); + s.alreadyHandled___288474 = (r0); + s.tile___288477 = (undefined); + s.unnamed2144___U2 = (s.arg2); + s.unnamed2145___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed277___U3; - r0 = pxsim_Array__length(s.unnamed276___U2); + s.tmp_0 = r0 = s.unnamed2145___U3; + r0 = pxsim_Array__length(s.unnamed2144___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed276___U2, s.unnamed277___U3); - s.tile___58172 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P58176); + r0 = pxsim_Array__getAt(s.unnamed2144___U2, s.unnamed2145___U3); + s.tile___288477 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P288481); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___58172); - s.tmp_4 = helpers_arraySome__P41900_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___58169; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___288477); + s.tmp_4 = helpers_arraySome__P271923_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___288474; s.tmp_4.arg1 = s.tmp_2; - s.callLocIdx = 742; s.pc = 8; return s.tmp_4; + s.callLocIdx = 743; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -34598,64 +33745,64 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___58169, s.tile___58172); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 743; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array__push(s.alreadyHandled___288474, s.tile___288477); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 744; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___58193 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___58193); + s.tileOverlapHandlers___288498 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___288498); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P58201); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P288506); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___58172); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P58217); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___288477); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P288522); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___58172); - s.tmp_2 = helpers_arrayForEach__P41902_mk(s); - s.tmp_3 = helpers_arrayFilter__P41903_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___58193; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___288477); + s.tmp_2 = helpers_arrayForEach__P271925_mk(s); + s.tmp_3 = helpers_arrayFilter__P271926_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___288498; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 746; s.pc = 11; return s.tmp_3; + s.callLocIdx = 747; 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 = 748; s.pc = 10; return s.tmp_2; + s.callLocIdx = 749; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; case 4: case 5: case 6: - r0 = (s.unnamed277___U3 + 1); - s.unnamed277___U3 = (r0); + r0 = (s.unnamed2145___U3 + 1); + s.unnamed2145___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed276___U2 = (undefined); + s.unnamed2144___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P46640.info = {"start":22860,"length":707,"line":626,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P276662.info = {"start":22860,"length":707,"line":626,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P46640_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P276662_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P46640, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P276662, 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___58169: undefined, - tile___58172: undefined, - unnamed276___U2: undefined, - unnamed277___U3: undefined, - tileOverlapHandlers___58193: undefined, + alreadyHandled___288474: undefined, + tile___288477: undefined, + unnamed2144___U2: undefined, + unnamed2145___U3: undefined, + tileOverlapHandlers___288498: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34665,7 +33812,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P46640_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P58176(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P288481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34702,12 +33849,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P58176.info = {"start":23075,"length":51,"line":630,"column":36,"endLine":630,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P288481.info = {"start":23075,"length":51,"line":630,"column":36,"endLine":630,"endColumn":87,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["l"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P58176_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P288481_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P58176, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P288481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34722,7 +33869,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P58176_mk(s) { -function forEach_inline__P58201(s) { +function forEach_inline__P288506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34749,9 +33896,9 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P44562_mk(s); + s.tmp_5 = tiles_getTileImage__P274585_mk(s); s.tmp_5.arg0 = s.caps[1]; - s.callLocIdx = 745; s.pc = 3; return s.tmp_5; + s.callLocIdx = 746; s.pc = 3; return s.tmp_5; case 3: r0 = s.retval; s.tmp_4 = r0; @@ -34763,12 +33910,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P58201.info = {"start":23395,"length":81,"line":638,"column":28,"endLine":638,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P288506.info = {"start":23395,"length":81,"line":638,"column":28,"endLine":638,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P58201_mk(s) { +function forEach_inline__P288506_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P58201, depth: s.depth + 1, + parent: s, fn: forEach_inline__P288506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34784,7 +33931,7 @@ function forEach_inline__P58201_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P58217(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P288522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34804,12 +33951,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 = 747; s.pc = 1; return s.tmp_0; + s.callLocIdx = 748; 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 = 747; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 747; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 747; 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 = 748; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 748; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 748; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -34817,12 +33964,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P58217.info = {"start":23507,"length":28,"line":639,"column":29,"endLine":639,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_tilemapOverlaps_inline__P288522.info = {"start":23507,"length":28,"line":639,"column":29,"endLine":639,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_tilemapOverlaps_inline__P58217_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P288522_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P58217, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P288522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34832,7 +33979,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P58217_mk(s) { -function tiles_getTileImage__P44562(s) { +function tiles_getTileImage__P274585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34842,16 +33989,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___58225 = undefined; + s.scene___288530 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 876; s.pc = 6; return s.tmp_0; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 877; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___58225 = (r0); + s.scene___288530 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -34861,7 +34008,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___58225.fields["tileMap"]; + r0 = s.scene___288530.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -34871,32 +34018,32 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex58235); + r0 = pxsim.image.ofBuffer(_hex288540); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P44553_mk(s); - r0 = s.scene___58225.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P274576_mk(s); + r0 = s.scene___288530.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P44498_mk(s); + s.tmp_6 = tiles_Location_tileSet__P274521_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 877; s.pc = 8; return s.tmp_6; + s.callLocIdx = 878; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5.arg1 = r0; - s.callLocIdx = 878; s.pc = 7; return s.tmp_5; + s.callLocIdx = 879; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; case 5: return leave(s, r0) default: oops() } } } -tiles_getTileImage__P44562.info = {"start":21871,"length":207,"line":673,"column":4,"endLine":677,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P274585.info = {"start":21871,"length":207,"line":673,"column":4,"endLine":677,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P44562_mk(s) { +function tiles_getTileImage__P274585_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P44562, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P274585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34905,16 +34052,16 @@ function tiles_getTileImage__P44562_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___58225: undefined, + scene___288530: undefined, arg0: undefined, } } -const _hex58235 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex288540 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P44553(s) { +function tiles_TileMap_getTileImage__P274576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34930,23 +34077,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P44520_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P274543_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 875; s.pc = 1; return s.tmp_0; + s.callLocIdx = 876; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P44553.info = {"start":17510,"length":96,"line":553,"column":8,"endLine":555,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P274576.info = {"start":17510,"length":96,"line":553,"column":8,"endLine":555,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P44553_mk(s) { +function tiles_TileMap_getTileImage__P274576_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P44553, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P274576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34957,7 +34104,7 @@ function tiles_TileMap_getTileImage__P44553_mk(s) { -function tiles_TileMapData_getTileImage__P44520(s) { +function tiles_TileMapData_getTileImage__P274543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34967,25 +34114,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___58290 = undefined; - s.cachedImage___58294 = undefined; - s.originalImage___58301 = undefined; + s.size___288595 = undefined; + s.cachedImage___288599 = undefined; + s.originalImage___288606 = 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__C44511_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C274534_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___58290 = (r0); + s.size___288595 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___58294 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___58294); + s.cachedImage___288599 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___288599); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -34994,58 +34141,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___58301 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___58301); + s.originalImage___288606 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___288606); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___58301); + r0 = pxsim_ImageMethods.width(s.originalImage___288606); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___58290); + r0 = (s.tmp_1 <= s.size___288595); 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___58301); + r0 = pxsim_ImageMethods.height(s.originalImage___288606); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___58290); + r0 = (s.tmp_2 <= s.size___288595); 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___58294 = (s.originalImage___58301); + s.cachedImage___288599 = (s.originalImage___288606); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___58290, s.size___58290); - s.cachedImage___58294 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___58294, s.originalImage___58301, 0, 0); + r0 = pxsim.image.create(s.size___288595, s.size___288595); + s.cachedImage___288599 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___288599, s.originalImage___288606, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___58294); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___288599); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___58294; + r0 = s.cachedImage___288599; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P44520.info = {"start":7354,"length":717,"line":251,"column":8,"endLine":268,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P274543.info = {"start":7354,"length":717,"line":251,"column":8,"endLine":268,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMapData_getTileImage__P44520_mk(s) { +function tiles_TileMapData_getTileImage__P274543_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P44520, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P274543, 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___58290: undefined, - cachedImage___58294: undefined, - originalImage___58301: undefined, + size___288595: undefined, + cachedImage___288599: undefined, + originalImage___288606: undefined, arg0: undefined, arg1: undefined, } } @@ -35054,7 +34201,7 @@ function tiles_TileMapData_getTileImage__P44520_mk(s) { -function tiles_TileMapData_scale__P44515(s) { +function tiles_TileMapData_scale__P274538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35069,18 +34216,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C44511_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C274534_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P44515.info = {"start":6564,"length":66,"line":222,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMapData_scale__P44515.isGetter = true; +tiles_TileMapData_scale__P274538.info = {"start":6564,"length":66,"line":222,"column":8,"endLine":224,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P274538.isGetter = true; -function tiles_TileMapData_scale__P44515_mk(s) { +function tiles_TileMapData_scale__P274538_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P44515, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P274538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35089,7 +34236,7 @@ function tiles_TileMapData_scale__P44515_mk(s) { -function tiles_Location_tileSet__P44498(s) { +function tiles_Location_tileSet__P274521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35104,11 +34251,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C44487_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P44544_mk(s); - s.tmp_1 = tiles_Location_tileMap__P44489_mk(s); + if (!checkSubtype(r0, tiles_Location__C274510_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P274567_mk(s); + s.tmp_1 = tiles_Location_tileMap__P274512_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 806; s.pc = 2; return s.tmp_1; + s.callLocIdx = 807; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; @@ -35116,19 +34263,19 @@ switch (step) { s.tmp_0.arg1 = r0; r0 = s.arg0.fields["_row"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 807; s.pc = 1; return s.tmp_0; + s.callLocIdx = 808; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P44498.info = {"start":2323,"length":101,"line":86,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -tiles_Location_tileSet__P44498.isGetter = true; +tiles_Location_tileSet__P274521.info = {"start":2323,"length":101,"line":86,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P274521.isGetter = true; -function tiles_Location_tileSet__P44498_mk(s) { +function tiles_Location_tileSet__P274521_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P44498, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P274521, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35139,7 +34286,7 @@ function tiles_Location_tileSet__P44498_mk(s) { -function tiles_TileMap_getTileIndex__P44544(s) { +function tiles_TileMap_getTileIndex__P274567(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35156,24 +34303,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P44517_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P274540_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 = 830; s.pc = 1; return s.tmp_0; + s.callLocIdx = 831; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P44544.info = {"start":11191,"length":105,"line":384,"column":8,"endLine":386,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P274567.info = {"start":11191,"length":105,"line":384,"column":8,"endLine":386,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_TileMap_getTileIndex__P44544_mk(s) { +function tiles_TileMap_getTileIndex__P274567_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P44544, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P274567, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35185,7 +34332,7 @@ function tiles_TileMap_getTileIndex__P44544_mk(s) { -function tiles_TileMapData_getTile__P44517(s) { +function tiles_TileMapData_getTile__P274540(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35202,12 +34349,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C44511_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P44523_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C274534_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P274546_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 809; s.pc = 4; return s.tmp_1; + s.callLocIdx = 810; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0; @@ -35236,12 +34383,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P44517.info = {"start":6752,"length":200,"line":231,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P274540.info = {"start":6752,"length":200,"line":231,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMapData_getTile__P44517_mk(s) { +function tiles_TileMapData_getTile__P274540_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P44517, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P274540, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35261,7 +34408,7 @@ function tiles_TileMapData_getTile__P44517_mk(s) { -function tiles_TileMapData_isOutsideMap__P44523(s) { +function tiles_TileMapData_isOutsideMap__P274546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35278,7 +34425,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C44511_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C274534_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -35318,12 +34465,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P44523.info = {"start":8335,"length":132,"line":278,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P274546.info = {"start":8335,"length":132,"line":278,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_TileMapData_isOutsideMap__P44523_mk(s) { +function tiles_TileMapData_isOutsideMap__P274546_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P44523, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P274546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35342,7 +34489,7 @@ function tiles_TileMapData_isOutsideMap__P44523_mk(s) { -function tiles_Location_tileMap__P44489(s) { +function tiles_Location_tileMap__P274512(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35357,22 +34504,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C44487_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 797; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, tiles_Location__C274510_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 798; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["tileMap"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileMap__P44489.info = {"start":491,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileMap","argumentNames":["this"]} -tiles_Location_tileMap__P44489.isGetter = true; +tiles_Location_tileMap__P274512.info = {"start":491,"length":73,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileMap","argumentNames":["this"]} +tiles_Location_tileMap__P274512.isGetter = true; -function tiles_Location_tileMap__P44489_mk(s) { +function tiles_Location_tileMap__P274512_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileMap__P44489, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileMap__P274512, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35382,7 +34529,7 @@ function tiles_Location_tileMap__P44489_mk(s) { -function tiles_Location_row__P44491(s) { +function tiles_Location_row__P274514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35397,18 +34544,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C44487_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C274510_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P44491.info = {"start":877,"length":51,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} -tiles_Location_row__P44491.isGetter = true; +tiles_Location_row__P274514.info = {"start":877,"length":51,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"row","argumentNames":["this"]} +tiles_Location_row__P274514.isGetter = true; -function tiles_Location_row__P44491_mk(s) { +function tiles_Location_row__P274514_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P44491, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P274514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35417,7 +34564,7 @@ function tiles_Location_row__P44491_mk(s) { -function tiles_Location_column__P44490(s) { +function tiles_Location_column__P274513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35432,18 +34579,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C44487_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C274510_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_column__P44490.info = {"start":695,"length":54,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"column","argumentNames":["this"]} -tiles_Location_column__P44490.isGetter = true; +tiles_Location_column__P274513.info = {"start":695,"length":54,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"column","argumentNames":["this"]} +tiles_Location_column__P274513.isGetter = true; -function tiles_Location_column__P44490_mk(s) { +function tiles_Location_column__P274513_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_column__P44490, depth: s.depth + 1, + parent: s, fn: tiles_Location_column__P274513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35452,7 +34599,7 @@ function tiles_Location_column__P44490_mk(s) { -function tiles_TileMap_getObstacle__P44551(s) { +function tiles_TileMap_getObstacle__P274574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35462,8 +34609,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___58464 = undefined; - s.tile___58476 = undefined; + s.index___288769 = undefined; + s.tile___288781 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35471,13 +34618,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P44523_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P274546_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 = 854; s.pc = 3; return s.tmp_1; + s.callLocIdx = 855; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -35486,31 +34633,31 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P44517_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P274540_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 = 855; s.pc = 4; return s.tmp_2; + s.callLocIdx = 856; 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___58464 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P44520_mk(s); + s.index___288769 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P274543_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___58464; - s.callLocIdx = 856; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = s.index___288769; + s.callLocIdx = 857; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___58476 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C44292_VT); + s.tile___288781 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C274315_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P44298_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P274321_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___58476; + s.tmp_1.arg1 = s.tile___288781; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -35523,20 +34670,20 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___58464; - s.callLocIdx = 860; s.pc = 6; return s.tmp_1; + s.tmp_1.arg5 = s.index___288769; + s.callLocIdx = 861; 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__P44551.info = {"start":16453,"length":410,"line":522,"column":8,"endLine":532,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P274574.info = {"start":16453,"length":410,"line":522,"column":8,"endLine":532,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P44551_mk(s) { +function tiles_TileMap_getObstacle__P274574_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P44551, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P274574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35544,8 +34691,8 @@ function tiles_TileMap_getObstacle__P44551_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___58464: undefined, - tile___58476: undefined, + index___288769: undefined, + tile___288781: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35555,7 +34702,7 @@ function tiles_TileMap_getObstacle__P44551_mk(s) { -function tiles_TileMap_layer__P44539(s) { +function tiles_TileMap_layer__P274562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35570,18 +34717,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P44539.info = {"start":9967,"length":63,"line":341,"column":8,"endLine":343,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P44539.isGetter = true; +tiles_TileMap_layer__P274562.info = {"start":9967,"length":63,"line":341,"column":8,"endLine":343,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P274562.isGetter = true; -function tiles_TileMap_layer__P44539_mk(s) { +function tiles_TileMap_layer__P274562_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P44539, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P274562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35590,7 +34737,7 @@ function tiles_TileMap_layer__P44539_mk(s) { -function sprites_StaticObstacle_constructor__P44298(s) { +function sprites_StaticObstacle_constructor__P274321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35610,7 +34757,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C44292_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C274315_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -35620,12 +34767,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P44298.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__P274321.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__P44298_mk(s) { +function sprites_StaticObstacle_constructor__P274321_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P44298, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P274321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35639,7 +34786,7 @@ function sprites_StaticObstacle_constructor__P44298_mk(s) { -function tiles_TileMap_isObstacle__P44550(s) { +function tiles_TileMap_isObstacle__P274573(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35656,7 +34803,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -35677,12 +34824,12 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P44523_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P274546_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 = 852; s.pc = 6; return s.tmp_8; + s.callLocIdx = 853; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; s.tmp_7 = r0; @@ -35703,12 +34850,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P44550.info = {"start":16232,"length":211,"line":515,"column":8,"endLine":520,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P274573.info = {"start":16232,"length":211,"line":515,"column":8,"endLine":520,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P44550_mk(s) { +function tiles_TileMap_isObstacle__P274573_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P44550, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P274573, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35731,7 +34878,7 @@ function tiles_TileMap_isObstacle__P44550_mk(s) { -function tiles_TileMapData_isWall__P44522(s) { +function tiles_TileMapData_isWall__P274545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35748,7 +34895,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C44511_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C274534_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -35757,12 +34904,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P44522.info = {"start":8218,"length":107,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P274545.info = {"start":8218,"length":107,"line":274,"column":8,"endLine":276,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -function tiles_TileMapData_isWall__P44522_mk(s) { +function tiles_TileMapData_isWall__P274545_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P44522, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P274545, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35775,7 +34922,7 @@ function tiles_TileMapData_isWall__P44522_mk(s) { -function tiles_TileMap_getTile__P44543(s) { +function tiles_TileMap_getTile__P274566(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35792,27 +34939,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C44487_VT); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C274510_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P44488_mk(s); + s.tmp_1 = tiles_Location_constructor__P274511_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 = 828; s.pc = 1; return s.tmp_1; + s.callLocIdx = 829; 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__P44543.info = {"start":11070,"length":111,"line":380,"column":8,"endLine":382,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P274566.info = {"start":11070,"length":111,"line":380,"column":8,"endLine":382,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMap_getTile__P44543_mk(s) { +function tiles_TileMap_getTile__P274566_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P44543, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P274566, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35825,7 +34972,7 @@ function tiles_TileMap_getTile__P44543_mk(s) { -function tiles_Location_constructor__P44488(s) { +function tiles_Location_constructor__P274511(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35843,19 +34990,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C44487_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C274510_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P44488.info = {"start":360,"length":121,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P274511.info = {"start":360,"length":121,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -function tiles_Location_constructor__P44488_mk(s) { +function tiles_Location_constructor__P274511_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P44488, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P274511, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35867,7 +35014,7 @@ function tiles_Location_constructor__P44488_mk(s) { -function Sprite_registerObstacle__P44220(s) { +function Sprite_registerObstacle__P274243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35877,10 +35024,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___58377 = undefined; - s.wallCollisionHandlers___58384 = undefined; - s.wallHandlersToRun___58409 = undefined; - s.asTileLocation___58422 = undefined; + s.collisionHandlers___288682 = undefined; + s.wallCollisionHandlers___288689 = undefined; + s.wallHandlersToRun___288714 = undefined; + s.asTileLocation___288727 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35889,12 +35036,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_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__P44793_mk(s); - s.callLocIdx = 414; s.pc = 9; return s.tmp_1; + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 415; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = r0.fields["collisionHandlers"]; @@ -35907,42 +35054,42 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["tileIndex"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["tileIndex"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 415; s.pc = 10; return s.tmp_3; } + else { s.callLocIdx = 416; s.pc = 10; return s.tmp_3; } } case 10: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___58377 = (r0); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 416; s.pc = 11; return s.tmp_0; + s.collisionHandlers___288682 = (r0); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 417; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___58384 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___58377); + s.wallCollisionHandlers___288689 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___288682); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P58392); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P288697); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P58398); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P288703); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P41902_mk(s); - s.tmp_3 = helpers_arrayFilter__P41903_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___58377; + s.tmp_2 = helpers_arrayForEach__P271925_mk(s); + s.tmp_3 = helpers_arrayFilter__P271926_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___288682; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 418; s.pc = 13; return s.tmp_3; + s.callLocIdx = 419; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 420; s.pc = 12; return s.tmp_2; + s.callLocIdx = 421; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___58384); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___288689); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -35950,8 +35097,8 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P44793_mk(s); - s.callLocIdx = 421; s.pc = 14; return s.tmp_1; + s.tmp_1 = game_currentScene__P274816_mk(s); + s.callLocIdx = 422; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; r0 = r0.fields["tileMap"]; @@ -35959,21 +35106,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P58411); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P288716); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P41903_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___58384; + s.tmp_1 = helpers_arrayFilter__P271926_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___288689; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 423; s.pc = 15; return s.tmp_1; + s.callLocIdx = 424; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___58409 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___58409); + s.wallHandlersToRun___288714 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___288714); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P44543_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P274566_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -35983,7 +35130,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["left"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["left"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 424; s.pc = 17; return s.tmp_3; } + else { s.callLocIdx = 425; s.pc = 17; return s.tmp_3; } } case 17: r0 = s.retval; @@ -36000,7 +35147,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["top"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["top"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 426; s.pc = 18; return s.tmp_6; } + else { s.callLocIdx = 427; s.pc = 18; return s.tmp_6; } } case 18: r0 = s.retval; @@ -36009,18 +35156,18 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_5 >> s.tmp_7); s.tmp_1.arg2 = r0; - s.callLocIdx = 428; s.pc = 16; return s.tmp_1; + s.callLocIdx = 429; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___58422 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P58438); + s.asTileLocation___288727 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P288743); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___58422); - s.tmp_1 = helpers_arrayForEach__P41902_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___58409; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___288727); + s.tmp_1 = helpers_arrayForEach__P271925_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___288714; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 430; s.pc = 19; return s.tmp_1; + s.callLocIdx = 431; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; case 5: @@ -36031,12 +35178,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P44220.info = {"start":24992,"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__P274243.info = {"start":24992,"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__P44220_mk(s) { +function Sprite_registerObstacle__P274243_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P44220, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P274243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36046,10 +35193,10 @@ function Sprite_registerObstacle__P44220_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___58377: undefined, - wallCollisionHandlers___58384: undefined, - wallHandlersToRun___58409: undefined, - asTileLocation___58422: undefined, + collisionHandlers___288682: undefined, + wallCollisionHandlers___288689: undefined, + wallHandlersToRun___288714: undefined, + asTileLocation___288727: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36060,7 +35207,7 @@ function Sprite_registerObstacle__P44220_mk(s) { -function forEach_inline__P58392(s) { +function forEach_inline__P288697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36082,12 +35229,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P58392.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P288697.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P58392_mk(s) { +function forEach_inline__P288697_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P58392, depth: s.depth + 1, + parent: s, fn: forEach_inline__P288697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36098,7 +35245,7 @@ function forEach_inline__P58392_mk(s) { -function Sprite_registerObstacle_inline__P58398(s) { +function Sprite_registerObstacle_inline__P288703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36117,12 +35264,12 @@ switch (step) { s.tmp_0.arg1 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 2); - s.callLocIdx = 419; s.pc = 1; return s.tmp_0; + s.callLocIdx = 420; 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"], 2); s.callLocIdx = 419; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 419; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 419; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 420; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 420; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 420; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -36130,12 +35277,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P58398.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P288703.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P58398_mk(s) { +function Sprite_registerObstacle_inline__P288703_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P58398, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P288703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36145,7 +35292,7 @@ function Sprite_registerObstacle_inline__P58398_mk(s) { -function wallHandlersToRun_inline__P58411(s) { +function wallHandlersToRun_inline__P288716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36167,12 +35314,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P58411.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +wallHandlersToRun_inline__P288716.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function wallHandlersToRun_inline__P58411_mk(s) { +function wallHandlersToRun_inline__P288716_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P58411, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P288716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36183,7 +35330,7 @@ function wallHandlersToRun_inline__P58411_mk(s) { -function Sprite_registerObstacle_inline__P58438(s) { +function Sprite_registerObstacle_inline__P288743(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36203,12 +35350,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 = 429; s.pc = 1; return s.tmp_0; + s.callLocIdx = 430; 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 = 429; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 429; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 429; 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 = 430; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 430; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 430; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -36216,12 +35363,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P58438.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P288743.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P58438_mk(s) { +function Sprite_registerObstacle_inline__P288743_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P58438, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P288743, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36231,7 +35378,7 @@ function Sprite_registerObstacle_inline__P58438_mk(s) { -function Math_sign__P41922(s) { +function Math_sign__P271945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36266,12 +35413,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P41922.info = {"start":16355,"length":125,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P271945.info = {"start":16355,"length":125,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P41922_mk(s) { +function Math_sign__P271945_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P41922, depth: s.depth + 1, + parent: s, fn: Math_sign__P271945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36282,7 +35429,7 @@ function Math_sign__P41922_mk(s) { -function helpers_arraySome__P41900(s) { +function helpers_arraySome__P271923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36292,28 +35439,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___58446 = undefined; - s.i___58449 = undefined; + s.len___288751 = undefined; + s.i___288754 = 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___58446 = (r0); - s.i___58449 = (0); + s.len___288751 = (r0); + s.i___288754 = (0); case 1: - r0 = (s.i___58449 < s.len___58446); + r0 = (s.i___288754 < s.len___288751); 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___58449); + r0 = pxsim_Array__getAt(s.arg0, s.i___288754); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___58449; + s.tmp_2.arg1 = s.i___288754; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 4; s.pc = 6; return s.tmp_2; + s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -36323,8 +35470,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___58449 + 1); - s.i___58449 = (r0); + r0 = (s.i___288754 + 1); + s.i___288754 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -36332,18 +35479,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P41900.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__P271923.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__P41900_mk(s) { +function helpers_arraySome__P271923_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P41900, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P271923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___58446: undefined, - i___58449: undefined, + len___288751: undefined, + i___288754: undefined, arg0: undefined, arg1: undefined, } } @@ -36352,7 +35499,7 @@ function helpers_arraySome__P41900_mk(s) { -function tiles_TileMap_isOnWall__P44552(s) { +function tiles_TileMap_isOnWall__P274575(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36362,25 +35509,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___57551 = undefined; - s.left___57554 = undefined; - s.right___57560 = undefined; - s.top___57566 = undefined; - s.bottom___57572 = undefined; - s.col___57578 = undefined; - s.row___57584 = undefined; + s.hbox___287856 = undefined; + s.left___287859 = undefined; + s.right___287865 = undefined; + s.top___287871 = undefined; + s.bottom___287877 = undefined; + s.col___287883 = undefined; + s.row___287889 = 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__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___57551 = (r0); - s.tmp_1 = game_Hitbox_left__P44010_mk(s); - s.tmp_1.arg0 = s.hbox___57551; - s.callLocIdx = 861; s.pc = 8; return s.tmp_1; + s.hbox___287856 = (r0); + s.tmp_1 = game_Hitbox_left__P274033_mk(s); + s.tmp_1.arg0 = s.hbox___287856; + s.callLocIdx = 862; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -36389,10 +35536,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___57554 = (r0); - s.tmp_1 = game_Hitbox_right__P44012_mk(s); - s.tmp_1.arg0 = s.hbox___57551; - s.callLocIdx = 864; s.pc = 9; return s.tmp_1; + s.left___287859 = (r0); + s.tmp_1 = game_Hitbox_right__P274035_mk(s); + s.tmp_1.arg0 = s.hbox___287856; + s.callLocIdx = 865; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -36401,10 +35548,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___57560 = (r0); - s.tmp_1 = game_Hitbox_top__P44011_mk(s); - s.tmp_1.arg0 = s.hbox___57551; - s.callLocIdx = 867; s.pc = 10; return s.tmp_1; + s.right___287865 = (r0); + s.tmp_1 = game_Hitbox_top__P274034_mk(s); + s.tmp_1.arg0 = s.hbox___287856; + s.callLocIdx = 868; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; @@ -36413,10 +35560,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___57566 = (r0); - s.tmp_1 = game_Hitbox_bottom__P44013_mk(s); - s.tmp_1.arg0 = s.hbox___57551; - s.callLocIdx = 870; s.pc = 11; return s.tmp_1; + s.top___287871 = (r0); + s.tmp_1 = game_Hitbox_bottom__P274036_mk(s); + s.tmp_1.arg0 = s.hbox___287856; + s.callLocIdx = 871; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -36425,24 +35572,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___57572 = (r0); - s.col___57578 = (s.left___57554); + s.bottom___287877 = (r0); + s.col___287883 = (s.left___287859); case 1: - r0 = (s.col___57578 <= s.right___57560); + r0 = (s.col___287883 <= s.right___287865); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___57584 = (s.top___57566); + s.row___287889 = (s.top___287871); case 2: - r0 = (s.row___57584 <= s.bottom___57572); + r0 = (s.row___287889 <= s.bottom___287877); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P44550_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P274573_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___57578; - s.tmp_2.arg2 = s.row___57584; - s.callLocIdx = 873; s.pc = 12; return s.tmp_2; + s.tmp_2.arg1 = s.col___287883; + s.tmp_2.arg2 = s.row___287889; + s.callLocIdx = 874; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; @@ -36452,12 +35599,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___57584 + 1); - s.row___57584 = (r0); + r0 = (s.row___287889 + 1); + s.row___287889 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___57578 + 1); - s.col___57578 = (r0); + r0 = (s.col___287883 + 1); + s.col___287883 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -36465,24 +35612,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P44552.info = {"start":16873,"length":627,"line":534,"column":8,"endLine":551,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P274575.info = {"start":16873,"length":627,"line":534,"column":8,"endLine":551,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P44552_mk(s) { +function tiles_TileMap_isOnWall__P274575_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P44552, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P274575, 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___57551: undefined, - left___57554: undefined, - right___57560: undefined, - top___57566: undefined, - bottom___57572: undefined, - col___57578: undefined, - row___57584: undefined, + hbox___287856: undefined, + left___287859: undefined, + right___287865: undefined, + top___287871: undefined, + bottom___287877: undefined, + col___287883: undefined, + row___287889: undefined, arg0: undefined, arg1: undefined, } } @@ -36491,7 +35638,7 @@ function tiles_TileMap_isOnWall__P44552_mk(s) { -function MovingSprite_constructor__P44320(s) { +function MovingSprite_constructor__P274343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36513,7 +35660,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C44319_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C274342_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -36525,12 +35672,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P44320.info = {"start":949,"length":313,"line":33,"column":4,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} +MovingSprite_constructor__P274343.info = {"start":949,"length":313,"line":33,"column":4,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} -function MovingSprite_constructor__P44320_mk(s) { +function MovingSprite_constructor__P274343_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P44320, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P274343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36546,7 +35693,7 @@ function MovingSprite_constructor__P44320_mk(s) { -function ArcadePhysicsEngine_move__P44333(s) { +function ArcadePhysicsEngine_move__P274356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36556,81 +35703,81 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___58521 = undefined; - s.dt2___58527 = undefined; - s.scene___58531 = undefined; - s.tileMap___58534 = undefined; - s.movingSprites___58537 = undefined; - s.MAX_STEP_COUNT___58568 = undefined; - s.overlapHandlers___58580 = undefined; - s.selected___58587 = undefined; - s.buffers___58588 = undefined; - s.count___58592 = undefined; - s.currMovers___58602 = undefined; - s.remainingMovers___58609 = undefined; - s.ms___58614 = undefined; - s.unnamed266___U13 = undefined; - s.unnamed267___U14 = undefined; - s.s___58616 = undefined; - s.stepX___58709 = undefined; - s.stepY___58723 = undefined; - s.bounce___58786 = undefined; + s.dtMs___288826 = undefined; + s.dt2___288832 = undefined; + s.scene___288836 = undefined; + s.tileMap___288839 = undefined; + s.movingSprites___288842 = undefined; + s.MAX_STEP_COUNT___288873 = undefined; + s.overlapHandlers___288885 = undefined; + s.selected___288892 = undefined; + s.buffers___288893 = undefined; + s.count___288897 = undefined; + s.currMovers___288907 = undefined; + s.remainingMovers___288914 = undefined; + s.ms___288919 = undefined; + s.unnamed2134___U13 = undefined; + s.unnamed2135___U14 = undefined; + s.s___288921 = undefined; + s.stepX___289014 = undefined; + s.stepY___289028 = undefined; + s.bounce___289091 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); - s.tmp_0 = Math_min__P41924_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); + s.tmp_0 = Math_min__P271947_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; - s.callLocIdx = 539; s.pc = 53; return s.tmp_0; + s.callLocIdx = 540; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.dtMs___58521 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___58521, 2); - s.dt2___58527 = (r0); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 540; s.pc = 54; return s.tmp_0; + s.dtMs___288826 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___288826, 2); + s.dt2___288832 = (r0); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 541; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.scene___58531 = (r0); - r0 = s.scene___58531.fields["tileMap"]; - s.tileMap___58534 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P58539); + s.scene___288836 = (r0); + r0 = s.scene___288836.fields["tileMap"]; + s.tileMap___288839 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P288844); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___58521); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___58527); - s.tmp_1 = helpers_arrayMap__P41899_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___288826); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___288832); + s.tmp_1 = helpers_arrayMap__P271922_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 542; s.pc = 55; return s.tmp_1; + s.callLocIdx = 543; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; - s.movingSprites___58537 = (r0); - s.tmp_0 = helpers_arrayForEach__P41902_mk(s); + s.movingSprites___288842 = (r0); + s.tmp_0 = helpers_arrayForEach__P271925_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P58551; - s.callLocIdx = 546; s.pc = 56; return s.tmp_0; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P288856; + s.callLocIdx = 547; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P44246_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P274269_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 547; s.pc = 57; return s.tmp_0; + s.callLocIdx = 548; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P44245_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P274268_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 548; s.pc = 58; return s.tmp_0; + s.callLocIdx = 549; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; r0 = s.arg0.fields["maxVelocity"]; @@ -36641,41 +35788,41 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_5, s.tmp_4); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___58521); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___288826); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); - s.MAX_STEP_COUNT___58568 = (r0); - s.tmp_0 = helpers_arraySlice__P41908_mk(s); - r0 = s.scene___58531.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___288873 = (r0); + s.tmp_0 = helpers_arraySlice__P271931_mk(s); + r0 = s.scene___288836.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 553; s.pc = 59; return s.tmp_0; + s.callLocIdx = 554; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.overlapHandlers___58580 = (r0); - s.selected___58587 = (0); + s.overlapHandlers___288885 = (r0); + s.selected___288892 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___58537); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___288842); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___58588 = (s.tmp_0); - s.count___58592 = (0); + s.buffers___288893 = (s.tmp_0); + s.count___288897 = (0); case 1: - r0 = (s.count___58592 < s.MAX_STEP_COUNT___58568); + r0 = (s.count___288897 < s.MAX_STEP_COUNT___288873); 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___58588, s.selected___58587); + r0 = pxsim_Array__getAt(s.buffers___288893, s.selected___288892); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -36685,43 +35832,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 52; continue; } - r0 = pxsim_Array__getAt(s.buffers___58588, s.selected___58587); - s.currMovers___58602 = (r0); - r0 = (s.selected___58587 ^ 1); - s.selected___58587 = (r0); - r0 = pxsim_Array__getAt(s.buffers___58588, s.selected___58587); - s.remainingMovers___58609 = (r0); - s.ms___58614 = (undefined); - s.unnamed266___U13 = (s.currMovers___58602); - s.unnamed267___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___288893, s.selected___288892); + s.currMovers___288907 = (r0); + r0 = (s.selected___288892 ^ 1); + s.selected___288892 = (r0); + r0 = pxsim_Array__getAt(s.buffers___288893, s.selected___288892); + s.remainingMovers___288914 = (r0); + s.ms___288919 = (undefined); + s.unnamed2134___U13 = (s.currMovers___288907); + s.unnamed2135___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed267___U14; - r0 = pxsim_Array__length(s.unnamed266___U13); + s.tmp_0 = r0 = s.unnamed2135___U14; + r0 = pxsim_Array__length(s.unnamed2134___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 49; continue; } - r0 = pxsim_Array__getAt(s.unnamed266___U13, s.unnamed267___U14); - s.ms___58614 = (r0); - r0 = s.ms___58614.fields["sprite"]; - s.s___58616 = (r0); - r0 = s.ms___58614.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed2134___U13, s.unnamed2135___U14); + s.ms___288919 = (r0); + r0 = s.ms___288919.fields["sprite"]; + s.s___288921 = (r0); + r0 = s.ms___288919.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___58616.fields["_vx"]; + r0 = s.s___288921.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___58616.fields["_vx"]; + r0 = s.s___288921.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___58614).fields["dx"] = (0); + r0 = (s.ms___288919).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___58616.fields["_vx"]; + r0 = s.s___288921.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -36730,7 +35877,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___58614.fields["cachedVx"]; + r0 = s.ms___288919.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -36741,7 +35888,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___58616.fields["_vx"]; + r0 = s.s___288921.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -36750,7 +35897,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___58614.fields["cachedVx"]; + r0 = s.ms___288919.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -36762,14 +35909,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___58614; - r0 = s.ms___58614.fields["dx"]; + s.tmp_9 = r0 = s.ms___288919; + r0 = s.ms___288919.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___58614; - r0 = s.ms___58614.fields["xStep"]; + s.tmp_0 = r0 = s.ms___288919; + r0 = s.ms___288919.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -36777,29 +35924,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___58616.fields["_vx"]; + r0 = s.s___288921.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___58614).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___288919).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___58614.fields["cachedVy"]; + r0 = s.ms___288919.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___58616.fields["_vy"]; + r0 = s.s___288921.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___58616.fields["_vy"]; + r0 = s.s___288921.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___58614).fields["dy"] = (0); + r0 = (s.ms___288919).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___58616.fields["_vy"]; + r0 = s.s___288921.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -36808,7 +35955,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___58614.fields["cachedVy"]; + r0 = s.ms___288919.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -36819,7 +35966,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___58616.fields["_vy"]; + r0 = s.s___288921.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -36828,7 +35975,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___58614.fields["cachedVy"]; + r0 = s.ms___288919.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -36840,14 +35987,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___58614; - r0 = s.ms___58614.fields["dy"]; + s.tmp_9 = r0 = s.ms___288919; + r0 = s.ms___288919.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___58614; - r0 = s.ms___58614.fields["yStep"]; + s.tmp_0 = r0 = s.ms___288919; + r0 = s.ms___288919.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -36855,22 +36002,22 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___58616.fields["_vy"]; + r0 = s.s___288921.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___58614).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___288919).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P41958_mk(s); - r0 = s.ms___58614.fields["xStep"]; + s.tmp_2 = Fx_abs__P271981_mk(s); + r0 = s.ms___288919.fields["xStep"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 558; s.pc = 60; return s.tmp_2; + s.callLocIdx = 559; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P41958_mk(s); - r0 = s.ms___58614.fields["dx"]; + s.tmp_4 = Fx_abs__P271981_mk(s); + r0 = s.ms___288919.fields["dx"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 559; s.pc = 61; return s.tmp_4; + s.callLocIdx = 560; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; @@ -36878,25 +36025,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___58614.fields["dx"]; + r0 = s.ms___288919.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___58614.fields["xStep"]; + r0 = s.ms___288919.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___58709 = (s.tmp_5); - s.tmp_2 = Fx_abs__P41958_mk(s); - r0 = s.ms___58614.fields["yStep"]; + s.stepX___289014 = (s.tmp_5); + s.tmp_2 = Fx_abs__P271981_mk(s); + r0 = s.ms___288919.fields["yStep"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 560; s.pc = 62; return s.tmp_2; + s.callLocIdx = 561; s.pc = 62; return s.tmp_2; case 62: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P41958_mk(s); - r0 = s.ms___58614.fields["dy"]; + s.tmp_4 = Fx_abs__P271981_mk(s); + r0 = s.ms___288919.fields["dy"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 561; s.pc = 63; return s.tmp_4; + s.callLocIdx = 562; s.pc = 63; return s.tmp_4; case 63: r0 = s.retval; s.tmp_3 = r0; @@ -36904,45 +36051,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___58614.fields["dy"]; + r0 = s.ms___288919.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___58614.fields["yStep"]; + r0 = s.ms___288919.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___58723 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___58614; - r0 = s.ms___58614.fields["dx"]; + s.stepY___289028 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___288919; + r0 = s.ms___288919.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___58709); + r0 = (s.tmp_2 - s.stepX___289014); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___58614; - r0 = s.ms___58614.fields["dy"]; + s.tmp_0 = r0 = s.ms___288919; + r0 = s.ms___288919.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___58723); + r0 = (s.tmp_2 - s.stepY___289028); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___58616.fields["_x"]; + r0 = s.s___288921.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___58616).fields["_lastX"] = (s.tmp_0); - r0 = s.s___58616.fields["_y"]; + r0 = (s.s___288921).fields["_lastX"] = (s.tmp_0); + r0 = s.s___288921.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___58616).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___58616; - r0 = s.s___58616.fields["_x"]; + r0 = (s.s___288921).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___288921; + r0 = s.s___288921.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___58709); + r0 = (s.tmp_2 + s.stepX___289014); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___58616; - r0 = s.s___58616.fields["_y"]; + s.tmp_0 = r0 = s.s___288921; + r0 = s.s___288921.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___58723); + r0 = (s.tmp_2 + s.stepY___289028); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___58616.fields["flags"]; + r0 = s.s___288921.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -36952,22 +36099,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 33; continue; } - s.tmp_4 = sprites_SpriteMap_insertAABB__P44247_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P274270_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___58616; - s.callLocIdx = 566; s.pc = 64; return s.tmp_4; + s.tmp_4.arg1 = s.s___288921; + s.callLocIdx = 567; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___58534; + s.tmp_0 = r0 = s.tileMap___288839; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___58534.fields["_map"]; + r0 = s.tileMap___288839.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -36981,20 +36128,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P46639_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P276661_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___58614; - s.tmp_6.arg2 = s.tileMap___58534; - s.callLocIdx = 568; s.pc = 65; return s.tmp_6; + s.tmp_6.arg1 = s.ms___288919; + s.tmp_6.arg2 = s.tileMap___288839; + s.callLocIdx = 569; s.pc = 65; return s.tmp_6; case 65: r0 = s.retval; case 37: case 38: - r0 = s.s___58616.fields["flags"]; + r0 = s.s___288921.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___58786 = (r0); - r0 = s.s___58616.fields["flags"]; + s.bounce___289091 = (r0); + r0 = s.s___288921.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); s.tmp_0 = r0; @@ -37003,13 +36150,13 @@ switch (step) { r0 = s.tmp_0; { step = 42; continue; } case 39: - s.tmp_2 = r0 = s.bounce___58786; + s.tmp_2 = r0 = s.bounce___289091; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 40; continue; } r0 = s.tmp_2; { step = 41; continue; } case 40: - r0 = pxsim_numops_toBoolDecr(s.tileMap___58534); + r0 = pxsim_numops_toBoolDecr(s.tileMap___288839); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 41: @@ -37021,81 +36168,81 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 43; continue; } - s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P46638_mk(s); + s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P276660_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___58614; - s.tmp_6.arg2 = s.bounce___58786; - r0 = s.scene___58531.fields["camera"]; + s.tmp_6.arg1 = s.ms___288919; + s.tmp_6.arg2 = s.bounce___289091; + r0 = s.scene___288836.fields["camera"]; s.tmp_6.arg3 = r0; - s.callLocIdx = 569; s.pc = 66; return s.tmp_6; + s.callLocIdx = 570; s.pc = 66; return s.tmp_6; case 66: r0 = s.retval; case 43: case 44: - s.tmp_2 = Fx_abs__P41958_mk(s); - r0 = s.ms___58614.fields["dx"]; + s.tmp_2 = Fx_abs__P271981_mk(s); + r0 = s.ms___288919.fields["dx"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 570; s.pc = 67; return s.tmp_2; + s.callLocIdx = 571; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___44315); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___274338); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 45; continue; } r0 = s.tmp_0; { step = 46; continue; } case 45: - s.tmp_4 = Fx_abs__P41958_mk(s); - r0 = s.ms___58614.fields["dy"]; + s.tmp_4 = Fx_abs__P271981_mk(s); + r0 = s.ms___288919.fields["dy"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 571; s.pc = 68; return s.tmp_4; + s.callLocIdx = 572; s.pc = 68; return s.tmp_4; case 68: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___44315); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___274338); case 46: // jmp value (already in r0) s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 47; continue; } - r0 = pxsim_Array__push(s.remainingMovers___58609, s.ms___58614); + r0 = pxsim_Array__push(s.remainingMovers___288914, s.ms___288919); case 47: case 48: - r0 = (s.unnamed267___U14 + 1); - s.unnamed267___U14 = (r0); + r0 = (s.unnamed2135___U14 + 1); + s.unnamed2135___U14 = (r0); { step = 4; continue; } case 49: - s.unnamed266___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P46637_mk(s); + s.unnamed2134___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P276659_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___58602; - s.tmp_0.arg2 = s.overlapHandlers___58580; - s.callLocIdx = 572; s.pc = 69; return s.tmp_0; + s.tmp_0.arg1 = s.currMovers___288907; + s.tmp_0.arg2 = s.overlapHandlers___288885; + s.callLocIdx = 573; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; case 50: - r0 = pxsim_Array__length(s.currMovers___58602); + r0 = pxsim_Array__length(s.currMovers___288907); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 51; continue; } - r0 = pxsim_Array_.pop(s.currMovers___58602); + r0 = pxsim_Array_.pop(s.currMovers___288907); { step = 50; continue; } case 51: - r0 = (s.count___58592 + 1); - s.count___58592 = (r0); + r0 = (s.count___288897 + 1); + s.count___288897 = (r0); { step = 1; continue; } case 52: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P44333.info = {"start":2822,"length":4105,"line":112,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P274356.info = {"start":2822,"length":4105,"line":112,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P44333_mk(s) { +function ArcadePhysicsEngine_move__P274356_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P44333, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P274356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37109,25 +36256,25 @@ function ArcadePhysicsEngine_move__P44333_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___58521: undefined, - dt2___58527: undefined, - scene___58531: undefined, - tileMap___58534: undefined, - movingSprites___58537: undefined, - MAX_STEP_COUNT___58568: undefined, - overlapHandlers___58580: undefined, - selected___58587: undefined, - buffers___58588: undefined, - count___58592: undefined, - currMovers___58602: undefined, - remainingMovers___58609: undefined, - ms___58614: undefined, - unnamed266___U13: undefined, - unnamed267___U14: undefined, - s___58616: undefined, - stepX___58709: undefined, - stepY___58723: undefined, - bounce___58786: undefined, + dtMs___288826: undefined, + dt2___288832: undefined, + scene___288836: undefined, + tileMap___288839: undefined, + movingSprites___288842: undefined, + MAX_STEP_COUNT___288873: undefined, + overlapHandlers___288885: undefined, + selected___288892: undefined, + buffers___288893: undefined, + count___288897: undefined, + currMovers___288907: undefined, + remainingMovers___288914: undefined, + ms___288919: undefined, + unnamed2134___U13: undefined, + unnamed2135___U14: undefined, + s___288921: undefined, + stepX___289014: undefined, + stepY___289028: undefined, + bounce___289091: undefined, arg0: undefined, arg1: undefined, } } @@ -37136,7 +36283,7 @@ function ArcadePhysicsEngine_move__P44333_mk(s) { -function movingSprites_inline__P58539(s) { +function movingSprites_inline__P288844(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37150,23 +36297,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P46636_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P276658_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 = 541; s.pc = 1; return s.tmp_0; + s.callLocIdx = 542; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -movingSprites_inline__P58539.info = {"start":3181,"length":52,"line":121,"column":17,"endLine":121,"endColumn":69,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +movingSprites_inline__P288844.info = {"start":3181,"length":52,"line":121,"column":17,"endLine":121,"endColumn":69,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} -function movingSprites_inline__P58539_mk(s) { +function movingSprites_inline__P288844_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P58539, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P288844, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37176,7 +36323,7 @@ function movingSprites_inline__P58539_mk(s) { -function ArcadePhysicsEngine_move_inline__P58551(s) { +function ArcadePhysicsEngine_move_inline__P288856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37190,9 +36337,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P44152_mk(s); + s.tmp_1 = Sprite_vx__P274175_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 543; s.pc = 5; return s.tmp_1; + s.callLocIdx = 544; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; @@ -37201,9 +36348,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P44154_mk(s); + s.tmp_2 = Sprite_vy__P274177_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 544; s.pc = 6; return s.tmp_2; + s.callLocIdx = 545; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 2: @@ -37211,9 +36358,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P44219_mk(s); + s.tmp_4 = Sprite_clearObstacles__P274242_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 545; s.pc = 7; return s.tmp_4; + s.callLocIdx = 546; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; case 3: @@ -37222,12 +36369,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P58551.info = {"start":3316,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +ArcadePhysicsEngine_move_inline__P288856.info = {"start":3316,"length":66,"line":124,"column":29,"endLine":126,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} -function ArcadePhysicsEngine_move_inline__P58551_mk(s) { +function ArcadePhysicsEngine_move_inline__P288856_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P58551, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P288856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37241,7 +36388,7 @@ function ArcadePhysicsEngine_move_inline__P58551_mk(s) { -function ArcadePhysicsEngine_screenEdgeCollisions__P46638(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P276660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37251,8 +36398,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___59369 = undefined; - s.offset___59384 = undefined; + s.s___289674 = undefined; + s.offset___289689 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37261,10 +36408,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___59369 = (r0); - r0 = s.s___59369.fields["_image"]; + s.s___289674 = (r0); + r0 = s.s___289674.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -37274,18 +36421,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C44135_v4_1_mk(s); - s.tmp_4.arg0 = s.s___59369; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C44135_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C274158_v4_1_mk(s); + s.tmp_4.arg0 = s.s___289674; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C274158_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.setHitbox; s.pc = 21; return s.tmp_4; case 21: r0 = s.retval; case 1: case 2: - s.tmp_3 = scene_Camera_isUpdated__P44591_mk(s); + s.tmp_3 = scene_Camera_isUpdated__P274614_mk(s); s.tmp_3.arg0 = s.arg3; - s.callLocIdx = 617; s.pc = 22; return s.tmp_3; + s.callLocIdx = 618; s.pc = 22; return s.tmp_3; case 22: r0 = s.retval; s.tmp_2 = r0; @@ -37295,17 +36442,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = scene_Camera_update__P44592_mk(s); + s.tmp_4 = scene_Camera_update__P274615_mk(s); s.tmp_4.arg0 = s.arg3; - s.callLocIdx = 618; s.pc = 23; return s.tmp_4; + s.callLocIdx = 619; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; case 3: case 4: - s.tmp_2 = game_Hitbox_left__P44010_mk(s); - r0 = s.s___59369.fields["_hitbox"]; + s.tmp_2 = game_Hitbox_left__P274033_mk(s); + r0 = s.s___289674.fields["_hitbox"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 619; s.pc = 24; return s.tmp_2; + s.callLocIdx = 620; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; s.tmp_1 = r0; @@ -37314,48 +36461,48 @@ switch (step) { r0 = s.arg3.fields["_offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); - s.offset___59384 = (r0); - r0 = (s.offset___59384 < 0); + s.offset___289689 = (r0); + r0 = (s.offset___289689 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = Sprite_left__P44194_mk(s); - s.tmp_2 = r0 = s.s___59369; + s.tmp_1 = Sprite_left__P274217_mk(s); + s.tmp_2 = r0 = s.s___289674; s.tmp_1.arg0 = r0; - s.tmp_4 = Sprite_left__P44193_mk(s); + s.tmp_4 = Sprite_left__P274216_mk(s); s.tmp_4.arg0 = s.tmp_2; - s.callLocIdx = 622; s.pc = 26; return s.tmp_4; + s.callLocIdx = 623; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offset___59384); + r0 = (s.tmp_3 - s.offset___289689); s.tmp_1.arg1 = r0; - s.callLocIdx = 623; s.pc = 25; return s.tmp_1; + s.callLocIdx = 624; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 5; continue; } - s.tmp_0 = Sprite_vx__P44153_mk(s); - s.tmp_0.arg0 = s.s___59369; - s.tmp_2 = Sprite_vx__P44152_mk(s); - s.tmp_2.arg0 = s.s___59369; - s.callLocIdx = 624; s.pc = 28; return s.tmp_2; + s.tmp_0 = Sprite_vx__P274176_mk(s); + s.tmp_0.arg0 = s.s___289674; + s.tmp_2 = Sprite_vx__P274175_mk(s); + s.tmp_2.arg0 = s.s___289674; + s.callLocIdx = 625; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 625; s.pc = 27; return s.tmp_0; + s.callLocIdx = 626; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; case 5: case 6: { step = 12; continue; } case 7: - s.tmp_4 = game_Hitbox_right__P44012_mk(s); - r0 = s.s___59369.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_right__P274035_mk(s); + r0 = s.s___289674.fields["_hitbox"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 626; s.pc = 29; return s.tmp_4; + s.callLocIdx = 627; s.pc = 29; return s.tmp_4; case 29: r0 = s.retval; s.tmp_3 = r0; @@ -37365,42 +36512,42 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___59384 = (r0); + s.offset___289689 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 10; continue; } - s.tmp_8 = Sprite_right__P44196_mk(s); - s.tmp_9 = r0 = s.s___59369; + s.tmp_8 = Sprite_right__P274219_mk(s); + s.tmp_9 = r0 = s.s___289674; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_right__P44195_mk(s); + s.tmp_11 = Sprite_right__P274218_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 629; s.pc = 31; return s.tmp_11; + s.callLocIdx = 630; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___59384); + r0 = (s.tmp_10 - s.offset___289689); s.tmp_8.arg1 = r0; - s.callLocIdx = 630; s.pc = 30; return s.tmp_8; + s.callLocIdx = 631; s.pc = 30; return s.tmp_8; case 30: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 8; continue; } - s.tmp_0 = Sprite_vx__P44153_mk(s); - s.tmp_0.arg0 = s.s___59369; - s.tmp_2 = Sprite_vx__P44152_mk(s); - s.tmp_2.arg0 = s.s___59369; - s.callLocIdx = 631; s.pc = 33; return s.tmp_2; + s.tmp_0 = Sprite_vx__P274176_mk(s); + s.tmp_0.arg0 = s.s___289674; + s.tmp_2 = Sprite_vx__P274175_mk(s); + s.tmp_2.arg0 = s.s___289674; + s.callLocIdx = 632; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 632; s.pc = 32; return s.tmp_0; + s.callLocIdx = 633; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 8: @@ -37408,10 +36555,10 @@ switch (step) { case 10: case 11: case 12: - s.tmp_3 = game_Hitbox_top__P44011_mk(s); - r0 = s.s___59369.fields["_hitbox"]; + s.tmp_3 = game_Hitbox_top__P274034_mk(s); + r0 = s.s___289674.fields["_hitbox"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 633; s.pc = 34; return s.tmp_3; + s.callLocIdx = 634; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; s.tmp_2 = r0; @@ -37421,48 +36568,48 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); s.tmp_0 = r0; - s.offset___59384 = (r0); + s.offset___289689 = (r0); r0 = (s.tmp_0 < 0); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 15; continue; } - s.tmp_6 = Sprite_top__P44198_mk(s); - s.tmp_7 = r0 = s.s___59369; + s.tmp_6 = Sprite_top__P274221_mk(s); + s.tmp_7 = r0 = s.s___289674; s.tmp_6.arg0 = r0; - s.tmp_9 = Sprite_top__P44197_mk(s); + s.tmp_9 = Sprite_top__P274220_mk(s); s.tmp_9.arg0 = s.tmp_7; - s.callLocIdx = 636; s.pc = 36; return s.tmp_9; + s.callLocIdx = 637; s.pc = 36; return s.tmp_9; case 36: r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offset___59384); + r0 = (s.tmp_8 - s.offset___289689); s.tmp_6.arg1 = r0; - s.callLocIdx = 637; s.pc = 35; return s.tmp_6; + s.callLocIdx = 638; s.pc = 35; return s.tmp_6; case 35: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vy__P44155_mk(s); - s.tmp_0.arg0 = s.s___59369; - s.tmp_2 = Sprite_vy__P44154_mk(s); - s.tmp_2.arg0 = s.s___59369; - s.callLocIdx = 638; s.pc = 38; return s.tmp_2; + s.tmp_0 = Sprite_vy__P274178_mk(s); + s.tmp_0.arg0 = s.s___289674; + s.tmp_2 = Sprite_vy__P274177_mk(s); + s.tmp_2.arg0 = s.s___289674; + s.callLocIdx = 639; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 639; s.pc = 37; return s.tmp_0; + s.callLocIdx = 640; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; case 13: case 14: { step = 20; continue; } case 15: - s.tmp_4 = game_Hitbox_bottom__P44013_mk(s); - r0 = s.s___59369.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_bottom__P274036_mk(s); + r0 = s.s___289674.fields["_hitbox"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 640; s.pc = 39; return s.tmp_4; + s.callLocIdx = 641; s.pc = 39; return s.tmp_4; case 39: r0 = s.retval; s.tmp_3 = r0; @@ -37472,42 +36619,42 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___59384 = (r0); + s.offset___289689 = (r0); r0 = (s.tmp_0 > 0); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 18; continue; } - s.tmp_8 = Sprite_bottom__P44200_mk(s); - s.tmp_9 = r0 = s.s___59369; + s.tmp_8 = Sprite_bottom__P274223_mk(s); + s.tmp_9 = r0 = s.s___289674; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_bottom__P44199_mk(s); + s.tmp_11 = Sprite_bottom__P274222_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 643; s.pc = 41; return s.tmp_11; + s.callLocIdx = 644; s.pc = 41; return s.tmp_11; case 41: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___59384); + r0 = (s.tmp_10 - s.offset___289689); s.tmp_8.arg1 = r0; - s.callLocIdx = 644; s.pc = 40; return s.tmp_8; + s.callLocIdx = 645; s.pc = 40; return s.tmp_8; case 40: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vy__P44155_mk(s); - s.tmp_0.arg0 = s.s___59369; - s.tmp_2 = Sprite_vy__P44154_mk(s); - s.tmp_2.arg0 = s.s___59369; - s.callLocIdx = 645; s.pc = 43; return s.tmp_2; + s.tmp_0 = Sprite_vy__P274178_mk(s); + s.tmp_0.arg0 = s.s___289674; + s.tmp_2 = Sprite_vy__P274177_mk(s); + s.tmp_2.arg0 = s.s___289674; + s.callLocIdx = 646; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 646; s.pc = 42; return s.tmp_0; + s.callLocIdx = 647; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; case 16: @@ -37519,12 +36666,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_screenEdgeCollisions__P46638.info = {"start":12018,"length":905,"line":355,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} +ArcadePhysicsEngine_screenEdgeCollisions__P276660.info = {"start":12018,"length":905,"line":355,"column":4,"endLine":377,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"screenEdgeCollisions","argumentNames":["this","movingSprite","bounce","camera"]} -function ArcadePhysicsEngine_screenEdgeCollisions__P46638_mk(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P276660_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P46638, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P276660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37538,8 +36685,8 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P46638_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - s___59369: undefined, - offset___59384: undefined, + s___289674: undefined, + offset___289689: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37550,7 +36697,7 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P46638_mk(s) { -function scene_Camera_isUpdated__P44591(s) { +function scene_Camera_isUpdated__P274614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37565,7 +36712,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C44575_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -37577,10 +36724,10 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 1: - s.tmp_5 = Sprite_x__P44148_mk(s); + s.tmp_5 = Sprite_x__P274171_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 889; s.pc = 5; return s.tmp_5; + s.callLocIdx = 890; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; s.tmp_4 = r0; @@ -37593,10 +36740,10 @@ switch (step) { r0 = s.tmp_3; { step = 3; continue; } case 2: - s.tmp_8 = Sprite_y__P44150_mk(s); + s.tmp_8 = Sprite_y__P274173_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_8.arg0 = r0; - s.callLocIdx = 890; s.pc = 6; return s.tmp_8; + s.callLocIdx = 891; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; s.tmp_7 = r0; @@ -37614,12 +36761,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_isUpdated__P44591.info = {"start":2403,"length":150,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"isUpdated","argumentNames":["this"]} +scene_Camera_isUpdated__P274614.info = {"start":2403,"length":150,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"isUpdated","argumentNames":["this"]} -function scene_Camera_isUpdated__P44591_mk(s) { +function scene_Camera_isUpdated__P274614_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_isUpdated__P44591, depth: s.depth + 1, + parent: s, fn: scene_Camera_isUpdated__P274614, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37640,7 +36787,7 @@ function scene_Camera_isUpdated__P44591_mk(s) { -function Sprite_bottom__P44200(s) { +function Sprite_bottom__P274223(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37656,31 +36803,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P44198_mk(s); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P274221_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_height__P44192_mk(s); + s.tmp_3 = Sprite_height__P274215_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 364; s.pc = 2; return s.tmp_3; + s.callLocIdx = 365; 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.arg1 = r0; - s.callLocIdx = 365; s.pc = 1; return s.tmp_0; + s.callLocIdx = 366; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_bottom__P44200.info = {"start":12204,"length":73,"line":440,"column":4,"endLine":442,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P274223.info = {"start":12204,"length":73,"line":440,"column":4,"endLine":442,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P44200_mk(s) { +function Sprite_bottom__P274223_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P44200, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P274223, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37694,7 +36841,7 @@ function Sprite_bottom__P44200_mk(s) { -function Sprite_bottom__P44199(s) { +function Sprite_bottom__P274222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37709,16 +36856,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P44197_mk(s); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P274220_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 362; s.pc = 1; return s.tmp_1; + s.callLocIdx = 363; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_height__P44192_mk(s); + s.tmp_3 = Sprite_height__P274215_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 363; s.pc = 2; return s.tmp_3; + s.callLocIdx = 364; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -37726,13 +36873,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P44199.info = {"start":12052,"length":59,"line":435,"column":4,"endLine":437,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P44199.isGetter = true; +Sprite_bottom__P274222.info = {"start":12052,"length":59,"line":435,"column":4,"endLine":437,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P274222.isGetter = true; -function Sprite_bottom__P44199_mk(s) { +function Sprite_bottom__P274222_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P44199, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P274222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37745,7 +36892,7 @@ function Sprite_bottom__P44199_mk(s) { -function Sprite_right__P44196(s) { +function Sprite_right__P274219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37761,31 +36908,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P44194_mk(s); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P274217_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_width__P44191_mk(s); + s.tmp_3 = Sprite_width__P274214_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 356; s.pc = 2; return s.tmp_3; + s.callLocIdx = 357; 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.arg1 = r0; - s.callLocIdx = 357; s.pc = 1; return s.tmp_0; + s.callLocIdx = 358; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_right__P44196.info = {"start":11367,"length":71,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P274219.info = {"start":11367,"length":71,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P44196_mk(s) { +function Sprite_right__P274219_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P44196, depth: s.depth + 1, + parent: s, fn: Sprite_right__P274219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37799,7 +36946,7 @@ function Sprite_right__P44196_mk(s) { -function Sprite_right__P44195(s) { +function Sprite_right__P274218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37814,16 +36961,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P44193_mk(s); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P274216_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 354; s.pc = 1; return s.tmp_1; + s.callLocIdx = 355; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_width__P44191_mk(s); + s.tmp_3 = Sprite_width__P274214_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 355; s.pc = 2; return s.tmp_3; + s.callLocIdx = 356; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -37831,13 +36978,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P44195.info = {"start":11218,"length":57,"line":405,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P44195.isGetter = true; +Sprite_right__P274218.info = {"start":11218,"length":57,"line":405,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P274218.isGetter = true; -function Sprite_right__P44195_mk(s) { +function Sprite_right__P274218_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P44195, depth: s.depth + 1, + parent: s, fn: Sprite_right__P274218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37850,7 +36997,7 @@ function Sprite_right__P44195_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P46637(s) { +function ArcadePhysicsEngine_spriteCollisions__P276659(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37860,18 +37007,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___58843 = undefined; - s.unnamed268___U1 = undefined; - s.unnamed269___U2 = undefined; - s.sprite___58845 = undefined; - s.overSprites___58852 = undefined; - s.overlapper___58860 = undefined; - s.unnamed270___U6 = undefined; - s.unnamed271___U7 = undefined; - s.thisKind___58866 = undefined; - s.otherKind___58870 = undefined; - s.higher___58883 = undefined; - s.lower___58892 = undefined; + s.ms___289148 = undefined; + s.unnamed2136___U1 = undefined; + s.unnamed2137___U2 = undefined; + s.sprite___289150 = undefined; + s.overSprites___289157 = undefined; + s.overlapper___289165 = undefined; + s.unnamed2138___U6 = undefined; + s.unnamed2139___U7 = undefined; + s.thisKind___289171 = undefined; + s.otherKind___289175 = undefined; + s.higher___289188 = undefined; + s.lower___289197 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37879,7 +37026,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -37891,20 +37038,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___58843 = (undefined); - s.unnamed268___U1 = (s.arg1); - s.unnamed269___U2 = (0); + s.ms___289148 = (undefined); + s.unnamed2136___U1 = (s.arg1); + s.unnamed2137___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed269___U2; - r0 = pxsim_Array__length(s.unnamed268___U1); + s.tmp_0 = r0 = s.unnamed2137___U2; + r0 = pxsim_Array__length(s.unnamed2136___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed268___U1, s.unnamed269___U2); - s.ms___58843 = (r0); - r0 = s.ms___58843.fields["sprite"]; - s.sprite___58845 = (r0); - r0 = s.sprite___58845.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed2136___U1, s.unnamed2137___U2); + s.ms___289148 = (r0); + r0 = s.ms___289148.fields["sprite"]; + s.sprite___289150 = (r0); + r0 = s.sprite___289150.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -37913,27 +37060,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P44243_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P274266_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___58843.fields["sprite"]; + r0 = s.ms___289148.fields["sprite"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 610; s.pc = 22; return s.tmp_2; + s.callLocIdx = 611; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___58852 = (r0); - s.overlapper___58860 = (undefined); - s.unnamed270___U6 = (s.overSprites___58852); - s.unnamed271___U7 = (0); + s.overSprites___289157 = (r0); + s.overlapper___289165 = (undefined); + s.unnamed2138___U6 = (s.overSprites___289157); + s.unnamed2139___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed271___U7; - r0 = pxsim_Array__length(s.unnamed270___U6); + s.tmp_0 = r0 = s.unnamed2139___U7; + r0 = pxsim_Array__length(s.unnamed2138___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed270___U6, s.unnamed271___U7); - s.overlapper___58860 = (r0); - r0 = s.overlapper___58860.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed2138___U6, s.unnamed2139___U7); + s.overlapper___289165 = (r0); + r0 = s.overlapper___289165.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -37942,13 +37089,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___58845.fields["_kind"]; - s.thisKind___58866 = (r0); - r0 = s.overlapper___58860.fields["_kind"]; - s.otherKind___58870 = (r0); - r0 = s.sprite___58845.fields["_kindsOverlappedWith"]; + r0 = s.sprite___289150.fields["_kind"]; + s.thisKind___289171 = (r0); + r0 = s.overlapper___289165.fields["_kind"]; + s.otherKind___289175 = (r0); + r0 = s.sprite___289150.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___58870, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___289175, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -37957,37 +37104,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___58845.fields["id"]; + r0 = s.sprite___289150.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___58860.fields["id"]; + r0 = s.overlapper___289165.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___58845; + r0 = s.sprite___289150; { step = 12; continue; } case 11: - r0 = s.overlapper___58860; + r0 = s.overlapper___289165; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___58883 = (s.tmp_6); - r0 = (s.higher___58883 === s.sprite___58845); + s.higher___289188 = (s.tmp_6); + r0 = (s.higher___289188 === s.sprite___289150); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___58860; + r0 = s.overlapper___289165; { step = 14; continue; } case 13: - r0 = s.sprite___58845; + r0 = s.sprite___289150; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___58892 = (s.tmp_1); - r0 = s.higher___58883.fields["_overlappers"]; + s.lower___289197 = (s.tmp_1); + r0 = s.higher___289188.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___58892.fields["id"]; + r0 = s.lower___289197.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -37995,54 +37142,54 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P58912); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P289217); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___58866); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___58870); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P58936); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___289171); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___289175); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P289241); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___58883); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___58892); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___58845); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___58860); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___58866); - s.tmp_6 = helpers_arrayForEach__P41902_mk(s); - s.tmp_7 = helpers_arrayFilter__P41903_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___289188); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___289197); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___289150); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___289165); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___289171); + s.tmp_6 = helpers_arrayForEach__P271925_mk(s); + s.tmp_7 = helpers_arrayFilter__P271926_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; - s.callLocIdx = 613; s.pc = 24; return s.tmp_7; + s.callLocIdx = 614; 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 = 615; s.pc = 23; return s.tmp_6; + s.callLocIdx = 616; s.pc = 23; return s.tmp_6; case 23: r0 = s.retval; case 15: case 16: case 17: - r0 = (s.unnamed271___U7 + 1); - s.unnamed271___U7 = (r0); + r0 = (s.unnamed2139___U7 + 1); + s.unnamed2139___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed270___U6 = (undefined); + s.unnamed2138___U6 = (undefined); case 19: - r0 = (s.unnamed269___U2 + 1); - s.unnamed269___U2 = (r0); + r0 = (s.unnamed2137___U2 + 1); + s.unnamed2137___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed268___U1 = (undefined); + s.unnamed2136___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P46637.info = {"start":9744,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P276659.info = {"start":9744,"length":2268,"line":309,"column":4,"endLine":353,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P46637_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P276659_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P46637, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P276659, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38052,18 +37199,18 @@ function ArcadePhysicsEngine_spriteCollisions__P46637_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___58843: undefined, - unnamed268___U1: undefined, - unnamed269___U2: undefined, - sprite___58845: undefined, - overSprites___58852: undefined, - overlapper___58860: undefined, - unnamed270___U6: undefined, - unnamed271___U7: undefined, - thisKind___58866: undefined, - otherKind___58870: undefined, - higher___58883: undefined, - lower___58892: undefined, + ms___289148: undefined, + unnamed2136___U1: undefined, + unnamed2137___U2: undefined, + sprite___289150: undefined, + overSprites___289157: undefined, + overlapper___289165: undefined, + unnamed2138___U6: undefined, + unnamed2139___U7: undefined, + thisKind___289171: undefined, + otherKind___289175: undefined, + higher___289188: undefined, + lower___289197: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38073,7 +37220,7 @@ function ArcadePhysicsEngine_spriteCollisions__P46637_mk(s) { -function forEach_inline__P58912(s) { +function forEach_inline__P289217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38130,12 +37277,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P58912.info = {"start":11113,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P289217.info = {"start":11113,"length":137,"line":335,"column":32,"endLine":336,"endColumn":81,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P58912_mk(s) { +function forEach_inline__P289217_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P58912, depth: s.depth + 1, + parent: s, fn: forEach_inline__P289217, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38153,7 +37300,7 @@ function forEach_inline__P58912_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P58936(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P289241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38172,7 +37319,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, ArcadePhysicsEngine_spriteCollisions_inline__P58946); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P289251); 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]); @@ -38185,12 +37332,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P58936.info = {"start":11310,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +ArcadePhysicsEngine_spriteCollisions_inline__P289241.info = {"start":11310,"length":652,"line":338,"column":33,"endLine":349,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function ArcadePhysicsEngine_spriteCollisions_inline__P58936_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P289241_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P58936, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P289241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38201,7 +37348,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P58936_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P58946(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P289251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38257,12 +37404,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 = 614; s.pc = 7; return s.tmp_12; + s.callLocIdx = 615; 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 = 614; s.pc = 7; return s.tmp_12; } - else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 614; s.pc = 7; return s.tmp_12;; } - else { s.callLocIdx = 614; 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 = 615; s.pc = 7; return s.tmp_12; } + else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 615; s.pc = 7; return s.tmp_12;; } + else { s.callLocIdx = 615; s.pc = 7; return s.tmp_12; } } case 7: r0 = s.retval; @@ -38277,12 +37424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P58946.info = {"start":11431,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +ArcadePhysicsEngine_spriteCollisions_inline__P289251.info = {"start":11431,"length":503,"line":340,"column":50,"endLine":348,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function ArcadePhysicsEngine_spriteCollisions_inline__P58946_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P289251_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P58946, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P289251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38303,7 +37450,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P58946_mk(s) { -function sprites_SpriteMap_overlaps__P44243(s) { +function sprites_SpriteMap_overlaps__P274266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38313,47 +37460,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___58980 = undefined; - s.o___58984 = undefined; + s.n___289285 = undefined; + s.o___289289 = 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__C44240_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P44242_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P274265_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 487; s.pc = 1; return s.tmp_0; + s.callLocIdx = 488; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___58980 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P58986); + s.n___289285 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P289291); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P41903_mk(s); - s.tmp_1.arg0 = s.n___58980; + s.tmp_1 = helpers_arrayFilter__P271926_mk(s); + s.tmp_1.arg0 = s.n___289285; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 489; s.pc = 2; return s.tmp_1; + s.callLocIdx = 490; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___58984 = (r0); - r0 = s.o___58984; + s.o___289289 = (r0); + r0 = s.o___289289; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P44243.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__P274266.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__P44243_mk(s) { +function sprites_SpriteMap_overlaps__P274266_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P44243, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P274266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___58980: undefined, - o___58984: undefined, + n___289285: undefined, + o___289289: undefined, arg0: undefined, arg1: undefined, } } @@ -38362,7 +37509,7 @@ function sprites_SpriteMap_overlaps__P44243_mk(s) { -function o_inline__P58986(s) { +function o_inline__P289291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38376,21 +37523,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P44214_mk(s); + s.tmp_0 = Sprite_overlapsWith__P274237_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 488; s.pc = 1; return s.tmp_0; + s.callLocIdx = 489; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -o_inline__P58986.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +o_inline__P289291.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} -function o_inline__P58986_mk(s) { +function o_inline__P289291_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P58986, depth: s.depth + 1, + parent: s, fn: o_inline__P289291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38400,7 +37547,7 @@ function o_inline__P58986_mk(s) { -function sprites_SpriteMap_neighbors__P44242(s) { +function sprites_SpriteMap_neighbors__P274265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38410,112 +37557,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___59251 = undefined; - s.layer___59253 = undefined; + s.n___289556 = undefined; + s.layer___289558 = 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__C44240_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___59251 = (r0); + s.n___289556 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___59253 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P46601_mk(s); + s.layer___289558 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P276623_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P44193_mk(s); + s.tmp_1 = Sprite_left__P274216_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 475; s.pc = 2; return s.tmp_1; + s.callLocIdx = 476; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P44197_mk(s); + s.tmp_2 = Sprite_top__P274220_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 476; s.pc = 3; return s.tmp_2; + s.callLocIdx = 477; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___59253; - s.tmp_0.arg4 = s.n___59251; - s.callLocIdx = 477; s.pc = 1; return s.tmp_0; + s.tmp_0.arg3 = s.layer___289558; + s.tmp_0.arg4 = s.n___289556; + s.callLocIdx = 478; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P46601_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P276623_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P44193_mk(s); + s.tmp_1 = Sprite_left__P274216_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 478; s.pc = 5; return s.tmp_1; + s.callLocIdx = 479; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P44199_mk(s); + s.tmp_2 = Sprite_bottom__P274222_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 479; s.pc = 6; return s.tmp_2; + s.callLocIdx = 480; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___59253; - s.tmp_0.arg4 = s.n___59251; - s.callLocIdx = 480; s.pc = 4; return s.tmp_0; + s.tmp_0.arg3 = s.layer___289558; + s.tmp_0.arg4 = s.n___289556; + s.callLocIdx = 481; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P46601_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P276623_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P44195_mk(s); + s.tmp_1 = Sprite_right__P274218_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 481; s.pc = 8; return s.tmp_1; + s.callLocIdx = 482; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P44197_mk(s); + s.tmp_2 = Sprite_top__P274220_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 482; s.pc = 9; return s.tmp_2; + s.callLocIdx = 483; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___59253; - s.tmp_0.arg4 = s.n___59251; - s.callLocIdx = 483; s.pc = 7; return s.tmp_0; + s.tmp_0.arg3 = s.layer___289558; + s.tmp_0.arg4 = s.n___289556; + s.callLocIdx = 484; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P46601_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P276623_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P44195_mk(s); + s.tmp_1 = Sprite_right__P274218_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 484; s.pc = 11; return s.tmp_1; + s.callLocIdx = 485; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P44199_mk(s); + s.tmp_2 = Sprite_bottom__P274222_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 485; s.pc = 12; return s.tmp_2; + s.callLocIdx = 486; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___59253; - s.tmp_0.arg4 = s.n___59251; - s.callLocIdx = 486; s.pc = 10; return s.tmp_0; + s.tmp_0.arg3 = s.layer___289558; + s.tmp_0.arg4 = s.n___289556; + s.callLocIdx = 487; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___59251, s.arg1); - r0 = s.n___59251; + r0 = pxsim_Array_.removeElement(s.n___289556, s.arg1); + r0 = s.n___289556; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P44242.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__P274265.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__P44242_mk(s) { +function sprites_SpriteMap_neighbors__P274265_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P44242, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P274265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___59251: undefined, - layer___59253: undefined, + n___289556: undefined, + layer___289558: undefined, arg0: undefined, arg1: undefined, } } @@ -38524,7 +37671,7 @@ function sprites_SpriteMap_neighbors__P44242_mk(s) { -function sprites_SpriteMap_mergeAtKey__P46601(s) { +function sprites_SpriteMap_mergeAtKey__P276623(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38534,11 +37681,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___59302 = undefined; - s.bucket___59307 = undefined; - s.sprite___59314 = undefined; - s.unnamed264___U3 = undefined; - s.unnamed265___U4 = undefined; + s.k___289607 = undefined; + s.bucket___289612 = undefined; + s.sprite___289619 = undefined; + s.unnamed2132___U3 = undefined; + s.unnamed2133___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38548,33 +37695,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C44240_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P46599_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P276621_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 513; s.pc = 9; return s.tmp_0; + s.callLocIdx = 514; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___59302 = (r0); + s.k___289607 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___59302); - s.bucket___59307 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___59307); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___289607); + s.bucket___289612 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___289612); if (!r0) { step = 7; continue; } - s.sprite___59314 = (undefined); - s.unnamed264___U3 = (s.bucket___59307); - s.unnamed265___U4 = (0); + s.sprite___289619 = (undefined); + s.unnamed2132___U3 = (s.bucket___289612); + s.unnamed2133___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed265___U4; - r0 = pxsim_Array__length(s.unnamed264___U3); + s.tmp_0 = r0 = s.unnamed2133___U4; + r0 = pxsim_Array__length(s.unnamed2132___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed264___U3, s.unnamed265___U4); - s.sprite___59314 = (r0); - r0 = s.sprite___59314.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed2132___U3, s.unnamed2133___U4); + s.sprite___289619 = (r0); + r0 = s.sprite___289619.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -38583,7 +37730,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___59314, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___289619, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -38591,26 +37738,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___59314); + r0 = pxsim_Array__push(s.arg4, s.sprite___289619); case 4: case 5: - r0 = (s.unnamed265___U4 + 1); - s.unnamed265___U4 = (r0); + r0 = (s.unnamed2133___U4 + 1); + s.unnamed2133___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed264___U3 = (undefined); + s.unnamed2132___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P46601.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__P276623.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__P46601_mk(s) { +function sprites_SpriteMap_mergeAtKey__P276623_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P46601, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P276623, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38618,11 +37765,11 @@ function sprites_SpriteMap_mergeAtKey__P46601_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___59302: undefined, - bucket___59307: undefined, - sprite___59314: undefined, - unnamed264___U3: undefined, - unnamed265___U4: undefined, + k___289607: undefined, + bucket___289612: undefined, + sprite___289619: undefined, + unnamed2132___U3: undefined, + unnamed2133___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38634,7 +37781,7 @@ function sprites_SpriteMap_mergeAtKey__P46601_mk(s) { -function sprites_SpriteMap_key__P46599(s) { +function sprites_SpriteMap_key__P276621(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38644,8 +37791,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___59335 = undefined; - s.yi___59347 = undefined; + s.xi___289640 = undefined; + s.yi___289652 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38653,8 +37800,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C44240_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P41920_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P271943_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -38662,11 +37809,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.arg1, s.tmp_1); s.tmp_0.arg2 = r0; - s.callLocIdx = 501; s.pc = 1; return s.tmp_0; + s.callLocIdx = 502; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___59335 = (r0); - s.tmp_0 = Math_clamp__P41920_mk(s); + s.xi___289640 = (r0); + s.tmp_0 = Math_clamp__P271943_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -38674,31 +37821,31 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.arg2, s.tmp_1); s.tmp_0.arg2 = r0; - s.callLocIdx = 502; s.pc = 2; return s.tmp_0; + s.callLocIdx = 503; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___59347 = (r0); - s.tmp_0 = r0 = s.xi___59335; + s.yi___289652 = (r0); + s.tmp_0 = r0 = s.xi___289640; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___59347 * s.tmp_2); + r0 = (s.yi___289652 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P46599.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__P276621.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__P46599_mk(s) { +function sprites_SpriteMap_key__P276621_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P46599, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P276621, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___59335: undefined, - yi___59347: undefined, + xi___289640: undefined, + yi___289652: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38708,7 +37855,7 @@ function sprites_SpriteMap_key__P46599_mk(s) { -function Sprite_overlapsWith__P44214(s) { +function Sprite_overlapsWith__P274237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38718,15 +37865,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___59064 = undefined; - s.B___59065 = undefined; + s.A___289369 = undefined; + s.B___289370 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -38772,23 +37919,23 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - s.tmp_9 = game_Hitbox_overlapsWith__P44017_mk(s); + s.tmp_9 = game_Hitbox_overlapsWith__P274040_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_9.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; s.tmp_9.arg1 = r0; - s.callLocIdx = 383; s.pc = 28; return s.tmp_9; + s.callLocIdx = 384; s.pc = 28; return s.tmp_9; case 28: r0 = s.retval; { step = 27; continue; } case 9: case 10: - s.tmp_13 = game_Hitbox_overlapsWith__P44017_mk(s); + s.tmp_13 = game_Hitbox_overlapsWith__P274040_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_13.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; s.tmp_13.arg1 = r0; - s.callLocIdx = 384; s.pc = 29; return s.tmp_13; + s.callLocIdx = 385; s.pc = 29; return s.tmp_13; case 29: r0 = s.retval; s.tmp_12 = r0; @@ -38802,9 +37949,9 @@ switch (step) { { step = 27; continue; } case 11: case 12: - s.tmp_17 = Sprite_isScaled__P46592_mk(s); + s.tmp_17 = Sprite_isScaled__P276614_mk(s); s.tmp_17.arg0 = s.arg0; - s.callLocIdx = 385; s.pc = 30; return s.tmp_17; + s.callLocIdx = 386; s.pc = 30; return s.tmp_17; case 30: r0 = s.retval; s.tmp_16 = r0; @@ -38817,9 +37964,9 @@ switch (step) { r0 = s.tmp_14; { step = 14; continue; } case 13: - s.tmp_20 = Sprite_isScaled__P46592_mk(s); + s.tmp_20 = Sprite_isScaled__P276614_mk(s); s.tmp_20.arg0 = s.arg1; - s.callLocIdx = 386; s.pc = 31; return s.tmp_20; + s.callLocIdx = 387; s.pc = 31; return s.tmp_20; case 31: r0 = s.retval; s.tmp_19 = r0; @@ -38835,29 +37982,29 @@ switch (step) { s.tmp_22 = r0; r0 = s.arg0.fields["_image"]; s.tmp_23 = r0; - s.tmp_26 = Sprite_left__P44193_mk(s); + s.tmp_26 = Sprite_left__P274216_mk(s); s.tmp_26.arg0 = s.arg0; - s.callLocIdx = 387; s.pc = 32; return s.tmp_26; + s.callLocIdx = 388; s.pc = 32; return s.tmp_26; case 32: r0 = s.retval; s.tmp_25 = r0; - s.tmp_28 = Sprite_left__P44193_mk(s); + s.tmp_28 = Sprite_left__P274216_mk(s); s.tmp_28.arg0 = s.arg1; - s.callLocIdx = 388; s.pc = 33; return s.tmp_28; + s.callLocIdx = 389; s.pc = 33; return s.tmp_28; case 33: r0 = s.retval; s.tmp_27 = r0; r0 = (s.tmp_25 - s.tmp_27); s.tmp_24 = r0; - s.tmp_31 = Sprite_top__P44197_mk(s); + s.tmp_31 = Sprite_top__P274220_mk(s); s.tmp_31.arg0 = s.arg0; - s.callLocIdx = 389; s.pc = 34; return s.tmp_31; + s.callLocIdx = 390; s.pc = 34; return s.tmp_31; case 34: r0 = s.retval; s.tmp_30 = r0; - s.tmp_33 = Sprite_top__P44197_mk(s); + s.tmp_33 = Sprite_top__P274220_mk(s); s.tmp_33.arg0 = s.arg1; - s.callLocIdx = 390; s.pc = 35; return s.tmp_33; + s.callLocIdx = 391; s.pc = 35; return s.tmp_33; case 35: r0 = s.retval; s.tmp_32 = r0; @@ -38867,9 +38014,9 @@ switch (step) { { step = 27; continue; } { step = 26; continue; } case 15: - s.tmp_36 = Sprite_sx__P44164_mk(s); + s.tmp_36 = Sprite_sx__P274187_mk(s); s.tmp_36.arg0 = s.arg0; - s.callLocIdx = 391; s.pc = 36; return s.tmp_36; + s.callLocIdx = 392; s.pc = 36; return s.tmp_36; case 36: r0 = s.retval; s.tmp_35 = r0; @@ -38880,9 +38027,9 @@ switch (step) { r0 = s.tmp_34; { step = 17; continue; } case 16: - s.tmp_38 = Sprite_sy__P44166_mk(s); + s.tmp_38 = Sprite_sy__P274189_mk(s); s.tmp_38.arg0 = s.arg0; - s.callLocIdx = 392; s.pc = 37; return s.tmp_38; + s.callLocIdx = 393; s.pc = 37; return s.tmp_38; case 37: r0 = s.retval; s.tmp_37 = r0; @@ -38895,9 +38042,9 @@ switch (step) { r0 = s.tmp_39; { step = 19; continue; } case 18: - s.tmp_41 = Sprite_sx__P44164_mk(s); + s.tmp_41 = Sprite_sx__P274187_mk(s); s.tmp_41.arg0 = s.arg1; - s.callLocIdx = 393; s.pc = 38; return s.tmp_41; + s.callLocIdx = 394; s.pc = 38; return s.tmp_41; case 38: r0 = s.retval; s.tmp_40 = r0; @@ -38910,9 +38057,9 @@ switch (step) { r0 = s.tmp_42; { step = 21; continue; } case 20: - s.tmp_44 = Sprite_sy__P44166_mk(s); + s.tmp_44 = Sprite_sy__P274189_mk(s); s.tmp_44.arg0 = s.arg1; - s.callLocIdx = 394; s.pc = 39; return s.tmp_44; + s.callLocIdx = 395; s.pc = 39; return s.tmp_44; case 39: r0 = s.retval; s.tmp_43 = r0; @@ -38926,29 +38073,29 @@ switch (step) { { step = 27; continue; } case 22: case 23: - s.tmp_49 = Sprite_sx__P44164_mk(s); + s.tmp_49 = Sprite_sx__P274187_mk(s); s.tmp_49.arg0 = s.arg0; - s.callLocIdx = 395; s.pc = 40; return s.tmp_49; + s.callLocIdx = 396; s.pc = 40; return s.tmp_49; case 40: r0 = s.retval; s.tmp_48 = r0; - s.tmp_51 = Sprite_sy__P44166_mk(s); + s.tmp_51 = Sprite_sy__P274189_mk(s); s.tmp_51.arg0 = s.arg0; - s.callLocIdx = 396; s.pc = 41; return s.tmp_51; + s.callLocIdx = 397; s.pc = 41; return s.tmp_51; case 41: r0 = s.retval; s.tmp_50 = r0; r0 = (s.tmp_48 * s.tmp_50); s.tmp_47 = r0; - s.tmp_54 = Sprite_sx__P44164_mk(s); + s.tmp_54 = Sprite_sx__P274187_mk(s); s.tmp_54.arg0 = s.arg1; - s.callLocIdx = 397; s.pc = 42; return s.tmp_54; + s.callLocIdx = 398; s.pc = 42; return s.tmp_54; case 42: r0 = s.retval; s.tmp_53 = r0; - s.tmp_56 = Sprite_sy__P44166_mk(s); + s.tmp_56 = Sprite_sy__P274189_mk(s); s.tmp_56.arg0 = s.arg1; - s.callLocIdx = 398; s.pc = 43; return s.tmp_56; + s.callLocIdx = 399; s.pc = 43; return s.tmp_56; case 43: r0 = s.retval; s.tmp_55 = r0; @@ -38958,103 +38105,103 @@ switch (step) { s.tmp_46 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_46); if (!r0) { step = 24; continue; } - s.A___59064 = (s.arg0); - s.B___59065 = (s.arg1); + s.A___289369 = (s.arg0); + s.B___289370 = (s.arg1); { step = 25; continue; } case 24: - s.A___59064 = (s.arg1); - s.B___59065 = (s.arg0); + s.A___289369 = (s.arg1); + s.B___289370 = (s.arg0); case 25: - s.tmp_0 = helpers_imageBlit__P43747_mk(s); - r0 = s.A___59064.fields["_image"]; + s.tmp_0 = helpers_imageBlit__P273770_mk(s); + r0 = s.A___289369.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_left__P44193_mk(s); - s.tmp_3.arg0 = s.B___59065; - s.callLocIdx = 400; s.pc = 45; return s.tmp_3; + s.tmp_3 = Sprite_left__P274216_mk(s); + s.tmp_3.arg0 = s.B___289370; + s.callLocIdx = 401; s.pc = 45; return s.tmp_3; case 45: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = Sprite_left__P44193_mk(s); - s.tmp_5.arg0 = s.A___59064; - s.callLocIdx = 401; s.pc = 46; return s.tmp_5; + s.tmp_5 = Sprite_left__P274216_mk(s); + s.tmp_5.arg0 = s.A___289369; + s.callLocIdx = 402; s.pc = 46; return s.tmp_5; case 46: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1 = r0; - s.tmp_7 = Sprite_sx__P44164_mk(s); - s.tmp_7.arg0 = s.A___59064; - s.callLocIdx = 402; s.pc = 47; return s.tmp_7; + s.tmp_7 = Sprite_sx__P274187_mk(s); + s.tmp_7.arg0 = s.A___289369; + s.callLocIdx = 403; s.pc = 47; return s.tmp_7; case 47: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_1 / s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_10 = Sprite_top__P44197_mk(s); - s.tmp_10.arg0 = s.B___59065; - s.callLocIdx = 403; s.pc = 48; return s.tmp_10; + s.tmp_10 = Sprite_top__P274220_mk(s); + s.tmp_10.arg0 = s.B___289370; + s.callLocIdx = 404; s.pc = 48; return s.tmp_10; case 48: r0 = s.retval; s.tmp_9 = r0; - s.tmp_12 = Sprite_top__P44197_mk(s); - s.tmp_12.arg0 = s.A___59064; - s.callLocIdx = 404; s.pc = 49; return s.tmp_12; + s.tmp_12 = Sprite_top__P274220_mk(s); + s.tmp_12.arg0 = s.A___289369; + s.callLocIdx = 405; s.pc = 49; return s.tmp_12; case 49: r0 = s.retval; s.tmp_11 = r0; r0 = (s.tmp_9 - s.tmp_11); s.tmp_8 = r0; - s.tmp_14 = Sprite_sy__P44166_mk(s); - s.tmp_14.arg0 = s.A___59064; - s.callLocIdx = 405; s.pc = 50; return s.tmp_14; + s.tmp_14 = Sprite_sy__P274189_mk(s); + s.tmp_14.arg0 = s.A___289369; + s.callLocIdx = 406; s.pc = 50; return s.tmp_14; case 50: r0 = s.retval; s.tmp_13 = r0; r0 = (s.tmp_8 / s.tmp_13); s.tmp_0.arg2 = r0; - s.tmp_16 = Sprite_width__P44191_mk(s); - s.tmp_16.arg0 = s.B___59065; - s.callLocIdx = 406; s.pc = 51; return s.tmp_16; + s.tmp_16 = Sprite_width__P274214_mk(s); + s.tmp_16.arg0 = s.B___289370; + s.callLocIdx = 407; s.pc = 51; return s.tmp_16; case 51: r0 = s.retval; s.tmp_15 = r0; - s.tmp_18 = Sprite_sx__P44164_mk(s); - s.tmp_18.arg0 = s.A___59064; - s.callLocIdx = 407; s.pc = 52; return s.tmp_18; + s.tmp_18 = Sprite_sx__P274187_mk(s); + s.tmp_18.arg0 = s.A___289369; + s.callLocIdx = 408; s.pc = 52; return s.tmp_18; case 52: r0 = s.retval; s.tmp_17 = r0; r0 = (s.tmp_15 / s.tmp_17); s.tmp_0.arg3 = r0; - s.tmp_20 = Sprite_height__P44192_mk(s); - s.tmp_20.arg0 = s.B___59065; - s.callLocIdx = 408; s.pc = 53; return s.tmp_20; + s.tmp_20 = Sprite_height__P274215_mk(s); + s.tmp_20.arg0 = s.B___289370; + s.callLocIdx = 409; s.pc = 53; return s.tmp_20; case 53: r0 = s.retval; s.tmp_19 = r0; - s.tmp_22 = Sprite_sy__P44166_mk(s); - s.tmp_22.arg0 = s.A___59064; - s.callLocIdx = 409; s.pc = 54; return s.tmp_22; + s.tmp_22 = Sprite_sy__P274189_mk(s); + s.tmp_22.arg0 = s.A___289369; + s.callLocIdx = 410; s.pc = 54; return s.tmp_22; case 54: r0 = s.retval; s.tmp_21 = r0; r0 = (s.tmp_19 / s.tmp_21); s.tmp_0.arg4 = r0; - r0 = s.B___59065.fields["_image"]; + r0 = s.B___289370.fields["_image"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = 0; s.tmp_0.arg7 = 0; - r0 = s.B___59065.fields["_image"]; + r0 = s.B___289370.fields["_image"]; s.tmp_23 = r0; r0 = pxsim_ImageMethods.width(s.tmp_23); s.tmp_0.arg8 = r0; - r0 = s.B___59065.fields["_image"]; + r0 = s.B___289370.fields["_image"]; s.tmp_24 = r0; r0 = pxsim_ImageMethods.height(s.tmp_24); s.tmp_0.arg9 = r0; s.tmp_0.arg10 = true; s.tmp_0.arg11 = true; - s.callLocIdx = 413; s.pc = 44; return s.tmp_0; + s.callLocIdx = 414; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; { step = 27; continue; } @@ -39064,12 +38211,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P44214.info = {"start":20623,"length":1735,"line":689,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P274237.info = {"start":20623,"length":1735,"line":689,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P44214_mk(s) { +function Sprite_overlapsWith__P274237_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P44214, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P274237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39128,8 +38275,8 @@ function Sprite_overlapsWith__P44214_mk(s) { tmp_54: undefined, tmp_55: undefined, tmp_56: undefined, - A___59064: undefined, - B___59065: undefined, + A___289369: undefined, + B___289370: undefined, arg0: undefined, arg1: undefined, } } @@ -39138,7 +38285,7 @@ function Sprite_overlapsWith__P44214_mk(s) { -function Sprite_isScaled__P46592(s) { +function Sprite_isScaled__P276614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39153,7 +38300,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== 256); @@ -39173,12 +38320,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isScaled__P46592.info = {"start":10166,"length":100,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isScaled","argumentNames":["this"]} +Sprite_isScaled__P276614.info = {"start":10166,"length":100,"line":369,"column":4,"endLine":371,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isScaled","argumentNames":["this"]} -function Sprite_isScaled__P46592_mk(s) { +function Sprite_isScaled__P276614_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isScaled__P46592, depth: s.depth + 1, + parent: s, fn: Sprite_isScaled__P276614, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39191,7 +38338,7 @@ function Sprite_isScaled__P46592_mk(s) { -function game_Hitbox_overlapsWith__P44017(s) { +function game_Hitbox_overlapsWith__P274040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39207,32 +38354,32 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C44002_VT)) failedCast(r0); - s.tmp_0 = game_Hitbox_updateIfInvalid__P44016_mk(s); + if (!checkSubtype(r0, game_Hitbox__C274025_VT)) failedCast(r0); + s.tmp_0 = game_Hitbox_updateIfInvalid__P274039_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 249; s.pc = 18; return s.tmp_0; + s.callLocIdx = 250; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_Hitbox_updateIfInvalid__P44016_mk(s); + s.tmp_0 = game_Hitbox_updateIfInvalid__P274039_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 250; s.pc = 19; return s.tmp_0; + s.callLocIdx = 251; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_1 = game_Hitbox_contains__P44015_mk(s); + s.tmp_1 = game_Hitbox_contains__P274038_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = game_Hitbox_left__P44010_mk(s); + s.tmp_2 = game_Hitbox_left__P274033_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 251; s.pc = 21; return s.tmp_2; + s.callLocIdx = 252; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1.arg1 = r0; - s.tmp_3 = game_Hitbox_top__P44011_mk(s); + s.tmp_3 = game_Hitbox_top__P274034_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 252; s.pc = 22; return s.tmp_3; + s.callLocIdx = 253; s.pc = 22; return s.tmp_3; case 22: r0 = s.retval; s.tmp_1.arg2 = r0; - s.callLocIdx = 253; s.pc = 20; return s.tmp_1; + s.callLocIdx = 254; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; s.tmp_0 = r0; @@ -39242,21 +38389,21 @@ switch (step) { { step = 17; continue; } case 1: case 2: - s.tmp_5 = game_Hitbox_contains__P44015_mk(s); + s.tmp_5 = game_Hitbox_contains__P274038_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_6 = game_Hitbox_left__P44010_mk(s); + s.tmp_6 = game_Hitbox_left__P274033_mk(s); s.tmp_6.arg0 = s.arg1; - s.callLocIdx = 254; s.pc = 24; return s.tmp_6; + s.callLocIdx = 255; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5.arg1 = r0; - s.tmp_7 = game_Hitbox_bottom__P44013_mk(s); + s.tmp_7 = game_Hitbox_bottom__P274036_mk(s); s.tmp_7.arg0 = s.arg1; - s.callLocIdx = 255; s.pc = 25; return s.tmp_7; + s.callLocIdx = 256; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_5.arg2 = r0; - s.callLocIdx = 256; s.pc = 23; return s.tmp_5; + s.callLocIdx = 257; s.pc = 23; return s.tmp_5; case 23: r0 = s.retval; s.tmp_4 = r0; @@ -39266,21 +38413,21 @@ switch (step) { { step = 17; continue; } case 3: case 4: - s.tmp_9 = game_Hitbox_contains__P44015_mk(s); + s.tmp_9 = game_Hitbox_contains__P274038_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_10 = game_Hitbox_right__P44012_mk(s); + s.tmp_10 = game_Hitbox_right__P274035_mk(s); s.tmp_10.arg0 = s.arg1; - s.callLocIdx = 257; s.pc = 27; return s.tmp_10; + s.callLocIdx = 258; s.pc = 27; return s.tmp_10; case 27: r0 = s.retval; s.tmp_9.arg1 = r0; - s.tmp_11 = game_Hitbox_top__P44011_mk(s); + s.tmp_11 = game_Hitbox_top__P274034_mk(s); s.tmp_11.arg0 = s.arg1; - s.callLocIdx = 258; s.pc = 28; return s.tmp_11; + s.callLocIdx = 259; s.pc = 28; return s.tmp_11; case 28: r0 = s.retval; s.tmp_9.arg2 = r0; - s.callLocIdx = 259; s.pc = 26; return s.tmp_9; + s.callLocIdx = 260; s.pc = 26; return s.tmp_9; case 26: r0 = s.retval; s.tmp_8 = r0; @@ -39290,21 +38437,21 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.tmp_13 = game_Hitbox_contains__P44015_mk(s); + s.tmp_13 = game_Hitbox_contains__P274038_mk(s); s.tmp_13.arg0 = s.arg0; - s.tmp_14 = game_Hitbox_right__P44012_mk(s); + s.tmp_14 = game_Hitbox_right__P274035_mk(s); s.tmp_14.arg0 = s.arg1; - s.callLocIdx = 260; s.pc = 30; return s.tmp_14; + s.callLocIdx = 261; s.pc = 30; return s.tmp_14; case 30: r0 = s.retval; s.tmp_13.arg1 = r0; - s.tmp_15 = game_Hitbox_bottom__P44013_mk(s); + s.tmp_15 = game_Hitbox_bottom__P274036_mk(s); s.tmp_15.arg0 = s.arg1; - s.callLocIdx = 261; s.pc = 31; return s.tmp_15; + s.callLocIdx = 262; s.pc = 31; return s.tmp_15; case 31: r0 = s.retval; s.tmp_13.arg2 = r0; - s.callLocIdx = 262; s.pc = 29; return s.tmp_13; + s.callLocIdx = 263; s.pc = 29; return s.tmp_13; case 29: r0 = s.retval; s.tmp_12 = r0; @@ -39314,21 +38461,21 @@ switch (step) { { step = 17; continue; } case 7: case 8: - s.tmp_17 = game_Hitbox_contains__P44015_mk(s); + s.tmp_17 = game_Hitbox_contains__P274038_mk(s); s.tmp_17.arg0 = s.arg1; - s.tmp_18 = game_Hitbox_left__P44010_mk(s); + s.tmp_18 = game_Hitbox_left__P274033_mk(s); s.tmp_18.arg0 = s.arg0; - s.callLocIdx = 263; s.pc = 33; return s.tmp_18; + s.callLocIdx = 264; s.pc = 33; return s.tmp_18; case 33: r0 = s.retval; s.tmp_17.arg1 = r0; - s.tmp_19 = game_Hitbox_top__P44011_mk(s); + s.tmp_19 = game_Hitbox_top__P274034_mk(s); s.tmp_19.arg0 = s.arg0; - s.callLocIdx = 264; s.pc = 34; return s.tmp_19; + s.callLocIdx = 265; s.pc = 34; return s.tmp_19; case 34: r0 = s.retval; s.tmp_17.arg2 = r0; - s.callLocIdx = 265; s.pc = 32; return s.tmp_17; + s.callLocIdx = 266; s.pc = 32; return s.tmp_17; case 32: r0 = s.retval; s.tmp_16 = r0; @@ -39338,21 +38485,21 @@ switch (step) { { step = 17; continue; } case 9: case 10: - s.tmp_21 = game_Hitbox_contains__P44015_mk(s); + s.tmp_21 = game_Hitbox_contains__P274038_mk(s); s.tmp_21.arg0 = s.arg1; - s.tmp_22 = game_Hitbox_left__P44010_mk(s); + s.tmp_22 = game_Hitbox_left__P274033_mk(s); s.tmp_22.arg0 = s.arg0; - s.callLocIdx = 266; s.pc = 36; return s.tmp_22; + s.callLocIdx = 267; s.pc = 36; return s.tmp_22; case 36: r0 = s.retval; s.tmp_21.arg1 = r0; - s.tmp_23 = game_Hitbox_bottom__P44013_mk(s); + s.tmp_23 = game_Hitbox_bottom__P274036_mk(s); s.tmp_23.arg0 = s.arg0; - s.callLocIdx = 267; s.pc = 37; return s.tmp_23; + s.callLocIdx = 268; s.pc = 37; return s.tmp_23; case 37: r0 = s.retval; s.tmp_21.arg2 = r0; - s.callLocIdx = 268; s.pc = 35; return s.tmp_21; + s.callLocIdx = 269; s.pc = 35; return s.tmp_21; case 35: r0 = s.retval; s.tmp_20 = r0; @@ -39362,21 +38509,21 @@ switch (step) { { step = 17; continue; } case 11: case 12: - s.tmp_25 = game_Hitbox_contains__P44015_mk(s); + s.tmp_25 = game_Hitbox_contains__P274038_mk(s); s.tmp_25.arg0 = s.arg1; - s.tmp_26 = game_Hitbox_right__P44012_mk(s); + s.tmp_26 = game_Hitbox_right__P274035_mk(s); s.tmp_26.arg0 = s.arg0; - s.callLocIdx = 269; s.pc = 39; return s.tmp_26; + s.callLocIdx = 270; s.pc = 39; return s.tmp_26; case 39: r0 = s.retval; s.tmp_25.arg1 = r0; - s.tmp_27 = game_Hitbox_top__P44011_mk(s); + s.tmp_27 = game_Hitbox_top__P274034_mk(s); s.tmp_27.arg0 = s.arg0; - s.callLocIdx = 270; s.pc = 40; return s.tmp_27; + s.callLocIdx = 271; s.pc = 40; return s.tmp_27; case 40: r0 = s.retval; s.tmp_25.arg2 = r0; - s.callLocIdx = 271; s.pc = 38; return s.tmp_25; + s.callLocIdx = 272; s.pc = 38; return s.tmp_25; case 38: r0 = s.retval; s.tmp_24 = r0; @@ -39386,21 +38533,21 @@ switch (step) { { step = 17; continue; } case 13: case 14: - s.tmp_29 = game_Hitbox_contains__P44015_mk(s); + s.tmp_29 = game_Hitbox_contains__P274038_mk(s); s.tmp_29.arg0 = s.arg1; - s.tmp_30 = game_Hitbox_right__P44012_mk(s); + s.tmp_30 = game_Hitbox_right__P274035_mk(s); s.tmp_30.arg0 = s.arg0; - s.callLocIdx = 272; s.pc = 42; return s.tmp_30; + s.callLocIdx = 273; s.pc = 42; return s.tmp_30; case 42: r0 = s.retval; s.tmp_29.arg1 = r0; - s.tmp_31 = game_Hitbox_bottom__P44013_mk(s); + s.tmp_31 = game_Hitbox_bottom__P274036_mk(s); s.tmp_31.arg0 = s.arg0; - s.callLocIdx = 273; s.pc = 43; return s.tmp_31; + s.callLocIdx = 274; s.pc = 43; return s.tmp_31; case 43: r0 = s.retval; s.tmp_29.arg2 = r0; - s.callLocIdx = 274; s.pc = 41; return s.tmp_29; + s.callLocIdx = 275; s.pc = 41; return s.tmp_29; case 41: r0 = s.retval; s.tmp_28 = r0; @@ -39415,12 +38562,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_overlapsWith__P44017.info = {"start":2515,"length":695,"line":87,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +game_Hitbox_overlapsWith__P274040.info = {"start":2515,"length":695,"line":87,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function game_Hitbox_overlapsWith__P44017_mk(s) { +function game_Hitbox_overlapsWith__P274040_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_overlapsWith__P44017, depth: s.depth + 1, + parent: s, fn: game_Hitbox_overlapsWith__P274040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39462,7 +38609,7 @@ function game_Hitbox_overlapsWith__P44017_mk(s) { -function game_Hitbox_contains__P44015(s) { +function game_Hitbox_contains__P274038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39479,11 +38626,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C44002_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C274025_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = game_Hitbox_left__P44010_mk(s); + s.tmp_3 = game_Hitbox_left__P274033_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 229; s.pc = 7; return s.tmp_3; + s.callLocIdx = 230; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; s.tmp_2 = r0; @@ -39495,9 +38642,9 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = game_Hitbox_right__P44012_mk(s); + s.tmp_6 = game_Hitbox_right__P274035_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 230; s.pc = 8; return s.tmp_6; + s.callLocIdx = 231; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5 = r0; @@ -39511,9 +38658,9 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_8 = r0 = s.arg2; - s.tmp_10 = game_Hitbox_top__P44011_mk(s); + s.tmp_10 = game_Hitbox_top__P274034_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 231; s.pc = 9; return s.tmp_10; + s.callLocIdx = 232; s.pc = 9; return s.tmp_10; case 9: r0 = s.retval; s.tmp_9 = r0; @@ -39527,9 +38674,9 @@ switch (step) { { step = 6; continue; } case 5: s.tmp_12 = r0 = s.arg2; - s.tmp_14 = game_Hitbox_bottom__P44013_mk(s); + s.tmp_14 = game_Hitbox_bottom__P274036_mk(s); s.tmp_14.arg0 = s.arg0; - s.callLocIdx = 232; s.pc = 10; return s.tmp_14; + s.callLocIdx = 233; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; @@ -39541,12 +38688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_contains__P44015.info = {"start":1034,"length":144,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"contains","argumentNames":["this","x","y"]} +game_Hitbox_contains__P274038.info = {"start":1034,"length":144,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"contains","argumentNames":["this","x","y"]} -function game_Hitbox_contains__P44015_mk(s) { +function game_Hitbox_contains__P274038_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_contains__P44015, depth: s.depth + 1, + parent: s, fn: game_Hitbox_contains__P274038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39573,7 +38720,7 @@ function game_Hitbox_contains__P44015_mk(s) { -function helpers_imageBlit__P43747(s) { +function helpers_imageBlit__P273770(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39598,7 +38745,7 @@ switch (step) { s.arg11 = (s.lambdaArgs[11]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals._blitArgs___46421; + s.tmp_0 = r0 = globals._blitArgs___276443; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -39608,36 +38755,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - globals._blitArgs___46421 = (s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___46421; + globals._blitArgs___276443 = (s.tmp_1); + s.tmp_0 = r0 = globals._blitArgs___276443; r0 = (s.arg1 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 0, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___46421; + s.tmp_0 = r0 = globals._blitArgs___276443; r0 = (s.arg2 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 1, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___46421; + s.tmp_0 = r0 = globals._blitArgs___276443; r0 = (s.arg3 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 2, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___46421; + s.tmp_0 = r0 = globals._blitArgs___276443; r0 = (s.arg4 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 3, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___46421; + s.tmp_0 = r0 = globals._blitArgs___276443; r0 = (s.arg6 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 4, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___46421; + s.tmp_0 = r0 = globals._blitArgs___276443; r0 = (s.arg7 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 5, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___46421; + s.tmp_0 = r0 = globals._blitArgs___276443; r0 = (s.arg8 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 6, s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___46421; + s.tmp_0 = r0 = globals._blitArgs___276443; r0 = (s.arg9 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 7, s.tmp_1); @@ -39650,7 +38797,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___46421, 8, s.tmp_0); + r0 = pxsim_Array_.setAt(globals._blitArgs___276443, 8, s.tmp_0); r0 = pxsim_numops_toBoolDecr(s.arg11); if (!r0) { step = 5; continue; } r0 = 1; @@ -39660,17 +38807,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___46421, 9, s.tmp_0); - r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___46421); + r0 = pxsim_Array_.setAt(globals._blitArgs___276443, 9, s.tmp_0); + r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___276443); return leave(s, r0) default: oops() } } } -helpers_imageBlit__P43747.info = {"start":4459,"length":642,"line":154,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} +helpers_imageBlit__P273770.info = {"start":4459,"length":642,"line":154,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} -function helpers_imageBlit__P43747_mk(s) { +function helpers_imageBlit__P273770_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageBlit__P43747, depth: s.depth + 1, + parent: s, fn: helpers_imageBlit__P273770, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39692,7 +38839,7 @@ function helpers_imageBlit__P43747_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P46636(s) { +function ArcadePhysicsEngine_createMovingSprite__P276658(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39702,16 +38849,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___59690 = undefined; - s.ovy___59695 = undefined; - s.fx___59722 = undefined; - s.c___59729 = undefined; - s.fy___59772 = undefined; - s.c___59779 = undefined; - s.dx___59818 = undefined; - s.dy___59831 = undefined; - s.xStep___59844 = undefined; - s.yStep___59846 = undefined; + s.ovx___289995 = undefined; + s.ovy___290000 = undefined; + s.fx___290027 = undefined; + s.c___290034 = undefined; + s.fy___290077 = undefined; + s.c___290084 = undefined; + s.dx___290123 = undefined; + s.dy___290136 = undefined; + s.xStep___290149 = undefined; + s.yStep___290151 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39720,23 +38867,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P46642_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P276664_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 573; s.pc = 25; return s.tmp_0; + s.callLocIdx = 574; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___59690 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P46642_mk(s); + s.ovx___289995 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P276664_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 574; s.pc = 26; return s.tmp_0; + s.callLocIdx = 575; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___59695 = (r0); + s.ovy___290000 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -39770,41 +38917,41 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fx___59722 = (r0); + s.fx___290027 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___59722); - s.c___59729 = (r0); - r0 = (s.c___59729 < 0); + r0 = (s.tmp_0 - s.fx___290027); + s.c___290034 = (r0); + r0 = (s.c___290034 < 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__P41959_mk(s); + s.tmp_3 = Fx_min__P271982_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___59722); + r0 = (s.tmp_4 + s.fx___290027); s.tmp_3.arg1 = r0; - s.callLocIdx = 582; s.pc = 27; return s.tmp_3; + s.callLocIdx = 583; 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___59729 > 0); + r0 = (s.c___290034 > 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__P41960_mk(s); + s.tmp_3 = Fx_max__P271983_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___59722); + r0 = (s.tmp_4 - s.fx___290027); s.tmp_3.arg1 = r0; - s.callLocIdx = 584; s.pc = 28; return s.tmp_3; + s.callLocIdx = 585; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -39844,41 +38991,41 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fy___59772 = (r0); + s.fy___290077 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___59772); - s.c___59779 = (r0); - r0 = (s.c___59779 < 0); + r0 = (s.tmp_0 - s.fy___290077); + s.c___290084 = (r0); + r0 = (s.c___290084 < 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__P41959_mk(s); + s.tmp_3 = Fx_min__P271982_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___59772); + r0 = (s.tmp_4 + s.fy___290077); s.tmp_3.arg1 = r0; - s.callLocIdx = 592; s.pc = 29; return s.tmp_3; + s.callLocIdx = 593; 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___59779 > 0); + r0 = (s.c___290084 > 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_max__P41960_mk(s); + s.tmp_3 = Fx_max__P271983_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___59772); + r0 = (s.tmp_4 - s.fy___290077); s.tmp_3.arg1 = r0; - s.callLocIdx = 594; s.pc = 30; return s.tmp_3; + s.callLocIdx = 595; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; @@ -39892,28 +39039,28 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P46642_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P276664_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 595; s.pc = 31; return s.tmp_2; + s.callLocIdx = 596; 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__P46642_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P276664_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 596; s.pc = 32; return s.tmp_2; + s.callLocIdx = 597; 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_4 = r0; - r0 = (s.tmp_4 + s.ovx___59690); + r0 = (s.tmp_4 + s.ovx___289995); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -39924,10 +39071,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___59818 = (r0); + s.dx___290123 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___59695); + r0 = (s.tmp_4 + s.ovy___290000); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -39938,13 +39085,13 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___59831 = (r0); - s.xStep___59844 = (s.dx___59818); - s.yStep___59846 = (s.dy___59831); + s.dy___290136 = (r0); + s.xStep___290149 = (s.dx___290123); + s.yStep___290151 = (s.dy___290136); case 17: - s.tmp_2 = Fx_abs__P41958_mk(s); - s.tmp_2.arg0 = s.xStep___59844; - s.callLocIdx = 603; s.pc = 33; return s.tmp_2; + s.tmp_2 = Fx_abs__P271981_mk(s); + s.tmp_2.arg0 = s.xStep___290149; + s.callLocIdx = 604; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; @@ -39957,9 +39104,9 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P41958_mk(s); - s.tmp_5.arg0 = s.yStep___59846; - s.callLocIdx = 604; s.pc = 34; return s.tmp_5; + s.tmp_5 = Fx_abs__P271981_mk(s); + s.tmp_5.arg0 = s.yStep___290151; + s.callLocIdx = 605; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; s.tmp_4 = r0; @@ -39971,9 +39118,9 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P41958_mk(s); - s.tmp_10.arg0 = s.xStep___59844; - s.callLocIdx = 605; s.pc = 35; return s.tmp_10; + s.tmp_10 = Fx_abs__P271981_mk(s); + s.tmp_10.arg0 = s.xStep___290149; + s.callLocIdx = 606; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; s.tmp_9 = r0; @@ -39983,13 +39130,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___59844, 2); - s.xStep___59844 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___290149, 2); + s.xStep___290149 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P41958_mk(s); - s.tmp_2.arg0 = s.yStep___59846; - s.callLocIdx = 607; s.pc = 36; return s.tmp_2; + s.tmp_2 = Fx_abs__P271981_mk(s); + s.tmp_2.arg0 = s.yStep___290151; + s.callLocIdx = 608; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; @@ -39999,38 +39146,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___59846, 2); - s.yStep___59846 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___290151, 2); + s.yStep___290151 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C44319_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C274342_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P44320_mk(s); + s.tmp_1 = MovingSprite_constructor__P274343_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___59818; - s.tmp_1.arg5 = s.dy___59831; - s.tmp_1.arg6 = s.xStep___59844; - s.tmp_1.arg7 = s.yStep___59846; - s.callLocIdx = 609; s.pc = 37; return s.tmp_1; + s.tmp_1.arg4 = s.dx___290123; + s.tmp_1.arg5 = s.dy___290136; + s.tmp_1.arg6 = s.xStep___290149; + s.tmp_1.arg7 = s.yStep___290151; + s.callLocIdx = 610; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P46636.info = {"start":6933,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P276658.info = {"start":6933,"length":2805,"line":217,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtMs","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P46636_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P276658_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P46636, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P276658, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40044,16 +39191,16 @@ function ArcadePhysicsEngine_createMovingSprite__P46636_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___59690: undefined, - ovy___59695: undefined, - fx___59722: undefined, - c___59729: undefined, - fy___59772: undefined, - c___59779: undefined, - dx___59818: undefined, - dy___59831: undefined, - xStep___59844: undefined, - yStep___59846: undefined, + ovx___289995: undefined, + ovy___290000: undefined, + fx___290027: undefined, + c___290034: undefined, + fy___290077: undefined, + c___290084: undefined, + dx___290123: undefined, + dy___290136: undefined, + xStep___290149: undefined, + yStep___290151: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40064,7 +39211,7 @@ function ArcadePhysicsEngine_createMovingSprite__P46636_mk(s) { -function ArcadePhysicsEngine_constrain__P46642(s) { +function ArcadePhysicsEngine_constrain__P276664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40080,30 +39227,30 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P41960_mk(s); - s.tmp_1 = Fx_min__P41959_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P271983_mk(s); + s.tmp_1 = Fx_min__P271982_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 785; s.pc = 2; return s.tmp_1; + s.callLocIdx = 786; 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 = 786; s.pc = 1; return s.tmp_0; + s.callLocIdx = 787; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P46642.info = {"start":27343,"length":193,"line":761,"column":4,"endLine":769,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P276664.info = {"start":27343,"length":193,"line":761,"column":4,"endLine":769,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P46642_mk(s) { +function ArcadePhysicsEngine_constrain__P276664_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P46642, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P276664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40115,7 +39262,7 @@ function ArcadePhysicsEngine_constrain__P46642_mk(s) { -function Fx_compare__P41957(s) { +function Fx_compare__P271980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40134,12 +39281,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P41957.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__P271980.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__P41957_mk(s) { +function Fx_compare__P271980_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P41957, depth: s.depth + 1, + parent: s, fn: Fx_compare__P271980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -40149,7 +39296,7 @@ function Fx_compare__P41957_mk(s) { -function sprites_SpriteMap_insertAABB__P44247(s) { +function sprites_SpriteMap_insertAABB__P274270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40159,34 +39306,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___59510 = undefined; - s.top___59513 = undefined; - s.xn___59516 = undefined; - s.yn___59527 = undefined; - s.x___59538 = undefined; - s.y___59543 = undefined; + s.left___289815 = undefined; + s.top___289818 = undefined; + s.xn___289821 = undefined; + s.yn___289832 = undefined; + s.x___289843 = undefined; + s.y___289848 = 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__C44240_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P44193_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P274216_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 504; s.pc = 5; return s.tmp_0; + s.callLocIdx = 505; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___59510 = (r0); - s.tmp_0 = Sprite_top__P44197_mk(s); + s.left___289815 = (r0); + s.tmp_0 = Sprite_top__P274220_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 505; s.pc = 6; return s.tmp_0; + s.callLocIdx = 506; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___59513 = (r0); - s.tmp_3 = Sprite_width__P44191_mk(s); + s.top___289818 = (r0); + s.tmp_3 = Sprite_width__P274214_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 506; s.pc = 7; return s.tmp_3; + s.callLocIdx = 507; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; s.tmp_2 = r0; @@ -40199,10 +39346,10 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___59516 = (r0); - s.tmp_3 = Sprite_height__P44192_mk(s); + s.xn___289821 = (r0); + s.tmp_3 = Sprite_height__P274215_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 507; s.pc = 8; return s.tmp_3; + s.callLocIdx = 508; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; s.tmp_2 = r0; @@ -40215,79 +39362,79 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___59527 = (r0); - s.x___59538 = (0); + s.yn___289832 = (r0); + s.x___289843 = (0); case 1: - r0 = (s.x___59538 <= s.xn___59516); + r0 = (s.x___289843 <= s.xn___289821); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___59543 = (0); + s.y___289848 = (0); case 2: - r0 = (s.y___59543 <= s.yn___59527); + r0 = (s.y___289848 <= s.yn___289832); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P46600_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P276622_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___59510; - s.tmp_4 = Math_min__P41924_mk(s); - s.tmp_5 = Sprite_width__P44191_mk(s); + s.tmp_2 = r0 = s.left___289815; + s.tmp_4 = Math_min__P271947_mk(s); + s.tmp_5 = Sprite_width__P274214_mk(s); s.tmp_5.arg0 = s.arg1; - s.callLocIdx = 508; s.pc = 11; return s.tmp_5; + s.callLocIdx = 509; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___59538 * s.tmp_6); + r0 = (s.x___289843 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 509; s.pc = 10; return s.tmp_4; + s.callLocIdx = 510; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___59513; - s.tmp_9 = Math_min__P41924_mk(s); - s.tmp_10 = Sprite_height__P44192_mk(s); + s.tmp_7 = r0 = s.top___289818; + s.tmp_9 = Math_min__P271947_mk(s); + s.tmp_10 = Sprite_height__P274215_mk(s); s.tmp_10.arg0 = s.arg1; - s.callLocIdx = 510; s.pc = 13; return s.tmp_10; + s.callLocIdx = 511; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___59543 * s.tmp_11); + r0 = (s.y___289848 * s.tmp_11); s.tmp_9.arg1 = r0; - s.callLocIdx = 511; s.pc = 12; return s.tmp_9; + s.callLocIdx = 512; s.pc = 12; return s.tmp_9; case 12: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_1.arg2 = r0; s.tmp_1.arg3 = s.arg1; - s.callLocIdx = 512; s.pc = 9; return s.tmp_1; + s.callLocIdx = 513; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = (s.y___59543 + 1); - s.y___59543 = (r0); + r0 = (s.y___289848 + 1); + s.y___289848 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___59538 + 1); - s.x___59538 = (r0); + r0 = (s.x___289843 + 1); + s.x___289843 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P44247.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__P274270.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__P44247_mk(s) { +function sprites_SpriteMap_insertAABB__P274270_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P44247, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P274270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40301,12 +39448,12 @@ function sprites_SpriteMap_insertAABB__P44247_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___59510: undefined, - top___59513: undefined, - xn___59516: undefined, - yn___59527: undefined, - x___59538: undefined, - y___59543: undefined, + left___289815: undefined, + top___289818: undefined, + xn___289821: undefined, + yn___289832: undefined, + x___289843: undefined, + y___289848: undefined, arg0: undefined, arg1: undefined, } } @@ -40315,7 +39462,7 @@ function sprites_SpriteMap_insertAABB__P44247_mk(s) { -function sprites_SpriteMap_insertAtKey__P46600(s) { +function sprites_SpriteMap_insertAtKey__P276622(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40325,8 +39472,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___59578 = undefined; - s.bucket___59583 = undefined; + s.k___289883 = undefined; + s.bucket___289888 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40335,20 +39482,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C44240_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P46599_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P276621_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 503; s.pc = 5; return s.tmp_0; + s.callLocIdx = 504; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___59578 = (r0); + s.k___289883 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___59578); - s.bucket___59583 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___59583); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___289883); + s.bucket___289888 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___289888); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -40356,40 +39503,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___59578; + s.tmp_3 = r0 = s.k___289883; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___59583 = (s.tmp_4); + s.bucket___289888 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___59583, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___289888, 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___59583, s.arg3); + r0 = pxsim_Array__push(s.bucket___289888, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P46600.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__P276622.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__P46600_mk(s) { +function sprites_SpriteMap_insertAtKey__P276622_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P46600, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P276622, 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___59578: undefined, - bucket___59583: undefined, + k___289883: undefined, + bucket___289888: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40400,7 +39547,7 @@ function sprites_SpriteMap_insertAtKey__P46600_mk(s) { -function sprites_SpriteMap_clear__P44246(s) { +function sprites_SpriteMap_clear__P274269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40415,7 +39562,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C44240_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -40424,12 +39571,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P44246.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__P274269.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__P44246_mk(s) { +function sprites_SpriteMap_clear__P274269_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P44246, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P274269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40440,7 +39587,7 @@ function sprites_SpriteMap_clear__P44246_mk(s) { -function sprites_SpriteMap_resizeBuckets__P44245(s) { +function sprites_SpriteMap_resizeBuckets__P274268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40450,129 +39597,129 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___59613 = undefined; - s.maxHeight___59614 = undefined; - s.sprite___59616 = undefined; - s.unnamed262___U3 = undefined; - s.unnamed263___U4 = undefined; - s.tMap___59632 = undefined; - s.areaWidth___59636 = undefined; - s.areaHeight___59643 = undefined; + s.maxWidth___289918 = undefined; + s.maxHeight___289919 = undefined; + s.sprite___289921 = undefined; + s.unnamed2130___U3 = undefined; + s.unnamed2131___U4 = undefined; + s.tMap___289937 = undefined; + s.areaWidth___289941 = undefined; + s.areaHeight___289948 = 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__C44240_VT)) failedCast(r0); - s.maxWidth___59613 = (0); - s.maxHeight___59614 = (0); - s.sprite___59616 = (undefined); - s.unnamed262___U3 = (s.arg1); - s.unnamed263___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); + s.maxWidth___289918 = (0); + s.maxHeight___289919 = (0); + s.sprite___289921 = (undefined); + s.unnamed2130___U3 = (s.arg1); + s.unnamed2131___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed263___U4; - r0 = pxsim_Array__length(s.unnamed262___U3); + s.tmp_0 = r0 = s.unnamed2131___U4; + r0 = pxsim_Array__length(s.unnamed2130___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed262___U3, s.unnamed263___U4); - s.sprite___59616 = (r0); - s.tmp_4 = Sprite_width__P44191_mk(s); - s.tmp_4.arg0 = s.sprite___59616; - s.callLocIdx = 492; s.pc = 11; return s.tmp_4; + r0 = pxsim_Array__getAt(s.unnamed2130___U3, s.unnamed2131___U4); + s.sprite___289921 = (r0); + s.tmp_4 = Sprite_width__P274214_mk(s); + s.tmp_4.arg0 = s.sprite___289921; + s.callLocIdx = 493; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___59613); + r0 = (s.tmp_3 > s.maxWidth___289918); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_5 = Sprite_width__P44191_mk(s); - s.tmp_5.arg0 = s.sprite___59616; - s.callLocIdx = 493; s.pc = 12; return s.tmp_5; + s.tmp_5 = Sprite_width__P274214_mk(s); + s.tmp_5.arg0 = s.sprite___289921; + s.callLocIdx = 494; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; - s.maxWidth___59613 = (r0); + s.maxWidth___289918 = (r0); case 2: case 3: - s.tmp_2 = Sprite_height__P44192_mk(s); - s.tmp_2.arg0 = s.sprite___59616; - s.callLocIdx = 494; s.pc = 13; return s.tmp_2; + s.tmp_2 = Sprite_height__P274215_mk(s); + s.tmp_2.arg0 = s.sprite___289921; + s.callLocIdx = 495; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___59614); + r0 = (s.tmp_1 > s.maxHeight___289919); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_height__P44192_mk(s); - s.tmp_3.arg0 = s.sprite___59616; - s.callLocIdx = 495; s.pc = 14; return s.tmp_3; + s.tmp_3 = Sprite_height__P274215_mk(s); + s.tmp_3.arg0 = s.sprite___289921; + s.callLocIdx = 496; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - s.maxHeight___59614 = (r0); + s.maxHeight___289919 = (r0); case 4: case 5: - r0 = (s.unnamed263___U4 + 1); - s.unnamed263___U4 = (r0); + r0 = (s.unnamed2131___U4 + 1); + s.unnamed2131___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed262___U3 = (undefined); - s.tmp_0 = game_currentScene__P44793_mk(s); - s.callLocIdx = 496; s.pc = 15; return s.tmp_0; + s.unnamed2130___U3 = (undefined); + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 497; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___59632 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___59632); + s.tMap___289937 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___289937); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P44537_mk(s); - s.tmp_0.arg0 = s.tMap___59632; - s.callLocIdx = 497; s.pc = 16; return s.tmp_0; + s.tmp_0 = tiles_TileMap_areaWidth__P274560_mk(s); + s.tmp_0.arg0 = s.tMap___289937; + s.callLocIdx = 498; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___59636 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___59632); + s.areaWidth___289941 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___289937); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P44538_mk(s); - s.tmp_0.arg0 = s.tMap___59632; - s.callLocIdx = 498; s.pc = 17; return s.tmp_0; + s.tmp_0 = tiles_TileMap_areaHeight__P274561_mk(s); + s.tmp_0.arg0 = s.tMap___289937; + s.callLocIdx = 499; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___59643 = (s.tmp_1); + s.areaHeight___289948 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P41920_mk(s); + s.tmp_2 = Math_clamp__P271943_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___59636 >> 2); + r0 = (s.areaWidth___289941 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___59613 * 2); + r0 = (s.maxWidth___289918 * 2); s.tmp_2.arg2 = r0; - s.callLocIdx = 499; s.pc = 18; return s.tmp_2; + s.callLocIdx = 500; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["cellWidth"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P41920_mk(s); + s.tmp_2 = Math_clamp__P271943_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___59643 >> 2); + r0 = (s.areaHeight___289948 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___59614 * 2); + r0 = (s.maxHeight___289919 * 2); s.tmp_2.arg2 = r0; - s.callLocIdx = 500; s.pc = 19; return s.tmp_2; + s.callLocIdx = 501; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; @@ -40580,25 +39727,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___59643, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___289948, 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___59636, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___289941, 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__P44245.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__P274268.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__P44245_mk(s) { +function sprites_SpriteMap_resizeBuckets__P274268_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P44245, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P274268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40606,14 +39753,14 @@ function sprites_SpriteMap_resizeBuckets__P44245_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___59613: undefined, - maxHeight___59614: undefined, - sprite___59616: undefined, - unnamed262___U3: undefined, - unnamed263___U4: undefined, - tMap___59632: undefined, - areaWidth___59636: undefined, - areaHeight___59643: undefined, + maxWidth___289918: undefined, + maxHeight___289919: undefined, + sprite___289921: undefined, + unnamed2130___U3: undefined, + unnamed2131___U4: undefined, + tMap___289937: undefined, + areaWidth___289941: undefined, + areaHeight___289948: undefined, arg0: undefined, arg1: undefined, } } @@ -40622,7 +39769,7 @@ function sprites_SpriteMap_resizeBuckets__P44245_mk(s) { -function Sprite_clearObstacles__P44219(s) { +function Sprite_clearObstacles__P274242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40637,7 +39784,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -40646,12 +39793,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P44219.info = {"start":24932,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P274242.info = {"start":24932,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P44219_mk(s) { +function Sprite_clearObstacles__P274242_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P44219, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P274242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40662,7 +39809,7 @@ function Sprite_clearObstacles__P44219_mk(s) { -function Fx_idiv__P41956(s) { +function Fx_idiv__P271979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40681,12 +39828,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P41956.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__P271979.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__P41956_mk(s) { +function Fx_idiv__P271979_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P41956, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P271979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -40696,7 +39843,7 @@ function Fx_idiv__P41956_mk(s) { -function helpers_arrayMap__P41899(s) { +function helpers_arrayMap__P271922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40706,58 +39853,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___59908 = undefined; - s.len___59910 = undefined; - s.i___59913 = undefined; + s.res___290213 = undefined; + s.len___290215 = undefined; + s.i___290218 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___59908 = (r0); + s.res___290213 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___59910 = (r0); - s.i___59913 = (0); + s.len___290215 = (r0); + s.i___290218 = (0); case 1: - r0 = (s.i___59913 < s.len___59910); + r0 = (s.i___290218 < s.len___290215); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___59908; + s.tmp_1 = r0 = s.res___290213; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___59913); + r0 = pxsim_Array__getAt(s.arg0, s.i___290218); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___59913; + s.tmp_3.arg1 = s.i___290218; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 3; s.pc = 3; return s.tmp_3; + s.callLocIdx = 4; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___59913 + 1); - s.i___59913 = (r0); + r0 = (s.i___290218 + 1); + s.i___290218 = (r0); { step = 1; continue; } case 2: - r0 = s.res___59908; + r0 = s.res___290213; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P41899.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__P271922.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__P41899_mk(s) { +function helpers_arrayMap__P271922_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P41899, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P271922, 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___59908: undefined, - len___59910: undefined, - i___59913: undefined, + res___290213: undefined, + len___290215: undefined, + i___290218: undefined, arg0: undefined, arg1: undefined, } } @@ -40766,7 +39913,7 @@ function helpers_arrayMap__P41899_mk(s) { -function ArcadePhysicsEngine_draw__P44332(s) { +function ArcadePhysicsEngine_draw__P274355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40781,23 +39928,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P44244_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P274267_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 538; s.pc = 1; return s.tmp_0; + s.callLocIdx = 539; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P44332.info = {"start":2777,"length":39,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} +ArcadePhysicsEngine_draw__P274355.info = {"start":2777,"length":39,"line":108,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} -function ArcadePhysicsEngine_draw__P44332_mk(s) { +function ArcadePhysicsEngine_draw__P274355_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P44332, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P274355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40807,7 +39954,7 @@ function ArcadePhysicsEngine_draw__P44332_mk(s) { -function sprites_SpriteMap_draw__P44244(s) { +function sprites_SpriteMap_draw__P274267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40817,108 +39964,108 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___59934 = undefined; - s.y___59940 = undefined; - s.left___59946 = undefined; - s.top___59951 = undefined; - s.k___59956 = undefined; - s.b___59961 = undefined; + s.x___290239 = undefined; + s.y___290245 = undefined; + s.left___290251 = undefined; + s.top___290256 = undefined; + s.k___290261 = undefined; + s.b___290266 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C44240_VT)) failedCast(r0); - s.x___59934 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C274263_VT)) failedCast(r0); + s.x___290239 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___59934 < s.tmp_1); + r0 = (s.x___290239 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___59940 = (0); + s.y___290245 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___59940 < s.tmp_1); + r0 = (s.y___290245 < 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___59934 * s.tmp_2); - s.left___59946 = (r0); + r0 = (s.x___290239 * s.tmp_2); + s.left___290251 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___59940 * s.tmp_0); - s.top___59951 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P46599_mk(s); + r0 = (s.y___290245 * s.tmp_0); + s.top___290256 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P276621_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___59946; - s.tmp_0.arg2 = s.top___59951; - s.callLocIdx = 490; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = s.left___290251; + s.tmp_0.arg2 = s.top___290256; + s.callLocIdx = 491; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___59956 = (r0); + s.k___290261 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___59956); - s.b___59961 = (r0); - s.tmp_0 = r0 = s.b___59961; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___290261); + s.b___290266 = (r0); + s.tmp_0 = r0 = s.b___290266; 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___59961); + r0 = pxsim_Array__length(s.b___290266); 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__P43753_mk(s); - s.tmp_2.arg0 = globals.screen___43826; - s.tmp_2.arg1 = s.left___59946; - s.tmp_2.arg2 = s.top___59951; + s.tmp_2 = helpers_imageDrawRect__P273776_mk(s); + s.tmp_2.arg0 = globals.screen___273849; + s.tmp_2.arg1 = s.left___290251; + s.tmp_2.arg2 = s.top___290256; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2.arg4 = r0; s.tmp_2.arg5 = 5; - s.callLocIdx = 491; s.pc = 10; return s.tmp_2; + s.callLocIdx = 492; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; case 5: case 6: - r0 = (s.y___59940 + 1); - s.y___59940 = (r0); + r0 = (s.y___290245 + 1); + s.y___290245 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___59934 + 1); - s.x___59934 = (r0); + r0 = (s.x___290239 + 1); + s.x___290239 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P44244.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__P274267.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__P44244_mk(s) { +function sprites_SpriteMap_draw__P274267_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P44244, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P274267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___59934: undefined, - y___59940: undefined, - left___59946: undefined, - top___59951: undefined, - k___59956: undefined, - b___59961: undefined, + x___290239: undefined, + y___290245: undefined, + left___290251: undefined, + top___290256: undefined, + k___290261: undefined, + b___290266: undefined, arg0: undefined, } } @@ -40926,7 +40073,7 @@ function sprites_SpriteMap_draw__P44244_mk(s) { -function ArcadePhysicsEngine_removeSprite__P44331(s) { +function ArcadePhysicsEngine_removeSprite__P274354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40942,7 +40089,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -40950,12 +40097,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P44331.info = {"start":2691,"length":80,"line":104,"column":4,"endLine":106,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_removeSprite__P274354.info = {"start":2691,"length":80,"line":104,"column":4,"endLine":106,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_removeSprite__P44331_mk(s) { +function ArcadePhysicsEngine_removeSprite__P274354_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P44331, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P274354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40966,7 +40113,7 @@ function ArcadePhysicsEngine_removeSprite__P44331_mk(s) { -function ArcadePhysicsEngine_addSprite__P44330(s) { +function ArcadePhysicsEngine_addSprite__P274353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40976,33 +40123,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___59998 = undefined; + s.tm___290303 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C44321_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C274344_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__P44793_mk(s); - s.callLocIdx = 536; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_currentScene__P274816_mk(s); + s.callLocIdx = 537; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___59998 = (r0); - s.tmp_0 = r0 = s.tm___59998; + s.tm___290303 = (r0); + s.tmp_0 = r0 = s.tm___290303; 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__P44552_mk(s); - s.tmp_1.arg0 = s.tm___59998; + s.tmp_1 = tiles_TileMap_isOnWall__P274575_mk(s); + s.tmp_1.arg0 = s.tm___290303; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 537; s.pc = 6; return s.tmp_1; + s.callLocIdx = 538; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 2: @@ -41022,12 +40169,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P44330.info = {"start":2465,"length":220,"line":96,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_addSprite__P274353.info = {"start":2465,"length":220,"line":96,"column":4,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_addSprite__P44330_mk(s) { +function ArcadePhysicsEngine_addSprite__P274353_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P44330, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P274353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41035,7 +40182,7 @@ function ArcadePhysicsEngine_addSprite__P44330_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___59998: undefined, + tm___290303: undefined, arg0: undefined, arg1: undefined, } } @@ -41044,7 +40191,7 @@ function ArcadePhysicsEngine_addSprite__P44330_mk(s) { -function tiles_TileMapData_constructor__P44512(s) { +function tiles_TileMapData_constructor__P274535(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41063,14 +40210,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C44511_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C274534_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__P44516_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P274539_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; - s.callLocIdx = 808; s.pc = 1; return s.tmp_0; + s.callLocIdx = 809; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -41085,12 +40232,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P44512.info = {"start":6048,"length":358,"line":204,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P274535.info = {"start":6048,"length":358,"line":204,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -function tiles_TileMapData_constructor__P44512_mk(s) { +function tiles_TileMapData_constructor__P274535_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P44512, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P274535, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41105,7 +40252,7 @@ function tiles_TileMapData_constructor__P44512_mk(s) { -function tiles_TileMapData_scale__P44516(s) { +function tiles_TileMapData_scale__P274539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41121,7 +40268,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C44511_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C274534_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -41131,12 +40278,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P44516.info = {"start":6640,"length":102,"line":226,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P274539.info = {"start":6640,"length":102,"line":226,"column":8,"endLine":229,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMapData_scale__P44516_mk(s) { +function tiles_TileMapData_scale__P274539_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P44516, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P274539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41148,7 +40295,7 @@ function tiles_TileMapData_scale__P44516_mk(s) { -function tiles_TileMap_constructor__P44531(s) { +function tiles_TileMap_constructor__P274554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41164,23 +40311,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P44533_mk(s); + s.tmp_0 = tiles_TileMap_scale__P274556_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 814; s.pc = 1; return s.tmp_0; + s.callLocIdx = 815; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P60059); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P290364); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = r0 = s.arg0; - s.tmp_3 = scene_createRenderable__P44599_mk(s); + s.tmp_3 = scene_createRenderable__P274622_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; - s.callLocIdx = 816; s.pc = 2; return s.tmp_3; + s.callLocIdx = 817; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -41189,12 +40336,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P44531.info = {"start":8927,"length":268,"line":300,"column":8,"endLine":308,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P274554.info = {"start":8927,"length":268,"line":300,"column":8,"endLine":308,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_TileMap_constructor__P44531_mk(s) { +function tiles_TileMap_constructor__P274554_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P44531, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P274554, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41208,7 +40355,7 @@ function tiles_TileMap_constructor__P44531_mk(s) { -function tiles_TileMap_inline__P60059(s) { +function tiles_TileMap_inline__P290364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41223,23 +40370,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P46712_mk(s); + s.tmp_0 = tiles_TileMap_draw__P276734_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 815; s.pc = 1; return s.tmp_0; + s.callLocIdx = 816; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P60059.info = {"start":9145,"length":25,"line":306,"column":16,"endLine":306,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +tiles_TileMap_inline__P290364.info = {"start":9145,"length":25,"line":306,"column":16,"endLine":306,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function tiles_TileMap_inline__P60059_mk(s) { +function tiles_TileMap_inline__P290364_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P60059, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P290364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41250,7 +40397,7 @@ function tiles_TileMap_inline__P60059_mk(s) { -function tiles_TileMap_draw__P46712(s) { +function tiles_TileMap_draw__P276734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41260,21 +40407,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___60070 = undefined; - s.offsetX___60076 = undefined; - s.offsetY___60081 = undefined; - s.x0___60086 = undefined; - s.xn___60093 = undefined; - s.y0___60110 = undefined; - s.yn___60117 = undefined; - s.x___60134 = undefined; - s.y___60140 = undefined; - s.index___60146 = undefined; - s.tile___60153 = undefined; - s.x___60189 = undefined; - s.xLine___60195 = undefined; - s.y___60221 = undefined; - s.yLine___60227 = undefined; + s.bitmask___290375 = undefined; + s.offsetX___290381 = undefined; + s.offsetY___290386 = undefined; + s.x0___290391 = undefined; + s.xn___290398 = undefined; + s.y0___290415 = undefined; + s.yn___290422 = undefined; + s.x___290439 = undefined; + s.y___290445 = undefined; + s.index___290451 = undefined; + s.tile___290458 = undefined; + s.x___290494 = undefined; + s.xLine___290500 = undefined; + s.y___290526 = undefined; + s.yLine___290532 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41282,7 +40429,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -41307,16 +40454,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___60070 = (r0); + s.bitmask___290375 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___60070); - s.offsetX___60076 = (r0); + r0 = (s.tmp_0 & s.bitmask___290375); + s.offsetX___290381 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___60070); - s.offsetY___60081 = (r0); - s.tmp_0 = Math_max__P41923_mk(s); + r0 = (s.tmp_0 & s.bitmask___290375); + s.offsetY___290386 = (r0); + s.tmp_0 = Math_max__P271946_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -41324,11 +40471,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 834; s.pc = 24; return s.tmp_0; + s.callLocIdx = 835; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___60086 = (r0); - s.tmp_0 = Math_min__P41924_mk(s); + s.x0___290391 = (r0); + s.tmp_0 = Math_min__P271947_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -41345,11 +40492,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 837; s.pc = 25; return s.tmp_0; + s.callLocIdx = 838; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___60093 = (r0); - s.tmp_0 = Math_max__P41923_mk(s); + s.xn___290398 = (r0); + s.tmp_0 = Math_max__P271946_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -41357,11 +40504,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 839; s.pc = 26; return s.tmp_0; + s.callLocIdx = 840; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___60110 = (r0); - s.tmp_0 = Math_min__P41924_mk(s); + s.y0___290415 = (r0); + s.tmp_0 = Math_min__P271947_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -41378,95 +40525,95 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 842; s.pc = 27; return s.tmp_0; + s.callLocIdx = 843; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___60117 = (r0); - s.x___60134 = (s.x0___60086); + s.yn___290422 = (r0); + s.x___290439 = (s.x0___290391); case 3: - r0 = (s.x___60134 <= s.xn___60093); + r0 = (s.x___290439 <= s.xn___290398); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___60140 = (s.y0___60110); + s.y___290445 = (s.y0___290415); case 4: - r0 = (s.y___60140 <= s.yn___60117); + r0 = (s.y___290445 <= s.yn___290422); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P44517_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P274540_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___60134; - s.tmp_1.arg2 = s.y___60140; - s.callLocIdx = 843; s.pc = 28; return s.tmp_1; + s.tmp_1.arg1 = s.x___290439; + s.tmp_1.arg2 = s.y___290445; + s.callLocIdx = 844; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___60146 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P44520_mk(s); + s.index___290451 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P274543_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___60146; - s.callLocIdx = 844; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = s.index___290451; + s.callLocIdx = 845; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___60153 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___60153); + s.tile___290458 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___290458); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___60153; - r0 = (s.x___60134 - s.x0___60086); + s.tmp_1 = r0 = s.tile___290458; + r0 = (s.x___290439 - s.x0___290391); 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___60076); + r0 = (s.tmp_3 - s.offsetX___290381); s.tmp_2 = r0; - r0 = (s.y___60140 - s.y0___60110); + r0 = (s.y___290445 - s.y0___290415); 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___60081); + r0 = (s.tmp_7 - s.offsetY___290386); 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___60140 + 1); - s.y___60140 = (r0); + r0 = (s.y___290445 + 1); + s.y___290445 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___60134 + 1); - s.x___60134 = (r0); + r0 = (s.x___290439 + 1); + s.x___290439 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___44761); + r0 = pxsim_numops_toBoolDecr(globals.debug___274784); if (!r0) { step = 21; continue; } - s.x___60189 = (s.x0___60086); + s.x___290494 = (s.x0___290391); case 9: - r0 = (s.x___60189 <= s.xn___60093); + r0 = (s.x___290494 <= s.xn___290398); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___60189 - s.x0___60086); + r0 = (s.x___290494 - s.x0___290391); 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___60076); - s.xLine___60195 = (r0); - r0 = (s.xLine___60195 >= 0); + r0 = (s.tmp_1 - s.offsetX___290381); + s.xLine___290500 = (r0); + r0 = (s.xLine___290500 >= 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___60195; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + s.tmp_1 = r0 = s.xLine___290500; + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -41474,46 +40621,46 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P43752_mk(s); + s.tmp_4 = helpers_imageDrawLine__P273775_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___60195; + s.tmp_4.arg1 = s.xLine___290500; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___60195; + s.tmp_4.arg3 = s.xLine___290500; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; - s.callLocIdx = 848; s.pc = 30; return s.tmp_4; + s.callLocIdx = 849; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 12: case 13: - r0 = (s.x___60189 + 1); - s.x___60189 = (r0); + r0 = (s.x___290494 + 1); + s.x___290494 = (r0); { step = 9; continue; } case 14: - s.y___60221 = (s.y0___60110); + s.y___290526 = (s.y0___290415); case 15: - r0 = (s.y___60221 <= s.yn___60117); + r0 = (s.y___290526 <= s.yn___290422); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___60221 - s.y0___60110); + r0 = (s.y___290526 - s.y0___290415); 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___60081); - s.yLine___60227 = (r0); - r0 = (s.yLine___60227 >= 0); + r0 = (s.tmp_1 - s.offsetY___290386); + s.yLine___290532 = (r0); + r0 = (s.yLine___290532 >= 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___60227; - r0 = pxsim_ImageMethods.height(globals.screen___43826); + s.tmp_1 = r0 = s.yLine___290532; + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -41521,21 +40668,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P43752_mk(s); + s.tmp_4 = helpers_imageDrawLine__P273775_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___60227; + s.tmp_4.arg2 = s.yLine___290532; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___60227; + s.tmp_4.arg4 = s.yLine___290532; s.tmp_4.arg5 = 1; - s.callLocIdx = 850; s.pc = 31; return s.tmp_4; + s.callLocIdx = 851; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___60221 + 1); - s.y___60221 = (r0); + r0 = (s.y___290526 + 1); + s.y___290526 = (r0); { step = 15; continue; } case 20: case 21: @@ -41545,12 +40692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P46712.info = {"start":13998,"length":2224,"line":458,"column":8,"endLine":513,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P276734.info = {"start":13998,"length":2224,"line":458,"column":8,"endLine":513,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P46712_mk(s) { +function tiles_TileMap_draw__P276734_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P46712, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P276734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41562,21 +40709,21 @@ function tiles_TileMap_draw__P46712_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___60070: undefined, - offsetX___60076: undefined, - offsetY___60081: undefined, - x0___60086: undefined, - xn___60093: undefined, - y0___60110: undefined, - yn___60117: undefined, - x___60134: undefined, - y___60140: undefined, - index___60146: undefined, - tile___60153: undefined, - x___60189: undefined, - xLine___60195: undefined, - y___60221: undefined, - yLine___60227: undefined, + bitmask___290375: undefined, + offsetX___290381: undefined, + offsetY___290386: undefined, + x0___290391: undefined, + xn___290398: undefined, + y0___290415: undefined, + yn___290422: undefined, + x___290439: undefined, + y___290445: undefined, + index___290451: undefined, + tile___290458: undefined, + x___290494: undefined, + xLine___290500: undefined, + y___290526: undefined, + yLine___290532: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41586,7 +40733,7 @@ function tiles_TileMap_draw__P46712_mk(s) { -function tiles_TileMap_scale__P44533(s) { +function tiles_TileMap_scale__P274556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41602,17 +40749,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_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__P44516_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P274539_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 817; s.pc = 3; return s.tmp_1; + s.callLocIdx = 818; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -41621,12 +40768,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P44533.info = {"start":9270,"length":144,"line":314,"column":8,"endLine":319,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P274556.info = {"start":9270,"length":144,"line":314,"column":8,"endLine":319,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMap_scale__P44533_mk(s) { +function tiles_TileMap_scale__P274556_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P44533, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P274556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41638,7 +40785,7 @@ function tiles_TileMap_scale__P44533_mk(s) { -function tiles_TileMap_data__P44534(s) { +function tiles_TileMap_data__P274557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41653,18 +40800,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C44529_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C274552_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P44534.info = {"start":9424,"length":65,"line":321,"column":8,"endLine":323,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P44534.isGetter = true; +tiles_TileMap_data__P274557.info = {"start":9424,"length":65,"line":321,"column":8,"endLine":323,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P274557.isGetter = true; -function tiles_TileMap_data__P44534_mk(s) { +function tiles_TileMap_data__P274557_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P44534, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P274557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -41673,7 +40820,7 @@ function tiles_TileMap_data__P44534_mk(s) { -function Sprite_toString__P44228(s) { +function Sprite_toString__P274251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41688,7 +40835,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -41706,9 +40853,9 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P44148_mk(s); + s.tmp_14 = Sprite_x__P274171_mk(s); s.tmp_14.arg0 = s.arg0; - s.callLocIdx = 443; s.pc = 2; return s.tmp_14; + s.callLocIdx = 444; s.pc = 2; return s.tmp_14; case 2: r0 = s.retval; s.tmp_13 = r0; @@ -41725,9 +40872,9 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P44150_mk(s); + s.tmp_17 = Sprite_y__P274173_mk(s); s.tmp_17.arg0 = s.arg0; - s.callLocIdx = 444; s.pc = 4; return s.tmp_17; + s.callLocIdx = 445; s.pc = 4; return s.tmp_17; case 4: r0 = s.retval; s.tmp_16 = r0; @@ -41744,9 +40891,9 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P44152_mk(s); + s.tmp_20 = Sprite_vx__P274175_mk(s); s.tmp_20.arg0 = s.arg0; - s.callLocIdx = 445; s.pc = 6; return s.tmp_20; + s.callLocIdx = 446; s.pc = 6; return s.tmp_20; case 6: r0 = s.retval; s.tmp_19 = r0; @@ -41763,9 +40910,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P44154_mk(s); + s.tmp_23 = Sprite_vy__P274177_mk(s); s.tmp_23.arg0 = s.arg0; - s.callLocIdx = 446; s.pc = 8; return s.tmp_23; + s.callLocIdx = 447; s.pc = 8; return s.tmp_23; case 8: r0 = s.retval; s.tmp_22 = r0; @@ -41784,12 +40931,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P44228.info = {"start":34111,"length":93,"line":1066,"column":4,"endLine":1068,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P274251.info = {"start":34111,"length":93,"line":1066,"column":4,"endLine":1068,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P44228_mk(s) { +function Sprite_toString__P274251_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P44228, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P274251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41822,7 +40969,7 @@ function Sprite_toString__P44228_mk(s) { -function Sprite___update__P44210(s) { +function Sprite___update__P274233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41839,7 +40986,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -41861,9 +41008,9 @@ 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__P44223_mk(s); + s.tmp_0 = Sprite__destroyCore__P274246_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 380; s.pc = 11; return s.tmp_0; + s.callLocIdx = 381; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 1: @@ -41879,10 +41026,10 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P44208_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P274231_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 381; s.pc = 12; return s.tmp_2; + s.callLocIdx = 382; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; case 6: @@ -41890,11 +41037,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P44222_mk(s); + s.tmp_4 = Sprite_destroy__P274245_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; - s.callLocIdx = 382; s.pc = 13; return s.tmp_4; + s.callLocIdx = 383; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: @@ -41903,13 +41050,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C44053_v1_4_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C274076_v1_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg2; s.tmp_1.arg2 = s.arg1; s.tmp_1.arg3 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C44053_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C274076_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.update; s.pc = 14; return s.tmp_1; case 14: @@ -41920,12 +41067,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P44210.info = {"start":18662,"length":483,"line":628,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P274233.info = {"start":18662,"length":483,"line":628,"column":4,"endLine":642,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P44210_mk(s) { +function Sprite___update__P274233_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P44210, depth: s.depth + 1, + parent: s, fn: Sprite___update__P274233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41942,7 +41089,7 @@ function Sprite___update__P44210_mk(s) { -function Sprite_isOutOfScreen__P44208(s) { +function Sprite_isOutOfScreen__P274231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41952,15 +41099,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___60416 = undefined; - s.oy___60424 = undefined; + s.ox___290721 = undefined; + s.oy___290729 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -41974,7 +41121,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___60416 = (s.tmp_2); + s.ox___290721 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -41988,14 +41135,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___60424 = (s.tmp_2); - s.tmp_3 = Sprite_right__P44195_mk(s); + s.oy___290729 = (s.tmp_2); + s.tmp_3 = Sprite_right__P274218_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 371; s.pc = 11; return s.tmp_3; + s.callLocIdx = 372; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___60416); + r0 = (s.tmp_2 - s.ox___290721); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -42004,13 +41151,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P44199_mk(s); + s.tmp_6 = Sprite_bottom__P274222_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 372; s.pc = 12; return s.tmp_6; + s.callLocIdx = 373; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___60424); + r0 = (s.tmp_5 - s.oy___290729); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -42021,15 +41168,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P44193_mk(s); + s.tmp_10 = Sprite_left__P274216_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 373; s.pc = 13; return s.tmp_10; + s.callLocIdx = 374; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___60416); + r0 = (s.tmp_9 - s.ox___290721); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -42040,15 +41187,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P44197_mk(s); + s.tmp_15 = Sprite_top__P274220_mk(s); s.tmp_15.arg0 = s.arg0; - s.callLocIdx = 374; s.pc = 14; return s.tmp_15; + s.callLocIdx = 375; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___60424); + r0 = (s.tmp_14 - s.oy___290729); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -42058,12 +41205,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P44208.info = {"start":17830,"length":358,"line":607,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P274231.info = {"start":17830,"length":358,"line":607,"column":4,"endLine":611,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P44208_mk(s) { +function Sprite_isOutOfScreen__P274231_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P44208, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P274231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42083,8 +41230,8 @@ function Sprite_isOutOfScreen__P44208_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___60416: undefined, - oy___60424: undefined, + ox___290721: undefined, + oy___290729: undefined, arg0: undefined, arg1: undefined, } } @@ -42093,7 +41240,7 @@ function Sprite_isOutOfScreen__P44208_mk(s) { -function sprites_BaseSpriteSayRenderer_update__P44056(s) { +function sprites_BaseSpriteSayRenderer_update__P274079(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42111,17 +41258,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C44053_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C274076_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_update__P44056.info = {"start":250,"length":68,"line":9,"column":8,"endLine":11,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"update","argumentNames":["this","dt","camera","owner"]} +sprites_BaseSpriteSayRenderer_update__P274079.info = {"start":250,"length":68,"line":9,"column":8,"endLine":11,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"update","argumentNames":["this","dt","camera","owner"]} -function sprites_BaseSpriteSayRenderer_update__P44056_mk(s) { +function sprites_BaseSpriteSayRenderer_update__P274079_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_update__P44056, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_update__P274079, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42133,7 +41280,7 @@ function sprites_BaseSpriteSayRenderer_update__P44056_mk(s) { -function Sprite_data__P44171(s) { +function Sprite_data__P274194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42149,18 +41296,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P44171.info = {"start":6536,"length":56,"line":241,"column":4,"endLine":243,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P274194.info = {"start":6536,"length":56,"line":241,"column":4,"endLine":243,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P44171_mk(s) { +function Sprite_data__P274194_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P44171, depth: s.depth + 1, + parent: s, fn: Sprite_data__P274194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42170,7 +41317,7 @@ function Sprite_data__P44171_mk(s) { -function Sprite_data__P44170(s) { +function Sprite_data__P274193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42185,7 +41332,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -42204,13 +41351,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P44170.info = {"start":6438,"length":92,"line":236,"column":4,"endLine":239,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P44170.isGetter = true; +Sprite_data__P274193.info = {"start":6438,"length":92,"line":236,"column":4,"endLine":239,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P274193.isGetter = true; -function Sprite_data__P44170_mk(s) { +function Sprite_data__P274193_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P44170, depth: s.depth + 1, + parent: s, fn: Sprite_data__P274193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42224,7 +41371,7 @@ function Sprite_data__P44170_mk(s) { -function scene_BackgroundLayer_constructor__P44480(s) { +function scene_BackgroundLayer_constructor__P274503(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42242,12 +41389,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C44473_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C274496_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P41923_mk(s); + s.tmp_2 = Math_max__P271946_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 794; s.pc = 7; return s.tmp_2; + s.callLocIdx = 795; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -42290,12 +41437,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P44480.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__P274503.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__P44480_mk(s) { +function scene_BackgroundLayer_constructor__P274503_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P44480, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P274503, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42310,7 +41457,7 @@ function scene_BackgroundLayer_constructor__P44480_mk(s) { -function scene_Camera_y__P44585(s) { +function scene_Camera_y__P274608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42325,10 +41472,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C44575_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___43826); + r0 = pxsim_ImageMethods.height(globals.screen___273849); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -42336,13 +41483,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P44585.info = {"start":1536,"length":75,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} -scene_Camera_y__P44585.isGetter = true; +scene_Camera_y__P274608.info = {"start":1536,"length":75,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"y","argumentNames":["this"]} +scene_Camera_y__P274608.isGetter = true; -function scene_Camera_y__P44585_mk(s) { +function scene_Camera_y__P274608_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P44585, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P274608, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42354,7 +41501,7 @@ function scene_Camera_y__P44585_mk(s) { -function scene_Camera_x__P44584(s) { +function scene_Camera_x__P274607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42369,10 +41516,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C44575_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___43826); + r0 = pxsim_ImageMethods.width(globals.screen___273849); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -42380,13 +41527,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P44584.info = {"start":1453,"length":74,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} -scene_Camera_x__P44584.isGetter = true; +scene_Camera_x__P274607.info = {"start":1453,"length":74,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"x","argumentNames":["this"]} +scene_Camera_x__P274607.isGetter = true; -function scene_Camera_x__P44584_mk(s) { +function scene_Camera_x__P274607_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P44584, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P274607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42398,7 +41545,7 @@ function scene_Camera_x__P44584_mk(s) { -function scene_Scene_data__P44662(s) { +function scene_Scene_data__P274685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42413,18 +41560,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C44637_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C274660_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P44662.info = {"start":7014,"length":53,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P44662.isGetter = true; +scene_Scene_data__P274685.info = {"start":7014,"length":53,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P274685.isGetter = true; -function scene_Scene_data__P44662_mk(s) { +function scene_Scene_data__P274685_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P44662, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P274685, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -42433,7 +41580,7 @@ function scene_Scene_data__P44662_mk(s) { -function particles_ParticleSource___draw__P44951(s) { +function particles_ParticleSource___draw__P274974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42443,18 +41590,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___60471 = undefined; - s.left___60474 = undefined; - s.top___60484 = undefined; + s.current___290776 = undefined; + s.left___290779 = undefined; + s.top___290789 = 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__C44945_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___60471 = (r0); + s.current___290776 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -42472,7 +41619,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___60474 = (s.tmp_4); + s.left___290779 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -42490,49 +41637,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___60484 = (s.tmp_4); + s.top___290789 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___60471); + r0 = pxsim_numops_toBoolDecr(s.current___290776); if (!r0) { step = 8; continue; } - r0 = s.current___60471.fields["lifespan"]; + r0 = s.current___290776.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__P47126_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P277148_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___60471; - s.tmp_2.arg2 = s.left___60474; - s.tmp_2.arg3 = s.top___60484; - s.callLocIdx = 1217; s.pc = 9; return s.tmp_2; + s.tmp_2.arg1 = s.current___290776; + s.tmp_2.arg2 = s.left___290779; + s.tmp_2.arg3 = s.top___290789; + s.callLocIdx = 1218; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___60471.fields["next"]; - s.current___60471 = (r0); + r0 = s.current___290776.fields["next"]; + s.current___290776 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P44951.info = {"start":3216,"length":468,"line":112,"column":8,"endLine":122,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} +particles_ParticleSource___draw__P274974.info = {"start":3216,"length":468,"line":112,"column":8,"endLine":122,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} -function particles_ParticleSource___draw__P44951_mk(s) { +function particles_ParticleSource___draw__P274974_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P44951, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P274974, 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___60471: undefined, - left___60474: undefined, - top___60484: undefined, + current___290776: undefined, + left___290779: undefined, + top___290789: undefined, arg0: undefined, arg1: undefined, } } @@ -42541,7 +41688,7 @@ function particles_ParticleSource___draw__P44951_mk(s) { -function particles_ParticleSource_drawParticle__P47126(s) { +function particles_ParticleSource_drawParticle__P277148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42559,8 +41706,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C44945_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C44981_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C274968_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C275004_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -42572,7 +41719,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__C44981_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C275004_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: @@ -42581,12 +41728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P47126.info = {"start":8615,"length":174,"line":287,"column":8,"endLine":289,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} +particles_ParticleSource_drawParticle__P277148.info = {"start":8615,"length":174,"line":287,"column":8,"endLine":289,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} -function particles_ParticleSource_drawParticle__P47126_mk(s) { +function particles_ParticleSource_drawParticle__P277148_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P47126, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P277148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42601,7 +41748,7 @@ function particles_ParticleSource_drawParticle__P47126_mk(s) { -function particles_ParticleFactory_drawParticle__P44984(s) { +function particles_ParticleFactory_drawParticle__P275007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42619,8 +41766,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C44981_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___43826; + if (!checkSubtype(r0, particles_ParticleFactory__C275004_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___273849; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -42634,12 +41781,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P44984.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__P275007.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__P44984_mk(s) { +function particles_ParticleFactory_drawParticle__P275007_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P44984, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P275007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42656,7 +41803,7 @@ function particles_ParticleFactory_drawParticle__P44984_mk(s) { -function sprites_BaseSprite___update__P43896(s) { +function sprites_BaseSprite___update__P273919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42673,17 +41820,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C43888_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C273911_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P43896.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__P273919.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__P43896_mk(s) { +function sprites_BaseSprite___update__P273919_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P43896, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P273919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42694,7 +41841,7 @@ function sprites_BaseSprite___update__P43896_mk(s) { -function sprites_BaseSprite___draw__P43894(s) { +function sprites_BaseSprite___draw__P273917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42710,10 +41857,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C43888_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C43888_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C273911_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C273911_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C43888_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C273911_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: @@ -42721,10 +41868,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C43888_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C273911_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C43888_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C273911_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: @@ -42735,12 +41882,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P43894.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__P273917.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__P43894_mk(s) { +function sprites_BaseSprite___draw__P273917_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P43894, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P273917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42753,7 +41900,7 @@ function sprites_BaseSprite___draw__P43894_mk(s) { -function sprites_BaseSprite___drawCore__P43895(s) { +function sprites_BaseSprite___drawCore__P273918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42769,17 +41916,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C43888_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C273911_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P43895.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__P273918.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__P43895_mk(s) { +function sprites_BaseSprite___drawCore__P273918_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P43895, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P273918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -42789,7 +41936,7 @@ function sprites_BaseSprite___drawCore__P43895_mk(s) { -function sprites_BaseSprite___visible__P43891(s) { +function sprites_BaseSprite___visible__P273914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42804,17 +41951,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C43888_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C273911_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P43891.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__P273914.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__P43891_mk(s) { +function sprites_BaseSprite___visible__P273914_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P43891, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P273914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -42823,7 +41970,7 @@ function sprites_BaseSprite___visible__P43891_mk(s) { -function game_SplashDialog_drawTextCore__P44736(s) { +function game_SplashDialog_drawTextCore__P274759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42833,25 +41980,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scrollMax___60545 = undefined; - s.left___60588 = undefined; - s.ysub___60633 = undefined; - s.left___60644 = undefined; + s.scrollMax___290850 = undefined; + s.left___290893 = undefined; + s.ysub___290938 = undefined; + s.left___290949 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C44726_VT)) failedCast(r0); - s.tmp_0 = Math_max__P41923_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C274749_VT)) failedCast(r0); + s.tmp_0 = Math_max__P271946_mk(s); r0 = s.arg0.fields["maxOffset"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 979; s.pc = 15; return s.tmp_0; + s.callLocIdx = 980; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.scrollMax___60545 = (r0); + s.scrollMax___290850 = (r0); r0 = s.arg0.fields["timer"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -42861,8 +42008,8 @@ switch (step) { s.tmp_2 = r0 = s.arg0; r0 = s.tmp_2.fields["timer"]; s.tmp_4 = r0; - s.tmp_7 = game_eventContext__P44796_mk(s); - s.callLocIdx = 980; s.pc = 16; return s.tmp_7; + s.tmp_7 = game_eventContext__P274819_mk(s); + s.callLocIdx = 981; s.pc = 16; return s.tmp_7; case 16: r0 = s.retval; s.tmp_6 = r0; @@ -42901,11 +42048,11 @@ switch (step) { r0 = (s.tmp_0).fields["offset"] = (s.tmp_1); r0 = s.arg0.fields["offset"]; s.tmp_1 = r0; - r0 = (s.tmp_1 >= s.scrollMax___60545); + r0 = (s.tmp_1 >= s.scrollMax___290850); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.arg0).fields["offset"] = (s.scrollMax___60545); + r0 = (s.arg0).fields["offset"] = (s.scrollMax___290850); r0 = (s.arg0).fields["timer"] = (2); case 6: case 7: @@ -42935,7 +42082,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["charWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["charWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 982; s.pc = 17; return s.tmp_10; } + else { s.callLocIdx = 983; s.pc = 17; return s.tmp_10; } } case 17: r0 = s.retval; @@ -42945,25 +42092,25 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___60588 = (r0); - s.tmp_0 = helpers_imagePrint__P43784_mk(s); + s.left___290893 = (r0); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___60588; + s.tmp_0.arg2 = s.left___290893; s.tmp_0.arg3 = 10; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 983; s.pc = 18; return s.tmp_0; + s.callLocIdx = 984; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; { step = 10; continue; } case 9: - s.tmp_0 = helpers_imagePrint__P43784_mk(s); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; @@ -42980,7 +42127,7 @@ switch (step) { r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 984; s.pc = 19; return s.tmp_0; + s.callLocIdx = 985; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; case 10: @@ -42997,7 +42144,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 985; s.pc = 20; return s.tmp_3; } + else { s.callLocIdx = 986; s.pc = 20; return s.tmp_3; } } case 20: r0 = s.retval; @@ -43005,7 +42152,7 @@ switch (step) { r0 = (10 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 + 2); - s.ysub___60633 = (r0); + s.ysub___290938 = (r0); r0 = s.arg0.fields["maxSubOffset"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); @@ -43031,7 +42178,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["charWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["charWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 986; s.pc = 21; return s.tmp_10; } + else { s.callLocIdx = 987; s.pc = 21; return s.tmp_10; } } case 21: r0 = s.retval; @@ -43041,69 +42188,69 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___60644 = (r0); - s.tmp_0 = helpers_imagePrint__P43784_mk(s); + s.left___290949 = (r0); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["subtext"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___60644; - s.tmp_0.arg3 = s.ysub___60633; + s.tmp_0.arg2 = s.left___290949; + s.tmp_0.arg3 = s.ysub___290938; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 987; s.pc = 22; return s.tmp_0; + s.callLocIdx = 988; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; { step = 12; continue; } case 11: - s.tmp_0 = helpers_imagePrint__P43784_mk(s); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["subtext"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - s.tmp_3 = Math_min__P41924_mk(s); + s.tmp_3 = Math_min__P271947_mk(s); r0 = s.arg0.fields["offset"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; s.tmp_3.arg1 = r0; - s.callLocIdx = 988; s.pc = 24; return s.tmp_3; + s.callLocIdx = 989; s.pc = 24; return s.tmp_3; case 24: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.ysub___60633; + s.tmp_0.arg3 = s.ysub___290938; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 989; s.pc = 23; return s.tmp_0; + s.callLocIdx = 990; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 12: case 13: case 14: - s.tmp_0 = game_BaseDialog_drawBorder__P46745_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P276767_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 990; s.pc = 25; return s.tmp_0; + s.callLocIdx = 991; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_SplashDialog_drawTextCore__P44736.info = {"start":9958,"length":1616,"line":306,"column":8,"endLine":344,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_SplashDialog_drawTextCore__P274759.info = {"start":9958,"length":1616,"line":306,"column":8,"endLine":344,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_SplashDialog_drawTextCore__P44736_mk(s) { +function game_SplashDialog_drawTextCore__P274759_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_drawTextCore__P44736, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_drawTextCore__P274759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43116,10 +42263,10 @@ function game_SplashDialog_drawTextCore__P44736_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scrollMax___60545: undefined, - left___60588: undefined, - ysub___60633: undefined, - left___60644: undefined, + scrollMax___290850: undefined, + left___290893: undefined, + ysub___290938: undefined, + left___290949: undefined, arg0: undefined, } } @@ -43127,7 +42274,7 @@ function game_SplashDialog_drawTextCore__P44736_mk(s) { -function game_BaseDialog_setText__P44712(s) { +function game_BaseDialog_setText__P274735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43143,17 +42290,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C44697_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C274720_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setText__P44712.info = {"start":2302,"length":77,"line":80,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} +game_BaseDialog_setText__P274735.info = {"start":2302,"length":77,"line":80,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} -function game_BaseDialog_setText__P44712_mk(s) { +function game_BaseDialog_setText__P274735_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setText__P44712, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setText__P274735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43163,7 +42310,7 @@ function game_BaseDialog_setText__P44712_mk(s) { -function controller_AnyButton_isPressed__P46573(s) { +function controller_AnyButton_isPressed__P276595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43173,36 +42320,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___60694 = undefined; - s.b___60698 = undefined; - s.unnamed254___U2 = undefined; - s.unnamed255___U3 = undefined; + s.ctrl___290999 = undefined; + s.b___291003 = undefined; + s.unnamed2122___U2 = undefined; + s.unnamed2123___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C46565_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P43922_mk(s); - s.callLocIdx = 196; s.pc = 6; return s.tmp_0; + if (!checkSubtype(r0, controller_AnyButton__C276587_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P273945_mk(s); + s.callLocIdx = 197; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___60694 = (r0); - s.b___60698 = (undefined); - r0 = s.ctrl___60694.fields["buttons"]; - s.unnamed254___U2 = (r0); - s.unnamed255___U3 = (0); + s.ctrl___290999 = (r0); + s.b___291003 = (undefined); + r0 = s.ctrl___290999.fields["buttons"]; + s.unnamed2122___U2 = (r0); + s.unnamed2123___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed255___U3; - r0 = pxsim_Array__length(s.unnamed254___U2); + s.tmp_0 = r0 = s.unnamed2123___U3; + r0 = pxsim_Array__length(s.unnamed2122___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed254___U2, s.unnamed255___U3); - s.b___60698 = (r0); - s.tmp_3 = controller_Button__C43983_v0_1_mk(s); - s.tmp_3.arg0 = s.b___60698; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C43983_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed2122___U2, s.unnamed2123___U3); + s.b___291003 = (r0); + s.tmp_3 = controller_Button__C274006_v0_1_mk(s); + s.tmp_3.arg0 = s.b___291003; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C274006_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: @@ -43214,31 +42361,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed255___U3 + 1); - s.unnamed255___U3 = (r0); + r0 = (s.unnamed2123___U3 + 1); + s.unnamed2123___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed254___U2 = (undefined); + s.unnamed2122___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P46573.info = {"start":15724,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P276595.info = {"start":15724,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P46573_mk(s) { +function controller_AnyButton_isPressed__P276595_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P46573, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P276595, 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___60694: undefined, - b___60698: undefined, - unnamed254___U2: undefined, - unnamed255___U3: undefined, + ctrl___290999: undefined, + b___291003: undefined, + unnamed2122___U2: undefined, + unnamed2123___U3: undefined, arg0: undefined, } } @@ -43246,7 +42393,7 @@ function controller_AnyButton_isPressed__P46573_mk(s) { -function controller_Button_toString__P43988(s) { +function controller_Button_toString__P274011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43261,7 +42408,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C43983_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C274006_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -43301,12 +42448,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P43988.info = {"start":1894,"length":100,"line":73,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} +controller_Button_toString__P274011.info = {"start":1894,"length":100,"line":73,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"toString","argumentNames":["this"]} -function controller_Button_toString__P43988_mk(s) { +function controller_Button_toString__P274011_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P43988, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P274011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43322,7 +42469,7 @@ function controller_Button_toString__P43988_mk(s) { -function sprites_BaseSpriteSayRenderer_constructor__P44054(s) { +function sprites_BaseSpriteSayRenderer_constructor__P274077(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43340,7 +42487,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C44053_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C274076_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["fgColor"] = (s.arg2); r0 = (s.arg0).fields["bgColor"] = (s.arg3); @@ -43348,12 +42495,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_constructor__P44054.info = {"start":69,"length":92,"line":2,"column":8,"endLine":3,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"inline","argumentNames":["this","text","fgColor","bgColor"]} +sprites_BaseSpriteSayRenderer_constructor__P274077.info = {"start":69,"length":92,"line":2,"column":8,"endLine":3,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"inline","argumentNames":["this","text","fgColor","bgColor"]} -function sprites_BaseSpriteSayRenderer_constructor__P44054_mk(s) { +function sprites_BaseSpriteSayRenderer_constructor__P274077_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P44054, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P274077, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43365,7 +42512,7 @@ function sprites_BaseSpriteSayRenderer_constructor__P44054_mk(s) { -function sprites_StaticObstacle_width__P44302(s) { +function sprites_StaticObstacle_width__P274325(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43380,20 +42527,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C44292_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C274315_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__P44302.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__P44302.isGetter = true; +sprites_StaticObstacle_width__P274325.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__P274325.isGetter = true; -function sprites_StaticObstacle_width__P44302_mk(s) { +function sprites_StaticObstacle_width__P274325_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P44302, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P274325, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43403,7 +42550,7 @@ function sprites_StaticObstacle_width__P44302_mk(s) { -function sprites_StaticObstacle_height__P44301(s) { +function sprites_StaticObstacle_height__P274324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43418,20 +42565,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C44292_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C274315_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__P44301.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__P44301.isGetter = true; +sprites_StaticObstacle_height__P274324.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__P274324.isGetter = true; -function sprites_StaticObstacle_height__P44301_mk(s) { +function sprites_StaticObstacle_height__P274324_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P44301, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P274324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43441,7 +42588,7 @@ function sprites_StaticObstacle_height__P44301_mk(s) { -function sprites_StaticObstacle_y__P44300(s) { +function sprites_StaticObstacle_y__P274323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43456,7 +42603,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C44292_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C274315_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -43469,13 +42616,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P44300.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__P44300.isGetter = true; +sprites_StaticObstacle_y__P274323.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__P274323.isGetter = true; -function sprites_StaticObstacle_y__P44300_mk(s) { +function sprites_StaticObstacle_y__P274323_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P44300, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P274323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43488,7 +42635,7 @@ function sprites_StaticObstacle_y__P44300_mk(s) { -function sprites_StaticObstacle_x__P44299(s) { +function sprites_StaticObstacle_x__P274322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43503,7 +42650,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C44292_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C274315_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -43516,13 +42663,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P44299.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__P44299.isGetter = true; +sprites_StaticObstacle_x__P274322.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__P274322.isGetter = true; -function sprites_StaticObstacle_x__P44299_mk(s) { +function sprites_StaticObstacle_x__P274322_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P44299, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P274322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43535,7 +42682,7 @@ function sprites_StaticObstacle_x__P44299_mk(s) { -function tiles_Location_top__P44495(s) { +function tiles_Location_top__P274518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43550,12 +42697,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C44487_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C274510_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P44489_mk(s); + s.tmp_3 = tiles_Location_tileMap__P274512_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 804; s.pc = 1; return s.tmp_3; + s.callLocIdx = 805; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -43565,13 +42712,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_top__P44495.info = {"start":1791,"length":83,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"top","argumentNames":["this"]} -tiles_Location_top__P44495.isGetter = true; +tiles_Location_top__P274518.info = {"start":1791,"length":83,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"top","argumentNames":["this"]} +tiles_Location_top__P274518.isGetter = true; -function tiles_Location_top__P44495_mk(s) { +function tiles_Location_top__P274518_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_top__P44495, depth: s.depth + 1, + parent: s, fn: tiles_Location_top__P274518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43584,7 +42731,7 @@ function tiles_Location_top__P44495_mk(s) { -function tiles_Location_left__P44494(s) { +function tiles_Location_left__P274517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43599,12 +42746,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C44487_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C274510_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P44489_mk(s); + s.tmp_3 = tiles_Location_tileMap__P274512_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 802; s.pc = 1; return s.tmp_3; + s.callLocIdx = 803; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -43614,13 +42761,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_left__P44494.info = {"start":1579,"length":84,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"left","argumentNames":["this"]} -tiles_Location_left__P44494.isGetter = true; +tiles_Location_left__P274517.info = {"start":1579,"length":84,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"left","argumentNames":["this"]} +tiles_Location_left__P274517.isGetter = true; -function tiles_Location_left__P44494_mk(s) { +function tiles_Location_left__P274517_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_left__P44494, depth: s.depth + 1, + parent: s, fn: tiles_Location_left__P274517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43633,7 +42780,7 @@ function tiles_Location_left__P44494_mk(s) { -function tiles_Location_y__P44493(s) { +function tiles_Location_y__P274516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43643,26 +42790,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___60754 = undefined; + s.scale___291059 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C44487_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P44489_mk(s); + if (!checkSubtype(r0, tiles_Location__C274510_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P274512_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 800; s.pc = 1; return s.tmp_1; + s.callLocIdx = 801; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___60754 = (r0); + s.scale___291059 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___60754); + r0 = (s.tmp_1 << s.scale___291059); s.tmp_0 = r0; - r0 = (s.scale___60754 - 1); + r0 = (s.scale___291059 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -43670,19 +42817,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P44493.info = {"start":1315,"length":135,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} -tiles_Location_y__P44493.isGetter = true; +tiles_Location_y__P274516.info = {"start":1315,"length":135,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P274516.isGetter = true; -function tiles_Location_y__P44493_mk(s) { +function tiles_Location_y__P274516_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P44493, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P274516, 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___60754: undefined, + scale___291059: undefined, arg0: undefined, } } @@ -43690,7 +42837,7 @@ function tiles_Location_y__P44493_mk(s) { -function tiles_Location_x__P44492(s) { +function tiles_Location_x__P274515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43700,26 +42847,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___60770 = undefined; + s.scale___291075 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C44487_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P44489_mk(s); + if (!checkSubtype(r0, tiles_Location__C274510_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P274512_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 798; s.pc = 1; return s.tmp_1; + s.callLocIdx = 799; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___60770 = (r0); + s.scale___291075 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___60770); + r0 = (s.tmp_1 << s.scale___291075); s.tmp_0 = r0; - r0 = (s.scale___60770 - 1); + r0 = (s.scale___291075 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -43727,19 +42874,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P44492.info = {"start":1054,"length":135,"line":45,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} -tiles_Location_x__P44492.isGetter = true; +tiles_Location_x__P274515.info = {"start":1054,"length":135,"line":45,"column":8,"endLine":48,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P274515.isGetter = true; -function tiles_Location_x__P44492_mk(s) { +function tiles_Location_x__P274515_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P44492, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P274515, 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___60770: undefined, + scale___291075: undefined, arg0: undefined, } } @@ -43747,7 +42894,7 @@ function tiles_Location_x__P44492_mk(s) { -function particles_ShapeFactory_drawParticle__P45010(s) { +function particles_ShapeFactory_drawParticle__P275033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43757,7 +42904,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___60789 = undefined; + s.pImage___291094 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43766,23 +42913,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C45007_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P44858_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C275030_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P274881_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1306; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1307; 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___60789 = (r0); + s.pImage___291094 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___60789, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___43826; - s.tmp_1 = r0 = s.pImage___60789; + r0 = pxsim_ImageMethods.replace(s.pImage___291094, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___273849; + s.tmp_1 = r0 = s.pImage___291094; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -43804,12 +42951,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P45010.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__P275033.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__P45010_mk(s) { +function particles_ShapeFactory_drawParticle__P275033_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P45010, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P275033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43821,7 +42968,7 @@ function particles_ShapeFactory_drawParticle__P45010_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___60789: undefined, + pImage___291094: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43832,7 +42979,7 @@ function particles_ShapeFactory_drawParticle__P45010_mk(s) { -function Math_FastRandom_pickRandom__P44858(s) { +function Math_FastRandom_pickRandom__P274881(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43848,7 +42995,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C44853_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C274876_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -43871,14 +43018,14 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P44857_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P274880_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 = 1035; s.pc = 6; return s.tmp_6; + s.callLocIdx = 1036; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; s.tmp_5 = r0; @@ -43887,12 +43034,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P44858.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__P274881.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__P44858_mk(s) { +function Math_FastRandom_pickRandom__P274881_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P44858, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P274881, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43910,7 +43057,7 @@ function Math_FastRandom_pickRandom__P44858_mk(s) { -function particles_AreaFactory_drawParticle__P44998(s) { +function particles_AreaFactory_drawParticle__P275021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43920,7 +43067,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___60835 = undefined; + s.col___291140 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43929,7 +43076,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C44991_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C275014_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -43956,8 +43103,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___60835 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___43826; + s.col___291140 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___273849; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -43966,17 +43113,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___60835); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___291140); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P44998.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__P275021.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__P44998_mk(s) { +function particles_AreaFactory_drawParticle__P275021_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P44998, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P275021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43984,7 +43131,7 @@ function particles_AreaFactory_drawParticle__P44998_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___60835: undefined, + col___291140: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43995,7 +43142,7 @@ function particles_AreaFactory_drawParticle__P44998_mk(s) { -function particles_SprayFactory_drawParticle__P44988(s) { +function particles_SprayFactory_drawParticle__P275011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44013,8 +43160,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C44985_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___43826; + if (!checkSubtype(r0, particles_SprayFactory__C275008_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___273849; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -44028,12 +43175,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P44988.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__P275011.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__P44988_mk(s) { +function particles_SprayFactory_drawParticle__P275011_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P44988, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P275011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44050,7 +43197,7 @@ function particles_SprayFactory_drawParticle__P44988_mk(s) { -function scene_Renderable___drawCore__P44597(s) { +function scene_Renderable___drawCore__P274620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44066,19 +43213,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C44594_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C274617_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___43826; + s.tmp_0.arg1 = globals.screen___273849; 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 = 902; s.pc = 1; return s.tmp_0; + s.callLocIdx = 903; 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 = 902; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 902; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 902; 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 = 903; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 903; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 903; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -44086,12 +43233,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P44597.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__P274620.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__P44597_mk(s) { +function scene_Renderable___drawCore__P274620_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P44597, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P274620, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44102,7 +43249,7 @@ function scene_Renderable___drawCore__P44597_mk(s) { -function scene_Renderable___visible__P44596(s) { +function scene_Renderable___visible__P274619(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44117,29 +43264,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C44594_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C274617_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 = 901; s.pc = 1; return s.tmp_0; + s.callLocIdx = 902; 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 = 901; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 901; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 901; 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 = 902; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 902; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 902; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P44596.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__P274619.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__P44596_mk(s) { +function scene_Renderable___visible__P274619_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P44596, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P274619, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44149,7 +43296,7 @@ function scene_Renderable___visible__P44596_mk(s) { -function Sprite___drawCore__P44209(s) { +function Sprite___drawCore__P274232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44159,27 +43306,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___60879 = undefined; - s.oy___60887 = undefined; - s.l___60895 = undefined; - s.t___60901 = undefined; + s.ox___291184 = undefined; + s.oy___291192 = undefined; + s.l___291200 = undefined; + s.t___291206 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_0 = Sprite_drawSay__P46593_mk(s); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_0 = Sprite_drawSay__P276615_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 375; s.pc = 8; return s.tmp_0; + s.callLocIdx = 376; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_1 = Sprite_isOutOfScreen__P44208_mk(s); + s.tmp_1 = Sprite_isOutOfScreen__P274231_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 376; s.pc = 9; return s.tmp_1; + s.callLocIdx = 377; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -44201,7 +43348,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___60879 = (s.tmp_4); + s.ox___291184 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -44215,43 +43362,43 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___60887 = (s.tmp_2); - s.tmp_2 = Sprite_left__P44193_mk(s); + s.oy___291192 = (s.tmp_2); + s.tmp_2 = Sprite_left__P274216_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 377; s.pc = 10; return s.tmp_2; + s.callLocIdx = 378; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___60879); + r0 = (s.tmp_1 - s.ox___291184); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___60895 = (r0); - s.tmp_2 = Sprite_top__P44197_mk(s); + s.l___291200 = (r0); + s.tmp_2 = Sprite_top__P274220_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 378; s.pc = 11; return s.tmp_2; + s.callLocIdx = 379; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___60887); + r0 = (s.tmp_1 - s.oy___291192); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___60901 = (r0); - s.tmp_0 = Sprite__C44135_v6_3_mk(s); + s.t___291206 = (r0); + s.tmp_0 = Sprite__C274158_v6_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___60895; - s.tmp_0.arg2 = s.t___60901; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C44135_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.l___291200; + s.tmp_0.arg2 = s.t___291206; + if (!checkSubtype(s.tmp_0.arg0, Sprite__C274158_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawSprite; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = Sprite_drawDebug__P46594_mk(s); + s.tmp_0 = Sprite_drawDebug__P276616_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___60895; - s.tmp_0.arg2 = s.t___60901; - s.tmp_0.arg3 = s.ox___60879; - s.tmp_0.arg4 = s.oy___60887; - s.callLocIdx = 379; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = s.l___291200; + s.tmp_0.arg2 = s.t___291206; + s.tmp_0.arg3 = s.ox___291184; + s.tmp_0.arg4 = s.oy___291192; + s.callLocIdx = 380; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 7: @@ -44259,22 +43406,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P44209.info = {"start":18194,"length":462,"line":613,"column":4,"endLine":626,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P274232.info = {"start":18194,"length":462,"line":613,"column":4,"endLine":626,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P44209_mk(s) { +function Sprite___drawCore__P274232_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P44209, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P274232, 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, - ox___60879: undefined, - oy___60887: undefined, - l___60895: undefined, - t___60901: undefined, + ox___291184: undefined, + oy___291192: undefined, + l___291200: undefined, + t___291206: undefined, arg0: undefined, arg1: undefined, } } @@ -44283,7 +43430,7 @@ function Sprite___drawCore__P44209_mk(s) { -function Sprite_drawSprite__P46595(s) { +function Sprite_drawSprite__P276617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44300,10 +43447,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); - s.tmp_3 = Sprite_isScaled__P46592_mk(s); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); + s.tmp_3 = Sprite_isScaled__P276614_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 471; s.pc = 3; return s.tmp_3; + s.callLocIdx = 472; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -44315,22 +43462,22 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___43826, s.tmp_4, s.arg1, s.arg2); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___273849, s.tmp_4, s.arg1, s.arg2); { step = 2; continue; } case 1: - s.tmp_0 = helpers_imageBlit__P43747_mk(s); - s.tmp_0.arg0 = globals.screen___43826; + s.tmp_0 = helpers_imageBlit__P273770_mk(s); + s.tmp_0.arg0 = globals.screen___273849; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = Sprite_width__P44191_mk(s); + s.tmp_1 = Sprite_width__P274214_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 472; s.pc = 5; return s.tmp_1; + s.callLocIdx = 473; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_2 = Sprite_height__P44192_mk(s); + s.tmp_2 = Sprite_height__P274215_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 473; s.pc = 6; return s.tmp_2; + s.callLocIdx = 474; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg4 = r0; @@ -44348,7 +43495,7 @@ switch (step) { s.tmp_0.arg9 = r0; s.tmp_0.arg10 = true; s.tmp_0.arg11 = false; - s.callLocIdx = 474; s.pc = 4; return s.tmp_0; + s.callLocIdx = 475; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -44356,12 +43503,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSprite__P46595.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} +Sprite_drawSprite__P276617.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} -function Sprite_drawSprite__P46595_mk(s) { +function Sprite_drawSprite__P276617_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSprite__P46595, depth: s.depth + 1, + parent: s, fn: Sprite_drawSprite__P276617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44377,7 +43524,7 @@ function Sprite_drawSprite__P46595_mk(s) { -function Sprite_drawDebug__P46594(s) { +function Sprite_drawDebug__P276616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44387,9 +43534,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___60925 = undefined; - s.tx___60929 = undefined; - s.ty___60931 = undefined; + s.font___291230 = undefined; + s.tx___291234 = undefined; + s.ty___291236 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44399,33 +43546,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); 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 = 9; continue; } - s.font___60925 = (globals.font5___43774); - s.tx___60929 = (s.arg1); + s.font___291230 = (globals.font5___273797); + s.tx___291234 = (s.arg1); s.tmp_1 = r0 = s.arg2; - s.tmp_3 = Sprite_height__P44192_mk(s); + s.tmp_3 = Sprite_height__P274215_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 447; s.pc = 13; return s.tmp_3; + s.callLocIdx = 448; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___60931 = (r0); - s.tmp_0 = helpers_imagePrint__P43784_mk(s); - s.tmp_0.arg0 = globals.screen___43826; + s.ty___291236 = (r0); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); + s.tmp_0.arg0 = globals.screen___273849; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P44148_mk(s); + s.tmp_7 = Sprite_x__P274171_mk(s); s.tmp_7.arg0 = s.arg0; - s.callLocIdx = 448; s.pc = 15; return s.tmp_7; + s.callLocIdx = 449; s.pc = 15; return s.tmp_7; case 15: r0 = s.retval; s.tmp_6 = r0; @@ -44444,9 +43591,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P44150_mk(s); + s.tmp_11 = Sprite_y__P274173_mk(s); s.tmp_11.arg0 = s.arg0; - s.callLocIdx = 449; s.pc = 17; return s.tmp_11; + s.callLocIdx = 450; s.pc = 17; return s.tmp_11; case 17: r0 = s.retval; s.tmp_10 = r0; @@ -44463,33 +43610,33 @@ 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___60929; - s.tmp_0.arg3 = s.ty___60931; + s.tmp_0.arg2 = s.tx___291234; + s.tmp_0.arg3 = s.ty___291236; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___60925; + s.tmp_0.arg5 = s.font___291230; s.tmp_0.arg6 = undefined; - s.callLocIdx = 450; s.pc = 14; return s.tmp_0; + s.callLocIdx = 451; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = r0 = s.tx___60929; + s.tmp_0 = r0 = s.tx___291234; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___60925; + s.tmp_2.arg0 = s.font___291230; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 451; s.pc = 19; return s.tmp_2; } + else { s.callLocIdx = 452; s.pc = 19; return s.tmp_2; } } case 19: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___60929 = (r0); - s.tmp_1 = Sprite_vx__P44152_mk(s); + s.tx___291234 = (r0); + s.tmp_1 = Sprite_vx__P274175_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 452; s.pc = 20; return s.tmp_1; + s.callLocIdx = 453; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; s.tmp_0 = r0; @@ -44498,9 +43645,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P44154_mk(s); + s.tmp_2 = Sprite_vy__P274177_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 453; s.pc = 21; return s.tmp_2; + s.callLocIdx = 454; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; case 2: @@ -44508,16 +43655,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = s.ty___60931; + s.tmp_4 = r0 = s.ty___291236; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___60925; + s.tmp_7.arg0 = s.font___291230; 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 = 454; s.pc = 22; return s.tmp_7; } + else { s.callLocIdx = 455; s.pc = 22; return s.tmp_7; } } case 22: r0 = s.retval; @@ -44525,12 +43672,12 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___60931 = (r0); - s.tmp_0 = helpers_imagePrint__P43784_mk(s); - s.tmp_0.arg0 = globals.screen___43826; - s.tmp_6 = Sprite_vx__P44152_mk(s); + s.ty___291236 = (r0); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); + s.tmp_0.arg0 = globals.screen___273849; + s.tmp_6 = Sprite_vx__P274175_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 455; s.pc = 24; return s.tmp_6; + s.callLocIdx = 456; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5 = r0; @@ -44549,9 +43696,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P44154_mk(s); + s.tmp_10 = Sprite_vy__P274177_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 456; s.pc = 26; return s.tmp_10; + s.callLocIdx = 457; s.pc = 26; return s.tmp_10; case 26: r0 = s.retval; s.tmp_9 = r0; @@ -44568,19 +43715,19 @@ 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___60929; - s.tmp_0.arg3 = s.ty___60931; + s.tmp_0.arg2 = s.tx___291234; + s.tmp_0.arg3 = s.ty___291236; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___60925; + s.tmp_0.arg5 = s.font___291230; s.tmp_0.arg6 = undefined; - s.callLocIdx = 457; s.pc = 23; return s.tmp_0; + s.callLocIdx = 458; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 3: case 4: - s.tmp_1 = Sprite_ax__P44156_mk(s); + s.tmp_1 = Sprite_ax__P274179_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 458; s.pc = 28; return s.tmp_1; + s.callLocIdx = 459; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; s.tmp_0 = r0; @@ -44589,9 +43736,9 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_ay__P44158_mk(s); + s.tmp_2 = Sprite_ay__P274181_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 459; s.pc = 29; return s.tmp_2; + s.callLocIdx = 460; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; case 6: @@ -44599,16 +43746,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = r0 = s.ty___60931; + s.tmp_4 = r0 = s.ty___291236; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___60925; + s.tmp_7.arg0 = s.font___291230; 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 = 460; s.pc = 30; return s.tmp_7; } + else { s.callLocIdx = 461; s.pc = 30; return s.tmp_7; } } case 30: r0 = s.retval; @@ -44616,12 +43763,12 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___60931 = (r0); - s.tmp_0 = helpers_imagePrint__P43784_mk(s); - s.tmp_0.arg0 = globals.screen___43826; - s.tmp_6 = Sprite_ax__P44156_mk(s); + s.ty___291236 = (r0); + s.tmp_0 = helpers_imagePrint__P273807_mk(s); + s.tmp_0.arg0 = globals.screen___273849; + s.tmp_6 = Sprite_ax__P274179_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 461; s.pc = 32; return s.tmp_6; + s.callLocIdx = 462; s.pc = 32; return s.tmp_6; case 32: r0 = s.retval; s.tmp_5 = r0; @@ -44640,9 +43787,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P44158_mk(s); + s.tmp_10 = Sprite_ay__P274181_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 462; s.pc = 34; return s.tmp_10; + s.callLocIdx = 463; s.pc = 34; return s.tmp_10; case 34: r0 = s.retval; s.tmp_9 = r0; @@ -44659,26 +43806,26 @@ 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___60929; - s.tmp_0.arg3 = s.ty___60931; + s.tmp_0.arg2 = s.tx___291234; + s.tmp_0.arg3 = s.ty___291236; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___60925; + s.tmp_0.arg5 = s.font___291230; s.tmp_0.arg6 = undefined; - s.callLocIdx = 463; s.pc = 31; return s.tmp_0; + s.callLocIdx = 464; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; case 7: case 8: case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.debug___44761); + r0 = pxsim_numops_toBoolDecr(globals.debug___274784); if (!r0) { step = 11; continue; } - s.tmp_0 = helpers_imageDrawRect__P43753_mk(s); - s.tmp_0.arg0 = globals.screen___43826; - s.tmp_3 = game_Hitbox_left__P44010_mk(s); + s.tmp_0 = helpers_imageDrawRect__P273776_mk(s); + s.tmp_0.arg0 = globals.screen___273849; + s.tmp_3 = game_Hitbox_left__P274033_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 464; s.pc = 37; return s.tmp_3; + s.callLocIdx = 465; s.pc = 37; return s.tmp_3; case 37: r0 = s.retval; s.tmp_2 = r0; @@ -44688,10 +43835,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - s.arg3); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P44011_mk(s); + s.tmp_7 = game_Hitbox_top__P274034_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 466; s.pc = 38; return s.tmp_7; + s.callLocIdx = 467; s.pc = 38; return s.tmp_7; case 38: r0 = s.retval; s.tmp_6 = r0; @@ -44716,7 +43863,7 @@ switch (step) { r0 = (s.tmp_12 >> 8); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 470; s.pc = 36; return s.tmp_0; + s.callLocIdx = 471; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; case 11: @@ -44725,12 +43872,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawDebug__P46594.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} +Sprite_drawDebug__P276616.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} -function Sprite_drawDebug__P46594_mk(s) { +function Sprite_drawDebug__P276616_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawDebug__P46594, depth: s.depth + 1, + parent: s, fn: Sprite_drawDebug__P276616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44745,9 +43892,9 @@ function Sprite_drawDebug__P46594_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - font___60925: undefined, - tx___60929: undefined, - ty___60931: undefined, + font___291230: undefined, + tx___291234: undefined, + ty___291236: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44759,7 +43906,7 @@ function Sprite_drawDebug__P46594_mk(s) { -function Sprite_drawSay__P46593(s) { +function Sprite_drawSay__P276615(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44775,7 +43922,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -44794,23 +43941,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 1; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C44053_v0_4_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C274076_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = globals.screen___43826; + s.tmp_6.arg1 = globals.screen___273849; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C44053_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C274076_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.draw; s.pc = 7; return s.tmp_6; case 7: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C44053_v2_1_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C274076_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C44053_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C274076_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.destroy; s.pc = 8; return s.tmp_0; case 8: @@ -44820,13 +43967,13 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C44053_v0_4_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C274076_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.screen___43826; + s.tmp_0.arg1 = globals.screen___273849; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C44053_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C274076_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.draw; s.pc = 9; return s.tmp_0; case 9: @@ -44838,12 +43985,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSay__P46593.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} +Sprite_drawSay__P276615.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} -function Sprite_drawSay__P46593_mk(s) { +function Sprite_drawSay__P276615_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSay__P46593, depth: s.depth + 1, + parent: s, fn: Sprite_drawSay__P276615, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44860,7 +44007,7 @@ function Sprite_drawSay__P46593_mk(s) { -function sprites_BaseSpriteSayRenderer_destroy__P44057(s) { +function sprites_BaseSpriteSayRenderer_destroy__P274080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44875,17 +44022,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C44053_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C274076_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_destroy__P44057.info = {"start":328,"length":22,"line":13,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"destroy","argumentNames":["this"]} +sprites_BaseSpriteSayRenderer_destroy__P274080.info = {"start":328,"length":22,"line":13,"column":8,"endLine":15,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"destroy","argumentNames":["this"]} -function sprites_BaseSpriteSayRenderer_destroy__P44057_mk(s) { +function sprites_BaseSpriteSayRenderer_destroy__P274080_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P44057, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P274080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -44894,7 +44041,7 @@ function sprites_BaseSpriteSayRenderer_destroy__P44057_mk(s) { -function sprites_BaseSpriteSayRenderer_draw__P44055(s) { +function sprites_BaseSpriteSayRenderer_draw__P274078(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44912,17 +44059,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C44053_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C274076_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_draw__P44055.info = {"start":171,"length":69,"line":5,"column":8,"endLine":7,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"draw","argumentNames":["this","screen","camera","owner"]} +sprites_BaseSpriteSayRenderer_draw__P274078.info = {"start":171,"length":69,"line":5,"column":8,"endLine":7,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"draw","argumentNames":["this","screen","camera","owner"]} -function sprites_BaseSpriteSayRenderer_draw__P44055_mk(s) { +function sprites_BaseSpriteSayRenderer_draw__P274078_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P44055, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P274078, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -44934,7 +44081,7 @@ function sprites_BaseSpriteSayRenderer_draw__P44055_mk(s) { -function Sprite___visible__P44190(s) { +function Sprite___visible__P274213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44949,7 +44096,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C44135_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C274158_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -44960,12 +44107,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P44190.info = {"start":9904,"length":72,"line":359,"column":4,"endLine":361,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P274213.info = {"start":9904,"length":72,"line":359,"column":4,"endLine":361,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P44190_mk(s) { +function Sprite___visible__P274213_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P44190, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P274213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44977,7 +44124,7 @@ function Sprite___visible__P44190_mk(s) { -function scene_Camera_top__P44588(s) { +function scene_Camera_top__P274611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44992,18 +44139,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C44575_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P44588.info = {"start":1764,"length":54,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} -scene_Camera_top__P44588.isGetter = true; +scene_Camera_top__P274611.info = {"start":1764,"length":54,"line":60,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"top","argumentNames":["this"]} +scene_Camera_top__P274611.isGetter = true; -function scene_Camera_top__P44588_mk(s) { +function scene_Camera_top__P274611_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P44588, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P274611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -45012,7 +44159,7 @@ function scene_Camera_top__P44588_mk(s) { -function scene_Camera_left__P44586(s) { +function scene_Camera_left__P274609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45027,18 +44174,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C44575_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C274598_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P44586.info = {"start":1620,"length":55,"line":54,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} -scene_Camera_left__P44586.isGetter = true; +scene_Camera_left__P274609.info = {"start":1620,"length":55,"line":54,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"left","argumentNames":["this"]} +scene_Camera_left__P274609.isGetter = true; -function scene_Camera_left__P44586_mk(s) { +function scene_Camera_left__P274609_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P44586, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P274609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -45046,7 +44193,7 @@ function scene_Camera_left__P44586_mk(s) { -function game_SplashDialog__C44726_v1_2_mk(s) { +function game_SplashDialog__C274749_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45061,7 +44208,7 @@ function game_SplashDialog__C44726_v1_2_mk(s) { } } -function game_BaseDialog__C44697_v0_1_mk(s) { +function game_BaseDialog__C274720_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45075,7 +44222,7 @@ function game_BaseDialog__C44697_v0_1_mk(s) { } } -function controller_Button__C43983_v0_1_mk(s) { +function controller_Button__C274006_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45134,7 +44281,7 @@ function lambda_3_mk(s) { } } -function PhysicsEngine__C44305_v4_2_mk(s) { +function PhysicsEngine__C274328_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45165,7 +44312,7 @@ function if___update_3_mk(s) { } } -function PhysicsEngine__C44305_v3_1_mk(s) { +function PhysicsEngine__C274328_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45348,7 +44495,7 @@ function if_vy_1_mk(s) { } } -function game_BaseDialog__C44697_v2_1_mk(s) { +function game_BaseDialog__C274720_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45362,7 +44509,7 @@ function game_BaseDialog__C44697_v2_1_mk(s) { } } -function PhysicsEngine__C44305_v0_2_mk(s) { +function PhysicsEngine__C274328_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45392,7 +44539,7 @@ function if_handler_2_mk(s) { } } -function Sprite__C44135_v5_1_mk(s) { +function Sprite__C274158_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45406,7 +44553,7 @@ function Sprite__C44135_v5_1_mk(s) { } } -function Sprite__C44135_v4_1_mk(s) { +function Sprite__C274158_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45512,7 +44659,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C44305_v1_2_mk(s) { +function PhysicsEngine__C274328_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45695,7 +44842,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C44305_v2_4_mk(s) { +function PhysicsEngine__C274328_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45797,7 +44944,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C44981_v0_2_mk(s) { +function particles_ParticleFactory__C275004_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45812,7 +44959,7 @@ function particles_ParticleFactory__C44981_v0_2_mk(s) { } } -function particles_ParticleSource__C44945_v4_3_mk(s) { +function particles_ParticleSource__C274968_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45928,7 +45075,7 @@ function if_top_1_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C44053_v1_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C274076_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45945,7 +45092,7 @@ function sprites_BaseSpriteSayRenderer__C44053_v1_4_mk(s) { } } -function particles_ParticleFactory__C44981_v1_4_mk(s) { +function particles_ParticleFactory__C275004_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45962,7 +45109,7 @@ function particles_ParticleFactory__C44981_v1_4_mk(s) { } } -function sprites_BaseSprite__C43888_v0_1_mk(s) { +function sprites_BaseSprite__C273911_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -45976,7 +45123,7 @@ function sprites_BaseSprite__C43888_v0_1_mk(s) { } } -function sprites_BaseSprite__C43888_v2_2_mk(s) { +function sprites_BaseSprite__C273911_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46005,7 +45152,7 @@ function if_shouldBeVisible_1_mk(s) { } } -function Sprite__C44135_v6_3_mk(s) { +function Sprite__C274158_v6_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46021,7 +45168,7 @@ function Sprite__C44135_v6_3_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C44053_v0_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C274076_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46038,7 +45185,7 @@ function sprites_BaseSpriteSayRenderer__C44053_v0_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C44053_v2_1_mk(s) { +function sprites_BaseSpriteSayRenderer__C274076_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -46095,21 +45242,6 @@ function if__pack_2_mk(s) { } } -function if__unpack_2_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, 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, - arg0: undefined, - arg1: undefined, -} } - - function if_width_1_mk(s) { checkStack(s.depth); return { @@ -46123,7 +45255,7 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Controller__C43928_VT = mkVTable({ +const controller_Controller__C273951_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 16, @@ -46142,28 +45274,28 @@ const controller_Controller__C43928_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P43933, - "set/_controlledSprites": controller_Controller__controlledSprites__P43934, - "id": controller_Controller_id__P43935, - "left": controller_Controller_left__P43937, - "right": controller_Controller_right__P43938, - "up": controller_Controller_up__P43939, - "down": controller_Controller_down__P43940, - "button": controller_Controller_button__P46564, - "connected": controller_Controller_connected__P43949, - "set/connected": controller_Controller_connected__P43950, - "__preUpdate": controller_Controller___preUpdate__P43956, - "__update": controller_Controller___update__P43957, + "_controlledSprites": controller_Controller__controlledSprites__P273956, + "set/_controlledSprites": controller_Controller__controlledSprites__P273957, + "id": controller_Controller_id__P273958, + "left": controller_Controller_left__P273960, + "right": controller_Controller_right__P273961, + "up": controller_Controller_up__P273962, + "down": controller_Controller_down__P273963, + "button": controller_Controller_button__P276586, + "connected": controller_Controller_connected__P273972, + "set/connected": controller_Controller_connected__P273973, + "__preUpdate": controller_Controller___preUpdate__P273979, + "__update": controller_Controller___update__P273980, }, }); -const controller_Button__C43983_VT = mkVTable({ +const controller_Button__C274006_VT = mkVTable({ name: "Button", numFields: 7, classNo: 17, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P43994, + "isPressed": controller_Button_isPressed__P274017, }, iface: { "_owner": null, @@ -46180,29 +45312,29 @@ const controller_Button__C43983_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "handlerState": controller_Button_handlerState__P46567, - "toString": controller_Button_toString__P43988, - "raiseButtonUp": controller_Button_raiseButtonUp__P46568, - "raiseButtonDown": controller_Button_raiseButtonDown__P46569, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P46570, - "onEvent": controller_Button_onEvent__P43990, - "isPressed": controller_Button_isPressed__P43994, - "pressureLevel": controller_Button_pressureLevel__P43995, - "setPressed": controller_Button_setPressed__P43996, - "__update": controller_Button___update__P43997, - "runButtonEvents": controller_Button_runButtonEvents__P46571, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P46572, + "handlerState": controller_Button_handlerState__P276589, + "toString": controller_Button_toString__P274011, + "raiseButtonUp": controller_Button_raiseButtonUp__P276590, + "raiseButtonDown": controller_Button_raiseButtonDown__P276591, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P276592, + "onEvent": controller_Button_onEvent__P274013, + "isPressed": controller_Button_isPressed__P274017, + "pressureLevel": controller_Button_pressureLevel__P274018, + "setPressed": controller_Button_setPressed__P274019, + "__update": controller_Button___update__P274020, + "runButtonEvents": controller_Button_runButtonEvents__P276593, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P276594, }, - toStringMethod: controller_Button_toString__P43988, + toStringMethod: controller_Button_toString__P274011, }); -const controller_AnyButton__C46565_VT = mkVTable({ +const controller_AnyButton__C276587_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 18, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P46573, + "isPressed": controller_AnyButton_isPressed__P276595, }, iface: { "_owner": null, @@ -46219,21 +45351,21 @@ const controller_AnyButton__C46565_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P46573, - "handlerState": controller_Button_handlerState__P46567, - "toString": controller_Button_toString__P43988, - "raiseButtonUp": controller_Button_raiseButtonUp__P46568, - "raiseButtonDown": controller_Button_raiseButtonDown__P46569, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P46570, - "onEvent": controller_Button_onEvent__P43990, - "pressureLevel": controller_Button_pressureLevel__P43995, - "setPressed": controller_Button_setPressed__P43996, - "__update": controller_Button___update__P43997, - "runButtonEvents": controller_Button_runButtonEvents__P46571, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P46572, + "isPressed": controller_AnyButton_isPressed__P276595, + "handlerState": controller_Button_handlerState__P276589, + "toString": controller_Button_toString__P274011, + "raiseButtonUp": controller_Button_raiseButtonUp__P276590, + "raiseButtonDown": controller_Button_raiseButtonDown__P276591, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P276592, + "onEvent": controller_Button_onEvent__P274013, + "pressureLevel": controller_Button_pressureLevel__P274018, + "setPressed": controller_Button_setPressed__P274019, + "__update": controller_Button___update__P274020, + "runButtonEvents": controller_Button_runButtonEvents__P276593, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P276594, }, }); -const game_GameOverConfig__C44767_VT = mkVTable({ +const game_GameOverConfig__C274790_VT = mkVTable({ name: "GameOverConfig", numFields: 14, classNo: 19, @@ -46270,10 +45402,10 @@ const game_GameOverConfig__C44767_VT = mkVTable({ "set/messageSetByUser": null, "scoringTypeSetByUser": null, "set/scoringTypeSetByUser": null, - "init": game_GameOverConfig_init__P44783, + "init": game_GameOverConfig_init__P274806, }, }); -const Math_FastRandom__C44853_VT = mkVTable({ +const Math_FastRandom__C274876_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 20, @@ -46286,41 +45418,16 @@ const Math_FastRandom__C44853_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P44856, - "randomRange": Math_FastRandom_randomRange__P44857, - "pickRandom": Math_FastRandom_pickRandom__P44858, - }, -}); -const DataView__C107448_VT = mkVTable({ - name: "DataView", - numFields: 3, - classNo: 21, - lastSubtypeNo: 21, - maxBgInstances: null, - methods: { - }, - iface: { - "_buffer": null, - "set/_buffer": null, - "_byteLength": null, - "set/_byteLength": null, - "_byteOffset": null, - "set/_byteOffset": null, - "buffer": DataView_buffer__P107449, - "byteLength": DataView_byteLength__P107450, - "byteOffset": DataView_byteOffset__P107451, - "IS_BIG_ENDIAN": DataView_IS_BIG_ENDIAN__P107452, - "getUint32": DataView_getUint32__P107460, - "setUint32": DataView_setUint32__P107468, - "getter": DataView_getter__P107469, - "setter": DataView_setter__P107470, + "next": Math_FastRandom_next__P274879, + "randomRange": Math_FastRandom_randomRange__P274880, + "pickRandom": Math_FastRandom_pickRandom__P274881, }, }); -const ArrayBuffer__C46125_VT = mkVTable({ +const ArrayBuffer__C300769_VT = mkVTable({ name: "ArrayBuffer", numFields: 2, - classNo: 22, - lastSubtypeNo: 22, + classNo: 21, + lastSubtypeNo: 21, maxBgInstances: null, methods: { }, @@ -46329,50 +45436,17 @@ const ArrayBuffer__C46125_VT = mkVTable({ "set/_byteLength": null, "_bytes": null, "set/_bytes": null, - "byteLength": ArrayBuffer_byteLength__P46127, - "bytes": ArrayBuffer_bytes__P46128, + "byteLength": ArrayBuffer_byteLength__P300770, + "bytes": ArrayBuffer_bytes__P300771, + "slice": ArrayBuffer_slice__P300772, + "clamp": ArrayBuffer_clamp__P300773, }, }); -const TypedArray__C46151_VT = mkVTable({ +const TypedArray__C276175_VT = mkVTable({ name: "TypedArray", numFields: 7, - classNo: 23, - lastSubtypeNo: 26, - maxBgInstances: null, - methods: { - }, - iface: { - "BYTES_PER_ELEMENT": null, - "set/BYTES_PER_ELEMENT": null, - "_buffer": null, - "set/_buffer": null, - "_byteLength": null, - "set/_byteLength": null, - "_byteOffset": null, - "set/_byteOffset": null, - "_length": null, - "set/_length": null, - "_pack": null, - "set/_pack": null, - "_unpack": null, - "set/_unpack": null, - "fromArray": TypedArray_fromArray__P46153, - "fromArrayBuffer": TypedArray_fromArrayBuffer__P46154, - "buffer": TypedArray_buffer__P46156, - "byteOffset": TypedArray_byteOffset__P46158, - "bytesPerElement": TypedArray_bytesPerElement__P46159, - "length": TypedArray_length__P46160, - "get": TypedArray_get__P46161, - "set": TypedArray_set__P46162, - "setFromArray": TypedArray_setFromArray__P46163, - "init": TypedArray_init__P48959, - }, -}); -const Uint32Array__C46189_VT = mkVTable({ - name: "Uint32Array", - numFields: 7, - classNo: 24, - lastSubtypeNo: 24, + classNo: 22, + lastSubtypeNo: 23, maxBgInstances: null, methods: { }, @@ -46391,58 +45465,20 @@ const Uint32Array__C46189_VT = mkVTable({ "set/_pack": null, "_unpack": null, "set/_unpack": null, - "fromArray": TypedArray_fromArray__P46153, - "fromArrayBuffer": TypedArray_fromArrayBuffer__P46154, - "buffer": TypedArray_buffer__P46156, - "byteOffset": TypedArray_byteOffset__P46158, - "bytesPerElement": TypedArray_bytesPerElement__P46159, - "length": TypedArray_length__P46160, - "get": TypedArray_get__P46161, - "set": TypedArray_set__P46162, - "setFromArray": TypedArray_setFromArray__P46163, - "init": TypedArray_init__P48959, + "fromArrayBuffer": TypedArray_fromArrayBuffer__P276178, + "buffer": TypedArray_buffer__P276180, + "byteOffset": TypedArray_byteOffset__P276182, + "length": TypedArray_length__P276184, + "set": TypedArray_set__P276186, + "setFromTypedArray": TypedArray_setFromTypedArray__P276188, + "init": TypedArray_init__P278939, }, }); -const Uint8Array__C46181_VT = mkVTable({ +const Uint8Array__C276205_VT = mkVTable({ name: "Uint8Array", numFields: 7, - classNo: 25, - lastSubtypeNo: 25, - maxBgInstances: null, - methods: { - }, - iface: { - "BYTES_PER_ELEMENT": null, - "set/BYTES_PER_ELEMENT": null, - "_buffer": null, - "set/_buffer": null, - "_byteLength": null, - "set/_byteLength": null, - "_byteOffset": null, - "set/_byteOffset": null, - "_length": null, - "set/_length": null, - "_pack": null, - "set/_pack": null, - "_unpack": null, - "set/_unpack": null, - "fromArray": TypedArray_fromArray__P46153, - "fromArrayBuffer": TypedArray_fromArrayBuffer__P46154, - "buffer": TypedArray_buffer__P46156, - "byteOffset": TypedArray_byteOffset__P46158, - "bytesPerElement": TypedArray_bytesPerElement__P46159, - "length": TypedArray_length__P46160, - "get": TypedArray_get__P46161, - "set": TypedArray_set__P46162, - "setFromArray": TypedArray_setFromArray__P46163, - "init": TypedArray_init__P48959, - }, -}); -const Uint16Array__C46185_VT = mkVTable({ - name: "Uint16Array", - numFields: 7, - classNo: 26, - lastSubtypeNo: 26, + classNo: 23, + lastSubtypeNo: 23, maxBgInstances: null, methods: { }, @@ -46461,28 +45497,25 @@ const Uint16Array__C46185_VT = mkVTable({ "set/_pack": null, "_unpack": null, "set/_unpack": null, - "fromArray": TypedArray_fromArray__P46153, - "fromArrayBuffer": TypedArray_fromArrayBuffer__P46154, - "buffer": TypedArray_buffer__P46156, - "byteOffset": TypedArray_byteOffset__P46158, - "bytesPerElement": TypedArray_bytesPerElement__P46159, - "length": TypedArray_length__P46160, - "get": TypedArray_get__P46161, - "set": TypedArray_set__P46162, - "setFromArray": TypedArray_setFromArray__P46163, - "init": TypedArray_init__P48959, + "fromArrayBuffer": TypedArray_fromArrayBuffer__P276178, + "buffer": TypedArray_buffer__P276180, + "byteOffset": TypedArray_byteOffset__P276182, + "length": TypedArray_length__P276184, + "set": TypedArray_set__P276186, + "setFromTypedArray": TypedArray_setFromTypedArray__P276188, + "init": TypedArray_init__P278939, }, }); -const game_BaseDialog__C44697_VT = mkVTable({ +const game_BaseDialog__C274720_VT = mkVTable({ name: "BaseDialog", numFields: 11, - classNo: 27, - lastSubtypeNo: 28, + classNo: 24, + lastSubtypeNo: 25, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P44711, - "setText": game_BaseDialog_setText__P44712, - "drawTextCore": game_BaseDialog_drawTextCore__P44713, + "update": game_BaseDialog_update__P274734, + "setText": game_BaseDialog_setText__P274735, + "drawTextCore": game_BaseDialog_drawTextCore__P274736, }, iface: { "image": null, @@ -46507,31 +45540,31 @@ const game_BaseDialog__C44697_VT = mkVTable({ "set/font": null, "textColor": null, "set/textColor": null, - "resize": game_BaseDialog_resize__P44710, - "update": game_BaseDialog_update__P44711, - "setText": game_BaseDialog_setText__P44712, - "drawTextCore": game_BaseDialog_drawTextCore__P44713, - "drawCursorRow": game_BaseDialog_drawCursorRow__P44714, - "drawBorder": game_BaseDialog_drawBorder__P46745, - "fastFill": game_BaseDialog_fastFill__P46746, - "clearInterior": game_BaseDialog_clearInterior__P46747, - "drawPartial": game_BaseDialog_drawPartial__P46748, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P46749, - "textAreaWidth": game_BaseDialog_textAreaWidth__P46751, - "textAreaHeight": game_BaseDialog_textAreaHeight__P46752, - "setFont": game_BaseDialog_setFont__P46753, + "resize": game_BaseDialog_resize__P274733, + "update": game_BaseDialog_update__P274734, + "setText": game_BaseDialog_setText__P274735, + "drawTextCore": game_BaseDialog_drawTextCore__P274736, + "drawCursorRow": game_BaseDialog_drawCursorRow__P274737, + "drawBorder": game_BaseDialog_drawBorder__P276767, + "fastFill": game_BaseDialog_fastFill__P276768, + "clearInterior": game_BaseDialog_clearInterior__P276769, + "drawPartial": game_BaseDialog_drawPartial__P276770, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P276771, + "textAreaWidth": game_BaseDialog_textAreaWidth__P276773, + "textAreaHeight": game_BaseDialog_textAreaHeight__P276774, + "setFont": game_BaseDialog_setFont__P276775, }, }); -const game_SplashDialog__C44726_VT = mkVTable({ +const game_SplashDialog__C274749_VT = mkVTable({ name: "SplashDialog", numFields: 17, - classNo: 28, - lastSubtypeNo: 28, + classNo: 25, + lastSubtypeNo: 25, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P44711, - "setText": game_SplashDialog_setText__P44734, - "drawTextCore": game_SplashDialog_drawTextCore__P44736, + "update": game_BaseDialog_update__P274734, + "setText": game_SplashDialog_setText__P274757, + "drawTextCore": game_SplashDialog_drawTextCore__P274759, }, iface: { "image": null, @@ -46568,28 +45601,28 @@ const game_SplashDialog__C44726_VT = mkVTable({ "set/maxOffset": null, "maxSubOffset": null, "set/maxSubOffset": null, - "updateFont": game_SplashDialog_updateFont__P46756, - "setText": game_SplashDialog_setText__P44734, - "setSubtext": game_SplashDialog_setSubtext__P44735, - "drawTextCore": game_SplashDialog_drawTextCore__P44736, - "resize": game_BaseDialog_resize__P44710, - "update": game_BaseDialog_update__P44711, - "drawCursorRow": game_BaseDialog_drawCursorRow__P44714, - "drawBorder": game_BaseDialog_drawBorder__P46745, - "fastFill": game_BaseDialog_fastFill__P46746, - "clearInterior": game_BaseDialog_clearInterior__P46747, - "drawPartial": game_BaseDialog_drawPartial__P46748, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P46749, - "textAreaWidth": game_BaseDialog_textAreaWidth__P46751, - "textAreaHeight": game_BaseDialog_textAreaHeight__P46752, - "setFont": game_BaseDialog_setFont__P46753, + "updateFont": game_SplashDialog_updateFont__P276778, + "setText": game_SplashDialog_setText__P274757, + "setSubtext": game_SplashDialog_setSubtext__P274758, + "drawTextCore": game_SplashDialog_drawTextCore__P274759, + "resize": game_BaseDialog_resize__P274733, + "update": game_BaseDialog_update__P274734, + "drawCursorRow": game_BaseDialog_drawCursorRow__P274737, + "drawBorder": game_BaseDialog_drawBorder__P276767, + "fastFill": game_BaseDialog_fastFill__P276768, + "clearInterior": game_BaseDialog_clearInterior__P276769, + "drawPartial": game_BaseDialog_drawPartial__P276770, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P276771, + "textAreaWidth": game_BaseDialog_textAreaWidth__P276773, + "textAreaHeight": game_BaseDialog_textAreaHeight__P276774, + "setFont": game_BaseDialog_setFont__P276775, }, }); -const control_EventContext__C42188_VT = mkVTable({ +const control_EventContext__C272211_VT = mkVTable({ name: "EventContext", numFields: 10, - classNo: 29, - lastSubtypeNo: 29, + classNo: 26, + lastSubtypeNo: 26, maxBgInstances: null, methods: { }, @@ -46614,20 +45647,20 @@ const control_EventContext__C42188_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P42193, - "runCallbacks": control_EventContext_runCallbacks__P46280, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P46281, - "register": control_EventContext_register__P42194, - "unregister": control_EventContext_unregister__P42195, - "registerFrameHandler": control_EventContext_registerFrameHandler__P42196, - "registerHandler": control_EventContext_registerHandler__P42198, + "deltaTime": control_EventContext_deltaTime__P272216, + "runCallbacks": control_EventContext_runCallbacks__P276302, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P276303, + "register": control_EventContext_register__P272217, + "unregister": control_EventContext_unregister__P272218, + "registerFrameHandler": control_EventContext_registerFrameHandler__P272219, + "registerHandler": control_EventContext_registerHandler__P272221, }, }); -const control_FrameCallback__C42185_VT = mkVTable({ +const control_FrameCallback__C272208_VT = mkVTable({ name: "FrameCallback", numFields: 2, - classNo: 30, - lastSubtypeNo: 30, + classNo: 27, + lastSubtypeNo: 27, maxBgInstances: null, methods: { }, @@ -46638,43 +45671,43 @@ const control_FrameCallback__C42185_VT = mkVTable({ "set/handler": null, }, }); -const sprites_BaseSprite__C43888_VT = mkVTable({ +const sprites_BaseSprite__C273911_VT = mkVTable({ name: "BaseSprite", numFields: 2, - classNo: 31, - lastSubtypeNo: 34, + classNo: 28, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P43891, - "__draw": sprites_BaseSprite___draw__P43894, - "__drawCore": sprites_BaseSprite___drawCore__P43895, - "__update": sprites_BaseSprite___update__P43896, + "__visible": sprites_BaseSprite___visible__P273914, + "__draw": sprites_BaseSprite___draw__P273917, + "__drawCore": sprites_BaseSprite___drawCore__P273918, + "__update": sprites_BaseSprite___update__P273919, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P43891, - "z": sprites_BaseSprite_z__P43892, - "set/z": sprites_BaseSprite_z__P43893, - "__draw": sprites_BaseSprite___draw__P43894, - "__drawCore": sprites_BaseSprite___drawCore__P43895, - "__update": sprites_BaseSprite___update__P43896, + "__visible": sprites_BaseSprite___visible__P273914, + "z": sprites_BaseSprite_z__P273915, + "set/z": sprites_BaseSprite_z__P273916, + "__draw": sprites_BaseSprite___draw__P273917, + "__drawCore": sprites_BaseSprite___drawCore__P273918, + "__update": sprites_BaseSprite___update__P273919, }, }); -const particles_ParticleSource__C44945_VT = mkVTable({ +const particles_ParticleSource__C274968_VT = mkVTable({ name: "ParticleSource", numFields: 13, - classNo: 32, - lastSubtypeNo: 32, + classNo: 29, + lastSubtypeNo: 29, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P43891, - "__draw": particles_ParticleSource___draw__P44951, - "__drawCore": sprites_BaseSprite___drawCore__P43895, - "__update": sprites_BaseSprite___update__P43896, - "updateParticle": particles_ParticleSource_updateParticle__P47125, + "__visible": sprites_BaseSprite___visible__P273914, + "__draw": particles_ParticleSource___draw__P274974, + "__drawCore": sprites_BaseSprite___drawCore__P273918, + "__update": sprites_BaseSprite___update__P273919, + "updateParticle": particles_ParticleSource_updateParticle__P277147, }, iface: { "_z": null, @@ -46703,32 +45736,32 @@ const particles_ParticleSource__C44945_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P44951, - "_update": particles_ParticleSource__update__P44952, - "_prune": particles_ParticleSource__prune__P44953, - "setAcceleration": particles_ParticleSource_setAcceleration__P44954, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P44956, - "enabled": particles_ParticleSource_enabled__P44957, - "set/enabled": particles_ParticleSource_enabled__P44958, - "destroy": particles_ParticleSource_destroy__P44959, - "clear": particles_ParticleSource_clear__P44960, - "setAnchor": particles_ParticleSource_setAnchor__P44961, - "setRate": particles_ParticleSource_setRate__P44962, - "setFactory": particles_ParticleSource_setFactory__P44964, - "updateParticle": particles_ParticleSource_updateParticle__P47125, - "drawParticle": particles_ParticleSource_drawParticle__P47126, - "__visible": sprites_BaseSprite___visible__P43891, - "z": sprites_BaseSprite_z__P43892, - "set/z": sprites_BaseSprite_z__P43893, - "__drawCore": sprites_BaseSprite___drawCore__P43895, - "__update": sprites_BaseSprite___update__P43896, + "__draw": particles_ParticleSource___draw__P274974, + "_update": particles_ParticleSource__update__P274975, + "_prune": particles_ParticleSource__prune__P274976, + "setAcceleration": particles_ParticleSource_setAcceleration__P274977, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P274979, + "enabled": particles_ParticleSource_enabled__P274980, + "set/enabled": particles_ParticleSource_enabled__P274981, + "destroy": particles_ParticleSource_destroy__P274982, + "clear": particles_ParticleSource_clear__P274983, + "setAnchor": particles_ParticleSource_setAnchor__P274984, + "setRate": particles_ParticleSource_setRate__P274985, + "setFactory": particles_ParticleSource_setFactory__P274987, + "updateParticle": particles_ParticleSource_updateParticle__P277147, + "drawParticle": particles_ParticleSource_drawParticle__P277148, + "__visible": sprites_BaseSprite___visible__P273914, + "z": sprites_BaseSprite_z__P273915, + "set/z": sprites_BaseSprite_z__P273916, + "__drawCore": sprites_BaseSprite___drawCore__P273918, + "__update": sprites_BaseSprite___update__P273919, }, }); -const control_EventHandler__C46275_VT = mkVTable({ +const control_EventHandler__C276297_VT = mkVTable({ name: "EventHandler", numFields: 4, - classNo: 35, - lastSubtypeNo: 35, + classNo: 32, + lastSubtypeNo: 32, maxBgInstances: null, methods: { }, @@ -46741,15 +45774,15 @@ const control_EventHandler__C46275_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P46276, - "unregister": control_EventHandler_unregister__P46277, + "register": control_EventHandler_register__P276298, + "unregister": control_EventHandler_unregister__P276299, }, }); -const scene_Scene__C44637_VT = mkVTable({ +const scene_Scene__C274660_VT = mkVTable({ name: "Scene", numFields: 25, - classNo: 36, - lastSubtypeNo: 36, + classNo: 33, + lastSubtypeNo: 33, maxBgInstances: null, methods: { }, @@ -46804,39 +45837,39 @@ const scene_Scene__C44637_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P44661, - "data": scene_Scene_data__P44662, - "millis": scene_Scene_millis__P44663, - "addSprite": scene_Scene_addSprite__P44664, - "render": scene_Scene_render__P44666, + "init": scene_Scene_init__P274684, + "data": scene_Scene_data__P274685, + "millis": scene_Scene_millis__P274686, + "addSprite": scene_Scene_addSprite__P274687, + "render": scene_Scene_render__P274689, }, }); -const PhysicsEngine__C44305_VT = mkVTable({ +const PhysicsEngine__C274328_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, - classNo: 37, - lastSubtypeNo: 38, + classNo: 34, + lastSubtypeNo: 35, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P44307, - "removeSprite": PhysicsEngine_removeSprite__P44308, - "moveSprite": PhysicsEngine_moveSprite__P44309, - "draw": PhysicsEngine_draw__P44310, - "move": PhysicsEngine_move__P44311, + "addSprite": PhysicsEngine_addSprite__P274330, + "removeSprite": PhysicsEngine_removeSprite__P274331, + "moveSprite": PhysicsEngine_moveSprite__P274332, + "draw": PhysicsEngine_draw__P274333, + "move": PhysicsEngine_move__P274334, }, iface: { - "addSprite": PhysicsEngine_addSprite__P44307, - "removeSprite": PhysicsEngine_removeSprite__P44308, - "moveSprite": PhysicsEngine_moveSprite__P44309, - "draw": PhysicsEngine_draw__P44310, - "move": PhysicsEngine_move__P44311, + "addSprite": PhysicsEngine_addSprite__P274330, + "removeSprite": PhysicsEngine_removeSprite__P274331, + "moveSprite": PhysicsEngine_moveSprite__P274332, + "draw": PhysicsEngine_draw__P274333, + "move": PhysicsEngine_move__P274334, }, }); -const scene_Camera__C44575_VT = mkVTable({ +const scene_Camera__C274598_VT = mkVTable({ name: "Camera", numFields: 10, - classNo: 39, - lastSubtypeNo: 39, + classNo: 36, + lastSubtypeNo: 36, maxBgInstances: null, methods: { }, @@ -46861,23 +45894,23 @@ const scene_Camera__C44575_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P44580, - "set/offsetX": scene_Camera_offsetX__P44581, - "offsetY": scene_Camera_offsetY__P44582, - "set/offsetY": scene_Camera_offsetY__P44583, - "x": scene_Camera_x__P44584, - "y": scene_Camera_y__P44585, - "left": scene_Camera_left__P44586, - "top": scene_Camera_top__P44588, - "isUpdated": scene_Camera_isUpdated__P44591, - "update": scene_Camera_update__P44592, + "offsetX": scene_Camera_offsetX__P274603, + "set/offsetX": scene_Camera_offsetX__P274604, + "offsetY": scene_Camera_offsetY__P274605, + "set/offsetY": scene_Camera_offsetY__P274606, + "x": scene_Camera_x__P274607, + "y": scene_Camera_y__P274608, + "left": scene_Camera_left__P274609, + "top": scene_Camera_top__P274611, + "isUpdated": scene_Camera_isUpdated__P274614, + "update": scene_Camera_update__P274615, }, }); -const scene_Background__C44463_VT = mkVTable({ +const scene_Background__C274486_VT = mkVTable({ name: "Background", numFields: 4, - classNo: 40, - lastSubtypeNo: 40, + classNo: 37, + lastSubtypeNo: 37, maxBgInstances: null, methods: { }, @@ -46890,16 +45923,16 @@ const scene_Background__C44463_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P44469, - "set/image": scene_Background_image__P44470, - "draw": scene_Background_draw__P44472, + "image": scene_Background_image__P274492, + "set/image": scene_Background_image__P274493, + "draw": scene_Background_draw__P274495, }, }); -const scene_BackgroundLayer__C44473_VT = mkVTable({ +const scene_BackgroundLayer__C274496_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, - classNo: 41, - lastSubtypeNo: 41, + classNo: 38, + lastSubtypeNo: 38, maxBgInstances: null, methods: { }, @@ -46916,23 +45949,23 @@ const scene_BackgroundLayer__C44473_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P44481, + "draw": scene_BackgroundLayer_draw__P274504, }, }); -const Sprite__C44135_VT = mkVTable({ +const Sprite__C274158_VT = mkVTable({ name: "Sprite", numFields: 30, - classNo: 33, - lastSubtypeNo: 33, + classNo: 30, + lastSubtypeNo: 30, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P44190, - "__draw": sprites_BaseSprite___draw__P43894, - "__drawCore": Sprite___drawCore__P44209, - "__update": Sprite___update__P44210, - "setHitbox": Sprite_setHitbox__P44188, - "recalcSize": Sprite_recalcSize__P46591, - "drawSprite": Sprite_drawSprite__P46595, + "__visible": Sprite___visible__P274213, + "__draw": sprites_BaseSprite___draw__P273917, + "__drawCore": Sprite___drawCore__P274232, + "__update": Sprite___update__P274233, + "setHitbox": Sprite_setHitbox__P274211, + "recalcSize": Sprite_recalcSize__P276613, + "drawSprite": Sprite_drawSprite__P276617, }, iface: { "_z": null, @@ -46995,71 +46028,71 @@ const Sprite__C44135_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P44148, - "set/x": Sprite_x__P44149, - "y": Sprite_y__P44150, - "set/y": Sprite_y__P44151, - "vx": Sprite_vx__P44152, - "set/vx": Sprite_vx__P44153, - "vy": Sprite_vy__P44154, - "set/vy": Sprite_vy__P44155, - "ax": Sprite_ax__P44156, - "set/ax": Sprite_ax__P44157, - "ay": Sprite_ay__P44158, - "set/ay": Sprite_ay__P44159, - "fx": Sprite_fx__P44160, - "set/fx": Sprite_fx__P44161, - "fy": Sprite_fy__P44162, - "set/fy": Sprite_fy__P44163, - "sx": Sprite_sx__P44164, - "sy": Sprite_sy__P44166, - "data": Sprite_data__P44170, - "set/data": Sprite_data__P44171, - "image": Sprite_image__P44184, - "setImage": Sprite_setImage__P44185, - "calcDimensionalHash": Sprite_calcDimensionalHash__P44186, - "resetHitbox": Sprite_resetHitbox__P44187, - "setHitbox": Sprite_setHitbox__P44188, - "isStatic": Sprite_isStatic__P44189, - "__visible": Sprite___visible__P44190, - "recalcSize": Sprite_recalcSize__P46591, - "isScaled": Sprite_isScaled__P46592, - "width": Sprite_width__P44191, - "height": Sprite_height__P44192, - "left": Sprite_left__P44193, - "set/left": Sprite_left__P44194, - "right": Sprite_right__P44195, - "set/right": Sprite_right__P44196, - "top": Sprite_top__P44197, - "set/top": Sprite_top__P44198, - "bottom": Sprite_bottom__P44199, - "set/bottom": Sprite_bottom__P44200, - "kind": Sprite_kind__P44201, - "setKind": Sprite_setKind__P44202, - "isOutOfScreen": Sprite_isOutOfScreen__P44208, - "__drawCore": Sprite___drawCore__P44209, - "__update": Sprite___update__P44210, - "setFlag": Sprite_setFlag__P44213, - "overlapsWith": Sprite_overlapsWith__P44214, - "clearObstacles": Sprite_clearObstacles__P44219, - "registerObstacle": Sprite_registerObstacle__P44220, - "destroy": Sprite_destroy__P44222, - "_destroyCore": Sprite__destroyCore__P44223, - "toString": Sprite_toString__P44228, - "drawSay": Sprite_drawSay__P46593, - "drawDebug": Sprite_drawDebug__P46594, - "drawSprite": Sprite_drawSprite__P46595, - "z": sprites_BaseSprite_z__P43892, - "set/z": sprites_BaseSprite_z__P43893, - "__draw": sprites_BaseSprite___draw__P43894, + "x": Sprite_x__P274171, + "set/x": Sprite_x__P274172, + "y": Sprite_y__P274173, + "set/y": Sprite_y__P274174, + "vx": Sprite_vx__P274175, + "set/vx": Sprite_vx__P274176, + "vy": Sprite_vy__P274177, + "set/vy": Sprite_vy__P274178, + "ax": Sprite_ax__P274179, + "set/ax": Sprite_ax__P274180, + "ay": Sprite_ay__P274181, + "set/ay": Sprite_ay__P274182, + "fx": Sprite_fx__P274183, + "set/fx": Sprite_fx__P274184, + "fy": Sprite_fy__P274185, + "set/fy": Sprite_fy__P274186, + "sx": Sprite_sx__P274187, + "sy": Sprite_sy__P274189, + "data": Sprite_data__P274193, + "set/data": Sprite_data__P274194, + "image": Sprite_image__P274207, + "setImage": Sprite_setImage__P274208, + "calcDimensionalHash": Sprite_calcDimensionalHash__P274209, + "resetHitbox": Sprite_resetHitbox__P274210, + "setHitbox": Sprite_setHitbox__P274211, + "isStatic": Sprite_isStatic__P274212, + "__visible": Sprite___visible__P274213, + "recalcSize": Sprite_recalcSize__P276613, + "isScaled": Sprite_isScaled__P276614, + "width": Sprite_width__P274214, + "height": Sprite_height__P274215, + "left": Sprite_left__P274216, + "set/left": Sprite_left__P274217, + "right": Sprite_right__P274218, + "set/right": Sprite_right__P274219, + "top": Sprite_top__P274220, + "set/top": Sprite_top__P274221, + "bottom": Sprite_bottom__P274222, + "set/bottom": Sprite_bottom__P274223, + "kind": Sprite_kind__P274224, + "setKind": Sprite_setKind__P274225, + "isOutOfScreen": Sprite_isOutOfScreen__P274231, + "__drawCore": Sprite___drawCore__P274232, + "__update": Sprite___update__P274233, + "setFlag": Sprite_setFlag__P274236, + "overlapsWith": Sprite_overlapsWith__P274237, + "clearObstacles": Sprite_clearObstacles__P274242, + "registerObstacle": Sprite_registerObstacle__P274243, + "destroy": Sprite_destroy__P274245, + "_destroyCore": Sprite__destroyCore__P274246, + "toString": Sprite_toString__P274251, + "drawSay": Sprite_drawSay__P276615, + "drawDebug": Sprite_drawDebug__P276616, + "drawSprite": Sprite_drawSprite__P276617, + "z": sprites_BaseSprite_z__P273915, + "set/z": sprites_BaseSprite_z__P273916, + "__draw": sprites_BaseSprite___draw__P273917, }, - toStringMethod: Sprite_toString__P44228, + toStringMethod: Sprite_toString__P274251, }); -const tiles_TileMap__C44529_VT = mkVTable({ +const tiles_TileMap__C274552_VT = mkVTable({ name: "TileMap", numFields: 5, - classNo: 42, - lastSubtypeNo: 42, + classNo: 39, + lastSubtypeNo: 39, maxBgInstances: null, methods: { }, @@ -47074,29 +46107,29 @@ const tiles_TileMap__C44529_VT = mkVTable({ "set/renderable": null, "handlerState": null, "set/handlerState": null, - "scale": tiles_TileMap_scale__P44532, - "set/scale": tiles_TileMap_scale__P44533, - "data": tiles_TileMap_data__P44534, - "offsetX": tiles_TileMap_offsetX__P44535, - "offsetY": tiles_TileMap_offsetY__P44536, - "areaWidth": tiles_TileMap_areaWidth__P44537, - "areaHeight": tiles_TileMap_areaHeight__P44538, - "layer": tiles_TileMap_layer__P44539, - "enabled": tiles_TileMap_enabled__P44541, - "getTile": tiles_TileMap_getTile__P44543, - "getTileIndex": tiles_TileMap_getTileIndex__P44544, - "draw": tiles_TileMap_draw__P46712, - "isObstacle": tiles_TileMap_isObstacle__P44550, - "getObstacle": tiles_TileMap_getObstacle__P44551, - "isOnWall": tiles_TileMap_isOnWall__P44552, - "getTileImage": tiles_TileMap_getTileImage__P44553, + "scale": tiles_TileMap_scale__P274555, + "set/scale": tiles_TileMap_scale__P274556, + "data": tiles_TileMap_data__P274557, + "offsetX": tiles_TileMap_offsetX__P274558, + "offsetY": tiles_TileMap_offsetY__P274559, + "areaWidth": tiles_TileMap_areaWidth__P274560, + "areaHeight": tiles_TileMap_areaHeight__P274561, + "layer": tiles_TileMap_layer__P274562, + "enabled": tiles_TileMap_enabled__P274564, + "getTile": tiles_TileMap_getTile__P274566, + "getTileIndex": tiles_TileMap_getTileIndex__P274567, + "draw": tiles_TileMap_draw__P276734, + "isObstacle": tiles_TileMap_isObstacle__P274573, + "getObstacle": tiles_TileMap_getObstacle__P274574, + "isOnWall": tiles_TileMap_isOnWall__P274575, + "getTileImage": tiles_TileMap_getTileImage__P274576, }, }); -const tiles_TileMapData__C44511_VT = mkVTable({ +const tiles_TileMapData__C274534_VT = mkVTable({ name: "TileMapData", numFields: 7, - classNo: 43, - lastSubtypeNo: 43, + classNo: 40, + lastSubtypeNo: 40, maxBgInstances: null, methods: { }, @@ -47115,28 +46148,28 @@ const tiles_TileMapData__C44511_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P44513, - "height": tiles_TileMapData_height__P44514, - "scale": tiles_TileMapData_scale__P44515, - "set/scale": tiles_TileMapData_scale__P44516, - "getTile": tiles_TileMapData_getTile__P44517, - "getTileImage": tiles_TileMapData_getTileImage__P44520, - "isWall": tiles_TileMapData_isWall__P44522, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P44523, + "width": tiles_TileMapData_width__P274536, + "height": tiles_TileMapData_height__P274537, + "scale": tiles_TileMapData_scale__P274538, + "set/scale": tiles_TileMapData_scale__P274539, + "getTile": tiles_TileMapData_getTile__P274540, + "getTileImage": tiles_TileMapData_getTileImage__P274543, + "isWall": tiles_TileMapData_isWall__P274545, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P274546, }, }); -const ArcadePhysicsEngine__C44321_VT = mkVTable({ +const ArcadePhysicsEngine__C274344_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, - classNo: 38, - lastSubtypeNo: 38, + classNo: 35, + lastSubtypeNo: 35, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P44330, - "removeSprite": ArcadePhysicsEngine_removeSprite__P44331, - "moveSprite": ArcadePhysicsEngine_moveSprite__P44335, - "draw": ArcadePhysicsEngine_draw__P44332, - "move": ArcadePhysicsEngine_move__P44333, + "addSprite": ArcadePhysicsEngine_addSprite__P274353, + "removeSprite": ArcadePhysicsEngine_removeSprite__P274354, + "moveSprite": ArcadePhysicsEngine_moveSprite__P274358, + "draw": ArcadePhysicsEngine_draw__P274355, + "move": ArcadePhysicsEngine_move__P274356, }, iface: { "sprites": null, @@ -47151,31 +46184,31 @@ const ArcadePhysicsEngine__C44321_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P44323, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P44324, - "minStep": ArcadePhysicsEngine_minStep__P44325, - "set/minStep": ArcadePhysicsEngine_minStep__P44326, - "maxStep": ArcadePhysicsEngine_maxStep__P44327, - "set/maxStep": ArcadePhysicsEngine_maxStep__P44328, - "addSprite": ArcadePhysicsEngine_addSprite__P44330, - "removeSprite": ArcadePhysicsEngine_removeSprite__P44331, - "draw": ArcadePhysicsEngine_draw__P44332, - "move": ArcadePhysicsEngine_move__P44333, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P46636, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P46637, - "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P46638, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P46639, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P46640, - "moveSprite": ArcadePhysicsEngine_moveSprite__P44335, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P46641, - "constrain": ArcadePhysicsEngine_constrain__P46642, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P274346, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P274347, + "minStep": ArcadePhysicsEngine_minStep__P274348, + "set/minStep": ArcadePhysicsEngine_minStep__P274349, + "maxStep": ArcadePhysicsEngine_maxStep__P274350, + "set/maxStep": ArcadePhysicsEngine_maxStep__P274351, + "addSprite": ArcadePhysicsEngine_addSprite__P274353, + "removeSprite": ArcadePhysicsEngine_removeSprite__P274354, + "draw": ArcadePhysicsEngine_draw__P274355, + "move": ArcadePhysicsEngine_move__P274356, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P276658, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P276659, + "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P276660, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P276661, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P276662, + "moveSprite": ArcadePhysicsEngine_moveSprite__P274358, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P276663, + "constrain": ArcadePhysicsEngine_constrain__P276664, }, }); -const sprites_SpriteMap__C44240_VT = mkVTable({ +const sprites_SpriteMap__C274263_VT = mkVTable({ name: "SpriteMap", numFields: 5, - classNo: 44, - lastSubtypeNo: 44, + classNo: 41, + lastSubtypeNo: 41, maxBgInstances: null, methods: { }, @@ -47190,43 +46223,43 @@ const sprites_SpriteMap__C44240_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P44242, - "overlaps": sprites_SpriteMap_overlaps__P44243, - "draw": sprites_SpriteMap_draw__P44244, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P44245, - "clear": sprites_SpriteMap_clear__P44246, - "key": sprites_SpriteMap_key__P46599, - "insertAtKey": sprites_SpriteMap_insertAtKey__P46600, - "insertAABB": sprites_SpriteMap_insertAABB__P44247, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P46601, - "toString": sprites_SpriteMap_toString__P44248, + "neighbors": sprites_SpriteMap_neighbors__P274265, + "overlaps": sprites_SpriteMap_overlaps__P274266, + "draw": sprites_SpriteMap_draw__P274267, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P274268, + "clear": sprites_SpriteMap_clear__P274269, + "key": sprites_SpriteMap_key__P276621, + "insertAtKey": sprites_SpriteMap_insertAtKey__P276622, + "insertAABB": sprites_SpriteMap_insertAABB__P274270, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P276623, + "toString": sprites_SpriteMap_toString__P274271, }, - toStringMethod: sprites_SpriteMap_toString__P44248, + toStringMethod: sprites_SpriteMap_toString__P274271, }); -const sprites_SpriteSet__C44257_VT = mkVTable({ +const sprites_SpriteSet__C274280_VT = mkVTable({ name: "SpriteSet", numFields: 1, - classNo: 45, - lastSubtypeNo: 45, + classNo: 42, + lastSubtypeNo: 42, maxBgInstances: null, methods: { }, iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P44260, - "add": sprites_SpriteSet_add__P44262, - "remove": sprites_SpriteSet_remove__P44264, - "contains": sprites_SpriteSet_contains__P44265, - "toString": sprites_SpriteSet_toString__P44268, + "length": sprites_SpriteSet_length__P274283, + "add": sprites_SpriteSet_add__P274285, + "remove": sprites_SpriteSet_remove__P274287, + "contains": sprites_SpriteSet_contains__P274288, + "toString": sprites_SpriteSet_toString__P274291, }, - toStringMethod: sprites_SpriteSet_toString__P44268, + toStringMethod: sprites_SpriteSet_toString__P274291, }); -const game_Hitbox__C44002_VT = mkVTable({ +const game_Hitbox__C274025_VT = mkVTable({ name: "Hitbox", numFields: 6, - classNo: 46, - lastSubtypeNo: 46, + classNo: 43, + lastSubtypeNo: 43, maxBgInstances: null, methods: { }, @@ -47243,21 +46276,21 @@ const game_Hitbox__C44002_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P44010, - "top": game_Hitbox_top__P44011, - "right": game_Hitbox_right__P44012, - "bottom": game_Hitbox_bottom__P44013, - "isValid": game_Hitbox_isValid__P44014, - "contains": game_Hitbox_contains__P44015, - "updateIfInvalid": game_Hitbox_updateIfInvalid__P44016, - "overlapsWith": game_Hitbox_overlapsWith__P44017, + "left": game_Hitbox_left__P274033, + "top": game_Hitbox_top__P274034, + "right": game_Hitbox_right__P274035, + "bottom": game_Hitbox_bottom__P274036, + "isValid": game_Hitbox_isValid__P274037, + "contains": game_Hitbox_contains__P274038, + "updateIfInvalid": game_Hitbox_updateIfInvalid__P274039, + "overlapsWith": game_Hitbox_overlapsWith__P274040, }, }); -const control_PollEvent__C46254_VT = mkVTable({ +const control_PollEvent__C276276_VT = mkVTable({ name: "PollEvent", numFields: 6, - classNo: 47, - lastSubtypeNo: 47, + classNo: 44, + lastSubtypeNo: 44, maxBgInstances: null, methods: { }, @@ -47276,11 +46309,11 @@ const control_PollEvent__C46254_VT = mkVTable({ "set/once": null, }, }); -const scene_systemMenu_PauseMenu__C44889_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C274912_VT = mkVTable({ name: "PauseMenu", numFields: 7, - classNo: 48, - lastSubtypeNo: 48, + classNo: 45, + lastSubtypeNo: 45, maxBgInstances: null, methods: { }, @@ -47299,19 +46332,19 @@ const scene_systemMenu_PauseMenu__C44889_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P44891, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P44892, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P44893, - "drawText": scene_systemMenu_PauseMenu_drawText__P44894, - "dispose": scene_systemMenu_PauseMenu_dispose__P44895, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P47040, + "show": scene_systemMenu_PauseMenu_show__P274914, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P274915, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P274916, + "drawText": scene_systemMenu_PauseMenu_drawText__P274917, + "dispose": scene_systemMenu_PauseMenu_dispose__P274918, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P277062, }, }); -const scene_systemMenu_MenuOption__C44881_VT = mkVTable({ +const scene_systemMenu_MenuOption__C274904_VT = mkVTable({ name: "MenuOption", numFields: 8, - classNo: 49, - lastSubtypeNo: 49, + classNo: 46, + lastSubtypeNo: 46, maxBgInstances: null, methods: { }, @@ -47332,20 +46365,20 @@ const scene_systemMenu_MenuOption__C44881_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P44883, - "position": scene_systemMenu_MenuOption_position__P44884, - "setOffset": scene_systemMenu_MenuOption_setOffset__P44885, - "setTheme": scene_systemMenu_MenuOption_setTheme__P44886, - "setState": scene_systemMenu_MenuOption_setState__P44887, - "dispose": scene_systemMenu_MenuOption_dispose__P44888, - "updateCard": scene_systemMenu_MenuOption_updateCard__P47039, + "show": scene_systemMenu_MenuOption_show__P274906, + "position": scene_systemMenu_MenuOption_position__P274907, + "setOffset": scene_systemMenu_MenuOption_setOffset__P274908, + "setTheme": scene_systemMenu_MenuOption_setTheme__P274909, + "setState": scene_systemMenu_MenuOption_setState__P274910, + "dispose": scene_systemMenu_MenuOption_dispose__P274911, + "updateCard": scene_systemMenu_MenuOption_updateCard__P277061, }, }); -const effects_ParticleEffect__C45056_VT = mkVTable({ +const effects_ParticleEffect__C275079_VT = mkVTable({ name: "ParticleEffect", numFields: 3, - classNo: 50, - lastSubtypeNo: 51, + classNo: 47, + lastSubtypeNo: 48, maxBgInstances: null, methods: { }, @@ -47356,15 +46389,15 @@ const effects_ParticleEffect__C45056_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P45058, - "destroy": effects_ParticleEffect_destroy__P45059, + "start": effects_ParticleEffect_start__P275081, + "destroy": effects_ParticleEffect_destroy__P275082, }, }); -const effects_ImageEffect__C45084_VT = mkVTable({ +const effects_ImageEffect__C275107_VT = mkVTable({ name: "ImageEffect", numFields: 4, - classNo: 52, - lastSubtypeNo: 52, + classNo: 49, + lastSubtypeNo: 49, maxBgInstances: null, methods: { }, @@ -47377,21 +46410,21 @@ const effects_ImageEffect__C45084_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P45086, - "change": effects_ImageEffect_change__P45087, + "applyTo": effects_ImageEffect_applyTo__P275109, + "change": effects_ImageEffect_change__P275110, }, }); -const scene_Renderable__C44594_VT = mkVTable({ +const scene_Renderable__C274617_VT = mkVTable({ name: "Renderable", numFields: 4, - classNo: 34, - lastSubtypeNo: 34, + classNo: 31, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P44596, - "__draw": sprites_BaseSprite___draw__P43894, - "__drawCore": scene_Renderable___drawCore__P44597, - "__update": sprites_BaseSprite___update__P43896, + "__visible": scene_Renderable___visible__P274619, + "__draw": sprites_BaseSprite___draw__P273917, + "__drawCore": scene_Renderable___drawCore__P274620, + "__update": sprites_BaseSprite___update__P273919, }, iface: { "_z": null, @@ -47402,19 +46435,19 @@ const scene_Renderable__C44594_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P44596, - "__drawCore": scene_Renderable___drawCore__P44597, - "z": sprites_BaseSprite_z__P43892, - "set/z": sprites_BaseSprite_z__P43893, - "__draw": sprites_BaseSprite___draw__P43894, - "__update": sprites_BaseSprite___update__P43896, + "__visible": scene_Renderable___visible__P274619, + "__drawCore": scene_Renderable___drawCore__P274620, + "z": sprites_BaseSprite_z__P273915, + "set/z": sprites_BaseSprite_z__P273916, + "__draw": sprites_BaseSprite___draw__P273917, + "__update": sprites_BaseSprite___update__P273919, }, }); -const controller_ButtonHandler__C43977_VT = mkVTable({ +const controller_ButtonHandler__C274000_VT = mkVTable({ name: "ButtonHandler", numFields: 2, - classNo: 53, - lastSubtypeNo: 53, + classNo: 50, + lastSubtypeNo: 50, maxBgInstances: null, methods: { }, @@ -47425,11 +46458,11 @@ const controller_ButtonHandler__C43977_VT = mkVTable({ "set/callback": null, }, }); -const controller_ButtonEventHandlerState__C43979_VT = mkVTable({ +const controller_ButtonEventHandlerState__C274002_VT = mkVTable({ name: "ButtonEventHandlerState", numFields: 3, - classNo: 54, - lastSubtypeNo: 54, + classNo: 51, + lastSubtypeNo: 51, maxBgInstances: null, methods: { }, @@ -47442,11 +46475,11 @@ const controller_ButtonEventHandlerState__C43979_VT = mkVTable({ "set/system": null, }, }); -const effects_ScreenEffect__C45060_VT = mkVTable({ +const effects_ScreenEffect__C275083_VT = mkVTable({ name: "ScreenEffect", numFields: 5, - classNo: 51, - lastSubtypeNo: 51, + classNo: 48, + lastSubtypeNo: 48, maxBgInstances: null, methods: { }, @@ -47461,34 +46494,34 @@ const effects_ScreenEffect__C45060_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P45058, - "destroy": effects_ParticleEffect_destroy__P45059, + "start": effects_ParticleEffect_start__P275081, + "destroy": effects_ParticleEffect_destroy__P275082, }, }); -const particles_ParticleFactory__C44981_VT = mkVTable({ +const particles_ParticleFactory__C275004_VT = mkVTable({ name: "ParticleFactory", numFields: 0, - classNo: 55, - lastSubtypeNo: 59, + classNo: 52, + lastSubtypeNo: 56, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P44983, - "drawParticle": particles_ParticleFactory_drawParticle__P44984, + "createParticle": particles_ParticleFactory_createParticle__P275006, + "drawParticle": particles_ParticleFactory_drawParticle__P275007, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P44983, - "drawParticle": particles_ParticleFactory_drawParticle__P44984, + "createParticle": particles_ParticleFactory_createParticle__P275006, + "drawParticle": particles_ParticleFactory_drawParticle__P275007, }, }); -const particles_SprayFactory__C44985_VT = mkVTable({ +const particles_SprayFactory__C275008_VT = mkVTable({ name: "SprayFactory", numFields: 3, - classNo: 56, - lastSubtypeNo: 59, + classNo: 53, + lastSubtypeNo: 56, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P44987, - "drawParticle": particles_SprayFactory_drawParticle__P44988, + "createParticle": particles_SprayFactory_createParticle__P275010, + "drawParticle": particles_SprayFactory_drawParticle__P275011, }, iface: { "speed": null, @@ -47497,21 +46530,21 @@ const particles_SprayFactory__C44985_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P44987, - "drawParticle": particles_SprayFactory_drawParticle__P44988, - "setSpeed": particles_SprayFactory_setSpeed__P44989, - "setDirection": particles_SprayFactory_setDirection__P44990, + "createParticle": particles_SprayFactory_createParticle__P275010, + "drawParticle": particles_SprayFactory_drawParticle__P275011, + "setSpeed": particles_SprayFactory_setSpeed__P275012, + "setDirection": particles_SprayFactory_setDirection__P275013, }, }); -const particles_AreaFactory__C44991_VT = mkVTable({ +const particles_AreaFactory__C275014_VT = mkVTable({ name: "AreaFactory", numFields: 8, - classNo: 57, - lastSubtypeNo: 59, + classNo: 54, + lastSubtypeNo: 56, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P44997, - "drawParticle": particles_AreaFactory_drawParticle__P44998, + "createParticle": particles_AreaFactory_createParticle__P275020, + "drawParticle": particles_AreaFactory_drawParticle__P275021, }, iface: { "speed": null, @@ -47530,21 +46563,21 @@ const particles_AreaFactory__C44991_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P44997, - "drawParticle": particles_AreaFactory_drawParticle__P44998, - "setSpeed": particles_SprayFactory_setSpeed__P44989, - "setDirection": particles_SprayFactory_setDirection__P44990, + "createParticle": particles_AreaFactory_createParticle__P275020, + "drawParticle": particles_AreaFactory_drawParticle__P275021, + "setSpeed": particles_SprayFactory_setSpeed__P275012, + "setDirection": particles_SprayFactory_setDirection__P275013, }, }); -const particles_ShapeFactory__C45007_VT = mkVTable({ +const particles_ShapeFactory__C275030_VT = mkVTable({ name: "ShapeFactory", numFields: 11, - classNo: 58, - lastSubtypeNo: 59, + classNo: 55, + lastSubtypeNo: 56, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P45011, - "drawParticle": particles_ShapeFactory_drawParticle__P45010, + "createParticle": particles_ShapeFactory_createParticle__P275034, + "drawParticle": particles_ShapeFactory_drawParticle__P275033, }, iface: { "speed": null, @@ -47569,22 +46602,22 @@ const particles_ShapeFactory__C45007_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P45009, - "drawParticle": particles_ShapeFactory_drawParticle__P45010, - "createParticle": particles_ShapeFactory_createParticle__P45011, - "setSpeed": particles_SprayFactory_setSpeed__P44989, - "setDirection": particles_SprayFactory_setDirection__P44990, + "addShape": particles_ShapeFactory_addShape__P275032, + "drawParticle": particles_ShapeFactory_drawParticle__P275033, + "createParticle": particles_ShapeFactory_createParticle__P275034, + "setSpeed": particles_SprayFactory_setSpeed__P275012, + "setDirection": particles_SprayFactory_setDirection__P275013, }, }); -const particles_ConfettiFactory__C45012_VT = mkVTable({ +const particles_ConfettiFactory__C275035_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, - classNo: 59, - lastSubtypeNo: 59, + classNo: 56, + lastSubtypeNo: 56, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P45011, - "drawParticle": particles_ShapeFactory_drawParticle__P45010, + "createParticle": particles_ShapeFactory_createParticle__P275034, + "drawParticle": particles_ShapeFactory_drawParticle__P275033, }, iface: { "speed": null, @@ -47609,18 +46642,18 @@ const particles_ConfettiFactory__C45012_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P45009, - "drawParticle": particles_ShapeFactory_drawParticle__P45010, - "createParticle": particles_ShapeFactory_createParticle__P45011, - "setSpeed": particles_SprayFactory_setSpeed__P44989, - "setDirection": particles_SprayFactory_setDirection__P44990, + "addShape": particles_ShapeFactory_addShape__P275032, + "drawParticle": particles_ShapeFactory_drawParticle__P275033, + "createParticle": particles_ShapeFactory_createParticle__P275034, + "setSpeed": particles_SprayFactory_setSpeed__P275012, + "setDirection": particles_SprayFactory_setDirection__P275013, }, }); -const particles_Particle__C44926_VT = mkVTable({ +const particles_Particle__C274949_VT = mkVTable({ name: "Particle", numFields: 8, - classNo: 60, - lastSubtypeNo: 60, + classNo: 57, + lastSubtypeNo: 57, maxBgInstances: 200, methods: { }, @@ -47643,11 +46676,11 @@ const particles_Particle__C44926_VT = mkVTable({ "set/color": null, }, }); -const music_Playable__C43705_VT = mkVTable({ +const music_Playable__C273728_VT = mkVTable({ name: "Playable", numFields: 1, - classNo: 61, - lastSubtypeNo: 62, + classNo: 58, + lastSubtypeNo: 59, maxBgInstances: null, methods: { }, @@ -47656,11 +46689,11 @@ const music_Playable__C43705_VT = mkVTable({ "set/stopped": null, }, }); -const music_MelodyPlayable__C43710_VT = mkVTable({ +const music_MelodyPlayable__C273733_VT = mkVTable({ name: "MelodyPlayable", numFields: 2, - classNo: 62, - lastSubtypeNo: 62, + classNo: 59, + lastSubtypeNo: 59, maxBgInstances: null, methods: { }, @@ -47671,11 +46704,11 @@ const music_MelodyPlayable__C43710_VT = mkVTable({ "set/melody": null, }, }); -const music_Melody__C43420_VT = mkVTable({ +const music_Melody__C273443_VT = mkVTable({ name: "Melody", numFields: 2, - classNo: 63, - lastSubtypeNo: 63, + classNo: 60, + lastSubtypeNo: 60, maxBgInstances: null, methods: { }, @@ -47684,15 +46717,15 @@ const music_Melody__C43420_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P43429, + "toString": music_Melody_toString__P273452, }, - toStringMethod: music_Melody_toString__P43429, + toStringMethod: music_Melody_toString__P273452, }); -const MovingSprite__C44319_VT = mkVTable({ +const MovingSprite__C274342_VT = mkVTable({ name: "MovingSprite", numFields: 7, - classNo: 64, - lastSubtypeNo: 64, + classNo: 61, + lastSubtypeNo: 61, maxBgInstances: null, methods: { }, @@ -47713,11 +46746,11 @@ const MovingSprite__C44319_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C44487_VT = mkVTable({ +const tiles_Location__C274510_VT = mkVTable({ name: "Location", numFields: 2, - classNo: 65, - lastSubtypeNo: 65, + classNo: 62, + lastSubtypeNo: 62, maxBgInstances: null, methods: { }, @@ -47726,21 +46759,21 @@ const tiles_Location__C44487_VT = mkVTable({ "set/_row": null, "_col": null, "set/_col": null, - "tileMap": tiles_Location_tileMap__P44489, - "column": tiles_Location_column__P44490, - "row": tiles_Location_row__P44491, - "x": tiles_Location_x__P44492, - "y": tiles_Location_y__P44493, - "left": tiles_Location_left__P44494, - "top": tiles_Location_top__P44495, - "tileSet": tiles_Location_tileSet__P44498, + "tileMap": tiles_Location_tileMap__P274512, + "column": tiles_Location_column__P274513, + "row": tiles_Location_row__P274514, + "x": tiles_Location_x__P274515, + "y": tiles_Location_y__P274516, + "left": tiles_Location_left__P274517, + "top": tiles_Location_top__P274518, + "tileSet": tiles_Location_tileSet__P274521, }, }); -const sprites_StaticObstacle__C44292_VT = mkVTable({ +const sprites_StaticObstacle__C274315_VT = mkVTable({ name: "StaticObstacle", numFields: 5, - classNo: 66, - lastSubtypeNo: 66, + classNo: 63, + lastSubtypeNo: 63, maxBgInstances: null, methods: { }, @@ -47755,22 +46788,22 @@ const sprites_StaticObstacle__C44292_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P44299, - "y": sprites_StaticObstacle_y__P44300, - "height": sprites_StaticObstacle_height__P44301, - "width": sprites_StaticObstacle_width__P44302, + "x": sprites_StaticObstacle_x__P274322, + "y": sprites_StaticObstacle_y__P274323, + "height": sprites_StaticObstacle_height__P274324, + "width": sprites_StaticObstacle_width__P274325, }, }); -const sprites_BaseSpriteSayRenderer__C44053_VT = mkVTable({ +const sprites_BaseSpriteSayRenderer__C274076_VT = mkVTable({ name: "BaseSpriteSayRenderer", numFields: 3, - classNo: 67, - lastSubtypeNo: 67, + classNo: 64, + lastSubtypeNo: 64, maxBgInstances: null, methods: { - "draw": sprites_BaseSpriteSayRenderer_draw__P44055, - "update": sprites_BaseSpriteSayRenderer_update__P44056, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P44057, + "draw": sprites_BaseSpriteSayRenderer_draw__P274078, + "update": sprites_BaseSpriteSayRenderer_update__P274079, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P274080, }, iface: { "text": null, @@ -47779,13 +46812,13 @@ const sprites_BaseSpriteSayRenderer__C44053_VT = mkVTable({ "set/fgColor": null, "bgColor": null, "set/bgColor": null, - "draw": sprites_BaseSpriteSayRenderer_draw__P44055, - "update": sprites_BaseSpriteSayRenderer_update__P44056, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P44057, + "draw": sprites_BaseSpriteSayRenderer_draw__P274078, + "update": sprites_BaseSpriteSayRenderer_update__P274079, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P274080, }, }); -const breakpoints = setupDebugger(1, ["d___114813","allPassed___114761"]) +const breakpoints = setupDebugger(1, ["buf___315203","allPassed___315150"]) -return _main___P115248 +return _main___P315607 }) diff --git a/assets/version.txt b/assets/version.txt index afaf360..1cc5f65 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -1.0.0 \ No newline at end of file +1.1.0 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 4a1e15b..26332be 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "pxt-typed-arrays", - "version": "1.0.0", + "version": "1.1.0", "description": "", "dependencies": { "device": "*"