From a656c93ec8b553923d2d890b405a8485d77de71b Mon Sep 17 00:00:00 2001 From: Joey Wunderlich Date: Sun, 22 Mar 2020 22:36:08 -0700 Subject: [PATCH] 0.1.3 --- assets/js/binary.js | 22544 +++++++++++++++++++++++------------------- assets/version.txt | 2 +- pxt.json | 2 +- 3 files changed, 12167 insertions(+), 10381 deletions(-) diff --git a/assets/js/binary.js b/assets/js/binary.js index 9173626..b96111d 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v0.16.45/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.1.2","target":"arcade","targetVersion":"0.16.45","repo":"jwunderl/pxt-color"} -// total=1277554 new=10.99% cached=83.80% other=5.21% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v0.16.45/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.1.3","target":"arcade","targetVersion":"0.16.45","repo":"jwunderl/pxt-color"} +// total=1322188 new=14.33% cached=80.55% other=5.12% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -45,6 +45,7 @@ pxtrt.mapKeyNames = [ "_action", "_ax", "_ay", + "_b", "_col", "_connected", "_controlledSprites", @@ -53,6 +54,7 @@ pxtrt.mapKeyNames = [ "_dt", "_endPalette", "_factory", + "_g", "_height", "_hitbox", "_id", @@ -74,6 +76,7 @@ pxtrt.mapKeyNames = [ "_pressed", "_pressedElasped", "_prune", + "_r", "_repeatCount", "_row", "_scale", @@ -104,6 +107,7 @@ pxtrt.mapKeyNames = [ "ay", "background", "basicCard", + "blue", "bottom", "buckets", "buf", @@ -126,6 +130,7 @@ pxtrt.mapKeyNames = [ "charWidth", "clear", "clearObstacles", + "clone", "collisionHandlers", "color", "columnCount", @@ -160,6 +165,7 @@ pxtrt.mapKeyNames = [ "effect", "eid", "enabled", + "endPalette", "eventContext", "fadeFactory", "fastRandom", @@ -168,6 +174,7 @@ pxtrt.mapKeyNames = [ "frameCallbacks", "frameWorker", "framesInSample", + "fromHexValue", "galois", "gameForeverHandlers", "generator", @@ -177,12 +184,14 @@ pxtrt.mapKeyNames = [ "getTile", "getTileImage", "getTileIndex", + "green", "handler", "handlers", "head", "headerFont", "headerText", "height", + "hexValue", "icon", "iconImage", "id", @@ -212,6 +221,7 @@ pxtrt.mapKeyNames = [ "lifespan", "lock", "map", + "mapEndRGB", "maxLifespan", "maxNegativeVelocity", "maxSingleStep", @@ -246,6 +256,7 @@ pxtrt.mapKeyNames = [ "padding", "parent", "particleSources", + "pauseUntilDone", "period", "physicsEngine", "pickRandom", @@ -260,6 +271,7 @@ pxtrt.mapKeyNames = [ "raiseButtonRepeat", "raiseButtonUp", "randomRange", + "red", "register", "registerFrameCallbacks", "registerFrameHandler", @@ -273,6 +285,7 @@ pxtrt.mapKeyNames = [ "repeatX", "repeatY", "resizeBuckets", + "reverse", "right", "rowCount", "runCallbacks", @@ -292,6 +305,7 @@ pxtrt.mapKeyNames = [ "setAnchor", "setColor", "setDirection", + "setEndColor", "setEndPalette", "setFactory", "setFlag", @@ -303,6 +317,7 @@ pxtrt.mapKeyNames = [ "setRelativeToCamera", "setSelection", "setSpeed", + "setStartPalette", "setState", "setTheme", "shakeAmplitude", @@ -325,6 +340,7 @@ pxtrt.mapKeyNames = [ "startPalette", "startScreenEffect", "startTime", + "startUntilDone", "state", "step", "stop", @@ -391,7 +407,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P496870(s) { +function _main___P36808(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -401,229 +417,229 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - globals._pollEventQueue___477660 = (undefined); - globals._intervals___477667 = (undefined); - globals.minPriority___477684 = (1); + globals._pollEventQueue___15834 = (undefined); + globals._intervals___15841 = (undefined); + globals.minPriority___15858 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, inline__P477685); - globals.listeners___477686 = (s.tmp_0); - globals.globalVolume___477851 = (null); - globals.playToneID___477861 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C477865_VT); + r0 = pxsim_Array__push(s.tmp_0, inline__P15859); + globals.listeners___15860 = (s.tmp_0); + globals.globalVolume___16025 = (null); + globals.playToneID___16035 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C16039_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P477877_mk(s); + s.tmp_1 = music_Melody_constructor__P16051_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.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - globals.wawawawaa___477886 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C477865_VT); + globals.wawawawaa___16060 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C16039_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P477877_mk(s); + s.tmp_1 = music_Melody_constructor__P16051_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "g4:1 c5 e g:2 e:1 g:3"; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - globals.powerUp___477892 = (s.tmp_0); - globals.brightness___477927 = (100); + globals.powerUp___16066 = (s.tmp_0); + globals.brightness___16101 = (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", _hex485020); - globals.font8___477950 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex22298); + globals.font8___16124 = (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", _hex485022); - globals.font12___477952 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex22300); + globals.font12___16126 = (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", _hex486546); - globals.font5___477957 = (s.tmp_0); - globals.__updated___477964 = (false); - r0 = pxsim.control.runInParallel(inline__P477969); - r0 = pxsim_pxtcore.setPalette(_hex477995); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex23824); + globals.font5___16131 = (s.tmp_0); + globals.__updated___16138 = (false); + r0 = pxsim.control.runInParallel(inline__P16143); + r0 = pxsim_pxtcore.setPalette(_hex16169); r0 = pxsim.image.create(160, 120); - globals.screen___477998 = (r0); - s.tmp_0 = control___screen_setupUpdate__P477966_mk(s); - s.tmp_0.arg0 = inline__P478003; + globals.screen___16172 = (r0); + s.tmp_0 = control___screen_setupUpdate__P16140_mk(s); + s.tmp_0.arg0 = inline__P16177; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___477732 = (inline__P478008); - globals.RUN_KEY___478015 = ("#run"); - globals.SCOPE_KEY___478016 = ("#scope"); - s.tmp_0 = settings_initScopes__P478028_mk(s); + globals.control_EventContext_onStats___15906 = (inline__P16182); + globals.RUN_KEY___16189 = ("#run"); + globals.SCOPE_KEY___16190 = ("#scope"); + s.tmp_0 = settings_initScopes__P16202_mk(s); s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C478114_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C16288_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P478125_mk(s); + s.tmp_1 = controller_Button_constructor__P16299_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.A___478085 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C478114_VT); + globals.A___16259 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C16288_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P478125_mk(s); + s.tmp_1 = controller_Button_constructor__P16299_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - globals.B___478087 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C478114_VT); + globals.B___16261 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C16288_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P478125_mk(s); + s.tmp_1 = controller_Button_constructor__P16299_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.left___478089 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C478114_VT); + globals.left___16263 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C16288_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P478125_mk(s); + s.tmp_1 = controller_Button_constructor__P16299_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.up___478091 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C478114_VT); + globals.up___16265 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C16288_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P478125_mk(s); + s.tmp_1 = controller_Button_constructor__P16299_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.right___478093 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C478114_VT); + globals.right___16267 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C16288_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P478125_mk(s); + s.tmp_1 = controller_Button_constructor__P16299_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.down___478095 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C478114_VT); + globals.down___16269 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C16288_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P478125_mk(s); + s.tmp_1 = controller_Button_constructor__P16299_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.menu___478097 = (s.tmp_0); - globals._userEventsEnabled___478107 = (true); - globals.defaultRepeatDelay___478109 = (500); - globals.defaultRepeatInterval___478111 = (30); - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C478126_VT); + globals.menu___16271 = (s.tmp_0); + globals._userEventsEnabled___16281 = (true); + globals.defaultRepeatDelay___16283 = (500); + globals.defaultRepeatInterval___16285 = (30); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C16300_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P478125_mk(s); + s.tmp_1 = controller_Button_constructor__P16299_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.anyButton___478170 = (s.tmp_0); - s.tmp_0 = SpriteKind_create__P478273_mk(s); + globals.anyButton___16344 = (s.tmp_0); + s.tmp_0 = SpriteKind_create__P16447_mk(s); s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.Player___478275 = (r0); - s.tmp_0 = SpriteKind_create__P478273_mk(s); + globals.Player___16449 = (r0); + s.tmp_0 = SpriteKind_create__P16447_mk(s); s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.Food___478280 = (r0); - s.tmp_0 = SpriteKind_create__P478273_mk(s); + globals.Food___16454 = (r0); + s.tmp_0 = SpriteKind_create__P16447_mk(s); s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.Enemy___478283 = (r0); + globals.Enemy___16457 = (r0); r0 = (100 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MAX_TIME_STEP___478305 = (r0); + globals.MAX_TIME_STEP___16479 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___478318 = (r0); - globals.infoState___478349 = (undefined); - s.tmp_0 = game_addScenePushHandler__P478353_mk(s); - s.tmp_0.arg0 = inline__P478354; + globals.MIN_MOVE_GAP___16492 = (r0); + globals.infoState___16523 = (undefined); + s.tmp_0 = game_addScenePushHandler__P16527_mk(s); + s.tmp_0.arg0 = inline__P16528; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P478370_mk(s); - s.tmp_0.arg0 = inline__P478371; + s.tmp_0 = game_addScenePopHandler__P16544_mk(s); + s.tmp_0.arg0 = inline__P16545; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___478601 = (r0); - globals.debug___478666 = (false); - globals.stats___478668 = (false); - globals.winEffect___478670 = (undefined); - globals.loseEffect___478672 = (undefined); - globals.loseSound___478674 = (undefined); - globals.winSound___478676 = (undefined); - globals.foreverRunning___478700 = (false); - s.tmp_0 = scene_systemMenu_initVolume__P479006_mk(s); + globals.scene_Scene_initializers___16775 = (r0); + globals.debug___16840 = (false); + globals.stats___16842 = (false); + globals.winEffect___16844 = (undefined); + globals.loseEffect___16846 = (undefined); + globals.loseSound___16848 = (undefined); + globals.winSound___16850 = (undefined); + globals.foreverRunning___16874 = (false); + s.tmp_0 = scene_systemMenu_initVolume__P17180_mk(s); s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___478601, scene_systemMenu_register__P479003); - r0 = pxsim.image.ofBuffer(_hex479012); - globals.CARD_NORMAL___479013 = (r0); - r0 = pxsim.image.ofBuffer(_hex479015); - globals.CARD_SELECTED___479016 = (r0); - r0 = pxsim.image.ofBuffer(_hex479018); - globals.CARD_ACTIVE___479019 = (r0); - r0 = pxsim.image.ofBuffer(_hex479021); - globals.VOLUME_UP_ICON___479022 = (r0); - r0 = pxsim.image.ofBuffer(_hex479024); - globals.BRIGHTNESS_DOWN_ICON___479025 = (r0); - r0 = pxsim.image.ofBuffer(_hex479027); - globals.CLOSE_MENU_ICON___479028 = (r0); - r0 = pxsim.image.ofBuffer(_hex479030); - globals.VOLUME_DOWN_ICON___479031 = (r0); - r0 = pxsim.image.ofBuffer(_hex479033); - globals.SLEEP_ICON___479034 = (r0); - r0 = pxsim.image.ofBuffer(_hex479036); - globals.CONSOLE_ICON___479037 = (r0); - r0 = pxsim.image.ofBuffer(_hex479039); - globals.BRIGHTNESS_UP_ICON___479040 = (r0); - r0 = pxsim.image.ofBuffer(_hex479042); - globals.STATS_ICON___479043 = (r0); - globals.consoleColor___479046 = (1); - globals.tabSize___479049 = (8); - globals.consoleFont___479055 = (globals.font5___477957); - r0 = pxsim_ImageMethods.height(globals.screen___477998); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___16775, scene_systemMenu_register__P17177); + r0 = pxsim.image.ofBuffer(_hex17186); + globals.CARD_NORMAL___17187 = (r0); + r0 = pxsim.image.ofBuffer(_hex17189); + globals.CARD_SELECTED___17190 = (r0); + r0 = pxsim.image.ofBuffer(_hex17192); + globals.CARD_ACTIVE___17193 = (r0); + r0 = pxsim.image.ofBuffer(_hex17195); + globals.VOLUME_UP_ICON___17196 = (r0); + r0 = pxsim.image.ofBuffer(_hex17198); + globals.BRIGHTNESS_DOWN_ICON___17199 = (r0); + r0 = pxsim.image.ofBuffer(_hex17201); + globals.CLOSE_MENU_ICON___17202 = (r0); + r0 = pxsim.image.ofBuffer(_hex17204); + globals.VOLUME_DOWN_ICON___17205 = (r0); + r0 = pxsim.image.ofBuffer(_hex17207); + globals.SLEEP_ICON___17208 = (r0); + r0 = pxsim.image.ofBuffer(_hex17210); + globals.CONSOLE_ICON___17211 = (r0); + r0 = pxsim.image.ofBuffer(_hex17213); + globals.BRIGHTNESS_UP_ICON___17214 = (r0); + r0 = pxsim.image.ofBuffer(_hex17216); + globals.STATS_ICON___17217 = (r0); + globals.consoleColor___17220 = (1); + globals.tabSize___17223 = (8); + globals.consoleFont___17229 = (globals.font5___16131); + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___479055; + s.tmp_5.arg0 = globals.consoleFont___17229; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -642,13 +658,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___479060 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___477998); + globals.consoleLines___17234 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___16172); 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___479055; + s.tmp_4.arg0 = globals.consoleFont___17229; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -663,22 +679,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___479071 = (r0); - s.tmp_0 = console_addListener__P477694_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P479083; + globals.consoleColumns___17245 = (r0); + s.tmp_0 = console_addListener__P15868_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P17257; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = inline__P479093; + s.tmp_0.argL = inline__P17267; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - globals.MAX_SOURCES___479091 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C479176_VT); + globals.MAX_SOURCES___17265 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C17350_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P479182_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P17356_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -686,130 +702,169 @@ switch (step) { s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - globals.defaultFactory___479132 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C478962_VT); + globals.defaultFactory___17306 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C17136_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P478969_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P17143_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - globals.galois___479155 = (s.tmp_0); - globals.angleSlice___479163 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C479249_VT); + globals.galois___17329 = (s.tmp_0); + globals.angleSlice___17337 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C17423_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P479253_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P17427_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 10; s.tmp_1.arg2 = 40; s.tmp_1.arg3 = 4000; - s.tmp_1.arg4 = inline__P483210; + s.tmp_1.arg4 = inline__P20250; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; - globals.confetti___479263 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C479290_VT); + globals.confetti___17437 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C17464_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P479294_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P17468_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = inline__P487334; + s.tmp_1.arg2 = inline__P24612; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.dissolve___479296 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C479290_VT); + globals.dissolve___17470 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C17464_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P479294_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P17468_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = inline__P483100; + s.tmp_1.arg2 = inline__P20140; s.pc = 27; return s.tmp_1; case 27: r0 = s.retval; - globals.melt___479298 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C479304_VT); + globals.melt___17472 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C17478_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P479305_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P17479_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P479309; + s.tmp_1.arg1 = inline__P17483; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - globals.shake___479307 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C479304_VT); + globals.shake___17481 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(texteffects_TextEffect__C17478_VT); s.tmp_0 = r0; - s.tmp_1 = texteffects_TextEffect_constructor__P479305_mk(s); + s.tmp_1 = texteffects_TextEffect_constructor__P17479_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P479323; + s.tmp_1.arg1 = inline__P17497; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; - globals.wave___479321 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P478685_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P478165; + globals.wave___17495 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P16859_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P16339; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.tmp_0 = game_eventContext__P478687_mk(s); + s.tmp_0 = game_eventContext__P16861_mk(s); s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - s.tmp_0 = game_addScenePushHandler__P478353_mk(s); - s.tmp_0.arg0 = inline__P482147; + s.tmp_0 = game_addScenePushHandler__P16527_mk(s); + s.tmp_0.arg0 = inline__P19358; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P478370_mk(s); - s.tmp_0.arg0 = inline__P482165; + s.tmp_0 = game_addScenePopHandler__P16544_mk(s); + s.tmp_0.arg0 = inline__P19376; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = color_bufferToPalette__P496210_mk(s); - s.tmp_0.arg0 = _hex481545; + s.tmp_0 = color_bufferToPalette__P19326_mk(s); + s.tmp_0.arg0 = _hex19413; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - globals.originalPalette___481543 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(color_FadeEffect__C496052_VT); - s.tmp_0 = r0; - s.tmp_1 = color_FadeEffect_constructor__P496055_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = inline__P482381; - s.pc = 35; return s.tmp_1; + globals.originalPalette___19414 = (r0); + s.tmp_0 = color_bufferToPalette__P19326_mk(s); + s.tmp_0.arg0 = _hex19416; + s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - globals.RotatePalette___482379 = (s.tmp_0); - s.tmp_0 = scene_setBackgroundImage__P478607_mk(s); - r0 = pxsim.image.ofBuffer(_hex482421); - s.tmp_0.arg0 = r0; + globals.Adafruit___19417 = (r0); + s.tmp_0 = color_bufferToPalette__P19326_mk(s); + s.tmp_0.arg0 = _hex19419; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = color_FadeEffect_startScreenEffect__P496053_mk(s); - s.tmp_0.arg0 = globals.RotatePalette___482379; - s.tmp_0.arg1 = 2000; + globals.Matte___19420 = (r0); + s.tmp_0 = color_bufferToPalette__P19326_mk(s); + s.tmp_0.arg0 = _hex19422; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = pause__P477741_mk(s); - s.tmp_0.arg0 = 3000; + globals.GrayScale___19423 = (r0); + s.tmp_0 = color_bufferToPalette__P19326_mk(s); + s.tmp_0.arg0 = _hex19443; s.pc = 38; return s.tmp_0; case 38: + r0 = s.retval; + globals.Arcade___19444 = (r0); + s.tmp_0 = color_bufferToPalette__P19326_mk(s); + s.tmp_0.arg0 = _hex19446; + s.pc = 39; return s.tmp_0; + case 39: + r0 = s.retval; + globals.Black___19447 = (r0); + s.tmp_0 = color_bufferToPalette__P19326_mk(s); + s.tmp_0.arg0 = _hex19449; + s.pc = 40; return s.tmp_0; + case 40: + r0 = s.retval; + globals.White___19450 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(color_FadeEffect__C19313_VT); + s.tmp_0 = r0; + s.tmp_1 = color_FadeEffect_constructor__P19316_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = inline__P30929; + s.pc = 41; return s.tmp_1; + case 41: + r0 = s.retval; + globals.FadeToBlack___19452 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(color_FadeEffect__C19313_VT); + s.tmp_0 = r0; + s.tmp_1 = color_FadeEffect_constructor__P19316_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = inline__P19468; + s.pc = 42; return s.tmp_1; + case 42: + r0 = s.retval; + globals.RotatePalette___19460 = (s.tmp_0); + s.tmp_0 = scene_setBackgroundImage__P16781_mk(s); + r0 = pxsim.image.ofBuffer(_hex36208); + s.tmp_0.arg0 = r0; + s.pc = 43; return s.tmp_0; + case 43: + r0 = s.retval; + s.tmp_0 = forever__P16230_mk(s); + s.tmp_0.arg0 = inline__P36210; + s.pc = 44; return s.tmp_0; + case 44: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P496870.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"test.ts","functionName":"
","argumentNames":[]} -_main___P496870.continuations = [ ] -_main___P496870.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"test.ts","functionName":"
","argumentNames":[]} +_main___P36808.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"test.ts","functionName":"
","argumentNames":[]} +_main___P36808.continuations = [ ] +_main___P36808.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"test.ts","functionName":"
","argumentNames":[]} -function _main___P496870_mk(s) { +function _main___P36808_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P496870, depth: s.depth + 1, + parent: s, fn: _main___P36808, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -819,28 +874,34 @@ function _main___P496870_mk(s) { tmp_5: undefined, } } -const _hex485020 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex485022 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex486546 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex477995 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex479012 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex479015 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex479018 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex479021 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex479024 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex479027 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex479030 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex479033 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex479036 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex479039 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex479042 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex481545 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex482421 = pxsim.BufferMethods.createBufferFromHex("8704a0007800000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111c1cccccc1c11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111c1cccccccccc111111111111111111111111111111111111111111111111111111111122222222222222222222222222222222222222222222222222c2cccccccccc2c2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccccccc2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccccccc2c222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccccc22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccc2c22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccc2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222cccccccc2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccc2c222222222222222222222222222222222222222222222222222222222222222222c2cccccccccccccccccccccc2222222222222222222222cccccc2c222222222222222222222222222222222222222222222222222222222222222222c2cccccccccccccccccccccc2222222222222222222222c2cccccc222222222222222222222222222222222222222222222222223333333333333333c3cccccccccccccccccccccc3333333333333333333333c3cccccc3c3333333333333333333333333333333333333333333333333333333333333333c3cccccccccccccccccccccc333333333333333333333333cccccc3c3333333333333333333333333333333333333333333333333333333333333333c3cccccccccccccccccccccc333333333333333333333333cccccccc3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333cccccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333cccccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccc333333333333333333333333333333333333333333333333444444444444444444444444444444444444444444444444444444444444444444c4cccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444c4cccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444c4cccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444cccccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444cccccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444cccccc444444444444444444444444444444444444444444444444444444444444444444cccccccccccccccccccccc4c4444444444444444444444c4cccccc444444444444444444444444444444444444444444444444444444444444444444cccccccccccccccccccccc4c4444444444444444444444c4cccc4c444444444444444444444444444444444444444444444444444444444444444444cccccccccccccccccccccc4c4444444444444444444444c4cccc4c444444444444444444444444444444444444444444444444444444444444444444cccccccccccccccccccccc4c4444444444444444444444c4cccc4c444444444444444444444444444444444444444444444444555555555555555555cccccccccccccccccccccc5c5555555555555555555555cccccc5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccc5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccc5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555cccccccc5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555cccccc5c55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccc55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccccc55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555cccccccc5c959999595555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccccc5c959999595555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555cccccccccc5595a9aaaa5555555555555555555555555555555555555555555566666666666666666666666666666666666666666666666666666666cccccccc6c6696a9aaaa6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666cccccc6c666696a9aaaa6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666cccccc6c666666a9aaaa6a66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666cccccc66666666a9aaaa6a6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666a9aaaaaa6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666a9aaaaaa666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666699aaaaaa6a6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666699aaaaaa6a66666666666666666666666666c6cccc6c666666666666666666666666666666666666666666666666666666666666666666666666666699a9aaaaaa666666666666666666666666c6cccccc6c666666666666666666666666666666666666666666666666666666666666666666666666666699a9aaaaaa666666666666666666666666ccccdcdddd66666677777777777777777777777777777777777777777777777777777777777777777777779999aaaaaa7a77777777777777777777ccccccdddddd77777777777777777777777777777777777777777777777777777777777777777777777777779999aaaaaa7a777777777777777777c7ccccdcdddddd77777777777777777777777777777777777777777777777777777777777777777777777777779999a9aaaaaa7777777777777777c7ccccccdddddddd77777777777777777777777777777777777777777777777777777777777777777777777777779999a9aaaaaa7a77777777777777ccccccdcdddddddd7777777777777777777777777777777777777777777777777777777777777777777777777777999979aaaaaa7a777777777777c7ccccccdddddddd7d7777777777777777777777777777777777777777777777777777777777777777777777777777999979aaaaaaaa777777777777ccccccdcdddddddd777777777777777777777777777777777777777777777777777777777777777777777777777777999979a7aaaaaaaa77777777ccccccccdddddddd7d77777777777777777777777777777777777777777777777777777777777777777777777777777799997977aaaaaaaa7a7777ccccccccdcdddddddd7777777777777777777777777777777777777777777777777777777777777777777777777777775799997977aaaaaaaa7a77ccccccccccdddddddd7d7777777777777777777777777777777777777777777777777777777777777777777777777777575599997977a7aaaaaaaaccccccccccdcdddddddd77777777777788888888888888888888888888888888888888888888888888888888888888885855559999898888aaaacaccccccccccccdddddddd8d88888888888888888888888888888888888888888888888888888888888888888888888888885555559999898888a8aacaccccccccccdcdddddddd888888888888888888888888888888888888888888888888888888888888888888888888888858555555555585888888aacaccccccccccdddddddd8d888888888888888888888888888888888888888888888888888888888888888888888888885555555555555588888888a8caccccccccd8dddddddd88888888888888888888888888888888888888888888888888888888888888888888888888585555555555558888888888a8cacccccc88dddddddd8d888888888888888888888888888888888888888888888888888888888888888888888888885555555555558888888888888888888888d8dddddddd88888888888888888888888888888888888888888888888888888888888888888888888858555555555555888888888888888888888888d8dddddd8d88888888888888888888888888888888888888888888888888888888888888888888888858555555555585888888888888888888888888dddddddd8888888888888888888888888888888888888888888888888888888888888888888888885555555555558888888888888888888888888888dddddd8d88888888888888888888888888888888888888888888888888888888888888888888885855555555558588888888888888888888888888d8dddddd8888888888888888888888999999999999999999999999999999999999999999999959555555555555559999999999999999999999999999d9dddddd9999999999999999999999999999999999999999999999999999999999999999999959555555555555999999999999999999999999999999dddddd9d99999999999999999999999999999999999999999999999999999999999999999999595555555555959999999999999999999999999999d9dddddd9d99999999999999999999999999999999999999999999999999999999999999999999595555555596999999999999999999999999999999e9eeeedd9999999999999999999999999999999999999999999999999999999999999999999999595555556566969999999999999999999999999999e9eeeede9999999999999999999999999999999999999999999999999999999999999999999999696666666666669999999999999999999999999999e9eeeeee9999999999999999999999999999999999999999999999999999999999999999999999996966666666666699999999999999999999999999e9eeeeee9e99999999999999999999999999999999999999999999999999999999999999999999999969666666666666999999999999999999999999e9eeeeeeee9999999999999999999999999999999999999999999999999999999999999999999999999969666666666666999999999999999999999999eeeeeeee9e99999999999999999999999999999999999999999999999999999999999999999999999999696666666666669999999999999999999999e9eeeeeeee99999999999999999999aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa66666666666666aaaaaaaaaaaaaafaffffaaeeeeeeeeaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6666666666666666aaaaaaaaaafaffffaaeaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa66666666666666aaaaaaaaaa4444f4afaaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa666666666666aaaaaaaa4a4444f4ffafeaeeeeeeaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa666666111111aaaaaa444444f4ffffaaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6666111111aaaaaa444444f4ffffaaeaeeeeeeaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa111111aaaa4a444444f4ffffafeaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa111111aaaa44444444ffffffffaaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa111111aaaa444444a4ffffffffffeaeeeeeeaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1a1111aa4a444444a4faffffffffafeeeeeeeeaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111bb4b444444bbbbffffffffffebeeeeeebebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111bb444444b4bbbbfbffffffffffeeeeeeeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111bb444444b4bbbbbbffffffffffffffffeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b11114b444444bbbbbbbbbbffffffffffffffeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b11114b444444bbbbbbbbbbfbffffffffffffeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111444444b4bbbbbbbbbbbbffffffffffffeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111444444b4bbbbbbbbbbbbbbffffffffffbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111444444bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111444444bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b11114444b4bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c11114444c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c11114444cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c11114444cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c111144c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c111144c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c111144cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c111144cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c1111c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c1111c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c1111c4ccccccccccccccccccccccccccccccccccccccccccddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex22298 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex22300 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex23824 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex16169 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex17186 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex17189 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex17192 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex17195 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex17198 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex17201 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex17204 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex17207 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex17210 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex17213 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex17216 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex19413 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex19416 = pxsim.BufferMethods.createBufferFromHex("00000017abffdf2929c600ffff007d00ff72e5ff000034ffffffff00efffff00007400db636363ff7a002d9f00000000") +const _hex19419 = pxsim.BufferMethods.createBufferFromHex("0000001d2b537e2553008751ab52365f574fc2c3c7fff1e8ff004dffa300ffec2700e43629adff83769cff77a8ffccaa") +const _hex19422 = pxsim.BufferMethods.createBufferFromHex("000000ffffffedededdbdbdbc8c8c8b6b6b6a4a4a49292928080806d6d6d5b5b5b494949373737242424121212000000") +const _hex19443 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex19446 = pxsim.BufferMethods.createBufferFromHex("000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex19449 = pxsim.BufferMethods.createBufferFromHex("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff") +const _hex36208 = pxsim.BufferMethods.createBufferFromHex("8704a0007800000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111c1cccccc1c11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111c1cccccccccc111111111111111111111111111111111111111111111111111111111122222222222222222222222222222222222222222222222222c2cccccccccc2c2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccccccc2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccccccc2c222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccccc22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccc2c22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccccc2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222cccccccc2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222c2cccccc2c222222222222222222222222222222222222222222222222222222222222222222c2cccccccccccccccccccccc2222222222222222222222cccccc2c222222222222222222222222222222222222222222222222222222222222222222c2cccccccccccccccccccccc2222222222222222222222c2cccccc222222222222222222222222222222222222222222222222223333333333333333c3cccccccccccccccccccccc3333333333333333333333c3cccccc3c3333333333333333333333333333333333333333333333333333333333333333c3cccccccccccccccccccccc333333333333333333333333cccccc3c3333333333333333333333333333333333333333333333333333333333333333c3cccccccccccccccccccccc333333333333333333333333cccccccc3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333cccccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333cccccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccc333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333c3cccc333333333333333333333333333333333333333333333333444444444444444444444444444444444444444444444444444444444444444444c4cccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444c4cccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444c4cccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444cccccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444cccccc444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444cccccc444444444444444444444444444444444444444444444444444444444444444444cccccccccccccccccccccc4c4444444444444444444444c4cccccc444444444444444444444444444444444444444444444444444444444444444444cccccccccccccccccccccc4c4444444444444444444444c4cccc4c444444444444444444444444444444444444444444444444444444444444444444cccccccccccccccccccccc4c4444444444444444444444c4cccc4c444444444444444444444444444444444444444444444444444444444444444444cccccccccccccccccccccc4c4444444444444444444444c4cccc4c444444444444444444444444444444444444444444444444555555555555555555cccccccccccccccccccccc5c5555555555555555555555cccccc5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccc5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccc5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555cccccccc5555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555cccccc5c55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccc55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccccc55555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555cccccccc5c959999595555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555c5cccccccc5c959999595555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555cccccccccc5595a9aaaa5555555555555555555555555555555555555555555566666666666666666666666666666666666666666666666666666666cccccccc6c6696a9aaaa6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666cccccc6c666696a9aaaa6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666cccccc6c666666a9aaaa6a66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666cccccc66666666a9aaaa6a6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666a9aaaaaa6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666a9aaaaaa666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666699aaaaaa6a6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666699aaaaaa6a66666666666666666666666666c6cccc6c666666666666666666666666666666666666666666666666666666666666666666666666666699a9aaaaaa666666666666666666666666c6cccccc6c666666666666666666666666666666666666666666666666666666666666666666666666666699a9aaaaaa666666666666666666666666ccccdcdddd66666677777777777777777777777777777777777777777777777777777777777777777777779999aaaaaa7a77777777777777777777ccccccdddddd77777777777777777777777777777777777777777777777777777777777777777777777777779999aaaaaa7a777777777777777777c7ccccdcdddddd77777777777777777777777777777777777777777777777777777777777777777777777777779999a9aaaaaa7777777777777777c7ccccccdddddddd77777777777777777777777777777777777777777777777777777777777777777777777777779999a9aaaaaa7a77777777777777ccccccdcdddddddd7777777777777777777777777777777777777777777777777777777777777777777777777777999979aaaaaa7a777777777777c7ccccccdddddddd7d7777777777777777777777777777777777777777777777777777777777777777777777777777999979aaaaaaaa777777777777ccccccdcdddddddd777777777777777777777777777777777777777777777777777777777777777777777777777777999979a7aaaaaaaa77777777ccccccccdddddddd7d77777777777777777777777777777777777777777777777777777777777777777777777777777799997977aaaaaaaa7a7777ccccccccdcdddddddd7777777777777777777777777777777777777777777777777777777777777777777777777777775799997977aaaaaaaa7a77ccccccccccdddddddd7d7777777777777777777777777777777777777777777777777777777777777777777777777777575599997977a7aaaaaaaaccccccccccdcdddddddd77777777777788888888888888888888888888888888888888888888888888888888888888885855559999898888aaaacaccccccccccccdddddddd8d88888888888888888888888888888888888888888888888888888888888888888888888888885555559999898888a8aacaccccccccccdcdddddddd888888888888888888888888888888888888888888888888888888888888888888888888888858555555555585888888aacaccccccccccdddddddd8d888888888888888888888888888888888888888888888888888888888888888888888888885555555555555588888888a8caccccccccd8dddddddd88888888888888888888888888888888888888888888888888888888888888888888888888585555555555558888888888a8cacccccc88dddddddd8d888888888888888888888888888888888888888888888888888888888888888888888888885555555555558888888888888888888888d8dddddddd88888888888888888888888888888888888888888888888888888888888888888888888858555555555555888888888888888888888888d8dddddd8d88888888888888888888888888888888888888888888888888888888888888888888888858555555555585888888888888888888888888dddddddd8888888888888888888888888888888888888888888888888888888888888888888888885555555555558888888888888888888888888888dddddd8d88888888888888888888888888888888888888888888888888888888888888888888885855555555558588888888888888888888888888d8dddddd8888888888888888888888999999999999999999999999999999999999999999999959555555555555559999999999999999999999999999d9dddddd9999999999999999999999999999999999999999999999999999999999999999999959555555555555999999999999999999999999999999dddddd9d99999999999999999999999999999999999999999999999999999999999999999999595555555555959999999999999999999999999999d9dddddd9d99999999999999999999999999999999999999999999999999999999999999999999595555555596999999999999999999999999999999e9eeeedd9999999999999999999999999999999999999999999999999999999999999999999999595555556566969999999999999999999999999999e9eeeede9999999999999999999999999999999999999999999999999999999999999999999999696666666666669999999999999999999999999999e9eeeeee9999999999999999999999999999999999999999999999999999999999999999999999996966666666666699999999999999999999999999e9eeeeee9e99999999999999999999999999999999999999999999999999999999999999999999999969666666666666999999999999999999999999e9eeeeeeee9999999999999999999999999999999999999999999999999999999999999999999999999969666666666666999999999999999999999999eeeeeeee9e99999999999999999999999999999999999999999999999999999999999999999999999999696666666666669999999999999999999999e9eeeeeeee99999999999999999999aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa66666666666666aaaaaaaaaaaaaafaffffaaeeeeeeeeaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6666666666666666aaaaaaaaaafaffffaaeaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa66666666666666aaaaaaaaaa4444f4afaaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa666666666666aaaaaaaa4a4444f4ffafeaeeeeeeaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa666666111111aaaaaa444444f4ffffaaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa6666111111aaaaaa444444f4ffffaaeaeeeeeeaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa111111aaaa4a444444f4ffffafeaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa111111aaaa44444444ffffffffaaeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa111111aaaa444444a4ffffffffffeaeeeeeeaeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1a1111aa4a444444a4faffffffffafeeeeeeeeaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111bb4b444444bbbbffffffffffebeeeeeebebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111bb444444b4bbbbfbffffffffffeeeeeeeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111bb444444b4bbbbbbffffffffffffffffeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b11114b444444bbbbbbbbbbffffffffffffffeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b11114b444444bbbbbbbbbbfbffffffffffffeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111444444b4bbbbbbbbbbbbffffffffffffeebbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111444444b4bbbbbbbbbbbbbbffffffffffbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111444444bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b1111444444bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb1b11114444b4bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c11114444c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c11114444cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c11114444cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c111144c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c111144c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c111144cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c111144cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c1111c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c1111c4cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc1c1111c4ccccccccccccccccccccccccccccccccccccccccccddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function inline__P477969(s) { +function inline__P16143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -853,23 +914,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___477964 = (false); - s.tmp_0 = pause__P477741_mk(s); + globals.__updated___16138 = (false); + s.tmp_0 = pause__P15915_mk(s); s.tmp_0.arg0 = 200; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__updated___477964); + r0 = pxsim_numops_toBoolDecr(globals.__updated___16138); 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__P477965_mk(s); + s.tmp_2 = control___screen_update__P16139_mk(s); s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___477964 = (true); + globals.__updated___16138 = (true); case 2: case 3: { step = 1; continue; } @@ -878,13 +939,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P477969.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -inline__P477969.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P16143.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} +inline__P16143.info = {"start":396,"length":211,"line":17,"column":26,"endLine":26,"endColumn":5,"fileName":"pxt_modules/screen/frame.ts","functionName":"inline","argumentNames":[]} -function inline__P477969_mk(s) { +function inline__P16143_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P477969, depth: s.depth + 1, + parent: s, fn: inline__P16143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -895,7 +956,7 @@ function inline__P477969_mk(s) { -function inline__P478003(s) { +function inline__P16177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -905,18 +966,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___477998); + r0 = pxsim_pxtcore.updateScreen(globals.screen___16172); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P478003.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -inline__P478003.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P16177.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} +inline__P16177.info = {"start":753,"length":26,"line":22,"column":33,"endLine":22,"endColumn":59,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":[]} -function inline__P478003_mk(s) { +function inline__P16177_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P478003, depth: s.depth + 1, + parent: s, fn: inline__P16177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -924,7 +985,7 @@ function inline__P478003_mk(s) { -function inline__P478008(s) { +function inline__P16182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -943,13 +1004,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P478008.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -inline__P478008.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +inline__P16182.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} +inline__P16182.info = {"start":816,"length":56,"line":23,"column":35,"endLine":25,"endColumn":5,"fileName":"pxt_modules/screen/targetoverrides.ts","functionName":"inline","argumentNames":["msg"]} -function inline__P478008_mk(s) { +function inline__P16182_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P478008, depth: s.depth + 1, + parent: s, fn: inline__P16182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -958,7 +1019,7 @@ function inline__P478008_mk(s) { -function inline__P478354(s) { +function inline__P16528(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -972,37 +1033,37 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___478349); + r0 = pxsim_numops_toBoolDecr(globals.infoState___16523); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___478351); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___16525); 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___478351 = (r0); + globals.infoStateStack___16525 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___478349); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___16523); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___478351, s.tmp_0); - globals.infoState___478349 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___16525, s.tmp_0); + globals.infoState___16523 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P478354.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -inline__P478354.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P16528.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +inline__P16528.info = {"start":1920,"length":259,"line":73,"column":29,"endLine":82,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function inline__P478354_mk(s) { +function inline__P16528_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P478354, depth: s.depth + 1, + parent: s, fn: inline__P16528, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1013,7 +1074,7 @@ function inline__P478354_mk(s) { -function inline__P478371(s) { +function inline__P16545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1023,30 +1084,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___478372 = undefined; - s.nextState___478383 = undefined; - s.tmp_0 = game_currentScene__P478375_mk(s); + s.scene___16546 = undefined; + s.nextState___16557 = undefined; + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___478372 = (r0); - globals.infoState___478349 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___478351; + s.scene___16546 = (r0); + globals.infoState___16523 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___16525; 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___478351); + r0 = pxsim_Array__length(globals.infoStateStack___16525); 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___478351); - s.nextState___478383 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___16525); + s.nextState___16557 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___478383; + s.tmp_2.arg0 = s.nextState___16557; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1058,12 +1119,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___478372); + r0 = (s.tmp_1 == s.scene___16546); 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___478383; + s.tmp_3.arg0 = s.nextState___16557; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1074,10 +1135,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___478349 = (r0); + globals.infoState___16523 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___478351, s.nextState___478383); + r0 = pxsim_Array__push(globals.infoStateStack___16525, s.nextState___16557); case 4: case 5: case 6: @@ -1085,27 +1146,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P478371.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -inline__P478371.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P16545.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +inline__P16545.info = {"start":2211,"length":376,"line":84,"column":28,"endLine":95,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function inline__P478371_mk(s) { +function inline__P16545_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P478371, depth: s.depth + 1, + parent: s, fn: inline__P16545, 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___478372: undefined, - nextState___478383: undefined, + scene___16546: undefined, + nextState___16557: undefined, } } -function inline__P479093(s) { +function inline__P17267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1115,13 +1176,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sz___479094 = undefined; - s.tmp_0 = control_ramSize__P477675_mk(s); + s.sz___17268 = undefined; + s.tmp_0 = control_ramSize__P15849_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___479094 = (r0); - r0 = (s.sz___479094 <= 102400); + s.sz___17268 = (r0); + r0 = (s.sz___17268 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -1129,7 +1190,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___479094 <= 204800); + r0 = (s.sz___17268 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -1146,24 +1207,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P479093.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -inline__P479093.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P17267.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} +inline__P17267.info = {"start":223,"length":217,"line":8,"column":25,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":[]} -function inline__P479093_mk(s) { +function inline__P17267_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P479093, depth: s.depth + 1, + parent: s, fn: inline__P17267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___479094: undefined, + sz___17268: undefined, } } -function inline__P479309(s) { +function inline__P17483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1193,13 +1254,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P479309.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -inline__P479309.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P17483.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} +inline__P17483.info = {"start":860,"length":117,"line":31,"column":40,"endLine":34,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":[]} -function inline__P479309_mk(s) { +function inline__P17483_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P479309, depth: s.depth + 1, + parent: s, fn: inline__P17483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1214,7 +1275,7 @@ function inline__P479309_mk(s) { -function inline__P479323(s) { +function inline__P17497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1243,7 +1304,7 @@ switch (step) { r0 = (s.tmp_4 * 2); s.tmp_3 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_2, "yOffset", s.tmp_3); - s.tmp_7 = Math_sign__P477515_mk(s); + s.tmp_7 = Math_sign__P15689_mk(s); r0 = pxsim.Math_.sin(s.arg0); s.tmp_7.arg0 = r0; s.pc = 7; return s.tmp_7; @@ -1308,7 +1369,7 @@ switch (step) { } case 9: r0 = s.retval; - s.tmp_2 = Math_abs__P477514_mk(s); + s.tmp_2 = Math_abs__P15688_mk(s); s.tmp_3 = if_yOffset_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -1380,13 +1441,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P479323.info = {"start":1127,"length":417,"line":42,"column":39,"endLine":55,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["index","state"]} -inline__P479323.info = {"start":1127,"length":417,"line":42,"column":39,"endLine":55,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["index","state"]} +inline__P17497.info = {"start":1127,"length":417,"line":42,"column":39,"endLine":55,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["index","state"]} +inline__P17497.info = {"start":1127,"length":417,"line":42,"column":39,"endLine":55,"endColumn":5,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["index","state"]} -function inline__P479323_mk(s) { +function inline__P17497_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P479323, depth: s.depth + 1, + parent: s, fn: inline__P17497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1406,7 +1467,7 @@ function inline__P479323_mk(s) { -function inline__P482147(s) { +function inline__P19358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1416,43 +1477,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.currentScene___482144); + r0 = pxsim_numops_toBoolDecr(globals.currentScene___19355); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.FadeStack___482145); + r0 = pxsim_numops_toBoolDecr(globals.FadeStack___19356); 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.FadeStack___482145 = (r0); + globals.FadeStack___19356 = (r0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(color_FadeState__C482139_VT); + r0 = pxsim_pxtcore_mkClassInstance(color_FadeState__C19352_VT); s.tmp_0 = r0; - s.tmp_1 = color_FadeState_constructor__P482140_mk(s); + s.tmp_1 = color_FadeState_constructor__P19353_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.activeFade___481888; - s.tmp_1.arg2 = globals.currentScene___482144; + s.tmp_1.arg1 = globals.activeFade___19354; + s.tmp_1.arg2 = globals.currentScene___19355; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(globals.FadeStack___482145, s.tmp_0); - globals.activeFade___481888 = (undefined); - globals.currentScene___482144 = (undefined); + r0 = pxsim_Array__push(globals.FadeStack___19356, s.tmp_0); + globals.activeFade___19354 = (undefined); + globals.currentScene___19355 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P482147.info = {"start":5238,"length":328,"line":184,"column":29,"endLine":198,"endColumn":5,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} -inline__P482147.info = {"start":5238,"length":328,"line":184,"column":29,"endLine":198,"endColumn":5,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} +inline__P19358.info = {"start":5238,"length":328,"line":184,"column":29,"endLine":198,"endColumn":5,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} +inline__P19358.info = {"start":5238,"length":328,"line":184,"column":29,"endLine":198,"endColumn":5,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} -function inline__P482147_mk(s) { +function inline__P19358_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P482147, depth: s.depth + 1, + parent: s, fn: inline__P19358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1462,7 +1523,7 @@ function inline__P482147_mk(s) { -function inline__P482165(s) { +function inline__P19376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1472,42 +1533,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___482166 = undefined; - s.nextState___482177 = undefined; - s.tmp_0 = game_currentScene__P478375_mk(s); + s.scene___19377 = undefined; + s.nextState___19388 = undefined; + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___482166 = (r0); - globals.currentScene___482144 = (undefined); - globals.activeFade___481888 = (undefined); - s.tmp_0 = r0 = globals.FadeStack___482145; + s.scene___19377 = (r0); + globals.currentScene___19355 = (undefined); + globals.activeFade___19354 = (undefined); + s.tmp_0 = r0 = globals.FadeStack___19356; 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.FadeStack___482145); + r0 = pxsim_Array__length(globals.FadeStack___19356); 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.FadeStack___482145); - s.nextState___482177 = (r0); - r0 = s.nextState___482177.fields["scene"]; + r0 = pxsim_Array_.pop(globals.FadeStack___19356); + s.nextState___19388 = (r0); + r0 = s.nextState___19388.fields["scene"]; s.tmp_1 = r0; - r0 = (s.tmp_1 === s.scene___482166); + r0 = (s.tmp_1 === s.scene___19377); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = s.nextState___482177.fields["state"]; - globals.activeFade___481888 = (r0); - r0 = s.nextState___482177.fields["scene"]; - globals.currentScene___482144 = (r0); + r0 = s.nextState___19388.fields["state"]; + globals.activeFade___19354 = (r0); + r0 = s.nextState___19388.fields["scene"]; + globals.currentScene___19355 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.FadeStack___482145, s.nextState___482177); + r0 = pxsim_Array__push(globals.FadeStack___19356, s.nextState___19388); case 4: case 5: case 6: @@ -1515,25 +1576,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P482165.info = {"start":5598,"length":442,"line":200,"column":28,"endLine":214,"endColumn":5,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} -inline__P482165.info = {"start":5598,"length":442,"line":200,"column":28,"endLine":214,"endColumn":5,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} +inline__P19376.info = {"start":5598,"length":442,"line":200,"column":28,"endLine":214,"endColumn":5,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} +inline__P19376.info = {"start":5598,"length":442,"line":200,"column":28,"endLine":214,"endColumn":5,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} -function inline__P482165_mk(s) { +function inline__P19376_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P482165, depth: s.depth + 1, + parent: s, fn: inline__P19376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - scene___482166: undefined, - nextState___482177: undefined, + scene___19377: undefined, + nextState___19388: undefined, } } -function inline__P482381(s) { +function inline__P36210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1543,99 +1604,270 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.l___482382 = undefined; - s.p___482385 = undefined; - s.lastColor___482390 = undefined; - s.i___482396 = undefined; - s.tmp_0 = color_availableColors__P496124_mk(s); + s.grayArcade___36229 = undefined; + s.tmp_0 = color_setPalette__P19317_mk(s); + s.tmp_0.arg0 = globals.Adafruit___19417; + s.tmp_0.arg1 = 0; + s.tmp_0.arg2 = 0; + s.tmp_0.arg3 = 0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + s.tmp_0 = color_FadeEffect_startScreenEffect__P19314_mk(s); + s.tmp_0.arg0 = globals.FadeToBlack___19452; + s.tmp_0.arg1 = 2000; + s.pc = 2; return s.tmp_0; + case 2: + r0 = s.retval; + s.tmp_0 = color_FadeEffect_startScreenEffect__P19314_mk(s); + s.tmp_0.arg0 = globals.RotatePalette___19460; + s.tmp_0.arg1 = 2000; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.l___482382 = (r0); - s.tmp_0 = color__clone__P496337_mk(s); - s.tmp_1 = color_currentPalette__P496066_mk(s); - s.pc = 5; return s.tmp_1; + r0 = pxsim_pxtcore_mkClassInstance(color_Fade__C19333_VT); + s.tmp_0 = r0; + r0 = undefined; + s.tmp_1 = color_Fade_start__P19337_mk(s); + s.tmp_2 = color_Fade_setEndPalette__P19342_mk(s); + s.tmp_2.arg0 = s.tmp_0; + s.tmp_2.arg1 = globals.Black___19447; + s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0.arg0 = r0; - s.pc = 4; return s.tmp_0; + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = 2000; + s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - s.p___482385 = (r0); - s.tmp_0 = color_ColorBuffer_color__P481097_mk(s); - s.tmp_0.arg0 = s.p___482385; - r0 = (s.l___482382 - 1); - s.tmp_0.arg1 = r0; + s.tmp_0 = pause__P15915_mk(s); + s.tmp_0.arg0 = 3000; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.lastColor___482390 = (r0); - r0 = (s.l___482382 - 1); - s.i___482396 = (r0); - case 1: - r0 = (s.i___482396 > 1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 2; continue; } - s.tmp_1 = color_ColorBuffer_setColor__P481098_mk(s); - s.tmp_1.arg0 = s.p___482385; - s.tmp_1.arg1 = s.i___482396; - s.tmp_2 = color_ColorBuffer_color__P481097_mk(s); - s.tmp_2.arg0 = s.p___482385; - r0 = (s.i___482396 - 1); - s.tmp_2.arg1 = r0; - s.pc = 8; return s.tmp_2; - case 8: - r0 = s.retval; - s.tmp_1.arg2 = r0; - s.pc = 7; return s.tmp_1; + s.tmp_0 = color_startFadeUntilDone__P19410_mk(s); + s.tmp_0.arg0 = globals.Arcade___19444; + s.tmp_0.arg1 = globals.Adafruit___19417; + s.tmp_0.arg2 = 2000; + s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___482396 - 1); - s.i___482396 = (r0); - { step = 1; continue; } - case 2: - s.tmp_0 = color_ColorBuffer_setColor__P481098_mk(s); - s.tmp_0.arg0 = s.p___482385; - s.tmp_0.arg1 = 1; - s.tmp_0.arg2 = s.lastColor___482390; + s.tmp_0 = color_startFadeUntilDone__P19410_mk(s); + s.tmp_0.arg0 = globals.Adafruit___19417; + s.tmp_0.arg1 = globals.Matte___19420; + s.tmp_0.arg2 = 2000; + s.pc = 8; return s.tmp_0; + case 8: + r0 = s.retval; + s.tmp_0 = color__clone__P19332_mk(s); + s.tmp_0.arg0 = globals.Arcade___19444; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(color_Fade__C481817_VT); - s.tmp_0 = r0; - r0 = undefined; - s.tmp_1 = color_Fade_setEndPalette__P481824_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.p___482385; - s.pc = 10; return s.tmp_1; + s.grayArcade___36229 = (r0); + s.tmp_0 = color_ColorBuffer_setColor__P19272_mk(s); + s.tmp_0.arg0 = s.grayArcade___36229; + s.tmp_0.arg1 = 15; + s.tmp_0.arg2 = 7566195; + s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; + s.tmp_0 = color_startFadeUntilDone__P19410_mk(s); + s.tmp_0.arg0 = s.grayArcade___36229; + s.tmp_0.arg1 = globals.Arcade___19444; + s.tmp_0.arg2 = 1000; + s.pc = 11; return s.tmp_0; + case 11: + r0 = s.retval; + s.tmp_0 = color_startFadeUntilDone__P19410_mk(s); + s.tmp_0.arg0 = globals.Arcade___19444; + s.tmp_0.arg1 = globals.Black___19447; + s.tmp_0.arg2 = 2000; + s.pc = 12; return s.tmp_0; + case 12: + r0 = s.retval; + s.tmp_0 = color_startFadeUntilDone__P19410_mk(s); + s.tmp_1 = color_currentPalette__P19330_mk(s); + s.pc = 14; return s.tmp_1; + case 14: + r0 = s.retval; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = globals.GrayScale___19423; + s.tmp_0.arg2 = 2000; + s.pc = 13; return s.tmp_0; + case 13: + r0 = s.retval; + r0 = pxsim_pxtcore_mkClassInstance(color_Fade__C19333_VT); + s.tmp_0 = r0; + r0 = undefined; + s.tmp_1 = color_Fade_startUntilDone__P19338_mk(s); + s.tmp_2 = color_Fade_mapEndRGB__P19349_mk(s); + s.tmp_3 = color_Fade_reverse__P19347_mk(s); + s.tmp_4 = color_Fade_startUntilDone__P19338_mk(s); + s.tmp_5 = color_Fade_reverse__P19347_mk(s); + s.tmp_6 = color_Fade_pauseUntilDone__P19346_mk(s); + s.tmp_7 = color_Fade_start__P19337_mk(s); + s.tmp_8 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_9 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_10 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_11 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_12 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_13 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_14 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_15 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_16 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_17 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_18 = color_Fade_setEndColor__P19343_mk(s); + s.tmp_18.arg0 = s.tmp_0; + s.tmp_18.arg1 = 1; + s.tmp_18.arg2 = 16711680; + s.pc = 32; return s.tmp_18; + case 32: + r0 = s.retval; + s.tmp_17.arg0 = r0; + s.tmp_17.arg1 = 2; + s.tmp_17.arg2 = 65280; + s.pc = 31; return s.tmp_17; + case 31: + r0 = s.retval; + s.tmp_16.arg0 = r0; + s.tmp_16.arg1 = 3; + s.tmp_16.arg2 = 255; + s.pc = 30; return s.tmp_16; + case 30: + r0 = s.retval; + s.tmp_15.arg0 = r0; + s.tmp_15.arg1 = 4; + s.tmp_15.arg2 = 16711935; + s.pc = 29; return s.tmp_15; + case 29: + r0 = s.retval; + s.tmp_14.arg0 = r0; + s.tmp_14.arg1 = 5; + s.tmp_14.arg2 = 16776960; + s.pc = 28; return s.tmp_14; + case 28: + r0 = s.retval; + s.tmp_13.arg0 = r0; + s.tmp_13.arg1 = 6; + s.tmp_13.arg2 = 65535; + s.pc = 27; return s.tmp_13; + case 27: + r0 = s.retval; + s.tmp_12.arg0 = r0; + s.tmp_12.arg1 = 10; + s.tmp_12.arg2 = 11184810; + s.pc = 26; return s.tmp_12; + case 26: + r0 = s.retval; + s.tmp_11.arg0 = r0; + s.tmp_11.arg1 = 11; + s.tmp_11.arg2 = 369335; + s.pc = 25; return s.tmp_11; + case 25: + r0 = s.retval; + s.tmp_10.arg0 = r0; + s.tmp_10.arg1 = 12; + s.tmp_10.arg2 = 6785415; + s.pc = 24; return s.tmp_10; + case 24: + r0 = s.retval; + s.tmp_9.arg0 = r0; + s.tmp_9.arg1 = 13; + s.tmp_9.arg2 = 1193046; + s.pc = 23; return s.tmp_9; + case 23: + r0 = s.retval; + s.tmp_8.arg0 = r0; + s.tmp_8.arg1 = 15; + s.tmp_8.arg2 = 16777215; + s.pc = 22; return s.tmp_8; + case 22: + r0 = s.retval; + s.tmp_7.arg0 = r0; + s.tmp_7.arg1 = 2000; + s.pc = 21; return s.tmp_7; + case 21: + r0 = s.retval; + s.tmp_6.arg0 = r0; + s.pc = 20; return s.tmp_6; + case 20: + r0 = s.retval; + s.tmp_5.arg0 = r0; + s.pc = 19; return s.tmp_5; + case 19: + r0 = s.retval; + s.tmp_4.arg0 = r0; + s.tmp_4.arg1 = 2000; + s.pc = 18; return s.tmp_4; + case 18: + r0 = s.retval; + s.tmp_3.arg0 = r0; + s.pc = 17; return s.tmp_3; + case 17: + r0 = s.retval; + s.tmp_2.arg0 = r0; + s.tmp_2.arg1 = inline__P36266; + s.tmp_2.arg2 = undefined; + s.tmp_2.arg3 = undefined; + s.pc = 16; return s.tmp_2; + case 16: + r0 = s.retval; + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = 1000; + s.pc = 15; return s.tmp_1; + case 15: + r0 = s.retval; + s.tmp_0 = color_startFadeUntilDone__P19410_mk(s); + s.tmp_1 = color_currentPalette__P19330_mk(s); + s.pc = 34; return s.tmp_1; + case 34: + r0 = s.retval; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = globals.White___19450; + s.tmp_0.arg2 = 2000; + s.pc = 33; return s.tmp_0; + case 33: + r0 = s.retval; + r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P482381.info = {"start":1094,"length":329,"line":36,"column":48,"endLine":48,"endColumn":5,"fileName":"effect.ts","functionName":"inline","argumentNames":[]} -inline__P482381.info = {"start":1094,"length":329,"line":36,"column":48,"endLine":48,"endColumn":5,"fileName":"effect.ts","functionName":"inline","argumentNames":[]} +inline__P36210.info = {"start":39286,"length":1473,"line":131,"column":9,"endLine":175,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} +inline__P36210.info = {"start":39286,"length":1473,"line":131,"column":9,"endLine":175,"endColumn":1,"fileName":"test.ts","functionName":"inline","argumentNames":[]} -function inline__P482381_mk(s) { +function inline__P36210_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P482381, depth: s.depth + 1, + parent: s, fn: inline__P36210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - l___482382: undefined, - p___482385: undefined, - lastColor___482390: undefined, - i___482396: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + tmp_8: undefined, + tmp_9: undefined, + tmp_10: undefined, + tmp_11: undefined, + tmp_12: undefined, + tmp_13: undefined, + tmp_14: undefined, + tmp_15: undefined, + tmp_16: undefined, + tmp_17: undefined, + tmp_18: undefined, + grayArcade___36229: undefined, } } -function color_Fade_constructor__P481833(s) { +function inline__P36266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1649,20 +1881,51 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } + s.tmp_0 = color_RGB_red__P19289_mk(s); + s.tmp_1 = r0 = s.arg0; + s.tmp_0.arg0 = r0; + r0 = s.tmp_1.fields["_r"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 - 127); + s.tmp_0.arg1 = r0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + s.tmp_0 = color_RGB_green__P19291_mk(s); + s.tmp_1 = r0 = s.arg0; + s.tmp_0.arg0 = r0; + r0 = s.tmp_1.fields["_g"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 - 127); + s.tmp_0.arg1 = r0; + s.pc = 2; return s.tmp_0; + case 2: + r0 = s.retval; + s.tmp_0 = color_RGB_blue__P19293_mk(s); + s.tmp_1 = r0 = s.arg0; + s.tmp_0.arg0 = r0; + r0 = s.tmp_1.fields["_b"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 - 127); + s.tmp_0.arg1 = r0; + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; r0 = s.arg0; - if (!checkSubtype(r0, color_Fade__C481817_VT)) failedCast(r0); - r0 = undefined; return leave(s, r0) default: oops() } } } -color_Fade_constructor__P481833.info = {"start":206,"length":17,"line":7,"column":8,"endLine":7,"endColumn":25,"fileName":"fade.ts","functionName":"inline","argumentNames":["this"]} -color_Fade_constructor__P481833.info = {"start":206,"length":17,"line":7,"column":8,"endLine":7,"endColumn":25,"fileName":"fade.ts","functionName":"inline","argumentNames":["this"]} +inline__P36266.info = {"start":40520,"length":132,"line":167,"column":19,"endLine":172,"endColumn":9,"fileName":"test.ts","functionName":"inline","argumentNames":["rgb"]} +inline__P36266.info = {"start":40520,"length":132,"line":167,"column":19,"endLine":172,"endColumn":9,"fileName":"test.ts","functionName":"inline","argumentNames":["rgb"]} -function color_Fade_constructor__P481833_mk(s) { +function inline__P36266_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_Fade_constructor__P481833, depth: s.depth + 1, + parent: s, fn: inline__P36266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, arg0: undefined, } } @@ -1670,7 +1933,7 @@ function color_Fade_constructor__P481833_mk(s) { -function color_Fade_setEndPalette__P481824(s) { +function color_bufferToPalette__P19326(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1680,45 +1943,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.p___19629 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, color_Fade__C481817_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - s.tmp_2 = color__clone__P496337_mk(s); - s.tmp_2.arg0 = s.arg1; - s.pc = 1; return s.tmp_2; + r0 = pxsim_pxtcore_mkClassInstance(color_Palette__C19309_VT); + s.tmp_0 = r0; + s.tmp_1 = color_ColorBuffer_constructor__P19275_mk(s); + s.tmp_1.arg0 = s.tmp_0; + r0 = pxsim.BufferMethods.length(s.arg0); + s.tmp_2 = r0; + r0 = (s.tmp_2 / 3); + s.tmp_1.arg1 = r0; + s.tmp_1.arg2 = undefined; + s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_endPalette"] = (s.tmp_1); - r0 = s.arg0; + s.p___19629 = (s.tmp_0); + r0 = (s.p___19629).fields["buf"] = (s.arg0); + r0 = s.p___19629; return leave(s, r0) default: oops() } } } -color_Fade_setEndPalette__P481824.info = {"start":1647,"length":127,"line":59,"column":8,"endLine":62,"endColumn":9,"fileName":"fade.ts","functionName":"setEndPalette","argumentNames":["this","colors"]} -color_Fade_setEndPalette__P481824.info = {"start":1647,"length":127,"line":59,"column":8,"endLine":62,"endColumn":9,"fileName":"fade.ts","functionName":"setEndPalette","argumentNames":["this","colors"]} +color_bufferToPalette__P19326.info = {"start":9854,"length":147,"line":326,"column":4,"endLine":330,"endColumn":5,"fileName":"color.ts","functionName":"bufferToPalette","argumentNames":["buf"]} +color_bufferToPalette__P19326.info = {"start":9854,"length":147,"line":326,"column":4,"endLine":330,"endColumn":5,"fileName":"color.ts","functionName":"bufferToPalette","argumentNames":["buf"]} -function color_Fade_setEndPalette__P481824_mk(s) { +function color_bufferToPalette__P19326_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_Fade_setEndPalette__P481824, depth: s.depth + 1, + parent: s, fn: color_bufferToPalette__P19326, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, + p___19629: undefined, arg0: undefined, - arg1: undefined, } } -function color_ColorBuffer_setColor__P481098(s) { +function color_ColorBuffer_constructor__P19275(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1728,9 +1995,6 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___482817 = undefined; - s.start___482819 = undefined; - s.i___482823 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -1738,72 +2002,43 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, color_ColorBuffer__C481093_VT)) failedCast(r0); - r0 = (s.arg1 | 0); - s.arg1 = (r0); - r0 = (s.arg1 < 0); - s.tmp_0 = r0; + if (!checkSubtype(r0, color_ColorBuffer__C19267_VT)) failedCast(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: - s.tmp_1 = r0 = s.arg1; - s.tmp_3 = color_ColorBuffer_length__P481096_mk(s); - s.tmp_3.arg0 = s.arg0; - s.pc = 8; return s.tmp_3; - case 8: - r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_1 >= s.tmp_2); + r0 = 0; case 2: // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 3; continue; } - { step = 7; continue; } - case 3: - case 4: - s.tmp_5 = color_ColorBuffer_stride__P481095_mk(s); + s.tmp_1 = r0; + r0 = (s.arg0).fields["layout"] = (s.tmp_1); + s.tmp_0 = r0 = s.arg0; + r0 = (s.arg1 | 0); + s.tmp_3 = r0; + s.tmp_5 = color_ColorBuffer_stride__P19269_mk(s); s.tmp_5.arg0 = s.arg0; - s.pc = 9; return s.tmp_5; - case 9: + s.pc = 3; return s.tmp_5; + case 3: r0 = s.retval; - s.s___482817 = (r0); - r0 = (s.arg1 * s.s___482817); - s.start___482819 = (r0); - r0 = (s.s___482817 - 1); - s.i___482823 = (r0); - case 5: - r0 = (s.i___482823 >= 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 6; continue; } - r0 = s.arg0.fields["buf"]; - s.tmp_1 = r0; - r0 = (s.start___482819 + s.i___482823); + s.tmp_4 = r0; + r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; - r0 = (s.arg2 & 255); - s.tmp_3 = r0; - r0 = pxsim.BufferMethods.setByte(s.tmp_1, s.tmp_2, s.tmp_3); - r0 = (s.arg2 >> 8); - s.arg2 = (r0); - r0 = (s.i___482823 - 1); - s.i___482823 = (r0); - { step = 5; continue; } - case 6: - case 7: + r0 = pxsim.control.createBuffer(s.tmp_2); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["buf"] = (s.tmp_1); r0 = undefined; return leave(s, r0) default: oops() } } } -color_ColorBuffer_setColor__P481098.info = {"start":1308,"length":362,"line":51,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"setColor","argumentNames":["this","index","color"]} -color_ColorBuffer_setColor__P481098.info = {"start":1308,"length":362,"line":51,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"setColor","argumentNames":["this","index","color"]} +color_ColorBuffer_constructor__P19275.info = {"start":338,"length":199,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"inline","argumentNames":["this","length","layout"]} +color_ColorBuffer_constructor__P19275.info = {"start":338,"length":199,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"inline","argumentNames":["this","length","layout"]} -function color_ColorBuffer_setColor__P481098_mk(s) { +function color_ColorBuffer_constructor__P19275_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_ColorBuffer_setColor__P481098, depth: s.depth + 1, + parent: s, fn: color_ColorBuffer_constructor__P19275, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1811,9 +2046,6 @@ function color_ColorBuffer_setColor__P481098_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - s___482817: undefined, - start___482819: undefined, - i___482823: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -1823,57 +2055,7 @@ function color_ColorBuffer_setColor__P481098_mk(s) { -function color_ColorBuffer_length__P481096(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, color_ColorBuffer__C481093_VT)) failedCast(r0); - r0 = s.arg0.fields["buf"]; - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.length(s.tmp_1); - s.tmp_0 = r0; - s.tmp_3 = color_ColorBuffer_stride__P481095_mk(s); - s.tmp_3.arg0 = s.arg0; - s.pc = 1; return s.tmp_3; - case 1: - r0 = s.retval; - s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_2); - return leaveAccessor(s, r0) - default: oops() -} } } -color_ColorBuffer_length__P481096.info = {"start":836,"length":84,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"length","argumentNames":["this"]} -color_ColorBuffer_length__P481096.isGetter = true; -color_ColorBuffer_length__P481096.info = {"start":836,"length":84,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"length","argumentNames":["this"]} - -function color_ColorBuffer_length__P481096_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: color_ColorBuffer_length__P481096, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - arg0: undefined, -} } - - - - - -function color_ColorBuffer_stride__P481095(s) { +function color_ColorBuffer_stride__P19269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1888,7 +2070,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, color_ColorBuffer__C481093_VT)) failedCast(r0); + if (!checkSubtype(r0, color_ColorBuffer__C19267_VT)) failedCast(r0); r0 = s.arg0.fields["layout"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 0); @@ -1906,14 +2088,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -color_ColorBuffer_stride__P481095.info = {"start":737,"length":89,"line":30,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"stride","argumentNames":["this"]} -color_ColorBuffer_stride__P481095.isGetter = true; -color_ColorBuffer_stride__P481095.info = {"start":737,"length":89,"line":30,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"stride","argumentNames":["this"]} +color_ColorBuffer_stride__P19269.info = {"start":737,"length":89,"line":30,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"stride","argumentNames":["this"]} +color_ColorBuffer_stride__P19269.isGetter = true; +color_ColorBuffer_stride__P19269.info = {"start":737,"length":89,"line":30,"column":8,"endLine":32,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"stride","argumentNames":["this"]} -function color_ColorBuffer_stride__P481095_mk(s) { +function color_ColorBuffer_stride__P19269_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_ColorBuffer_stride__P481095, depth: s.depth + 1, + parent: s, fn: color_ColorBuffer_stride__P19269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1925,7 +2107,7 @@ function color_ColorBuffer_stride__P481095_mk(s) { -function color_ColorBuffer_color__P481097(s) { +function color_RGB_blue__P19293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1935,97 +2117,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___482770 = undefined; - s.start___482772 = undefined; - s.c___482776 = undefined; - s.i___482777 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, color_ColorBuffer__C481093_VT)) failedCast(r0); - r0 = (s.arg1 | 0); - s.arg1 = (r0); - r0 = (s.arg1 < 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + if (!checkSubtype(r0, color_RGB__C19287_VT)) failedCast(r0); + s.tmp_0 = r0 = s.arg0; + s.tmp_2 = Math_clamp__P15687_mk(s); + s.tmp_2.arg0 = 0; + s.tmp_2.arg1 = 255; + s.tmp_2.arg2 = s.arg1; + s.pc = 1; return s.tmp_2; case 1: - s.tmp_1 = r0 = s.arg1; - s.tmp_3 = color_ColorBuffer_length__P481096_mk(s); - s.tmp_3.arg0 = s.arg0; - s.pc = 8; return s.tmp_3; - case 8: - r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_1 >= s.tmp_2); - case 2: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 3; continue; } - r0 = -1; - { step = 7; continue; } - case 3: - case 4: - s.tmp_5 = color_ColorBuffer_stride__P481095_mk(s); - s.tmp_5.arg0 = s.arg0; - s.pc = 9; return s.tmp_5; - case 9: r0 = s.retval; - s.s___482770 = (r0); - r0 = (s.arg1 * s.s___482770); - s.start___482772 = (r0); - s.c___482776 = (0); - s.i___482777 = (0); - case 5: - r0 = (s.i___482777 < s.s___482770); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 6; continue; } - r0 = (s.c___482776 << 8); s.tmp_1 = r0; - r0 = s.arg0.fields["buf"]; - s.tmp_4 = r0; - r0 = (s.start___482772 + s.i___482777); - s.tmp_5 = r0; - r0 = pxsim.BufferMethods.getByte(s.tmp_4, s.tmp_5); - s.tmp_3 = r0; - r0 = (s.tmp_3 & 255); - s.tmp_2 = r0; - r0 = (s.tmp_1 | s.tmp_2); - s.c___482776 = (r0); - r0 = (s.i___482777 + 1); - s.i___482777 = (r0); - { step = 5; continue; } - case 6: - r0 = s.c___482776; - case 7: + r0 = (s.tmp_0).fields["_b"] = (s.tmp_1); + r0 = undefined; return leave(s, r0) default: oops() } } } -color_ColorBuffer_color__P481097.info = {"start":930,"length":368,"line":38,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"color","argumentNames":["this","index"]} -color_ColorBuffer_color__P481097.info = {"start":930,"length":368,"line":38,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"color","argumentNames":["this","index"]} +color_RGB_blue__P19293.info = {"start":947,"length":76,"line":41,"column":8,"endLine":43,"endColumn":9,"fileName":"color.ts","functionName":"blue","argumentNames":["this","v"]} +color_RGB_blue__P19293.info = {"start":947,"length":76,"line":41,"column":8,"endLine":43,"endColumn":9,"fileName":"color.ts","functionName":"blue","argumentNames":["this","v"]} -function color_ColorBuffer_color__P481097_mk(s) { +function color_RGB_blue__P19293_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_ColorBuffer_color__P481097, depth: s.depth + 1, + parent: s, fn: color_RGB_blue__P19293, 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, - s___482770: undefined, - start___482772: undefined, - c___482776: undefined, - i___482777: undefined, arg0: undefined, arg1: undefined, } } @@ -2034,7 +2157,7 @@ function color_ColorBuffer_color__P481097_mk(s) { -function color_currentPalette__P496066(s) { +function Math_clamp__P15687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2044,62 +2167,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___496323 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.currentColors___495682); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(color_Palette__C496048_VT); - s.tmp_0 = r0; - s.tmp_1 = color_ColorBuffer_constructor__P481101_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_2 = color_availableColors__P496124_mk(s); - s.pc = 5; return s.tmp_2; - case 5: - r0 = s.retval; - s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = undefined; - s.pc = 4; return s.tmp_1; - case 4: + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + s.tmp_0 = Math_min__P15691_mk(s); + s.tmp_0.arg0 = s.arg1; + s.tmp_1 = Math_max__P15690_mk(s); + s.tmp_1.arg0 = s.arg0; + s.tmp_1.arg1 = s.arg2; + s.pc = 2; return s.tmp_1; + case 2: r0 = s.retval; - s.p___496323 = (s.tmp_0); - s.tmp_0 = r0 = s.p___496323; - r0 = pxsim.BufferMethods.slice(globals.currentColors___495682, 0, -1); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["buf"] = (s.tmp_1); - r0 = s.p___496323; - { step = 3; continue; } - { step = 2; continue; } + s.tmp_0.arg1 = r0; + s.pc = 1; return s.tmp_0; case 1: - s.tmp_0 = color__clone__P496337_mk(s); - s.tmp_0.arg0 = globals.originalPalette___481543; - s.pc = 6; return s.tmp_0; - case 6: r0 = s.retval; - { step = 3; continue; } - case 2: - r0 = undefined; - case 3: return leave(s, r0) default: oops() } } } -color_currentPalette__P496066.info = {"start":11562,"length":258,"line":384,"column":4,"endLine":392,"endColumn":5,"fileName":"color.ts","functionName":"currentPalette","argumentNames":[]} -color_currentPalette__P496066.info = {"start":11562,"length":258,"line":384,"column":4,"endLine":392,"endColumn":5,"fileName":"color.ts","functionName":"currentPalette","argumentNames":[]} +Math_clamp__P15687.info = {"start":11791,"length":130,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P15687.info = {"start":11791,"length":130,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function color_currentPalette__P496066_mk(s) { +function Math_clamp__P15687_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_currentPalette__P496066, depth: s.depth + 1, + parent: s, fn: Math_clamp__P15687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - tmp_2: undefined, - p___496323: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function color_bufferToPalette__P496210(s) { +function Math_min__P15691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2109,49 +2217,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___496212 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(color_Palette__C496048_VT); + r0 = (s.arg0 <= s.arg1); s.tmp_0 = r0; - s.tmp_1 = color_ColorBuffer_constructor__P481101_mk(s); - s.tmp_1.arg0 = s.tmp_0; - r0 = pxsim.BufferMethods.length(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_2 / 3); - s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = undefined; - s.pc = 1; return s.tmp_1; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.arg0; + { step = 3; continue; } case 1: - r0 = s.retval; - s.p___496212 = (s.tmp_0); - r0 = (s.p___496212).fields["buf"] = (s.arg0); - r0 = s.p___496212; + case 2: + r0 = s.arg1; + case 3: return leave(s, r0) default: oops() } } } -color_bufferToPalette__P496210.info = {"start":9854,"length":147,"line":326,"column":4,"endLine":330,"endColumn":5,"fileName":"color.ts","functionName":"bufferToPalette","argumentNames":["buf"]} -color_bufferToPalette__P496210.info = {"start":9854,"length":147,"line":326,"column":4,"endLine":330,"endColumn":5,"fileName":"color.ts","functionName":"bufferToPalette","argumentNames":["buf"]} +Math_min__P15691.info = {"start":12861,"length":105,"line":444,"column":4,"endLine":447,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P15691.info = {"start":12861,"length":105,"line":444,"column":4,"endLine":447,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function color_bufferToPalette__P496210_mk(s) { +function Math_min__P15691_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_bufferToPalette__P496210, depth: s.depth + 1, + parent: s, fn: Math_min__P15691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - p___496212: undefined, arg0: undefined, + arg1: undefined, } } -function color_ColorBuffer_constructor__P481101(s) { +function Math_max__P15690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2164,64 +2265,39 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, color_ColorBuffer__C481093_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg2; - r0 = pxsim_numops_toBool(s.tmp_0); + r0 = (s.arg0 >= s.arg1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + r0 = s.arg0; + { step = 3; continue; } case 1: - r0 = 0; case 2: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = (s.arg0).fields["layout"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg0; - r0 = (s.arg1 | 0); - s.tmp_3 = r0; - s.tmp_5 = color_ColorBuffer_stride__P481095_mk(s); - s.tmp_5.arg0 = s.arg0; - s.pc = 3; return s.tmp_5; + r0 = s.arg1; case 3: - r0 = s.retval; - s.tmp_4 = r0; - r0 = (s.tmp_3 * s.tmp_4); - s.tmp_2 = r0; - r0 = pxsim.control.createBuffer(s.tmp_2); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["buf"] = (s.tmp_1); - r0 = undefined; return leave(s, r0) default: oops() } } } -color_ColorBuffer_constructor__P481101.info = {"start":338,"length":199,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"inline","argumentNames":["this","length","layout"]} -color_ColorBuffer_constructor__P481101.info = {"start":338,"length":199,"line":19,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"inline","argumentNames":["this","length","layout"]} +Math_max__P15690.info = {"start":12668,"length":105,"line":436,"column":4,"endLine":439,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P15690.info = {"start":12668,"length":105,"line":436,"column":4,"endLine":439,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function color_ColorBuffer_constructor__P481101_mk(s) { +function Math_max__P15690_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_ColorBuffer_constructor__P481101, depth: s.depth + 1, + parent: s, fn: Math_max__P15690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, arg0: undefined, arg1: undefined, - arg2: undefined, } } -function color__clone__P496337(s) { +function color_RGB_blue__P19292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2231,77 +2307,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.out___496356 = undefined; - s.i___496362 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(color_Palette__C496048_VT); - s.tmp_0 = r0; - s.tmp_1 = color_ColorBuffer_constructor__P481101_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_2 = color_ColorBuffer_length__P481096_mk(s); - s.tmp_2.arg0 = s.arg0; - s.pc = 4; return s.tmp_2; - case 4: - r0 = s.retval; - s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = undefined; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.out___496356 = (s.tmp_0); - s.i___496362 = (0); - case 1: - s.tmp_1 = r0 = s.i___496362; - s.tmp_3 = color_ColorBuffer_length__P481096_mk(s); - s.tmp_3.arg0 = s.arg0; - s.pc = 5; return s.tmp_3; - case 5: - 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 = 2; continue; } - s.tmp_4 = color_ColorBuffer_setColor__P481098_mk(s); - s.tmp_4.arg0 = s.out___496356; - s.tmp_4.arg1 = s.i___496362; - s.tmp_5 = color_ColorBuffer_color__P481097_mk(s); - s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.i___496362; - s.pc = 7; return s.tmp_5; - case 7: - r0 = s.retval; - s.tmp_4.arg2 = r0; - s.pc = 6; return s.tmp_4; - case 6: - r0 = s.retval; - r0 = (s.i___496362 + 1); - s.i___496362 = (r0); - { step = 1; continue; } - case 2: - r0 = s.out___496356; - return leave(s, r0) + r0 = s.arg0; + if (!checkSubtype(r0, color_RGB__C19287_VT)) failedCast(r0); + r0 = s.arg0.fields["_b"]; + return leaveAccessor(s, r0) default: oops() } } } -color__clone__P496337.info = {"start":12027,"length":200,"line":399,"column":4,"endLine":405,"endColumn":5,"fileName":"color.ts","functionName":"_clone","argumentNames":["p"]} -color__clone__P496337.info = {"start":12027,"length":200,"line":399,"column":4,"endLine":405,"endColumn":5,"fileName":"color.ts","functionName":"_clone","argumentNames":["p"]} +color_RGB_blue__P19292.info = {"start":880,"length":58,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"color.ts","functionName":"blue","argumentNames":["this"]} +color_RGB_blue__P19292.isGetter = true; +color_RGB_blue__P19292.info = {"start":880,"length":58,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"color.ts","functionName":"blue","argumentNames":["this"]} -function color__clone__P496337_mk(s) { +function color_RGB_blue__P19292_mk(s) { checkStack(s.depth); return { - parent: s, fn: color__clone__P496337, depth: s.depth + 1, + parent: s, fn: color_RGB_blue__P19292, 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, - out___496356: undefined, - i___496362: undefined, arg0: undefined, } } @@ -2309,7 +2333,7 @@ function color__clone__P496337_mk(s) { -function color_availableColors__P496124(s) { +function color_RGB_green__P19291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2319,30 +2343,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = color_ColorBuffer_length__P481096_mk(s); - s.tmp_0.arg0 = globals.originalPalette___481543; - s.pc = 1; return s.tmp_0; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, color_RGB__C19287_VT)) failedCast(r0); + s.tmp_0 = r0 = s.arg0; + s.tmp_2 = Math_clamp__P15687_mk(s); + s.tmp_2.arg0 = 0; + s.tmp_2.arg1 = 255; + s.tmp_2.arg2 = s.arg1; + s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_g"] = (s.tmp_1); + r0 = undefined; return leave(s, r0) default: oops() } } } -color_availableColors__P496124.info = {"start":9316,"length":88,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"color.ts","functionName":"availableColors","argumentNames":[]} -color_availableColors__P496124.info = {"start":9316,"length":88,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"color.ts","functionName":"availableColors","argumentNames":[]} +color_RGB_green__P19291.info = {"start":793,"length":77,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"color.ts","functionName":"green","argumentNames":["this","v"]} +color_RGB_green__P19291.info = {"start":793,"length":77,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"color.ts","functionName":"green","argumentNames":["this","v"]} -function color_availableColors__P496124_mk(s) { +function color_RGB_green__P19291_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_availableColors__P496124, depth: s.depth + 1, + parent: s, fn: color_RGB_green__P19291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + arg0: undefined, + arg1: undefined, } } -function color_FadeEffect_constructor__P496055(s) { +function color_RGB_green__P19290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2354,33 +2395,31 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, color_FadeEffect__C496052_VT)) failedCast(r0); - r0 = (s.arg0).fields["fadeFactory"] = (s.arg1); - r0 = undefined; - return leave(s, r0) + if (!checkSubtype(r0, color_RGB__C19287_VT)) failedCast(r0); + r0 = s.arg0.fields["_g"]; + return leaveAccessor(s, r0) default: oops() } } } -color_FadeEffect_constructor__P496055.info = {"start":4944,"length":50,"line":181,"column":8,"endLine":181,"endColumn":58,"fileName":"color.ts","functionName":"inline","argumentNames":["this","fadeFactory"]} -color_FadeEffect_constructor__P496055.info = {"start":4944,"length":50,"line":181,"column":8,"endLine":181,"endColumn":58,"fileName":"color.ts","functionName":"inline","argumentNames":["this","fadeFactory"]} +color_RGB_green__P19290.info = {"start":725,"length":59,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"color.ts","functionName":"green","argumentNames":["this"]} +color_RGB_green__P19290.isGetter = true; +color_RGB_green__P19290.info = {"start":725,"length":59,"line":31,"column":8,"endLine":33,"endColumn":9,"fileName":"color.ts","functionName":"green","argumentNames":["this"]} -function color_FadeEffect_constructor__P496055_mk(s) { +function color_RGB_green__P19290_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_FadeEffect_constructor__P496055, depth: s.depth + 1, + parent: s, fn: color_RGB_green__P19290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, - arg1: undefined, } } -function color_FadeEffect_startScreenEffect__P496053(s) { +function color_RGB_red__P19289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2396,56 +2435,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, color_FadeEffect__C496052_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.lastEffect___496051); - if (!r0) { step = 1; continue; } - s.tmp_0 = color_FadeEffect_stop__P496054_mk(s); - s.tmp_0.arg0 = globals.lastEffect___496051; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - case 1: - case 2: - globals.lastEffect___496051 = (s.arg0); - s.tmp_0 = color_currentPalette__P496066_mk(s); - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - globals.lastPaletteBeforeFade___496050 = (r0); + if (!checkSubtype(r0, color_RGB__C19287_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = if_fadeFactory_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, "fadeFactory"), 1); - s.pc = 5; return s.tmp_2; - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["fadeFactory"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["fadeFactory"], 1); s.pc = 5; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.pc = 5; return s.tmp_2;; } - else { s.pc = 5; return s.tmp_2; } - } - case 5: + s.tmp_2 = Math_clamp__P15687_mk(s); + s.tmp_2.arg0 = 0; + s.tmp_2.arg1 = 255; + s.tmp_2.arg2 = s.arg1; + s.pc = 1; return s.tmp_2; + case 1: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_0).fields["currentFade"] = (s.tmp_1); - s.tmp_0 = color_Fade_start__P481502_mk(s); - r0 = s.arg0.fields["currentFade"]; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.arg1; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; + r0 = (s.tmp_0).fields["_r"] = (s.tmp_1); r0 = undefined; return leave(s, r0) default: oops() } } } -color_FadeEffect_startScreenEffect__P496053.info = {"start":5288,"length":276,"line":190,"column":8,"endLine":197,"endColumn":9,"fileName":"color.ts","functionName":"startScreenEffect","argumentNames":["this","duration"]} -color_FadeEffect_startScreenEffect__P496053.info = {"start":5288,"length":276,"line":190,"column":8,"endLine":197,"endColumn":9,"fileName":"color.ts","functionName":"startScreenEffect","argumentNames":["this","duration"]} +color_RGB_red__P19289.info = {"start":640,"length":75,"line":27,"column":8,"endLine":29,"endColumn":9,"fileName":"color.ts","functionName":"red","argumentNames":["this","v"]} +color_RGB_red__P19289.info = {"start":640,"length":75,"line":27,"column":8,"endLine":29,"endColumn":9,"fileName":"color.ts","functionName":"red","argumentNames":["this","v"]} -function color_FadeEffect_startScreenEffect__P496053_mk(s) { +function color_RGB_red__P19289_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_FadeEffect_startScreenEffect__P496053, depth: s.depth + 1, + parent: s, fn: color_RGB_red__P19289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2458,7 +2469,7 @@ function color_FadeEffect_startScreenEffect__P496053_mk(s) { -function color_Fade_start__P481502(s) { +function color_RGB_red__P19288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2470,96 +2481,31 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, color_Fade__C481817_VT)) failedCast(r0); - s.tmp_0 = color_init__P481878_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = (s.arg0).fields["duration"] = (s.arg1); - s.tmp_0 = color_setPalette__P496085_mk(s); - s.tmp_1 = color_Fade_startPalette__P481818_mk(s); - s.tmp_1.arg0 = s.arg0; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = 0; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_runtime__P478704_mk(s); - s.pc = 4; return s.tmp_2; - case 4: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["startTime"] = (s.tmp_1); - globals.activeFade___481888 = (s.arg0); - r0 = s.arg0; - return leave(s, r0) + if (!checkSubtype(r0, color_RGB__C19287_VT)) failedCast(r0); + r0 = s.arg0.fields["_r"]; + return leaveAccessor(s, r0) default: oops() } } } -color_Fade_start__P481502.info = {"start":834,"length":258,"line":29,"column":8,"endLine":37,"endColumn":9,"fileName":"fade.ts","functionName":"start","argumentNames":["this","duration"]} -color_Fade_start__P481502.info = {"start":834,"length":258,"line":29,"column":8,"endLine":37,"endColumn":9,"fileName":"fade.ts","functionName":"start","argumentNames":["this","duration"]} +color_RGB_red__P19288.info = {"start":574,"length":57,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"color.ts","functionName":"red","argumentNames":["this"]} +color_RGB_red__P19288.isGetter = true; +color_RGB_red__P19288.info = {"start":574,"length":57,"line":24,"column":8,"endLine":26,"endColumn":9,"fileName":"color.ts","functionName":"red","argumentNames":["this"]} -function color_Fade_start__P481502_mk(s) { +function color_RGB_red__P19288_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_Fade_start__P481502, depth: s.depth + 1, + parent: s, fn: color_RGB_red__P19288, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, arg0: undefined, - arg1: undefined, -} } - - - - - -function game_runtime__P478704(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; -switch (step) { - case 0: - - s.tmp_1 = game_currentScene__P478375_mk(s); - s.pc = 1; return s.tmp_1; - case 1: - r0 = s.retval; - s.tmp_0 = r0; - r0 = s.tmp_0.fields["_millis"]; - return leave(s, r0) - default: oops() -} } } -game_runtime__P478704.info = {"start":10293,"length":81,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"runtime","argumentNames":[]} -game_runtime__P478704.info = {"start":10293,"length":81,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"runtime","argumentNames":[]} - -function game_runtime__P478704_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_runtime__P478704, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, } } -function scene_Scene_millis__P478597(s) { +function color_Fade_setEndColor__P19343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2571,30 +2517,48 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C478594_VT)) failedCast(r0); - r0 = s.arg0.fields["_millis"]; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + s.tmp_0 = color_ColorBuffer_setColor__P19272_mk(s); + s.tmp_1 = color_Fade_endPalette__P19335_mk(s); + s.tmp_1.arg0 = s.arg0; + s.pc = 2; return s.tmp_1; + case 2: + r0 = s.retval; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = s.arg1; + s.tmp_0.arg2 = s.arg2; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = s.arg0; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P478597.info = {"start":6341,"length":61,"line":176,"column":8,"endLine":178,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -scene_Scene_millis__P478597.info = {"start":6341,"length":61,"line":176,"column":8,"endLine":178,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +color_Fade_setEndColor__P19343.info = {"start":1784,"length":140,"line":64,"column":8,"endLine":67,"endColumn":9,"fileName":"fade.ts","functionName":"setEndColor","argumentNames":["this","index","col"]} +color_Fade_setEndColor__P19343.info = {"start":1784,"length":140,"line":64,"column":8,"endLine":67,"endColumn":9,"fileName":"fade.ts","functionName":"setEndColor","argumentNames":["this","index","col"]} -function scene_Scene_millis__P478597_mk(s) { +function color_Fade_setEndColor__P19343_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P478597, depth: s.depth + 1, + parent: s, fn: color_Fade_setEndColor__P19343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function color_Fade_startPalette__P481818(s) { +function color_Fade_endPalette__P19335(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2609,8 +2573,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, color_Fade__C481817_VT)) failedCast(r0); - r0 = s.arg0.fields["_startPalette"]; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + r0 = s.arg0.fields["_endPalette"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -2619,25 +2583,25 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_3 = r0 = s.arg0; - s.tmp_5 = color_currentPalette__P496066_mk(s); + s.tmp_5 = color_currentPalette__P19330_mk(s); s.pc = 3; return s.tmp_5; case 3: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_3).fields["_startPalette"] = (s.tmp_4); + r0 = (s.tmp_3).fields["_endPalette"] = (s.tmp_4); case 1: case 2: - r0 = s.arg0.fields["_startPalette"]; + r0 = s.arg0.fields["_endPalette"]; return leave(s, r0) default: oops() } } } -color_Fade_startPalette__P481818.info = {"start":233,"length":189,"line":9,"column":8,"endLine":14,"endColumn":9,"fileName":"fade.ts","functionName":"startPalette","argumentNames":["this"]} -color_Fade_startPalette__P481818.info = {"start":233,"length":189,"line":9,"column":8,"endLine":14,"endColumn":9,"fileName":"fade.ts","functionName":"startPalette","argumentNames":["this"]} +color_Fade_endPalette__P19335.info = {"start":432,"length":181,"line":16,"column":8,"endLine":21,"endColumn":9,"fileName":"fade.ts","functionName":"endPalette","argumentNames":["this"]} +color_Fade_endPalette__P19335.info = {"start":432,"length":181,"line":16,"column":8,"endLine":21,"endColumn":9,"fileName":"fade.ts","functionName":"endPalette","argumentNames":["this"]} -function color_Fade_startPalette__P481818_mk(s) { +function color_Fade_endPalette__P19335_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_Fade_startPalette__P481818, depth: s.depth + 1, + parent: s, fn: color_Fade_endPalette__P19335, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2652,7 +2616,7 @@ function color_Fade_startPalette__P481818_mk(s) { -function color_setPalette__P496085(s) { +function color_Fade_pauseUntilDone__P19346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2662,135 +2626,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.fromStart___496109 = undefined; - s.toStart___496112 = undefined; - s.asBuf___496115 = undefined; - s.copyLength___496118 = undefined; - s.i___496126 = 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 = pxsim_numops_toBoolDecr(s.arg2); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); + r0 = s.arg0; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P30718); s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + s.tmp_1 = pauseUntil__P15854_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = undefined; + s.pc = 1; return s.tmp_1; case 1: - s.tmp_2 = r0 = s.arg2; - s.tmp_4 = color_ColorBuffer_length__P481096_mk(s); - s.tmp_4.arg0 = s.arg0; - s.pc = 9; return s.tmp_4; - case 9: - r0 = s.retval; - s.tmp_3 = r0; - r0 = (s.tmp_2 > s.tmp_3); - case 2: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 3; continue; } - s.tmp_6 = color_ColorBuffer_length__P481096_mk(s); - s.tmp_6.arg0 = s.arg0; - s.pc = 10; return s.tmp_6; - case 10: - r0 = s.retval; - s.arg2 = (r0); - case 3: - case 4: - r0 = pxsim_numops_toBoolDecr(globals.currentColors___495682); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 5; continue; } - r0 = globals.originalPalette___481543.fields["buf"]; - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_2, 0, -1); - globals.currentColors___495682 = (r0); - case 5: - case 6: - r0 = (s.arg3 * 3); - s.fromStart___496109 = (r0); - r0 = (s.arg1 * 3); - s.toStart___496112 = (r0); - r0 = s.arg0.fields["buf"]; - s.asBuf___496115 = (r0); - s.tmp_1 = Math_clamp__P477513_mk(s); - s.tmp_1.arg0 = 0; - s.tmp_2 = color_availableColors__P496124_mk(s); - s.pc = 12; return s.tmp_2; - case 12: - r0 = s.retval; - s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.arg2; - s.pc = 11; return s.tmp_1; - case 11: r0 = s.retval; - s.tmp_0 = r0; - r0 = (3 * s.tmp_0); - s.copyLength___496118 = (r0); - s.i___496126 = (0); - case 7: - r0 = (s.i___496126 < s.copyLength___496118); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 8; continue; } - s.tmp_1 = r0 = globals.currentColors___495682; - r0 = (s.toStart___496112 + s.i___496126); - s.tmp_2 = r0; - s.tmp_4 = r0 = s.asBuf___496115; - r0 = (s.fromStart___496109 + s.i___496126); - s.tmp_5 = r0; - r0 = pxsim.BufferMethods.getByte(s.tmp_4, s.tmp_5); - s.tmp_3 = r0; - r0 = pxsim.BufferMethods.setByte(s.tmp_1, s.tmp_2, s.tmp_3); - r0 = (s.i___496126 + 1); - s.i___496126 = (r0); - { step = 7; continue; } - case 8: - r0 = pxsim_pxtcore.setPalette(globals.currentColors___495682); - r0 = undefined; + r0 = s.arg0; return leave(s, r0) default: oops() } } } -color_setPalette__P496085.info = {"start":6189,"length":617,"line":219,"column":4,"endLine":236,"endColumn":5,"fileName":"color.ts","functionName":"setPalette","argumentNames":["palette","start","length","paletteOffset"]} -color_setPalette__P496085.info = {"start":6189,"length":617,"line":219,"column":4,"endLine":236,"endColumn":5,"fileName":"color.ts","functionName":"setPalette","argumentNames":["palette","start","length","paletteOffset"]} +color_Fade_pauseUntilDone__P19346.info = {"start":2872,"length":114,"line":102,"column":8,"endLine":105,"endColumn":9,"fileName":"fade.ts","functionName":"pauseUntilDone","argumentNames":["this"]} +color_Fade_pauseUntilDone__P19346.info = {"start":2872,"length":114,"line":102,"column":8,"endLine":105,"endColumn":9,"fileName":"fade.ts","functionName":"pauseUntilDone","argumentNames":["this"]} -function color_setPalette__P496085_mk(s) { +function color_Fade_pauseUntilDone__P19346_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_setPalette__P496085, depth: s.depth + 1, + parent: s, fn: color_Fade_pauseUntilDone__P19346, 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, - fromStart___496109: undefined, - toStart___496112: undefined, - asBuf___496115: undefined, - copyLength___496118: undefined, - i___496126: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, } } -function Math_clamp__P477513(s) { +function inline__P30718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2800,47 +2672,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - s.tmp_0 = Math_min__P477517_mk(s); - s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P477516_mk(s); - s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.arg2; - s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.pc = 1; return s.tmp_0; + s.tmp_2 = color_Fade_isActive__P19336_mk(s); + s.tmp_2.arg0 = s.caps[0]; + s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_Boolean__bang(s.tmp_0); return leave(s, r0) default: oops() } } } -Math_clamp__P477513.info = {"start":11791,"length":130,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -Math_clamp__P477513.info = {"start":11791,"length":130,"line":410,"column":4,"endLine":412,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +inline__P30718.info = {"start":2927,"length":22,"line":103,"column":23,"endLine":103,"endColumn":45,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} +inline__P30718.info = {"start":2927,"length":22,"line":103,"column":23,"endLine":103,"endColumn":45,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} -function Math_clamp__P477513_mk(s) { +function inline__P30718_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P477513, depth: s.depth + 1, + parent: s, fn: inline__P30718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, + tmp_2: undefined, } } -function Math_min__P477517(s) { +function color_Fade_isActive__P19336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2852,40 +2713,75 @@ switch (step) { 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; } + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + r0 = s.arg0.fields["startTime"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 !== undefined); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } case 1: + r0 = s.arg0.fields["duration"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 !== undefined); case 2: - r0 = s.arg1; + // jmp value (already in r0) + 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.arg0.fields["startTime"]; + s.tmp_5 = r0; + r0 = s.arg0.fields["duration"]; + s.tmp_6 = r0; + r0 = (s.tmp_5 + s.tmp_6); + s.tmp_4 = r0; + s.tmp_8 = game_runtime__P16878_mk(s); + s.pc = 5; return s.tmp_8; + case 5: + r0 = s.retval; + s.tmp_7 = r0; + r0 = (s.tmp_4 > s.tmp_7); + case 4: + // jmp value (already in r0) + s.tmp_9 = r0; + r0 = s.tmp_9; return leave(s, r0) default: oops() } } } -Math_min__P477517.info = {"start":12861,"length":105,"line":444,"column":4,"endLine":447,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -Math_min__P477517.info = {"start":12861,"length":105,"line":444,"column":4,"endLine":447,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +color_Fade_isActive__P19336.info = {"start":623,"length":201,"line":23,"column":8,"endLine":27,"endColumn":9,"fileName":"fade.ts","functionName":"isActive","argumentNames":["this"]} +color_Fade_isActive__P19336.info = {"start":623,"length":201,"line":23,"column":8,"endLine":27,"endColumn":9,"fileName":"fade.ts","functionName":"isActive","argumentNames":["this"]} -function Math_min__P477517_mk(s) { +function color_Fade_isActive__P19336_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P477517, depth: s.depth + 1, + parent: s, fn: color_Fade_isActive__P19336, 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, - arg1: undefined, } } -function Math_max__P477516(s) { +function game_runtime__P16878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2895,42 +2791,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) 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; } + s.tmp_1 = game_currentScene__P16549_mk(s); + s.pc = 1; return s.tmp_1; case 1: - case 2: - r0 = s.arg1; - case 3: + r0 = s.retval; + s.tmp_0 = r0; + r0 = s.tmp_0.fields["_millis"]; return leave(s, r0) default: oops() } } } -Math_max__P477516.info = {"start":12668,"length":105,"line":436,"column":4,"endLine":439,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -Math_max__P477516.info = {"start":12668,"length":105,"line":436,"column":4,"endLine":439,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +game_runtime__P16878.info = {"start":10293,"length":81,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"runtime","argumentNames":[]} +game_runtime__P16878.info = {"start":10293,"length":81,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"runtime","argumentNames":[]} -function Math_max__P477516_mk(s) { +function game_runtime__P16878_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P477516, depth: s.depth + 1, + parent: s, fn: game_runtime__P16878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - arg0: undefined, - arg1: undefined, + tmp_1: undefined, } } -function color_init__P481878(s) { +function scene_Scene_millis__P16771(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2940,46 +2826,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.currentScene___482144); - 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 = game_forever__P478701_mk(s); - s.tmp_2.arg0 = inline__P482198; - s.pc = 3; return s.tmp_2; - case 3: - r0 = s.retval; - s.tmp_0 = game_currentScene__P478375_mk(s); - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - globals.currentScene___482144 = (r0); - case 1: - case 2: - r0 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, scene_Scene__C16768_VT)) failedCast(r0); + r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -color_init__P481878.info = {"start":6049,"length":374,"line":217,"column":4,"endLine":230,"endColumn":5,"fileName":"fade.ts","functionName":"init","argumentNames":[]} -color_init__P481878.info = {"start":6049,"length":374,"line":217,"column":4,"endLine":230,"endColumn":5,"fileName":"fade.ts","functionName":"init","argumentNames":[]} +scene_Scene_millis__P16771.info = {"start":6341,"length":61,"line":176,"column":8,"endLine":178,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P16771.info = {"start":6341,"length":61,"line":176,"column":8,"endLine":178,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} -function color_init__P481878_mk(s) { +function scene_Scene_millis__P16771_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_init__P481878, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P16771, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, + arg0: undefined, } } -function inline__P482198(s) { +function pauseUntil__P15854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2989,43 +2861,78 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.finished___482200 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.activeFade___481888); - if (!r0) { step = 3; continue; } - s.tmp_0 = color_Fade_step__P481826_mk(s); - s.tmp_0.arg0 = globals.activeFade___481888; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - s.finished___482200 = (r0); - r0 = pxsim_numops_toBoolDecr(s.finished___482200); + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim_numops_toBoolDecr(s.arg0); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } - globals.activeFade___481888 = (undefined); + r0 = s.tmp_0; + { step = 2; continue; } case 1: + s.tmp_2 = lambda_1_mk(s); + s.tmp_2.argL = s.arg0; + setupLambda(s.tmp_2, s.tmp_2.argL); + s.pc = 8; return s.tmp_2; + case 8: + r0 = s.retval; case 2: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 3; continue; } + { step = 7; continue; } case 3: case 4: + r0 = pxsim_numops_toBoolDecr(s.arg1); + s.tmp_5 = r0; + r0 = pxsim_Boolean__bang(s.tmp_5); + s.tmp_4 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + if (!r0) { step = 5; continue; } + s.arg1 = (0); + case 5: + case 6: + s.tmp_0 = control___queuePollEvent__P15836_mk(s); + s.tmp_0.arg0 = s.arg1; + s.tmp_0.arg1 = s.arg0; + s.tmp_0.arg2 = undefined; + s.pc = 9; return s.tmp_0; + case 9: + r0 = s.retval; + case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P482198.info = {"start":6121,"length":236,"line":219,"column":25,"endLine":227,"endColumn":13,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} -inline__P482198.info = {"start":6121,"length":236,"line":219,"column":25,"endLine":227,"endColumn":13,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} +pauseUntil__P15854.info = {"start":10653,"length":227,"line":368,"column":0,"endLine":372,"endColumn":1,"fileName":"pxt_modules/base/control.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} +pauseUntil__P15854.info = {"start":10653,"length":227,"line":368,"column":0,"endLine":372,"endColumn":1,"fileName":"pxt_modules/base/control.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} -function inline__P482198_mk(s) { +function pauseUntil__P15854_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P482198, depth: s.depth + 1, + parent: s, fn: pauseUntil__P15854, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - finished___482200: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + arg0: undefined, + arg1: undefined, } } -function color_Fade_step__P481826(s) { +function control___queuePollEvent__P15836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3035,182 +2942,98 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.time___481942 = undefined; - s.p___481948 = undefined; - s.i___481955 = undefined; - s.col___481961 = undefined; + s.ev___21059 = 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, color_Fade__C481817_VT)) failedCast(r0); - r0 = s.arg0.fields["_endPalette"]; + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C15831_VT); + s.tmp_0 = r0; + s.tmp_1 = control_PollEvent_constructor__P15832_mk(s); + s.tmp_1.arg0 = s.tmp_0; + r0 = pxsim.control.allocateNotifyEvent(); + s.tmp_1.arg1 = r0; + s.tmp_1.arg2 = 1; + r0 = pxsim.control.millis(); + s.tmp_1.arg3 = r0; + s.tmp_1.arg4 = s.arg0; + s.tmp_1.arg5 = s.arg1; + r0 = pxsim_numops_toBoolDecr(s.arg2); s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); + r0 = pxsim_Boolean__bang(s.tmp_2); + s.tmp_1.arg6 = r0; + s.pc = 5; return s.tmp_1; + case 5: + r0 = s.retval; + s.ev___21059 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___15834); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.tmp_0; + r0 = pxsim_Array__mk(); + s.tmp_2 = r0; + r0 = pxsim_Array__push(s.tmp_2, s.ev___21059); + globals._pollEventQueue___15834 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P15835); { step = 2; continue; } case 1: - r0 = s.arg0.fields["startTime"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 === undefined); + r0 = pxsim_Array__push(globals._pollEventQueue___15834, s.ev___21059); case 2: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); + r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - r0 = true; - { step = 9; continue; } - case 3: - case 4: - s.tmp_8 = color_Fade_isActive__P481820_mk(s); - s.tmp_8.arg0 = s.arg0; - s.pc = 10; return s.tmp_8; - case 10: - r0 = s.retval; - s.tmp_7 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_7); - s.tmp_6 = r0; - r0 = pxsim_Boolean__bang(s.tmp_6); - s.tmp_5 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 5; continue; } - s.tmp_9 = color_setPalette__P496085_mk(s); - r0 = s.arg0.fields["_endPalette"]; - s.tmp_9.arg0 = r0; - s.tmp_9.arg1 = 0; - s.tmp_9.arg2 = 0; - s.tmp_9.arg3 = 0; - s.pc = 11; return s.tmp_9; - case 11: - r0 = s.retval; - r0 = (s.arg0).fields["startTime"] = (undefined); - r0 = true; - { step = 9; continue; } - case 5: + s.tmp_0 = control_onEvent__P15887_mk(s); + r0 = s.ev___21059.fields["eid"]; + s.tmp_0.arg0 = r0; + r0 = s.ev___21059.fields["vid"]; + s.tmp_0.arg1 = r0; + s.tmp_0.arg2 = s.arg2; + s.tmp_0.arg3 = 16; + s.pc = 6; return s.tmp_0; case 6: - s.tmp_1 = game_runtime__P478704_mk(s); - s.pc = 12; return s.tmp_1; - case 12: r0 = s.retval; + { step = 4; continue; } + case 3: + r0 = s.ev___21059.fields["eid"]; s.tmp_0 = r0; - r0 = s.arg0.fields["startTime"]; - s.tmp_2 = r0; - r0 = (s.tmp_0 - s.tmp_2); - s.time___481942 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(color_Palette__C496048_VT); - s.tmp_0 = r0; - s.tmp_1 = color_ColorBuffer_constructor__P481101_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_2 = color_ColorBuffer_length__P481096_mk(s); - r0 = s.arg0.fields["_startPalette"]; - s.tmp_2.arg0 = r0; - s.pc = 14; return s.tmp_2; - case 14: - r0 = s.retval; - s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = undefined; - s.pc = 13; return s.tmp_1; - case 13: - r0 = s.retval; - s.p___481948 = (s.tmp_0); - s.i___481955 = (0); + r0 = s.ev___21059.fields["vid"]; + s.tmp_1 = r0; + setupResume(s, 7); + pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); + checkResumeConsumed(); + return; case 7: - s.tmp_1 = r0 = s.i___481955; - s.tmp_3 = color_ColorBuffer_length__P481096_mk(s); - s.tmp_3.arg0 = s.p___481948; - s.pc = 15; return s.tmp_3; - case 15: - 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 = 8; continue; } - s.tmp_4 = color_partialColorTransition__P496252_mk(s); - s.tmp_5 = color_ColorBuffer_color__P481097_mk(s); - r0 = s.arg0.fields["_startPalette"]; - s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = s.i___481955; - s.pc = 17; return s.tmp_5; - case 17: - r0 = s.retval; - s.tmp_4.arg0 = r0; - s.tmp_6 = color_ColorBuffer_color__P481097_mk(s); - r0 = s.arg0.fields["_endPalette"]; - s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = s.i___481955; - s.pc = 18; return s.tmp_6; - case 18: - r0 = s.retval; - s.tmp_4.arg1 = r0; - r0 = s.arg0.fields["duration"]; - s.tmp_7 = r0; - r0 = (s.time___481942 / s.tmp_7); - s.tmp_4.arg2 = r0; - s.pc = 16; return s.tmp_4; - case 16: - r0 = s.retval; - s.col___481961 = (r0); - s.tmp_0 = color_ColorBuffer_setColor__P481098_mk(s); - s.tmp_0.arg0 = s.p___481948; - s.tmp_0.arg1 = s.i___481955; - s.tmp_0.arg2 = s.col___481961; - s.pc = 19; return s.tmp_0; - case 19: - r0 = s.retval; - r0 = (s.i___481955 + 1); - s.i___481955 = (r0); - { step = 7; continue; } - case 8: - s.tmp_0 = color_setPalette__P496085_mk(s); - s.tmp_0.arg0 = s.p___481948; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = 0; - s.pc = 20; return s.tmp_0; - case 20: r0 = s.retval; - r0 = false; - case 9: + case 4: + r0 = undefined; return leave(s, r0) default: oops() } } } -color_Fade_step__P481826.info = {"start":1934,"length":818,"line":69,"column":8,"endLine":95,"endColumn":9,"fileName":"fade.ts","functionName":"step","argumentNames":["this"]} -color_Fade_step__P481826.info = {"start":1934,"length":818,"line":69,"column":8,"endLine":95,"endColumn":9,"fileName":"fade.ts","functionName":"step","argumentNames":["this"]} +control___queuePollEvent__P15836.info = {"start":5875,"length":739,"line":195,"column":4,"endLine":220,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} +control___queuePollEvent__P15836.info = {"start":5875,"length":739,"line":195,"column":4,"endLine":220,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} -function color_Fade_step__P481826_mk(s) { +function control___queuePollEvent__P15836_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_Fade_step__P481826, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P15836, 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, - time___481942: undefined, - p___481948: undefined, - i___481955: undefined, - col___481961: undefined, + ev___21059: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function color_partialColorTransition__P496252(s) { +function control_onEvent__P15887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3220,128 +3043,110 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.r1___496262 = undefined; - s.g1___496266 = undefined; - s.b1___496270 = undefined; - s.rDiff___496274 = undefined; - s.gDiff___496280 = undefined; - s.bDiff___496286 = undefined; + s.ctx___21101 = 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.arg2 <= 0); + s.tmp_0 = control_eventContext__P15909_mk(s); + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + s.ctx___21101 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___21101); + 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 = s.arg0; - { step = 5; continue; } - { step = 4; continue; } + r0 = pxsim.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); + { step = 2; continue; } case 1: - r0 = (s.arg2 >= 1); - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 2; continue; } - r0 = s.arg1; - { step = 5; continue; } - case 2: - case 3: + s.tmp_0 = control_EventContext_registerHandler__P15901_mk(s); + s.tmp_0.arg0 = s.ctx___21101; + 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.pc = 4; return s.tmp_0; case 4: - r0 = (s.arg0 >> 16); + r0 = s.retval; + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +control_onEvent__P15887.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__P15887.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__P15887_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: control_onEvent__P15887, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + ctx___21101: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, +} } + + + + + +function control_eventContext__P15909(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___15908); + if (!r0) { step = 1; continue; } + s.tmp_0 = r0 = globals.eventContexts___15908; + r0 = pxsim_Array__length(globals.eventContexts___15908); s.tmp_2 = r0; - r0 = (s.tmp_2 & 255); - s.r1___496262 = (r0); - r0 = (s.arg0 >> 8); - s.tmp_0 = r0; - r0 = (s.tmp_0 & 255); - s.g1___496266 = (r0); - r0 = (s.arg0 >> 0); - s.tmp_0 = r0; - r0 = (s.tmp_0 & 255); - s.b1___496270 = (r0); - r0 = (s.arg1 >> 16); - s.tmp_1 = r0; - r0 = (s.tmp_1 & 255); - s.tmp_0 = r0; - r0 = (s.tmp_0 - s.r1___496262); - s.rDiff___496274 = (r0); - r0 = (s.arg1 >> 8); - s.tmp_1 = r0; - r0 = (s.tmp_1 & 255); - s.tmp_0 = r0; - r0 = (s.tmp_0 - s.g1___496266); - s.gDiff___496280 = (r0); - r0 = (s.arg1 >> 0); + r0 = (s.tmp_2 - 1); s.tmp_1 = r0; - r0 = (s.tmp_1 & 255); - s.tmp_0 = r0; - r0 = (s.tmp_0 - s.b1___496270); - s.bDiff___496286 = (r0); - s.tmp_0 = color_toColor__P495756_mk(s); - s.tmp_1 = r0 = s.r1___496262; - r0 = (s.rDiff___496274 * s.arg2); + r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); + { step = 2; continue; } + case 1: + r0 = undefined; + case 2: + // jmp value (already in r0) s.tmp_3 = r0; - r0 = pxsim.Math_.round(s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_1 + s.tmp_2); - s.tmp_0.arg0 = r0; - s.tmp_4 = r0 = s.g1___496266; - r0 = (s.gDiff___496280 * s.arg2); - s.tmp_6 = r0; - r0 = pxsim.Math_.round(s.tmp_6); - s.tmp_5 = r0; - r0 = (s.tmp_4 + s.tmp_5); - s.tmp_0.arg1 = r0; - s.tmp_7 = r0 = s.b1___496270; - r0 = (s.bDiff___496286 * s.arg2); - s.tmp_9 = r0; - r0 = pxsim.Math_.round(s.tmp_9); - s.tmp_8 = r0; - r0 = (s.tmp_7 + s.tmp_8); - s.tmp_0.arg2 = r0; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - case 5: + r0 = s.tmp_3; return leave(s, r0) default: oops() } } } -color_partialColorTransition__P496252.info = {"start":10720,"length":669,"line":355,"column":4,"endLine":375,"endColumn":5,"fileName":"color.ts","functionName":"partialColorTransition","argumentNames":["start","end","percentage"]} -color_partialColorTransition__P496252.info = {"start":10720,"length":669,"line":355,"column":4,"endLine":375,"endColumn":5,"fileName":"color.ts","functionName":"partialColorTransition","argumentNames":["start","end","percentage"]} +control_eventContext__P15909.info = {"start":6479,"length":136,"line":198,"column":4,"endLine":200,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P15909.info = {"start":6479,"length":136,"line":198,"column":4,"endLine":200,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function color_partialColorTransition__P496252_mk(s) { +function control_eventContext__P15909_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_partialColorTransition__P496252, depth: s.depth + 1, + parent: s, fn: control_eventContext__P15909, 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, - r1___496262: undefined, - g1___496266: undefined, - b1___496270: undefined, - rDiff___496274: undefined, - gDiff___496280: undefined, - bDiff___496286: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, } } -function color_toColor__P495756(s) { +function control_EventContext_registerHandler__P15901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3351,35 +3156,91 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.h___21124 = undefined; + s.unnamed134___U1 = undefined; + s.unnamed135___U2 = undefined; + s.hn___21147 = 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 & 255); - s.tmp_2 = r0; - r0 = (s.tmp_2 << 16); + r0 = s.arg0; + if (!checkSubtype(r0, control_EventContext__C15894_VT)) failedCast(r0); + s.h___21124 = (undefined); + r0 = s.arg0.fields["handlers"]; + s.unnamed134___U1 = (r0); + s.unnamed135___U2 = (0); + case 1: + s.tmp_0 = r0 = s.unnamed135___U2; + r0 = pxsim_Array__length(s.unnamed134___U1); s.tmp_1 = r0; - r0 = (s.arg1 & 255); - s.tmp_4 = r0; - r0 = (s.tmp_4 << 8); + r0 = (s.tmp_0 < s.tmp_1); + if (!r0) { step = 6; continue; } + r0 = pxsim_Array__getAt(s.unnamed134___U1, s.unnamed135___U2); + s.h___21124 = (r0); + r0 = s.h___21124.fields["src"]; s.tmp_3 = r0; - r0 = (s.tmp_1 | s.tmp_3); - s.tmp_0 = r0; - r0 = (s.arg2 & 255); + r0 = (s.tmp_3 == s.arg1); + s.tmp_2 = r0; + r0 = pxsim_numops_toBool(s.tmp_2); + if (r0) { step = 2; continue; } + r0 = s.tmp_2; + { step = 3; continue; } + case 2: + r0 = s.h___21124.fields["value"]; + s.tmp_4 = r0; + r0 = (s.tmp_4 == s.arg2); + case 3: + // jmp value (already in r0) s.tmp_5 = r0; - r0 = (s.tmp_0 | s.tmp_5); + r0 = pxsim_numops_toBoolDecr(s.tmp_5); + if (!r0) { step = 4; continue; } + r0 = (s.h___21124).fields["flags"] = (s.arg4); + r0 = (s.h___21124).fields["handler"] = (s.arg3); + { step = 7; continue; } + case 4: + case 5: + r0 = (s.unnamed135___U2 + 1); + s.unnamed135___U2 = (r0); + { step = 1; continue; } + case 6: + s.unnamed134___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C15889_VT); + s.tmp_0 = r0; + s.tmp_1 = control_EventHandler_constructor__P15892_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.pc = 8; return s.tmp_1; + case 8: + r0 = s.retval; + s.hn___21147 = (s.tmp_0); + r0 = s.arg0.fields["handlers"]; + s.tmp_0 = r0; + r0 = pxsim_Array__push(s.tmp_0, s.hn___21147); + s.tmp_0 = control_EventHandler_register__P15890_mk(s); + s.tmp_0.arg0 = s.hn___21147; + s.pc = 9; return s.tmp_0; + case 9: + r0 = s.retval; + case 7: + r0 = undefined; return leave(s, r0) default: oops() } } } -color_toColor__P495756.info = {"start":11889,"length":132,"line":395,"column":4,"endLine":397,"endColumn":5,"fileName":"color.ts","functionName":"toColor","argumentNames":["r","g","b"]} -color_toColor__P495756.info = {"start":11889,"length":132,"line":395,"column":4,"endLine":397,"endColumn":5,"fileName":"color.ts","functionName":"toColor","argumentNames":["r","g","b"]} +control_EventContext_registerHandler__P15901.info = {"start":5145,"length":525,"line":158,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P15901.info = {"start":5145,"length":525,"line":158,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function color_toColor__P495756_mk(s) { +function control_EventContext_registerHandler__P15901_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_toColor__P495756, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P15901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3387,16 +3248,22 @@ function color_toColor__P495756_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, + h___21124: undefined, + unnamed134___U1: undefined, + unnamed135___U2: undefined, + hn___21147: undefined, arg0: undefined, arg1: undefined, arg2: undefined, + arg3: undefined, + arg4: undefined, } } -function color_unpackB__P481091(s) { +function control_EventHandler_constructor__P15892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3408,31 +3275,42 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.arg3 = (s.lambdaArgs[3]); + s.arg4 = (s.lambdaArgs[4]); s.lambdaArgs = null; } - r0 = (s.arg0 >> 0); - s.tmp_0 = r0; - r0 = (s.tmp_0 & 255); + r0 = s.arg0; + if (!checkSubtype(r0, control_EventHandler__C15889_VT)) failedCast(r0); + r0 = (s.arg0).fields["src"] = (s.arg1); + r0 = (s.arg0).fields["value"] = (s.arg2); + r0 = (s.arg0).fields["handler"] = (s.arg3); + r0 = (s.arg0).fields["flags"] = (s.arg4); + r0 = undefined; return leave(s, r0) default: oops() } } } -color_unpackB__P481091.info = {"start":6324,"length":86,"line":200,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackB","argumentNames":["rgb"]} -color_unpackB__P481091.info = {"start":6324,"length":86,"line":200,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackB","argumentNames":["rgb"]} +control_EventHandler_constructor__P15892.info = {"start":779,"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__P15892.info = {"start":779,"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 color_unpackB__P481091_mk(s) { +function control_EventHandler_constructor__P15892_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_unpackB__P481091, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P15892, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, + arg4: undefined, } } -function color_unpackG__P481090(s) { +function control_EventHandler_register__P15890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3446,21 +3324,34 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = (s.arg0 >> 8); + r0 = s.arg0; + if (!checkSubtype(r0, control_EventHandler__C15889_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P21168); s.tmp_0 = r0; - r0 = (s.tmp_0 & 255); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + r0 = s.arg0.fields["src"]; + s.tmp_1 = r0; + r0 = s.arg0.fields["value"]; + s.tmp_2 = r0; + r0 = s.arg0.fields["flags"]; + s.tmp_3 = r0; + r0 = pxsim.control.internalOnEvent(s.tmp_1, s.tmp_2, s.tmp_0, s.tmp_3); + r0 = undefined; return leave(s, r0) default: oops() } } } -color_unpackG__P481090.info = {"start":6233,"length":86,"line":197,"column":4,"endLine":199,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackG","argumentNames":["rgb"]} -color_unpackG__P481090.info = {"start":6233,"length":86,"line":197,"column":4,"endLine":199,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackG","argumentNames":["rgb"]} +control_EventHandler_register__P15890.info = {"start":954,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventHandler_register__P15890.info = {"start":954,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function color_unpackG__P481090_mk(s) { +function control_EventHandler_register__P15890_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_unpackG__P481090, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P15890, 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, } } @@ -3468,7 +3359,7 @@ function color_unpackG__P481090_mk(s) { -function color_unpackR__P481089(s) { +function inline__P21168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3478,33 +3369,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = (s.arg0 >> 16); + r0 = s.caps[0].fields["handler"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & 255); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_1 = if_handler_1_mk(s); + s.tmp_1.arg0 = s.caps[0]; + if (!s.tmp_1.arg0.vtable.iface) { + setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "handler"), 1); + s.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.pc = 3; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 3; return s.tmp_1;; } + else { s.pc = 3; return s.tmp_1; } + } + case 3: + r0 = s.retval; + case 1: + case 2: + r0 = undefined; return leave(s, r0) default: oops() } } } -color_unpackR__P481089.info = {"start":6141,"length":87,"line":194,"column":4,"endLine":196,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackR","argumentNames":["rgb"]} -color_unpackR__P481089.info = {"start":6141,"length":87,"line":194,"column":4,"endLine":196,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackR","argumentNames":["rgb"]} +inline__P21168.info = {"start":1025,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P21168.info = {"start":1025,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function color_unpackR__P481089_mk(s) { +function inline__P21168_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_unpackR__P481089, depth: s.depth + 1, + parent: s, fn: inline__P21168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - arg0: undefined, + tmp_1: undefined, } } -function color_Fade_isActive__P481820(s) { +function control_pollEvents__P15835(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3514,58 +3418,118 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, color_Fade__C481817_VT)) failedCast(r0); - r0 = s.arg0.fields["startTime"]; + s.now___21185 = undefined; + s.i___21188 = undefined; + s.ev___21194 = undefined; + case 1: + r0 = pxsim_Array__length(globals._pollEventQueue___15834); s.tmp_1 = r0; - r0 = (s.tmp_1 !== undefined); + 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___21185 = (r0); + s.i___21188 = (0); + case 2: + s.tmp_1 = r0 = s.i___21188; + r0 = pxsim_Array__length(globals._pollEventQueue___15834); + 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___15834, s.i___21188); + s.ev___21194 = (r0); + s.tmp_1 = if_condition_1_mk(s); + s.tmp_1.arg0 = s.ev___21194; + if (!s.tmp_1.arg0.vtable.iface) { + setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); + 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.pc = 13; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 13; return s.tmp_1;; } + else { s.pc = 13; return s.tmp_1; } + } + case 13: + r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 1; continue; } + if (!r0) { step = 3; continue; } r0 = s.tmp_0; - { step = 2; continue; } - case 1: - r0 = s.arg0.fields["duration"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 !== undefined); - case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBool(s.tmp_3); - if (r0) { step = 3; continue; } - r0 = s.tmp_3; - { step = 4; continue; } + { step = 6; continue; } case 3: - r0 = s.arg0.fields["startTime"]; + r0 = s.ev___21194.fields["timeOut"]; + s.tmp_3 = r0; + r0 = (s.tmp_3 > 0); + s.tmp_2 = r0; + r0 = pxsim_numops_toBool(s.tmp_2); + if (r0) { step = 4; continue; } + r0 = s.tmp_2; + { step = 5; continue; } + case 4: + r0 = s.ev___21194.fields["start"]; s.tmp_5 = r0; - r0 = s.arg0.fields["duration"]; - s.tmp_6 = r0; - r0 = (s.tmp_5 + s.tmp_6); + r0 = (s.now___21185 - s.tmp_5); s.tmp_4 = r0; - s.tmp_8 = game_runtime__P478704_mk(s); - s.pc = 5; return s.tmp_8; + r0 = s.ev___21194.fields["timeOut"]; + s.tmp_6 = r0; + r0 = (s.tmp_4 > s.tmp_6); case 5: - r0 = s.retval; + // jmp value (already in r0) s.tmp_7 = r0; - r0 = (s.tmp_4 > s.tmp_7); - case 4: + r0 = s.tmp_7; + case 6: // jmp value (already in r0) + s.tmp_8 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_8); + if (!r0) { step = 9; continue; } + r0 = s.ev___21194.fields["eid"]; s.tmp_9 = r0; - r0 = s.tmp_9; + r0 = s.ev___21194.fields["vid"]; + s.tmp_10 = r0; + r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); + r0 = s.ev___21194.fields["once"]; + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 7; continue; } + s.tmp_1 = helpers_arraySplice__P15663_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___15834; + s.tmp_1.arg1 = s.i___21188; + s.tmp_1.arg2 = 1; + s.pc = 14; return s.tmp_1; + case 14: + r0 = s.retval; + r0 = (s.i___21188 - 1); + s.i___21188 = (r0); + case 7: + case 8: + case 9: + case 10: + r0 = (s.i___21188 + 1); + s.i___21188 = (r0); + { step = 2; continue; } + case 11: + s.tmp_0 = pause__P15915_mk(s); + s.tmp_0.arg0 = 50; + s.pc = 15; return s.tmp_0; + case 15: + r0 = s.retval; + { step = 1; continue; } + case 12: + globals._pollEventQueue___15834 = (undefined); + r0 = undefined; return leave(s, r0) default: oops() } } } -color_Fade_isActive__P481820.info = {"start":623,"length":201,"line":23,"column":8,"endLine":27,"endColumn":9,"fileName":"fade.ts","functionName":"isActive","argumentNames":["this"]} -color_Fade_isActive__P481820.info = {"start":623,"length":201,"line":23,"column":8,"endLine":27,"endColumn":9,"fileName":"fade.ts","functionName":"isActive","argumentNames":["this"]} +control_pollEvents__P15835.info = {"start":5231,"length":638,"line":176,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P15835.info = {"start":5231,"length":638,"line":176,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"pollEvents","argumentNames":[]} -function color_Fade_isActive__P481820_mk(s) { +function control_pollEvents__P15835_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_Fade_isActive__P481820, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P15835, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3577,14 +3541,17 @@ function color_Fade_isActive__P481820_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - arg0: undefined, + tmp_10: undefined, + now___21185: undefined, + i___21188: undefined, + ev___21194: undefined, } } -function game_forever__P478701(s) { +function helpers_arraySplice__P15663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3594,59 +3561,56 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.i___21243 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.foreverRunning___478700); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); + r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.foreverRunning___478700 = (true); - r0 = pxsim.control.runInParallel(inline__P482460); + { step = 5; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_GameForeverHandler__C478556_VT); + s.i___21243 = (0); + case 3: + r0 = (s.i___21243 < s.arg2); s.tmp_0 = r0; - s.tmp_1 = scene_GameForeverHandler_constructor__P478557_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.arg0; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.tmp_3 = game_currentScene__P478375_mk(s); - s.pc = 4; return s.tmp_3; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 4; continue; } + r0 = pxsim_Array_.removeAt(s.arg0, s.arg1); + r0 = (s.i___21243 + 1); + s.i___21243 = (r0); + { step = 3; continue; } case 4: - r0 = s.retval; - r0 = r0.fields["gameForeverHandlers"]; - s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.tmp_0); + case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -game_forever__P478701.info = {"start":8612,"length":820,"line":277,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"forever","argumentNames":["action"]} -game_forever__P478701.info = {"start":8612,"length":820,"line":277,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"forever","argumentNames":["action"]} +helpers_arraySplice__P15663.info = {"start":1784,"length":213,"line":77,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} +helpers_arraySplice__P15663.info = {"start":1784,"length":213,"line":77,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} -function game_forever__P478701_mk(s) { +function helpers_arraySplice__P15663_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_forever__P478701, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P15663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, + i___21243: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function inline__P482460(s) { +function control_PollEvent_constructor__P15832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3656,50 +3620,50 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.handlers___482462 = undefined; - case 1: - r0 = pxsim_numops_toBoolDecr(1); - if (!r0) { step = 2; continue; } - s.tmp_0 = game_currentScene__P478375_mk(s); - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - r0 = r0.fields["gameForeverHandlers"]; - s.handlers___482462 = (r0); - s.tmp_0 = helpers_arrayForEach__P477500_mk(s); - s.tmp_0.arg0 = s.handlers___482462; - s.tmp_0.arg1 = inline__P482470; - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.tmp_0 = pause__P477741_mk(s); - s.tmp_0.arg0 = 20; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - { step = 1; continue; } - case 2: + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.arg3 = (s.lambdaArgs[3]); + s.arg4 = (s.lambdaArgs[4]); + s.arg5 = (s.lambdaArgs[5]); + s.arg6 = (s.lambdaArgs[6]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, control_PollEvent__C15831_VT)) failedCast(r0); + r0 = (s.arg0).fields["eid"] = (s.arg1); + r0 = (s.arg0).fields["vid"] = (s.arg2); + r0 = (s.arg0).fields["start"] = (s.arg3); + r0 = (s.arg0).fields["timeOut"] = (s.arg4); + r0 = (s.arg0).fields["condition"] = (s.arg5); + r0 = (s.arg0).fields["once"] = (s.arg6); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P482460.info = {"start":8764,"length":535,"line":280,"column":34,"endLine":294,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -inline__P482460.info = {"start":8764,"length":535,"line":280,"column":34,"endLine":294,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +control_PollEvent_constructor__P15832.info = {"start":4852,"length":316,"line":164,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/base/control.ts","functionName":"inline","argumentNames":["this","eid","vid","start","timeOut","condition","once"]} +control_PollEvent_constructor__P15832.info = {"start":4852,"length":316,"line":164,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/base/control.ts","functionName":"inline","argumentNames":["this","eid","vid","start","timeOut","condition","once"]} -function inline__P482460_mk(s) { +function control_PollEvent_constructor__P15832_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P482460, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P15832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - handlers___482462: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, + arg4: undefined, + arg5: undefined, + arg6: undefined, } } -function inline__P482470(s) { +function color_Fade_reverse__P19347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3709,40 +3673,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.t___30723 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0.fields["lock"]; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = (s.arg0).fields["lock"] = (true); - r0 = pxsim_pxtcore_mkAction(1, inline__P482480); + r0 = s.arg0; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + r0 = s.arg0.fields["_startPalette"]; + s.t___30723 = (r0); + r0 = s.arg0.fields["_endPalette"]; s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim.control.runInParallel(s.tmp_0); - case 1: - case 2: - r0 = undefined; + r0 = (s.arg0).fields["_startPalette"] = (s.tmp_0); + r0 = (s.arg0).fields["_endPalette"] = (s.t___30723); + r0 = s.arg0; return leave(s, r0) default: oops() } } } -inline__P482470.info = {"start":8915,"length":319,"line":283,"column":37,"endLine":291,"endColumn":21,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["h"]} -inline__P482470.info = {"start":8915,"length":319,"line":283,"column":37,"endLine":291,"endColumn":21,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["h"]} +color_Fade_reverse__P19347.info = {"start":2996,"length":188,"line":107,"column":8,"endLine":114,"endColumn":9,"fileName":"fade.ts","functionName":"reverse","argumentNames":["this"]} +color_Fade_reverse__P19347.info = {"start":2996,"length":188,"line":107,"column":8,"endLine":114,"endColumn":9,"fileName":"fade.ts","functionName":"reverse","argumentNames":["this"]} -function inline__P482470_mk(s) { +function color_Fade_reverse__P19347_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P482470, depth: s.depth + 1, + parent: s, fn: color_Fade_reverse__P19347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, + t___30723: undefined, arg0: undefined, } } @@ -3750,7 +3707,7 @@ function inline__P482470_mk(s) { -function inline__P482480(s) { +function color_Fade_mapEndRGB__P19349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3760,40 +3717,153 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = if_handler_1_mk(s); - s.tmp_0.arg0 = s.caps[0]; - if (!s.tmp_0.arg0.vtable.iface) { - setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 1); - 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"], 1); s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.pc = 1; return s.tmp_0;; } - else { s.pc = 1; return s.tmp_0; } + s.out___30756 = undefined; + s.p___30759 = undefined; + s.i___30779 = undefined; + s.initRGB___30785 = undefined; + s.applied___30792 = 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, color_Fade__C19333_VT)) failedCast(r0); + s.tmp_0 = color_Fade_clone__P19348_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + s.out___30756 = (r0); + s.tmp_0 = color__clone__P19332_mk(s); + s.tmp_1 = color_Fade_endPalette__P19335_mk(s); + s.tmp_1.arg0 = s.arg0; + s.pc = 7; return s.tmp_1; + case 7: + r0 = s.retval; + s.tmp_0.arg0 = r0; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + s.p___30759 = (r0); + r0 = (s.arg2 | 0); + s.arg2 = (r0); + r0 = (s.arg3 === undefined); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_2 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_2.arg0 = s.p___30759; + s.pc = 8; return s.tmp_2; + case 8: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_1 - 1); + { step = 2; continue; } case 1: + s.tmp_3 = Math_min__P15691_mk(s); + s.tmp_5 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_5.arg0 = s.p___30759; + s.pc = 10; return s.tmp_5; + case 10: + r0 = s.retval; + s.tmp_4 = r0; + r0 = (s.tmp_4 - 1); + s.tmp_3.arg0 = r0; + s.tmp_3.arg1 = s.arg3; + s.pc = 9; return s.tmp_3; + case 9: + r0 = s.retval; + case 2: + // jmp value (already in r0) + s.tmp_6 = r0; + s.arg3 = (s.tmp_6); + s.i___30779 = (s.arg2); + case 3: + r0 = (s.i___30779 <= s.arg3); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 4; continue; } + s.tmp_1 = color_RGB_fromHexValue__P19296_mk(s); + s.tmp_2 = color_ColorBuffer_color__P19271_mk(s); + s.tmp_2.arg0 = s.p___30759; + s.tmp_2.arg1 = s.i___30779; + s.pc = 12; return s.tmp_2; + case 12: + r0 = s.retval; + s.tmp_1.arg0 = r0; + s.pc = 11; return s.tmp_1; + case 11: + r0 = s.retval; + s.initRGB___30785 = (r0); + s.tmp_0 = lambda_4_mk(s); + s.tmp_0.argL = s.arg1; + s.tmp_0.arg0 = s.initRGB___30785; + s.tmp_0.arg1 = s.i___30779; + s.tmp_0.arg2 = s.p___30759; + setupLambda(s.tmp_0, s.tmp_0.argL); + s.pc = 13; return s.tmp_0; + case 13: + r0 = s.retval; + s.applied___30792 = (r0); + s.tmp_0 = color_ColorBuffer_setColor__P19272_mk(s); + s.tmp_0.arg0 = s.p___30759; + s.tmp_0.arg1 = s.i___30779; + s.tmp_1 = color_RGB_hexValue__P19295_mk(s); + s.tmp_1.arg0 = s.applied___30792; + s.pc = 15; return s.tmp_1; + case 15: + r0 = s.retval; + s.tmp_0.arg2 = r0; + s.pc = 14; return s.tmp_0; + case 14: + r0 = s.retval; + r0 = (s.i___30779 + 1); + s.i___30779 = (r0); + { step = 3; continue; } + case 4: + s.tmp_0 = color_Fade_setEndPalette__P19342_mk(s); + s.tmp_0.arg0 = s.out___30756; + s.tmp_0.arg1 = s.p___30759; + s.pc = 16; return s.tmp_0; + case 16: r0 = s.retval; - r0 = (s.caps[0]).fields["lock"] = (false); - r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P482480.info = {"start":9054,"length":130,"line":286,"column":50,"endLine":289,"endColumn":29,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -inline__P482480.info = {"start":9054,"length":130,"line":286,"column":50,"endLine":289,"endColumn":29,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +color_Fade_mapEndRGB__P19349.info = {"start":3494,"length":734,"line":125,"column":8,"endLine":146,"endColumn":9,"fileName":"fade.ts","functionName":"mapEndRGB","argumentNames":["this","h","firstIndex","lastIndex"]} +color_Fade_mapEndRGB__P19349.info = {"start":3494,"length":734,"line":125,"column":8,"endLine":146,"endColumn":9,"fileName":"fade.ts","functionName":"mapEndRGB","argumentNames":["this","h","firstIndex","lastIndex"]} -function inline__P482480_mk(s) { +function color_Fade_mapEndRGB__P19349_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P482480, depth: s.depth + 1, + parent: s, fn: color_Fade_mapEndRGB__P19349, 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, + out___30756: undefined, + p___30759: undefined, + i___30779: undefined, + initRGB___30785: undefined, + applied___30792: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, } } -function scene_GameForeverHandler_constructor__P478557(s) { +function color_RGB_hexValue__P19295(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3805,33 +3875,40 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_GameForeverHandler__C478556_VT)) failedCast(r0); - r0 = (s.arg0).fields["handler"] = (s.arg1); - r0 = undefined; + if (!checkSubtype(r0, color_RGB__C19287_VT)) failedCast(r0); + s.tmp_0 = color_toColor__P19331_mk(s); + r0 = s.arg0.fields["_r"]; + s.tmp_0.arg0 = r0; + r0 = s.arg0.fields["_g"]; + s.tmp_0.arg1 = r0; + r0 = s.arg0.fields["_b"]; + s.tmp_0.arg2 = r0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_GameForeverHandler_constructor__P478557.info = {"start":1145,"length":65,"line":40,"column":8,"endLine":42,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","handler"]} -scene_GameForeverHandler_constructor__P478557.info = {"start":1145,"length":65,"line":40,"column":8,"endLine":42,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","handler"]} +color_RGB_hexValue__P19295.info = {"start":1135,"length":152,"line":49,"column":8,"endLine":55,"endColumn":9,"fileName":"color.ts","functionName":"hexValue","argumentNames":["this"]} +color_RGB_hexValue__P19295.info = {"start":1135,"length":152,"line":49,"column":8,"endLine":55,"endColumn":9,"fileName":"color.ts","functionName":"hexValue","argumentNames":["this"]} -function scene_GameForeverHandler_constructor__P478557_mk(s) { +function color_RGB_hexValue__P19295_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_GameForeverHandler_constructor__P478557, depth: s.depth + 1, + parent: s, fn: color_RGB_hexValue__P19295, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, arg0: undefined, - arg1: undefined, } } -function helpers_arrayForEach__P477500(s) { +function color_toColor__P19331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3841,59 +3918,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___482498 = undefined; - s.i___482501 = 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__length(s.arg0); - s.len___482498 = (r0); - s.i___482501 = (0); - case 1: - r0 = (s.i___482501 < s.len___482498); + r0 = (s.arg0 & 255); + s.tmp_2 = r0; + r0 = (s.tmp_2 << 16); + s.tmp_1 = r0; + r0 = (s.arg1 & 255); + s.tmp_4 = r0; + r0 = (s.tmp_4 << 8); + s.tmp_3 = r0; + r0 = (s.tmp_1 | s.tmp_3); 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___482501); - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___482501; - setupLambda(s.tmp_1, s.tmp_1.argL); - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - r0 = (s.i___482501 + 1); - s.i___482501 = (r0); - { step = 1; continue; } - case 2: - r0 = undefined; + r0 = (s.arg2 & 255); + s.tmp_5 = r0; + r0 = (s.tmp_0 | s.tmp_5); return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P477500.info = {"start":5581,"length":250,"line":194,"column":4,"endLine":199,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} -helpers_arrayForEach__P477500.info = {"start":5581,"length":250,"line":194,"column":4,"endLine":199,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} +color_toColor__P19331.info = {"start":11889,"length":132,"line":395,"column":4,"endLine":397,"endColumn":5,"fileName":"color.ts","functionName":"toColor","argumentNames":["r","g","b"]} +color_toColor__P19331.info = {"start":11889,"length":132,"line":395,"column":4,"endLine":397,"endColumn":5,"fileName":"color.ts","functionName":"toColor","argumentNames":["r","g","b"]} -function helpers_arrayForEach__P477500_mk(s) { +function color_toColor__P19331_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P477500, depth: s.depth + 1, + parent: s, fn: color_toColor__P19331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___482498: undefined, - i___482501: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function color_FadeEffect_stop__P496054(s) { +function color_ColorBuffer_color__P19271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3903,53 +3973,106 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.s___19581 = undefined; + s.start___19583 = undefined; + s.c___19587 = undefined; + s.i___19588 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, color_FadeEffect__C496052_VT)) failedCast(r0); - r0 = (globals.lastEffect___496051 == s.arg0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - globals.lastEffect___496051 = (undefined); - r0 = s.arg0.fields["currentFade"]; + if (!checkSubtype(r0, color_ColorBuffer__C19267_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); + r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = color_Fade_stop__P481514_mk(s); - r0 = s.arg0.fields["currentFade"]; - s.tmp_1.arg0 = r0; - s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; + r0 = s.tmp_0; + { step = 2; continue; } case 1: + s.tmp_1 = r0 = s.arg1; + s.tmp_3 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_3.arg0 = s.arg0; + s.pc = 8; return s.tmp_3; + case 8: + r0 = s.retval; + s.tmp_2 = r0; + r0 = (s.tmp_1 >= s.tmp_2); case 2: + // jmp value (already in r0) + s.tmp_4 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + if (!r0) { step = 3; continue; } + r0 = -1; + { step = 7; continue; } case 3: case 4: - r0 = undefined; + s.tmp_5 = color_ColorBuffer_stride__P19269_mk(s); + s.tmp_5.arg0 = s.arg0; + s.pc = 9; return s.tmp_5; + case 9: + r0 = s.retval; + s.s___19581 = (r0); + r0 = (s.arg1 * s.s___19581); + s.start___19583 = (r0); + s.c___19587 = (0); + s.i___19588 = (0); + case 5: + r0 = (s.i___19588 < s.s___19581); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 6; continue; } + r0 = (s.c___19587 << 8); + s.tmp_1 = r0; + r0 = s.arg0.fields["buf"]; + s.tmp_4 = r0; + r0 = (s.start___19583 + s.i___19588); + s.tmp_5 = r0; + r0 = pxsim.BufferMethods.getByte(s.tmp_4, s.tmp_5); + s.tmp_3 = r0; + r0 = (s.tmp_3 & 255); + s.tmp_2 = r0; + r0 = (s.tmp_1 | s.tmp_2); + s.c___19587 = (r0); + r0 = (s.i___19588 + 1); + s.i___19588 = (r0); + { step = 5; continue; } + case 6: + r0 = s.c___19587; + case 7: return leave(s, r0) default: oops() } } } -color_FadeEffect_stop__P496054.info = {"start":5574,"length":213,"line":199,"column":8,"endLine":206,"endColumn":9,"fileName":"color.ts","functionName":"stop","argumentNames":["this"]} -color_FadeEffect_stop__P496054.info = {"start":5574,"length":213,"line":199,"column":8,"endLine":206,"endColumn":9,"fileName":"color.ts","functionName":"stop","argumentNames":["this"]} +color_ColorBuffer_color__P19271.info = {"start":930,"length":368,"line":38,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"color","argumentNames":["this","index"]} +color_ColorBuffer_color__P19271.info = {"start":930,"length":368,"line":38,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"color","argumentNames":["this","index"]} -function color_FadeEffect_stop__P496054_mk(s) { +function color_ColorBuffer_color__P19271_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_FadeEffect_stop__P496054, depth: s.depth + 1, + parent: s, fn: color_ColorBuffer_color__P19271, 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, + s___19581: undefined, + start___19583: undefined, + c___19587: undefined, + i___19588: undefined, arg0: undefined, + arg1: undefined, } } -function color_Fade_stop__P481514(s) { +function color_RGB_fromHexValue__P19296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3963,21 +4086,42 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, color_Fade__C481817_VT)) failedCast(r0); - r0 = (s.arg0).fields["startTime"] = (undefined); - r0 = s.arg0; + r0 = pxsim_pxtcore_mkClassInstance(color_RGB__C19287_VT); + s.tmp_0 = r0; + s.tmp_1 = color_RGB_constructor__P19297_mk(s); + s.tmp_1.arg0 = s.tmp_0; + r0 = (s.arg0 >> 16); + s.tmp_2 = r0; + r0 = (s.tmp_2 & 255); + s.tmp_1.arg1 = r0; + r0 = (s.arg0 >> 8); + s.tmp_3 = r0; + r0 = (s.tmp_3 & 255); + s.tmp_1.arg2 = r0; + r0 = (s.arg0 >> 0); + s.tmp_4 = r0; + r0 = (s.tmp_4 & 255); + s.tmp_1.arg3 = r0; + s.pc = 1; return s.tmp_1; + case 1: + r0 = s.retval; + r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -color_Fade_stop__P481514.info = {"start":1246,"length":96,"line":44,"column":8,"endLine":47,"endColumn":9,"fileName":"fade.ts","functionName":"stop","argumentNames":["this"]} -color_Fade_stop__P481514.info = {"start":1246,"length":96,"line":44,"column":8,"endLine":47,"endColumn":9,"fileName":"fade.ts","functionName":"stop","argumentNames":["this"]} +color_RGB_fromHexValue__P19296.info = {"start":1297,"length":198,"line":57,"column":8,"endLine":63,"endColumn":9,"fileName":"color.ts","functionName":"fromHexValue","argumentNames":["col"]} +color_RGB_fromHexValue__P19296.info = {"start":1297,"length":198,"line":57,"column":8,"endLine":63,"endColumn":9,"fileName":"color.ts","functionName":"fromHexValue","argumentNames":["col"]} -function color_Fade_stop__P481514_mk(s) { +function color_RGB_fromHexValue__P19296_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_Fade_stop__P481514, depth: s.depth + 1, + parent: s, fn: color_RGB_fromHexValue__P19296, 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, } } @@ -3985,7 +4129,7 @@ function color_Fade_stop__P481514_mk(s) { -function scene_setBackgroundImage__P478607(s) { +function color_unpackB__P19265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3995,37 +4139,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___482426 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P478375_mk(s); - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.scene___482426 = (r0); - s.tmp_0 = scene_Background_image__P478461_mk(s); - r0 = s.scene___482426.fields["background"]; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.arg0; - s.pc = 2; return s.tmp_0; - case 2: - r0 = s.retval; - r0 = undefined; + r0 = (s.arg0 >> 0); + s.tmp_0 = r0; + r0 = (s.tmp_0 & 255); return leave(s, r0) default: oops() } } } -scene_setBackgroundImage__P478607.info = {"start":1735,"length":135,"line":62,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -scene_setBackgroundImage__P478607.info = {"start":1735,"length":135,"line":62,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} +color_unpackB__P19265.info = {"start":6324,"length":86,"line":200,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackB","argumentNames":["rgb"]} +color_unpackB__P19265.info = {"start":6324,"length":86,"line":200,"column":4,"endLine":202,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackB","argumentNames":["rgb"]} -function scene_setBackgroundImage__P478607_mk(s) { +function color_unpackB__P19265_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundImage__P478607, depth: s.depth + 1, + parent: s, fn: color_unpackB__P19265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___482426: undefined, arg0: undefined, } } @@ -4033,7 +4165,7 @@ function scene_setBackgroundImage__P478607_mk(s) { -function scene_Background_image__P478461(s) { +function color_unpackG__P19264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4045,33 +4177,31 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C478458_VT)) failedCast(r0); - r0 = (s.arg0).fields["_image"] = (s.arg1); - r0 = undefined; + r0 = (s.arg0 >> 8); + s.tmp_0 = r0; + r0 = (s.tmp_0 & 255); return leave(s, r0) default: oops() } } } -scene_Background_image__P478461.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__P478461.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} +color_unpackG__P19264.info = {"start":6233,"length":86,"line":197,"column":4,"endLine":199,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackG","argumentNames":["rgb"]} +color_unpackG__P19264.info = {"start":6233,"length":86,"line":197,"column":4,"endLine":199,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackG","argumentNames":["rgb"]} -function scene_Background_image__P478461_mk(s) { +function color_unpackG__P19264_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P478461, depth: s.depth + 1, + parent: s, fn: color_unpackG__P19264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, arg0: undefined, - arg1: undefined, } } -function scene_Background_image__P478460(s) { +function color_unpackR__P19263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4085,46 +4215,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C478458_VT)) failedCast(r0); - r0 = s.arg0.fields["_image"]; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); + r0 = (s.arg0 >> 16); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_3 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); - s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___477998); - s.tmp_6 = r0; - r0 = pxsim.image.create(s.tmp_5, s.tmp_6); - s.tmp_4 = r0; - r0 = (s.tmp_3).fields["_image"] = (s.tmp_4); - case 1: - case 2: - r0 = s.arg0.fields["_image"]; - return leaveAccessor(s, r0) + r0 = (s.tmp_0 & 255); + return leave(s, r0) default: oops() } } } -scene_Background_image__P478460.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__P478460.isGetter = true; -scene_Background_image__P478460.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} +color_unpackR__P19263.info = {"start":6141,"length":87,"line":194,"column":4,"endLine":196,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackR","argumentNames":["rgb"]} +color_unpackR__P19263.info = {"start":6141,"length":87,"line":194,"column":4,"endLine":196,"endColumn":5,"fileName":"pxt_modules/color/colors.ts","functionName":"unpackR","argumentNames":["rgb"]} -function scene_Background_image__P478460_mk(s) { +function color_unpackR__P19263_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P478460, depth: s.depth + 1, + parent: s, fn: color_unpackR__P19263, 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, arg0: undefined, } } @@ -4132,7 +4237,7 @@ function scene_Background_image__P478460_mk(s) { -function color_FadeState_constructor__P482140(s) { +function color_RGB_constructor__P19297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4146,34 +4251,53 @@ switch (step) { 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, color_FadeState__C482139_VT)) failedCast(r0); - r0 = (s.arg0).fields["state"] = (s.arg1); - r0 = (s.arg0).fields["scene"] = (s.arg2); + if (!checkSubtype(r0, color_RGB__C19287_VT)) failedCast(r0); + s.tmp_0 = color_RGB_red__P19289_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg1; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + s.tmp_0 = color_RGB_green__P19291_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg2; + s.pc = 2; return s.tmp_0; + case 2: + r0 = s.retval; + s.tmp_0 = color_RGB_blue__P19293_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg3; + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -color_FadeState_constructor__P482140.info = {"start":5010,"length":96,"line":173,"column":8,"endLine":176,"endColumn":13,"fileName":"fade.ts","functionName":"inline","argumentNames":["this","state","scene"]} -color_FadeState_constructor__P482140.info = {"start":5010,"length":96,"line":173,"column":8,"endLine":176,"endColumn":13,"fileName":"fade.ts","functionName":"inline","argumentNames":["this","state","scene"]} +color_RGB_constructor__P19297.info = {"start":409,"length":155,"line":18,"column":8,"endLine":22,"endColumn":9,"fileName":"color.ts","functionName":"inline","argumentNames":["this","red","green","blue"]} +color_RGB_constructor__P19297.info = {"start":409,"length":155,"line":18,"column":8,"endLine":22,"endColumn":9,"fileName":"color.ts","functionName":"inline","argumentNames":["this","red","green","blue"]} -function color_FadeState_constructor__P482140_mk(s) { +function color_RGB_constructor__P19297_mk(s) { checkStack(s.depth); return { - parent: s, fn: color_FadeState_constructor__P482140, depth: s.depth + 1, + parent: s, fn: color_RGB_constructor__P19297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, arg0: undefined, arg1: undefined, arg2: undefined, + arg3: undefined, } } -function game_eventContext__P478687(s) { +function color_ColorBuffer_length__P19270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4183,31 +4307,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = game_init__P478688_mk(s); - s.tmp_0.arg0 = undefined; - s.pc = 1; return s.tmp_0; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, color_ColorBuffer__C19267_VT)) failedCast(r0); + r0 = s.arg0.fields["buf"]; + s.tmp_1 = r0; + r0 = pxsim.BufferMethods.length(s.tmp_1); + s.tmp_0 = r0; + s.tmp_3 = color_ColorBuffer_stride__P19269_mk(s); + s.tmp_3.arg0 = s.arg0; + s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; - r0 = globals._scene___478677.fields["eventContext"]; - return leave(s, r0) + s.tmp_2 = r0; + r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_2); + return leaveAccessor(s, r0) default: oops() } } } -game_eventContext__P478687.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -game_eventContext__P478687.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +color_ColorBuffer_length__P19270.info = {"start":836,"length":84,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"length","argumentNames":["this"]} +color_ColorBuffer_length__P19270.isGetter = true; +color_ColorBuffer_length__P19270.info = {"start":836,"length":84,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"length","argumentNames":["this"]} -function game_eventContext__P478687_mk(s) { +function color_ColorBuffer_length__P19270_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P478687, depth: s.depth + 1, + parent: s, fn: color_ColorBuffer_length__P19270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + arg0: undefined, } } -function game_init__P478688(s) { +function color_Fade_clone__P19348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4217,100 +4357,64 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.fade___30734 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___478677); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); + r0 = s.arg0; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(color_Fade__C19333_VT); s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); + r0 = undefined; + s.fade___30734 = (s.tmp_0); + r0 = s.arg0.fields["_startPalette"]; + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + s.tmp_1 = r0 = s.fade___30734; + s.tmp_3 = color__clone__P19332_mk(s); + r0 = s.arg0.fields["_startPalette"]; + s.tmp_3.arg0 = r0; + s.pc = 5; return s.tmp_3; + case 5: + r0 = s.retval; + s.tmp_2 = r0; + r0 = (s.tmp_1).fields["_startPalette"] = (s.tmp_2); case 1: - r0 = s.arg0; case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); + r0 = s.arg0.fields["_endPalette"]; + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C478594_VT); - s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P478602_mk(s); - s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P477736_mk(s); - s.pc = 14; return s.tmp_5; - case 14: - r0 = s.retval; - s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___478677; - s.pc = 13; return s.tmp_4; - case 13: + s.tmp_1 = r0 = s.fade___30734; + s.tmp_3 = color__clone__P19332_mk(s); + r0 = s.arg0.fields["_endPalette"]; + s.tmp_3.arg0 = r0; + s.pc = 6; return s.tmp_3; + case 6: r0 = s.retval; - globals._scene___478677 = (s.tmp_3); + s.tmp_2 = r0; + r0 = (s.tmp_1).fields["_endPalette"] = (s.tmp_2); case 3: case 4: - s.tmp_0 = scene_Scene_init__P478595_mk(s); - s.tmp_0.arg0 = globals._scene___478677; - s.pc = 15; return s.tmp_0; - case 15: - r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.winEffect___478670); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 5; continue; } - globals.winEffect___478670 = (globals.confetti___479263); - case 5: - case 6: - r0 = pxsim_numops_toBoolDecr(globals.loseEffect___478672); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 7; continue; } - globals.loseEffect___478672 = (globals.melt___479298); - case 7: - case 8: - r0 = pxsim_numops_toBoolDecr(globals.winSound___478676); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 9; continue; } - globals.winSound___478676 = (globals.powerUp___477892); - case 9: - case 10: - r0 = pxsim_numops_toBoolDecr(globals.loseSound___478674); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 11; continue; } - globals.loseSound___478674 = (globals.wawawawaa___477886); - case 11: - case 12: - r0 = undefined; + r0 = s.fade___30734; return leave(s, r0) default: oops() } } } -game_init__P478688.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -game_init__P478688.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +color_Fade_clone__P19348.info = {"start":3194,"length":290,"line":116,"column":8,"endLine":123,"endColumn":9,"fileName":"fade.ts","functionName":"clone","argumentNames":["this"]} +color_Fade_clone__P19348.info = {"start":3194,"length":290,"line":116,"column":8,"endLine":123,"endColumn":9,"fileName":"fade.ts","functionName":"clone","argumentNames":["this"]} -function game_init__P478688_mk(s) { +function color_Fade_clone__P19348_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P478688, depth: s.depth + 1, + parent: s, fn: color_Fade_clone__P19348, 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, + fade___30734: undefined, arg0: undefined, } } @@ -4318,7 +4422,7 @@ function game_init__P478688_mk(s) { -function inline__P483100(s) { +function color_Fade_startUntilDone__P19338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4328,88 +4432,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.rounds___483103 = undefined; - s.j___483111 = undefined; - s.x___483116 = undefined; - s.y___483122 = undefined; - s.c___483128 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(s.arg0); - s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_1 * s.tmp_2); - s.tmp_0 = r0; - r0 = (s.tmp_0 >> 5); - s.rounds___483103 = (r0); - s.j___483111 = (0); + r0 = s.arg0; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + s.tmp_0 = color_Fade_start__P19337_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg1; + s.pc = 1; return s.tmp_0; case 1: - r0 = (s.j___483111 < s.rounds___483103); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P478964_mk(s); - s.tmp_1.arg0 = s.arg1; - s.tmp_1.arg1 = 0; - r0 = pxsim_ImageMethods.width(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_2 - 1); - s.tmp_1.arg2 = r0; - s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - s.x___483116 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P478964_mk(s); - s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = 0; - r0 = pxsim_ImageMethods.height(s.arg0); - s.tmp_1 = r0; - r0 = (s.tmp_1 - 3); - s.tmp_0.arg2 = r0; - s.pc = 4; return s.tmp_0; - case 4: r0 = s.retval; - s.y___483122 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___483116, s.y___483122); - s.c___483128 = (r0); - s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___483116; - r0 = (s.y___483122 + 1); - s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___483128); - s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___483116; - r0 = (s.y___483122 + 2); - s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___483128); - r0 = (s.j___483111 + 1); - s.j___483111 = (r0); - { step = 1; continue; } + s.tmp_0 = color_Fade_pauseUntilDone__P19346_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 2; return s.tmp_0; case 2: - r0 = undefined; + r0 = s.retval; return leave(s, r0) default: oops() } } } -inline__P483100.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} -inline__P483100.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +color_Fade_startUntilDone__P19338.info = {"start":1102,"length":134,"line":39,"column":8,"endLine":42,"endColumn":9,"fileName":"fade.ts","functionName":"startUntilDone","argumentNames":["this","duration"]} +color_Fade_startUntilDone__P19338.info = {"start":1102,"length":134,"line":39,"column":8,"endLine":42,"endColumn":9,"fileName":"fade.ts","functionName":"startUntilDone","argumentNames":["this","duration"]} -function inline__P483100_mk(s) { +function color_Fade_startUntilDone__P19338_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P483100, depth: s.depth + 1, + parent: s, fn: color_Fade_startUntilDone__P19338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - rounds___483103: undefined, - j___483111: undefined, - x___483116: undefined, - y___483122: undefined, - c___483128: undefined, arg0: undefined, arg1: undefined, } } @@ -4418,7 +4470,7 @@ function inline__P483100_mk(s) { -function Math_FastRandom_randomRange__P478964(s) { +function color_currentPalette__P19330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4428,63 +4480,62 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C478962_VT)) failedCast(r0); - r0 = (s.arg2 > s.arg1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); + s.p___19610 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.currentColors___19286); if (!r0) { step = 1; continue; } - s.tmp_2 = Math_FastRandom_next__P478963_mk(s); - s.tmp_2.arg0 = s.arg0; - s.pc = 3; return s.tmp_2; - case 3: + r0 = pxsim_pxtcore_mkClassInstance(color_Palette__C19309_VT); + s.tmp_0 = r0; + s.tmp_1 = color_ColorBuffer_constructor__P19275_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_2 = color_availableColors__P19323_mk(s); + s.pc = 5; return s.tmp_2; + case 5: r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.arg2 - s.arg1); - s.tmp_4 = r0; - r0 = (s.tmp_4 + 1); - s.tmp_3 = r0; - r0 = (s.tmp_1 % s.tmp_3); + s.tmp_1.arg1 = r0; + s.tmp_1.arg2 = undefined; + s.pc = 4; return s.tmp_1; + case 4: + r0 = s.retval; + s.p___19610 = (s.tmp_0); + s.tmp_0 = r0 = s.p___19610; + r0 = pxsim.BufferMethods.slice(globals.currentColors___19286, 0, -1); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["buf"] = (s.tmp_1); + r0 = s.p___19610; + { step = 3; continue; } { step = 2; continue; } case 1: - r0 = 0; + s.tmp_0 = color__clone__P19332_mk(s); + s.tmp_0.arg0 = globals.originalPalette___19414; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + { step = 3; continue; } case 2: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = (s.arg1 + s.tmp_5); + r0 = undefined; + case 3: return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P478964.info = {"start":2046,"length":131,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} -Math_FastRandom_randomRange__P478964.info = {"start":2046,"length":131,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} +color_currentPalette__P19330.info = {"start":11562,"length":258,"line":384,"column":4,"endLine":392,"endColumn":5,"fileName":"color.ts","functionName":"currentPalette","argumentNames":[]} +color_currentPalette__P19330.info = {"start":11562,"length":258,"line":384,"column":4,"endLine":392,"endColumn":5,"fileName":"color.ts","functionName":"currentPalette","argumentNames":[]} -function Math_FastRandom_randomRange__P478964_mk(s) { +function color_currentPalette__P19330_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P478964, depth: s.depth + 1, + parent: s, fn: color_currentPalette__P19330, 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, + p___19610: undefined, } } -function Math_FastRandom_next__P478963(s) { +function color_availableColors__P19323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4494,56 +4545,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C478962_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - r0 = s.arg0.fields["lfsr"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 >> 1); - s.tmp_2 = r0; - r0 = s.arg0.fields["lfsr"]; - s.tmp_7 = r0; - r0 = (s.tmp_7 & 1); - s.tmp_6 = r0; - r0 = (0 - s.tmp_6); - s.tmp_5 = r0; - r0 = (s.tmp_5 & 46080); - s.tmp_4 = r0; - r0 = (s.tmp_2 ^ s.tmp_4); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["lfsr"] = (s.tmp_1); - r0 = s.tmp_1; + s.tmp_0 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_0.arg0 = globals.originalPalette___19414; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P478963.info = {"start":1680,"length":107,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} -Math_FastRandom_next__P478963.info = {"start":1680,"length":107,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} +color_availableColors__P19323.info = {"start":9316,"length":88,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"color.ts","functionName":"availableColors","argumentNames":[]} +color_availableColors__P19323.info = {"start":9316,"length":88,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"color.ts","functionName":"availableColors","argumentNames":[]} -function Math_FastRandom_next__P478963_mk(s) { +function color_availableColors__P19323_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P478963, depth: s.depth + 1, + parent: s, fn: color_availableColors__P19323, 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 effects_ImageEffect_constructor__P479294(s) { +function color_ColorBuffer_setColor__P19272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4553,6 +4578,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.s___19526 = undefined; + s.start___19528 = undefined; + s.i___19532 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4560,33 +4588,82 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C479290_VT)) failedCast(r0); - r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C478962_VT); + if (!checkSubtype(r0, color_ColorBuffer__C19267_VT)) failedCast(r0); + r0 = (s.arg1 | 0); + s.arg1 = (r0); + r0 = (s.arg1 < 0); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P478969_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = undefined; - s.pc = 1; return s.tmp_1; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } case 1: + s.tmp_1 = r0 = s.arg1; + s.tmp_3 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_3.arg0 = s.arg0; + s.pc = 8; return s.tmp_3; + case 8: r0 = s.retval; - r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); - r0 = (s.arg0).fields["preferredDelay"] = (s.arg1); - r0 = (s.arg0).fields["times"] = (undefined); + s.tmp_2 = r0; + r0 = (s.tmp_1 >= s.tmp_2); + case 2: + // jmp value (already in r0) + s.tmp_4 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + if (!r0) { step = 3; continue; } + { step = 7; continue; } + case 3: + case 4: + s.tmp_5 = color_ColorBuffer_stride__P19269_mk(s); + s.tmp_5.arg0 = s.arg0; + s.pc = 9; return s.tmp_5; + case 9: + r0 = s.retval; + s.s___19526 = (r0); + r0 = (s.arg1 * s.s___19526); + s.start___19528 = (r0); + r0 = (s.s___19526 - 1); + s.i___19532 = (r0); + case 5: + r0 = (s.i___19532 >= 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 6; continue; } + r0 = s.arg0.fields["buf"]; + s.tmp_1 = r0; + r0 = (s.start___19528 + s.i___19532); + s.tmp_2 = r0; + r0 = (s.arg2 & 255); + s.tmp_3 = r0; + r0 = pxsim.BufferMethods.setByte(s.tmp_1, s.tmp_2, s.tmp_3); + r0 = (s.arg2 >> 8); + s.arg2 = (r0); + r0 = (s.i___19532 - 1); + s.i___19532 = (r0); + { step = 5; continue; } + case 6: + case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P479294.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__P479294.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"]} +color_ColorBuffer_setColor__P19272.info = {"start":1308,"length":362,"line":51,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"setColor","argumentNames":["this","index","color"]} +color_ColorBuffer_setColor__P19272.info = {"start":1308,"length":362,"line":51,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/color/colorbuffer.ts","functionName":"setColor","argumentNames":["this","index","color"]} -function effects_ImageEffect_constructor__P479294_mk(s) { +function color_ColorBuffer_setColor__P19272_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P479294, depth: s.depth + 1, + parent: s, fn: color_ColorBuffer_setColor__P19272, 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, + s___19526: undefined, + start___19528: undefined, + i___19532: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4596,7 +4673,7 @@ function effects_ImageEffect_constructor__P479294_mk(s) { -function inline__P483210(s) { +function color__clone__P19332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4606,82 +4683,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.factory___483213 = undefined; + s.out___19658 = undefined; + s.i___19664 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C479199_VT); + r0 = pxsim_pxtcore_mkClassInstance(color_Palette__C19309_VT); s.tmp_0 = r0; - s.tmp_2 = if_width_1_mk(s); + s.tmp_1 = color_ColorBuffer_constructor__P19275_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_2 = color_ColorBuffer_length__P19270_mk(s); s.tmp_2.arg0 = s.arg0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "width"); - } else { - s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["width"]; - if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["width"]; } - else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.pc = 3; return s.tmp_2; } - } - case 3: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 1; continue; } - s.tmp_3 = if_width_1_mk(s); - s.tmp_3.arg0 = s.arg0; - if (!s.tmp_3.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "width"); - } else { - s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["width"]; - if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["width"]; } - else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.pc = 4; return s.tmp_3; } - } + s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; - { step = 2; continue; } + s.tmp_1.arg1 = r0; + s.tmp_1.arg2 = undefined; + s.pc = 3; return s.tmp_1; + case 3: + r0 = s.retval; + s.out___19658 = (s.tmp_0); + s.i___19664 = (0); case 1: - r0 = 16; - case 2: - // jmp value (already in r0) - s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P479201_mk(s); - s.tmp_5.arg0 = s.tmp_0; - s.tmp_5.arg1 = s.tmp_4; - s.tmp_5.arg2 = 16; - s.pc = 5; return s.tmp_5; + s.tmp_1 = r0 = s.i___19664; + s.tmp_3 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_3.arg0 = s.arg0; + s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; - s.factory___483213 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P479180_mk(s); - s.tmp_0.arg0 = s.factory___483213; - s.tmp_0.arg1 = 30; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C479112_VT); + s.tmp_2 = r0; + r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P479130_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___483213; - s.pc = 7; return s.tmp_1; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 2; continue; } + s.tmp_4 = color_ColorBuffer_setColor__P19272_mk(s); + s.tmp_4.arg0 = s.out___19658; + s.tmp_4.arg1 = s.i___19664; + s.tmp_5 = color_ColorBuffer_color__P19271_mk(s); + s.tmp_5.arg0 = s.arg0; + s.tmp_5.arg1 = s.i___19664; + s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; - r0 = s.tmp_0; + s.tmp_4.arg2 = r0; + s.pc = 6; return s.tmp_4; + case 6: + r0 = s.retval; + r0 = (s.i___19664 + 1); + s.i___19664 = (r0); + { step = 1; continue; } + case 2: + r0 = s.out___19658; return leave(s, r0) default: oops() } } } -inline__P483210.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} -inline__P483210.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +color__clone__P19332.info = {"start":12027,"length":200,"line":399,"column":4,"endLine":405,"endColumn":5,"fileName":"color.ts","functionName":"_clone","argumentNames":["p"]} +color__clone__P19332.info = {"start":12027,"length":200,"line":399,"column":4,"endLine":405,"endColumn":5,"fileName":"color.ts","functionName":"_clone","argumentNames":["p"]} -function inline__P483210_mk(s) { +function color__clone__P19332_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P483210, depth: s.depth + 1, + parent: s, fn: color__clone__P19332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4689,16 +4752,16 @@ function inline__P483210_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___483213: undefined, + out___19658: undefined, + i___19664: undefined, arg0: undefined, - arg1: undefined, } } -function particles_ParticleSource_constructor__P479130(s) { +function color_startFadeUntilDone__P19410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4708,131 +4771,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___483235 = undefined; - s.removedSource___483244 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P478067_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 0; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - s.tmp_0 = particles_init__P479134_mk(s); - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - s.tmp_0 = particles_particleSources__P479149_mk(s); - s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - s.sources___483235 = (r0); - r0 = pxsim_Array__length(s.sources___483235); - s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___479091); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P479137_mk(s); - s.tmp_2.arg0 = s.sources___483235; - s.pc = 8; return s.tmp_2; - case 8: - r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___483235, 0); - s.removedSource___483244 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P479123_mk(s); - s.tmp_0.arg0 = s.removedSource___483244; - s.pc = 9; return s.tmp_0; - case 9: - r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P479122_mk(s); - s.tmp_0.arg0 = s.removedSource___483244; - 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__P479125_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg2; - s.pc = 11; return s.tmp_0; - case 11: - r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P479117_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 0; - s.pc = 12; return s.tmp_0; - case 12: - r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P479124_mk(s); + s.tmp_0 = color_startFade__P19409_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.pc = 13; return s.tmp_0; - case 13: - r0 = s.retval; - r0 = (s.arg0).fields["lifespan"] = (undefined); - r0 = (s.arg0).fields["_dt"] = (0); - r0 = (s.arg0).fields["priority"] = (0); - s.tmp_0 = r0 = s.arg3; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = s.tmp_0; - { step = 4; continue; } - case 3: - r0 = globals.defaultFactory___479132; - case 4: - // jmp value (already in r0) - s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P479127_mk(s); - s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.tmp_1; - s.pc = 14; return s.tmp_2; - case 14: + s.tmp_0.arg2 = s.arg2; + s.pc = 1; return s.tmp_0; + case 1: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___483235, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P479121_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = true; - s.pc = 15; return s.tmp_0; - case 15: + s.tmp_0 = color_pauseUntilFadeDone__P19411_mk(s); + s.pc = 2; return s.tmp_0; + case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P479130.info = {"start":2290,"length":899,"line":86,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} -particles_ParticleSource_constructor__P479130.info = {"start":2290,"length":899,"line":86,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} +color_startFadeUntilDone__P19410.info = {"start":6973,"length":162,"line":248,"column":4,"endLine":251,"endColumn":5,"fileName":"fade.ts","functionName":"startFadeUntilDone","argumentNames":["start","end","duration"]} +color_startFadeUntilDone__P19410.info = {"start":6973,"length":162,"line":248,"column":4,"endLine":251,"endColumn":5,"fileName":"fade.ts","functionName":"startFadeUntilDone","argumentNames":["start","end","duration"]} -function particles_ParticleSource_constructor__P479130_mk(s) { +function color_startFadeUntilDone__P19410_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P479130, depth: s.depth + 1, + parent: s, fn: color_startFadeUntilDone__P19410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - sources___483235: undefined, - removedSource___483244: undefined, arg0: undefined, arg1: undefined, arg2: undefined, - arg3: undefined, } } -function particles_particleSources__P479149(s) { +function color_pauseUntilFadeDone__P19411(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4842,34 +4820,35 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___483684 = undefined; - s.tmp_0 = game_currentScene__P478375_mk(s); - s.pc = 1; return s.tmp_0; - case 1: + r0 = pxsim_numops_toBoolDecr(globals.activeFade___19354); + if (!r0) { step = 1; continue; } + s.tmp_0 = color_Fade_pauseUntilDone__P19346_mk(s); + s.tmp_0.arg0 = globals.activeFade___19354; + s.pc = 3; return s.tmp_0; + case 3: r0 = s.retval; - r0 = r0.fields["particleSources"]; - s.sources___483684 = (r0); - r0 = s.sources___483684; + case 1: + case 2: + r0 = undefined; return leave(s, r0) default: oops() } } } -particles_particleSources__P479149.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} -particles_particleSources__P479149.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +color_pauseUntilFadeDone__P19411.info = {"start":7302,"length":121,"line":258,"column":4,"endLine":262,"endColumn":5,"fileName":"fade.ts","functionName":"pauseUntilFadeDone","argumentNames":[]} +color_pauseUntilFadeDone__P19411.info = {"start":7302,"length":121,"line":258,"column":4,"endLine":262,"endColumn":5,"fileName":"fade.ts","functionName":"pauseUntilFadeDone","argumentNames":[]} -function particles_particleSources__P479149_mk(s) { +function color_pauseUntilFadeDone__P19411_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P479149, depth: s.depth + 1, + parent: s, fn: color_pauseUntilFadeDone__P19411, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___483684: undefined, } } -function particles_sortSources__P479137(s) { +function color_startFade__P19409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4881,35 +4860,106 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P477496_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = inline__P483552; - s.pc = 1; return s.tmp_0; + r0 = pxsim_numops_toBoolDecr(s.arg0); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } case 1: + r0 = pxsim_numops_toBoolDecr(s.arg1); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + case 2: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBool(s.tmp_3); + if (!r0) { step = 3; continue; } + r0 = s.tmp_3; + { step = 4; continue; } + case 3: + s.tmp_5 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_5.arg0 = s.arg0; + s.pc = 8; return s.tmp_5; + case 8: + r0 = s.retval; + s.tmp_4 = r0; + s.tmp_7 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_7.arg0 = s.arg1; + s.pc = 9; return s.tmp_7; + case 9: + r0 = s.retval; + s.tmp_6 = r0; + r0 = (s.tmp_4 !== s.tmp_6); + case 4: + // jmp value (already in r0) + s.tmp_8 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_8); + if (!r0) { step = 5; continue; } + { step = 7; continue; } + case 5: + case 6: + r0 = pxsim_pxtcore_mkClassInstance(color_Fade__C19333_VT); + s.tmp_9 = r0; + r0 = undefined; + globals.activeFade___19354 = (s.tmp_9); + s.tmp_0 = color_Fade_setStartPalette__P19340_mk(s); + s.tmp_0.arg0 = globals.activeFade___19354; + s.tmp_0.arg1 = s.arg0; + s.pc = 10; return s.tmp_0; + case 10: + r0 = s.retval; + s.tmp_0 = color_Fade_setEndPalette__P19342_mk(s); + s.tmp_0.arg0 = globals.activeFade___19354; + s.tmp_0.arg1 = s.arg1; + s.pc = 11; return s.tmp_0; + case 11: + r0 = s.retval; + s.tmp_0 = color_Fade_start__P19337_mk(s); + s.tmp_0.arg0 = globals.activeFade___19354; + s.tmp_0.arg1 = s.arg2; + s.pc = 12; return s.tmp_0; + case 12: r0 = s.retval; + case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_sortSources__P479137.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} -particles_sortSources__P479137.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} +color_startFade__P19409.info = {"start":6657,"length":310,"line":238,"column":4,"endLine":246,"endColumn":5,"fileName":"fade.ts","functionName":"startFade","argumentNames":["start","end","duration"]} +color_startFade__P19409.info = {"start":6657,"length":310,"line":238,"column":4,"endLine":246,"endColumn":5,"fileName":"fade.ts","functionName":"startFade","argumentNames":["start","end","duration"]} -function particles_sortSources__P479137_mk(s) { +function color_startFade__P19409_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P479137, depth: s.depth + 1, + parent: s, fn: color_startFade__P19409, 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, + arg1: undefined, + arg2: undefined, } } -function inline__P483552(s) { +function color_Fade_setStartPalette__P19340(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4924,43 +4974,31 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0.fields["priority"]; - s.tmp_1 = r0; - r0 = s.arg1.fields["priority"]; - s.tmp_2 = r0; - r0 = (s.tmp_1 - s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + r0 = s.arg0; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + s.tmp_0 = r0 = s.arg0; + s.tmp_2 = color__clone__P19332_mk(s); + s.tmp_2.arg0 = s.arg1; + s.pc = 1; return s.tmp_2; case 1: - r0 = s.arg0.fields["id"]; - s.tmp_3 = r0; - r0 = s.arg1.fields["id"]; - s.tmp_4 = r0; - r0 = (s.tmp_3 - s.tmp_4); - case 2: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = s.tmp_5; + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_startPalette"] = (s.tmp_1); + r0 = s.arg0; return leave(s, r0) default: oops() } } } -inline__P483552.info = {"start":10080,"length":50,"line":332,"column":21,"endLine":332,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} -inline__P483552.info = {"start":10080,"length":50,"line":332,"column":21,"endLine":332,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} +color_Fade_setStartPalette__P19340.info = {"start":1352,"length":131,"line":49,"column":8,"endLine":52,"endColumn":9,"fileName":"fade.ts","functionName":"setStartPalette","argumentNames":["this","colors"]} +color_Fade_setStartPalette__P19340.info = {"start":1352,"length":131,"line":49,"column":8,"endLine":52,"endColumn":9,"fileName":"fade.ts","functionName":"setStartPalette","argumentNames":["this","colors"]} -function inline__P483552_mk(s) { +function color_Fade_setStartPalette__P19340_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P483552, depth: s.depth + 1, + parent: s, fn: color_Fade_setStartPalette__P19340, 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, } } @@ -4969,7 +5007,7 @@ function inline__P483552_mk(s) { -function helpers_arraySort__P477496(s) { +function color_Fade_constructor__P19351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4981,59 +5019,30 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(s.arg1); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } - case 1: - r0 = pxsim_Array__length(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_2 > 1); - case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 3; continue; } - s.arg1 = (inline__P483576); - case 3: - case 4: - s.tmp_0 = helpers_sortHelper__P477495_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; + r0 = s.arg0; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arraySort__P477496.info = {"start":3805,"length":859,"line":147,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} -helpers_arraySort__P477496.info = {"start":3805,"length":859,"line":147,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} +color_Fade_constructor__P19351.info = {"start":206,"length":17,"line":7,"column":8,"endLine":7,"endColumn":25,"fileName":"fade.ts","functionName":"inline","argumentNames":["this"]} +color_Fade_constructor__P19351.info = {"start":206,"length":17,"line":7,"column":8,"endLine":7,"endColumn":25,"fileName":"fade.ts","functionName":"inline","argumentNames":["this"]} -function helpers_arraySort__P477496_mk(s) { +function color_Fade_constructor__P19351_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P477496, depth: s.depth + 1, + parent: s, fn: color_Fade_constructor__P19351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, arg0: undefined, - arg1: undefined, } } -function inline__P483576(s) { +function color_Fade_setEndPalette__P19342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5043,134 +5052,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.aIsUndef___483579 = undefined; - s.bIsUndef___483583 = undefined; - s.aIsNull___483594 = undefined; - s.bIsNull___483598 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 === undefined); - s.aIsUndef___483579 = (r0); - r0 = (s.arg1 === undefined); - s.bIsUndef___483583 = (r0); - s.tmp_0 = r0 = s.aIsUndef___483579; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + r0 = s.arg0; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + s.tmp_0 = r0 = s.arg0; + s.tmp_2 = color__clone__P19332_mk(s); + s.tmp_2.arg0 = s.arg1; + s.pc = 1; return s.tmp_2; case 1: - r0 = s.bIsUndef___483583; - case 2: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 3; continue; } - r0 = 0; - { step = 17; continue; } - { step = 8; continue; } - case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___483579); - if (!r0) { step = 4; continue; } - r0 = 1; - { step = 17; continue; } - { step = 7; continue; } - case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___483583); - if (!r0) { step = 5; continue; } - r0 = -1; - { step = 17; continue; } - case 5: - case 6: - case 7: - case 8: - r0 = (s.arg0 === null); - s.aIsNull___483594 = (r0); - r0 = (s.arg1 === null); - s.bIsNull___483598 = (r0); - s.tmp_0 = r0 = s.aIsNull___483594; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 9; continue; } - r0 = s.tmp_0; - { step = 10; continue; } - case 9: - r0 = s.bIsNull___483598; - case 10: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 11; continue; } - r0 = 0; - { step = 17; continue; } - { step = 16; continue; } - case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___483594); - if (!r0) { step = 12; continue; } - r0 = 1; - { step = 17; continue; } - { step = 15; continue; } - case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___483598); - if (!r0) { step = 13; continue; } - r0 = -1; - { step = 17; continue; } - case 13: - case 14: - case 15: - case 16: - if ((s.arg0) && (s.arg0).vtable) { - setupResume(s, 18); - pxsim_String__stringConv(s.arg0); - checkResumeConsumed(); - return; - } else { s.retval = (s.arg0) + ""; } - case 18: - r0 = s.retval; - s.tmp_3 = r0; - r0 = pxsim_String_.mkEmpty(); - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.tmp_2 = r0; - if ((s.arg1) && (s.arg1).vtable) { - setupResume(s, 19); - pxsim_String__stringConv(s.arg1); - checkResumeConsumed(); - return; - } else { s.retval = (s.arg1) + ""; } - case 19: r0 = s.retval; - s.tmp_6 = r0; - r0 = pxsim_String_.mkEmpty(); - s.tmp_7 = r0; - r0 = pxsim_String__concat(s.tmp_6, s.tmp_7); - s.tmp_5 = r0; - r0 = pxsim_String_.compare(s.tmp_2, s.tmp_5); - case 17: + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_endPalette"] = (s.tmp_1); + r0 = s.arg0; return leave(s, r0) default: oops() } } } -inline__P483576.info = {"start":3968,"length":636,"line":149,"column":25,"endLine":164,"endColumn":13,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"inline","argumentNames":["a","b"]} -inline__P483576.info = {"start":3968,"length":636,"line":149,"column":25,"endLine":164,"endColumn":13,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"inline","argumentNames":["a","b"]} +color_Fade_setEndPalette__P19342.info = {"start":1647,"length":127,"line":59,"column":8,"endLine":62,"endColumn":9,"fileName":"fade.ts","functionName":"setEndPalette","argumentNames":["this","colors"]} +color_Fade_setEndPalette__P19342.info = {"start":1647,"length":127,"line":59,"column":8,"endLine":62,"endColumn":9,"fileName":"fade.ts","functionName":"setEndPalette","argumentNames":["this","colors"]} -function inline__P483576_mk(s) { +function color_Fade_setEndPalette__P19342_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P483576, depth: s.depth + 1, + parent: s, fn: color_Fade_setEndPalette__P19342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - aIsUndef___483579: undefined, - bIsUndef___483583: undefined, - aIsNull___483594: undefined, - bIsNull___483598: undefined, arg0: undefined, arg1: undefined, } } @@ -5179,7 +5090,7 @@ function inline__P483576_mk(s) { -function helpers_sortHelper__P477495(s) { +function color_Fade_start__P19337(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5189,106 +5100,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___483634 = undefined; - s.i___483637 = undefined; - s.j___483643 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_Array__length(s.arg0); - s.tmp_1 = r0; - r0 = (s.tmp_1 <= 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } - case 1: - r0 = pxsim_numops_toBoolDecr(s.arg1); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); - case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 3; continue; } r0 = s.arg0; - { step = 11; continue; } + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + s.tmp_0 = color_init__P19408_mk(s); + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = (s.arg0).fields["duration"] = (s.arg1); + s.tmp_0 = color_setPalette__P19317_mk(s); + s.tmp_1 = color_Fade_startPalette__P19334_mk(s); + s.tmp_1.arg0 = s.arg0; + s.pc = 3; return s.tmp_1; case 3: + r0 = s.retval; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = 0; + s.tmp_0.arg2 = 0; + s.tmp_0.arg3 = 0; + s.pc = 2; return s.tmp_0; + case 2: + r0 = s.retval; + s.tmp_0 = r0 = s.arg0; + s.tmp_2 = game_runtime__P16878_mk(s); + s.pc = 4; return s.tmp_2; case 4: - r0 = pxsim_Array__length(s.arg0); - s.len___483634 = (r0); - s.i___483637 = (0); - case 5: - s.tmp_1 = r0 = s.i___483637; - r0 = (s.len___483634 - 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___483637 + 1); - s.j___483643 = (r0); - case 6: - r0 = (s.j___483643 < s.len___483634); - 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___483637); - s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___483643); - s.tmp_3.arg1 = r0; - setupLambda(s.tmp_3, s.tmp_3.argL); - s.pc = 12; return s.tmp_3; - case 12: r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_2 > 0); s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P477494_mk(s); - s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___483637; - s.tmp_4.arg2 = s.j___483643; - s.pc = 13; return s.tmp_4; - case 13: - r0 = s.retval; - case 7: - case 8: - r0 = (s.j___483643 + 1); - s.j___483643 = (r0); - { step = 6; continue; } - case 9: - r0 = (s.i___483637 + 1); - s.i___483637 = (r0); - { step = 5; continue; } - case 10: + r0 = (s.tmp_0).fields["startTime"] = (s.tmp_1); + globals.activeFade___19354 = (s.arg0); r0 = s.arg0; - case 11: return leave(s, r0) default: oops() } } } -helpers_sortHelper__P477495.info = {"start":3318,"length":481,"line":131,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sortHelper","argumentNames":["arr","callbackfn"]} -helpers_sortHelper__P477495.info = {"start":3318,"length":481,"line":131,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sortHelper","argumentNames":["arr","callbackfn"]} +color_Fade_start__P19337.info = {"start":834,"length":258,"line":29,"column":8,"endLine":37,"endColumn":9,"fileName":"fade.ts","functionName":"start","argumentNames":["this","duration"]} +color_Fade_start__P19337.info = {"start":834,"length":258,"line":29,"column":8,"endLine":37,"endColumn":9,"fileName":"fade.ts","functionName":"start","argumentNames":["this","duration"]} -function helpers_sortHelper__P477495_mk(s) { +function color_Fade_start__P19337_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P477495, depth: s.depth + 1, + parent: s, fn: color_Fade_start__P19337, 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___483634: undefined, - i___483637: undefined, - j___483643: undefined, arg0: undefined, arg1: undefined, } } @@ -5297,7 +5156,7 @@ function helpers_sortHelper__P477495_mk(s) { -function helpers_swap__P477494(s) { +function color_Fade_startPalette__P19334(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5307,110 +5166,55 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.temp___483672 = 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___483672 = (r0); - s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.arg2); + r0 = s.arg0; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + r0 = s.arg0.fields["_startPalette"]; 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___483672); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -helpers_swap__P477494.info = {"start":3172,"length":140,"line":125,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"swap","argumentNames":["arr","i","j"]} -helpers_swap__P477494.info = {"start":3172,"length":140,"line":125,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"swap","argumentNames":["arr","i","j"]} - -function helpers_swap__P477494_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: helpers_swap__P477494, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - temp___483672: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function particles_init__P479134(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; -switch (step) { - case 0: - - s.scene___483690 = undefined; - s.tmp_0 = game_currentScene__P478375_mk(s); - s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - s.scene___483690 = (r0); - r0 = s.scene___483690.fields["particleSources"]; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - { step = 3; continue; } + s.tmp_3 = r0 = s.arg0; + s.tmp_5 = color_currentPalette__P19330_mk(s); + s.pc = 3; return s.tmp_5; + case 3: + r0 = s.retval; + s.tmp_4 = r0; + r0 = (s.tmp_3).fields["_startPalette"] = (s.tmp_4); case 1: case 2: - s.tmp_1 = r0 = s.scene___483690; - r0 = pxsim_Array__mk(); - s.tmp_2 = r0; - r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); - r0 = pxsim.control.millis(); - globals.lastUpdate___479109 = (r0); - s.tmp_0 = game_onUpdate__P478697_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P479135; - s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P478698_mk(s); - s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P479136; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - case 3: - r0 = undefined; + r0 = s.arg0.fields["_startPalette"]; return leave(s, r0) default: oops() } } } -particles_init__P479134.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} -particles_init__P479134.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +color_Fade_startPalette__P19334.info = {"start":233,"length":189,"line":9,"column":8,"endLine":14,"endColumn":9,"fileName":"fade.ts","functionName":"startPalette","argumentNames":["this"]} +color_Fade_startPalette__P19334.info = {"start":233,"length":189,"line":9,"column":8,"endLine":14,"endColumn":9,"fileName":"fade.ts","functionName":"startPalette","argumentNames":["this"]} -function particles_init__P479134_mk(s) { +function color_Fade_startPalette__P19334_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P479134, depth: s.depth + 1, + parent: s, fn: color_Fade_startPalette__P19334, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___483690: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + arg0: undefined, } } -function particles_pruneParticles__P479136(s) { +function color_init__P19408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5420,52 +5224,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___483705 = undefined; - s.tmp_0 = particles_particleSources__P479149_mk(s); - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.sources___483705 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___483705); + r0 = pxsim_numops_toBoolDecr(globals.currentScene___19355); + 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_0 = helpers_arrayForEach__P477500_mk(s); - s.tmp_1 = helpers_arraySlice__P477505_mk(s); - s.tmp_1.arg0 = s.sources___483705; - s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___483705); - s.tmp_1.arg2 = r0; - s.pc = 5; return s.tmp_1; - case 5: + s.tmp_2 = game_forever__P16875_mk(s); + s.tmp_2.arg0 = inline__P19813; + s.pc = 3; return s.tmp_2; + case 3: r0 = s.retval; - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P483715; + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; + globals.currentScene___19355 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_pruneParticles__P479136.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} -particles_pruneParticles__P479136.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +color_init__P19408.info = {"start":6049,"length":374,"line":217,"column":4,"endLine":230,"endColumn":5,"fileName":"fade.ts","functionName":"init","argumentNames":[]} +color_init__P19408.info = {"start":6049,"length":374,"line":217,"column":4,"endLine":230,"endColumn":5,"fileName":"fade.ts","functionName":"init","argumentNames":[]} -function particles_pruneParticles__P479136_mk(s) { +function color_init__P19408_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P479136, depth: s.depth + 1, + parent: s, fn: color_init__P19408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___483705: undefined, + tmp_2: undefined, } } -function inline__P483715(s) { +function inline__P19813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5475,36 +5273,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - s.tmp_0 = particles_ParticleSource__prune__P479116_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 1; return s.tmp_0; - case 1: + s.finished___19815 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.activeFade___19354); + if (!r0) { step = 3; continue; } + s.tmp_0 = color_Fade_step__P19344_mk(s); + s.tmp_0.arg0 = globals.activeFade___19354; + s.pc = 5; return s.tmp_0; + case 5: r0 = s.retval; + s.finished___19815 = (r0); + r0 = pxsim_numops_toBoolDecr(s.finished___19815); + if (!r0) { step = 1; continue; } + globals.activeFade___19354 = (undefined); + case 1: + case 2: + case 3: + case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P483715.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -inline__P483715.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P19813.info = {"start":6121,"length":236,"line":219,"column":25,"endLine":227,"endColumn":13,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} +inline__P19813.info = {"start":6121,"length":236,"line":219,"column":25,"endLine":227,"endColumn":13,"fileName":"fade.ts","functionName":"inline","argumentNames":[]} -function inline__P483715_mk(s) { +function inline__P19813_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P483715, depth: s.depth + 1, + parent: s, fn: inline__P19813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - arg0: undefined, + finished___19815: undefined, } } -function particles_ParticleSource__prune__P479116(s) { +function color_Fade_step__P19344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5514,138 +5319,159 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___483496 = undefined; - s.sources___483506 = undefined; - s.current___483520 = undefined; + s.time___19842 = undefined; + s.p___19848 = undefined; + s.i___19855 = undefined; + s.col___19861 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); - case 1: - r0 = s.arg0.fields["head"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 2; continue; } - r0 = s.tmp_0; - { step = 3; continue; } - case 2: - r0 = s.arg0.fields["head"]; - r0 = r0.fields["lifespan"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 <= 0); - case 3: - // jmp value (already in r0) + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + r0 = s.arg0.fields["_endPalette"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 4; continue; } - r0 = s.arg0.fields["head"]; - r0 = r0.fields["next"]; - s.tmp_3 = r0; - r0 = (s.arg0).fields["head"] = (s.tmp_3); - { step = 1; continue; } - case 4: - r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; - r0 = (s.tmp_1 & 2); + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 5; continue; } + if (!r0) { step = 1; continue; } r0 = s.tmp_0; - { step = 6; continue; } - case 5: - r0 = s.arg0.fields["head"]; + { step = 2; continue; } + case 1: + r0 = s.arg0.fields["startTime"]; s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); - case 6: + r0 = (s.tmp_3 === undefined); + case 2: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P478375_mk(s); - s.pc = 21; return s.tmp_5; - case 21: - r0 = s.retval; - s.scene___483496 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___483496); - if (!r0) { step = 7; continue; } - r0 = s.scene___483496.fields["allSprites"]; - s.tmp_0 = r0; - r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); - case 7: - case 8: - s.tmp_0 = particles_particleSources__P479149_mk(s); - s.pc = 22; return s.tmp_0; - case 22: - r0 = s.retval; - s.sources___483506 = (r0); - s.tmp_0 = r0 = s.sources___483506; - 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___483506); + if (!r0) { step = 3; continue; } + r0 = true; + { step = 9; continue; } + case 3: + case 4: + s.tmp_8 = color_Fade_isActive__P19336_mk(s); + s.tmp_8.arg0 = s.arg0; + s.pc = 10; return s.tmp_8; 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___483506, s.arg0); + r0 = s.retval; + s.tmp_7 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_7); + s.tmp_6 = r0; + r0 = pxsim_Boolean__bang(s.tmp_6); + s.tmp_5 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_5); + if (!r0) { step = 5; continue; } + s.tmp_9 = color_setPalette__P19317_mk(s); + r0 = s.arg0.fields["_endPalette"]; + s.tmp_9.arg0 = r0; + s.tmp_9.arg1 = 0; + s.tmp_9.arg2 = 0; + s.tmp_9.arg3 = 0; + s.pc = 11; return s.tmp_9; case 11: + r0 = s.retval; + r0 = (s.arg0).fields["startTime"] = (undefined); + r0 = true; + { step = 9; continue; } + case 5: + case 6: + s.tmp_1 = game_runtime__P16878_mk(s); + s.pc = 12; return s.tmp_1; case 12: - r0 = s.arg0.fields["anchor"]; + r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 == undefined); - case 13: + r0 = s.arg0.fields["startTime"]; + s.tmp_2 = r0; + r0 = (s.tmp_0 - s.tmp_2); + s.time___19842 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(color_Palette__C19309_VT); + s.tmp_0 = r0; + s.tmp_1 = color_ColorBuffer_constructor__P19275_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_2 = color_ColorBuffer_length__P19270_mk(s); + r0 = s.arg0.fields["_startPalette"]; + s.tmp_2.arg0 = r0; + s.pc = 14; return s.tmp_2; case 14: - r0 = s.arg0.fields["head"]; - s.current___483520 = (r0); + r0 = s.retval; + s.tmp_1.arg1 = r0; + s.tmp_1.arg2 = undefined; + s.pc = 13; return s.tmp_1; + case 13: + r0 = s.retval; + s.p___19848 = (s.tmp_0); + s.i___19855 = (0); + case 7: + s.tmp_1 = r0 = s.i___19855; + s.tmp_3 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_3.arg0 = s.p___19848; + s.pc = 15; return s.tmp_3; case 15: - s.tmp_0 = r0 = s.current___483520; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 16; continue; } - r0 = s.tmp_0; - { step = 17; continue; } - case 16: - r0 = s.current___483520.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___483520.fields["next"]; - r0 = r0.fields["lifespan"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 <= 0); + r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 18; continue; } - r0 = s.current___483520.fields["next"]; - r0 = r0.fields["next"]; - s.tmp_4 = r0; - r0 = (s.current___483520).fields["next"] = (s.tmp_4); - { step = 19; continue; } + r0 = (s.tmp_1 < s.tmp_2); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 8; continue; } + s.tmp_4 = color_partialColorTransition__P19328_mk(s); + s.tmp_5 = color_ColorBuffer_color__P19271_mk(s); + r0 = s.arg0.fields["_startPalette"]; + s.tmp_5.arg0 = r0; + s.tmp_5.arg1 = s.i___19855; + s.pc = 17; return s.tmp_5; + case 17: + r0 = s.retval; + s.tmp_4.arg0 = r0; + s.tmp_6 = color_ColorBuffer_color__P19271_mk(s); + r0 = s.arg0.fields["_endPalette"]; + s.tmp_6.arg0 = r0; + s.tmp_6.arg1 = s.i___19855; + s.pc = 18; return s.tmp_6; case 18: - r0 = s.current___483520.fields["next"]; - s.current___483520 = (r0); + r0 = s.retval; + s.tmp_4.arg1 = r0; + r0 = s.arg0.fields["duration"]; + s.tmp_7 = r0; + r0 = (s.time___19842 / s.tmp_7); + s.tmp_4.arg2 = r0; + s.pc = 16; return s.tmp_4; + case 16: + r0 = s.retval; + s.col___19861 = (r0); + s.tmp_0 = color_ColorBuffer_setColor__P19272_mk(s); + s.tmp_0.arg0 = s.p___19848; + s.tmp_0.arg1 = s.i___19855; + s.tmp_0.arg2 = s.col___19861; + s.pc = 19; return s.tmp_0; case 19: - { step = 15; continue; } + r0 = s.retval; + r0 = (s.i___19855 + 1); + s.i___19855 = (r0); + { step = 7; continue; } + case 8: + s.tmp_0 = color_setPalette__P19317_mk(s); + s.tmp_0.arg0 = s.p___19848; + s.tmp_0.arg1 = 0; + s.tmp_0.arg2 = 0; + s.tmp_0.arg3 = 0; + s.pc = 20; return s.tmp_0; case 20: - r0 = undefined; + r0 = s.retval; + r0 = false; + case 9: return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P479116.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} -particles_ParticleSource__prune__P479116.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} +color_Fade_step__P19344.info = {"start":1934,"length":818,"line":69,"column":8,"endLine":95,"endColumn":9,"fileName":"fade.ts","functionName":"step","argumentNames":["this"]} +color_Fade_step__P19344.info = {"start":1934,"length":818,"line":69,"column":8,"endLine":95,"endColumn":9,"fileName":"fade.ts","functionName":"step","argumentNames":["this"]} -function particles_ParticleSource__prune__P479116_mk(s) { +function color_Fade_step__P19344_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P479116, depth: s.depth + 1, + parent: s, fn: color_Fade_step__P19344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5653,9 +5479,14 @@ function particles_ParticleSource__prune__P479116_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___483496: undefined, - sources___483506: undefined, - current___483520: undefined, + tmp_6: undefined, + tmp_7: undefined, + tmp_8: undefined, + tmp_9: undefined, + time___19842: undefined, + p___19848: undefined, + i___19855: undefined, + col___19861: undefined, arg0: undefined, } } @@ -5663,7 +5494,7 @@ function particles_ParticleSource__prune__P479116_mk(s) { -function helpers_arraySlice__P477505(s) { +function color_partialColorTransition__P19328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5673,105 +5504,118 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.res___483722 = undefined; - s.len___483724 = undefined; - s.i___483758 = undefined; + s.r1___19894 = undefined; + s.g1___19898 = undefined; + s.b1___19902 = undefined; + s.rDiff___19906 = undefined; + s.gDiff___19912 = undefined; + s.bDiff___19918 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = pxsim_Array__mk(); - s.res___483722 = (r0); - r0 = pxsim_Array__length(s.arg0); - s.len___483724 = (r0); - r0 = (s.arg1 === undefined); + r0 = (s.arg2 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.arg1 = (0); + r0 = s.arg0; + { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.arg1 < 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); + r0 = (s.arg2 >= 1); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P477516_mk(s); - r0 = (s.len___483724 + s.arg1); - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = 0; - s.pc = 16; return s.tmp_1; - case 16: - r0 = s.retval; - s.arg1 = (r0); + r0 = s.arg1; + { step = 5; continue; } case 2: case 3: case 4: - r0 = (s.arg1 > s.len___483724); + r0 = (s.arg0 >> 16); + s.tmp_2 = r0; + r0 = (s.tmp_2 & 255); + s.r1___19894 = (r0); + r0 = (s.arg0 >> 8); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 5; continue; } - r0 = s.res___483722; - { step = 15; continue; } - case 5: - case 6: - r0 = (s.arg2 === undefined); + r0 = (s.tmp_0 & 255); + s.g1___19898 = (r0); + r0 = (s.arg0 >> 0); + s.tmp_0 = r0; + r0 = (s.tmp_0 & 255); + s.b1___19902 = (r0); + r0 = (s.arg1 >> 16); s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 7; continue; } - s.arg2 = (s.len___483724); - { step = 10; continue; } - case 7: - r0 = (s.arg2 < 0); + r0 = (s.tmp_1 & 255); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 8; continue; } - r0 = (s.len___483724 + s.arg2); - s.arg2 = (r0); - case 8: - case 9: - case 10: - r0 = (s.arg2 > s.len___483724); + r0 = (s.tmp_0 - s.r1___19894); + s.rDiff___19906 = (r0); + r0 = (s.arg1 >> 8); + s.tmp_1 = r0; + r0 = (s.tmp_1 & 255); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 11; continue; } - s.arg2 = (s.len___483724); - case 11: - case 12: - s.i___483758 = (s.arg1); - case 13: - r0 = (s.i___483758 < s.arg2); + r0 = (s.tmp_0 - s.g1___19898); + s.gDiff___19912 = (r0); + r0 = (s.arg1 >> 0); + s.tmp_1 = r0; + r0 = (s.tmp_1 & 255); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___483722; - r0 = pxsim_Array__getAt(s.arg0, s.i___483758); + r0 = (s.tmp_0 - s.b1___19902); + s.bDiff___19918 = (r0); + s.tmp_0 = color_toColor__P19331_mk(s); + s.tmp_1 = r0 = s.r1___19894; + r0 = (s.rDiff___19906 * s.arg2); + s.tmp_3 = r0; + r0 = pxsim.Math_.round(s.tmp_3); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___483758 + 1); - s.i___483758 = (r0); - { step = 13; continue; } - case 14: - r0 = s.res___483722; - case 15: + r0 = (s.tmp_1 + s.tmp_2); + s.tmp_0.arg0 = r0; + s.tmp_4 = r0 = s.g1___19898; + r0 = (s.gDiff___19912 * s.arg2); + s.tmp_6 = r0; + r0 = pxsim.Math_.round(s.tmp_6); + s.tmp_5 = r0; + r0 = (s.tmp_4 + s.tmp_5); + s.tmp_0.arg1 = r0; + s.tmp_7 = r0 = s.b1___19902; + r0 = (s.bDiff___19918 * s.arg2); + s.tmp_9 = r0; + r0 = pxsim.Math_.round(s.tmp_9); + s.tmp_8 = r0; + r0 = (s.tmp_7 + s.tmp_8); + s.tmp_0.arg2 = r0; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + case 5: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P477505.info = {"start":7051,"length":690,"line":239,"column":4,"endLine":264,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} -helpers_arraySlice__P477505.info = {"start":7051,"length":690,"line":239,"column":4,"endLine":264,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +color_partialColorTransition__P19328.info = {"start":10720,"length":669,"line":355,"column":4,"endLine":375,"endColumn":5,"fileName":"color.ts","functionName":"partialColorTransition","argumentNames":["start","end","percentage"]} +color_partialColorTransition__P19328.info = {"start":10720,"length":669,"line":355,"column":4,"endLine":375,"endColumn":5,"fileName":"color.ts","functionName":"partialColorTransition","argumentNames":["start","end","percentage"]} -function helpers_arraySlice__P477505_mk(s) { +function color_partialColorTransition__P19328_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P477505, depth: s.depth + 1, + parent: s, fn: color_partialColorTransition__P19328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___483722: undefined, - len___483724: undefined, - i___483758: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + tmp_8: undefined, + tmp_9: undefined, + r1___19894: undefined, + g1___19898: undefined, + b1___19902: undefined, + rDiff___19906: undefined, + gDiff___19912: undefined, + bDiff___19918: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5781,7 +5625,7 @@ function helpers_arraySlice__P477505_mk(s) { -function particles_updateParticles__P479135(s) { +function game_forever__P16875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5791,82 +5635,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___484002 = undefined; - s.time___484009 = undefined; - s.dt___484012 = undefined; - s.i___484018 = undefined; - s.tmp_0 = particles_particleSources__P479149_mk(s); - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - s.sources___484002 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___484002); + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = pxsim_numops_toBoolDecr(globals.foreverRunning___16874); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - { step = 5; continue; } + globals.foreverRunning___16874 = (true); + r0 = pxsim.control.runInParallel(inline__P20001); case 1: case 2: - s.tmp_2 = particles_sortSources__P479137_mk(s); - s.tmp_2.arg0 = s.sources___484002; - s.pc = 7; return s.tmp_2; - case 7: - r0 = s.retval; - r0 = pxsim.control.millis(); - s.time___484009 = (r0); - r0 = (s.time___484009 - globals.lastUpdate___479109); - s.dt___484012 = (r0); - globals.lastUpdate___479109 = (s.time___484009); - s.i___484018 = (0); - case 3: - s.tmp_1 = r0 = s.i___484018; - r0 = pxsim_Array__length(s.sources___484002); - s.tmp_2 = r0; - r0 = (s.tmp_1 < s.tmp_2); + r0 = pxsim_pxtcore_mkClassInstance(scene_GameForeverHandler__C16730_VT); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - s.tmp_3 = particles_ParticleSource__update__P479115_mk(s); - r0 = pxsim_Array__getAt(s.sources___484002, s.i___484018); - s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___484012; - s.pc = 8; return s.tmp_3; - case 8: + s.tmp_1 = scene_GameForeverHandler_constructor__P16731_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = s.arg0; + s.pc = 3; return s.tmp_1; + case 3: r0 = s.retval; - r0 = (s.i___484018 + 1); - s.i___484018 = (r0); - { step = 3; continue; } + s.tmp_3 = game_currentScene__P16549_mk(s); + s.pc = 4; return s.tmp_3; case 4: - case 5: + r0 = s.retval; + r0 = r0.fields["gameForeverHandlers"]; + s.tmp_2 = r0; + r0 = pxsim_Array__push(s.tmp_2, s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_updateParticles__P479135.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} -particles_updateParticles__P479135.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +game_forever__P16875.info = {"start":8612,"length":820,"line":277,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"forever","argumentNames":["action"]} +game_forever__P16875.info = {"start":8612,"length":820,"line":277,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"forever","argumentNames":["action"]} -function particles_updateParticles__P479135_mk(s) { +function game_forever__P16875_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P479135, depth: s.depth + 1, + parent: s, fn: game_forever__P16875, 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___484002: undefined, - time___484009: undefined, - dt___484012: undefined, - i___484018: undefined, + arg0: undefined, +} } + + + + + +function inline__P20001(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.handlers___20003 = undefined; + case 1: + r0 = pxsim_numops_toBoolDecr(1); + if (!r0) { step = 2; continue; } + s.tmp_0 = game_currentScene__P16549_mk(s); + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + r0 = r0.fields["gameForeverHandlers"]; + s.handlers___20003 = (r0); + s.tmp_0 = helpers_arrayForEach__P15674_mk(s); + s.tmp_0.arg0 = s.handlers___20003; + s.tmp_0.arg1 = inline__P20011; + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + s.tmp_0 = pause__P15915_mk(s); + s.tmp_0.arg0 = 20; + s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + { step = 1; continue; } + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P20001.info = {"start":8764,"length":535,"line":280,"column":34,"endLine":294,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P20001.info = {"start":8764,"length":535,"line":280,"column":34,"endLine":294,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} + +function inline__P20001_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P20001, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + handlers___20003: undefined, } } -function particles_ParticleSource__update__P479115(s) { +function inline__P20011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5876,267 +5750,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___484082 = undefined; - s.current___484101 = undefined; - s.fixedDt___484109 = 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__C479112_VT)) failedCast(r0); - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["timer"]; + r0 = s.arg0.fields["lock"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.arg1); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["timer"] = (s.tmp_1); - r0 = s.arg0.fields["lifespan"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 !== undefined); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - s.tmp_2 = r0 = s.arg0; - 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); - r0 = s.arg0.fields["lifespan"]; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 <= 0); + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = particles_ParticleSource_destroy__P479122_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 28; return s.tmp_0; - case 28: - r0 = s.retval; + r0 = (s.arg0).fields["lock"] = (true); + r0 = pxsim_pxtcore_mkAction(1, inline__P20021); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + r0 = pxsim.control.runInParallel(s.tmp_0); case 1: case 2: - { step = 10; continue; } - case 3: - r0 = s.arg0.fields["anchor"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 4; continue; } - r0 = s.tmp_0; - { step = 5; continue; } - case 4: - s.tmp_2 = if_flags_1_mk(s); - r0 = s.arg0.fields["anchor"]; - s.tmp_2.arg0 = r0; - if (!s.tmp_2.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "flags"); - } else { - 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.pc = 29; return s.tmp_2; } - } - case 29: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.tmp_1 !== undefined); - case 5: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBool(s.tmp_3); - if (r0) { step = 6; continue; } - r0 = s.tmp_3; - { step = 7; continue; } - case 6: - s.tmp_5 = if_flags_1_mk(s); - r0 = s.arg0.fields["anchor"]; - s.tmp_5.arg0 = r0; - if (!s.tmp_5.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "flags"); - } else { - 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.pc = 30; return s.tmp_5; } - } - case 30: - r0 = s.retval; - s.tmp_4 = r0; - r0 = (s.tmp_4 & 2); - case 7: - // jmp value (already in r0) - s.tmp_6 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_6); - if (!r0) { step = 8; continue; } - r0 = (s.arg0).fields["lifespan"] = (750); - case 8: - case 9: - case 10: - case 11: - r0 = s.arg0.fields["timer"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 < 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 12; continue; } - r0 = s.tmp_0; - { step = 13; continue; } - case 12: - s.tmp_2 = particles_ParticleSource_enabled__P479120_mk(s); - s.tmp_2.arg0 = s.arg0; - s.pc = 31; return s.tmp_2; - case 31: - r0 = s.retval; - case 13: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 16; continue; } - s.tmp_4 = r0 = s.arg0; - r0 = s.tmp_4.fields["timer"]; - s.tmp_6 = r0; - r0 = s.arg0.fields["period"]; - s.tmp_7 = r0; - 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__C479172_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__C479172_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___484082 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___484082); - 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 = 14; continue; } - { step = 11; continue; } - case 14: - case 15: - r0 = s.arg0.fields["head"]; - s.tmp_2 = r0; - r0 = (s.p___484082).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___484082); - { step = 11; continue; } - case 16: - r0 = s.arg0.fields["head"]; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 17; continue; } - { step = 27; continue; } - case 17: - case 18: - r0 = s.arg0.fields["head"]; - s.current___484101 = (r0); - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["_dt"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 + s.arg1); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_dt"] = (s.tmp_1); - r0 = s.arg0.fields["_dt"]; - s.tmp_0 = r0; - r0 = (s.tmp_0 * 256); - s.tmp_1 = r0; - r0 = (s.tmp_1 | 0); - s.fixedDt___484109 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___484109); - if (!r0) { step = 23; continue; } - case 19: - r0 = s.current___484101.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___484101; - 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__C479112_v4_3_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___484101; - s.tmp_0.arg2 = s.fixedDt___484109; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C479112_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___484101.fields["next"]; - s.tmp_0 = r0; - s.current___484101 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 22; continue; } - { step = 19; continue; } - case 22: - r0 = (s.arg0).fields["_dt"] = (0); - { step = 26; continue; } - case 23: - case 24: - s.tmp_0 = r0 = s.current___484101; - 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___484101.fields["next"]; - s.tmp_0 = r0; - s.current___484101 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 25; continue; } - { step = 24; continue; } - case 25: - case 26: - case 27: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P479115.info = {"start":3677,"length":1400,"line":123,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} -particles_ParticleSource__update__P479115.info = {"start":3677,"length":1400,"line":123,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} +inline__P20011.info = {"start":8915,"length":319,"line":283,"column":37,"endLine":291,"endColumn":21,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["h"]} +inline__P20011.info = {"start":8915,"length":319,"line":283,"column":37,"endLine":291,"endColumn":21,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["h"]} -function particles_ParticleSource__update__P479115_mk(s) { +function inline__P20011_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P479115, depth: s.depth + 1, + parent: s, fn: inline__P20011, 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, - p___484082: undefined, - current___484101: undefined, - fixedDt___484109: undefined, arg0: undefined, - arg1: undefined, } } -function particles_ParticleFactory_createParticle__P479173(s) { +function inline__P20021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6146,84 +5801,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___484210 = 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__C479172_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C479110_VT); - s.p___484210 = (r0); - s.tmp_0 = r0 = s.p___484210; - s.tmp_3 = if_x_1_mk(s); - s.tmp_3.arg0 = s.arg1; - if (!s.tmp_3.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "x"); + s.tmp_0 = if_handler_1_mk(s); + s.tmp_0.arg0 = s.caps[0]; + if (!s.tmp_0.arg0.vtable.iface) { + setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 1); + s.pc = 1; return s.tmp_0; } else { - 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.pc = 1; return s.tmp_3; } + 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"], 1); s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.pc = 1; return s.tmp_0;; } + else { s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_2 * 256); - s.tmp_4 = r0; - r0 = (s.tmp_4 | 0); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___484210; - s.tmp_3 = if_y_1_mk(s); - s.tmp_3.arg0 = s.arg1; - if (!s.tmp_3.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "y"); - } else { - 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.pc = 2; return s.tmp_3; } - } - case 2: - r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_2 * 256); - s.tmp_4 = r0; - r0 = (s.tmp_4 | 0); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___484210).fields["vx"] = (0); - r0 = (s.p___484210).fields["vy"] = (0); - r0 = (s.p___484210).fields["lifespan"] = (500); - r0 = s.p___484210; + r0 = (s.caps[0]).fields["lock"] = (false); + r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P479173.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__P479173.info = {"start":1822,"length":282,"line":67,"column":8,"endLine":77,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +inline__P20021.info = {"start":9054,"length":130,"line":286,"column":50,"endLine":289,"endColumn":29,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P20021.info = {"start":9054,"length":130,"line":286,"column":50,"endLine":289,"endColumn":29,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function particles_ParticleFactory_createParticle__P479173_mk(s) { +function inline__P20021_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P479173, depth: s.depth + 1, + parent: s, fn: inline__P20021, 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___484210: undefined, - arg0: undefined, - arg1: undefined, } } -function particles_ParticleSource_updateParticle__P479128(s) { +function scene_GameForeverHandler_constructor__P16731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6236,89 +5847,32 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); - r0 = (s.arg2 >> 10); - s.arg2 = (r0); - s.tmp_0 = r0 = s.arg1; - r0 = s.arg1.fields["vx"]; - s.tmp_2 = r0; - r0 = s.arg0.fields["ax"]; - s.tmp_4 = r0; - r0 = pxsim.Math_.imul(s.tmp_4, s.arg2); - s.tmp_5 = r0; - r0 = (s.tmp_5 >> 8); - s.tmp_3 = r0; - r0 = (s.tmp_2 + s.tmp_3); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["vx"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg1; - r0 = s.arg1.fields["vy"]; - s.tmp_2 = r0; - r0 = s.arg0.fields["ay"]; - s.tmp_4 = r0; - r0 = pxsim.Math_.imul(s.tmp_4, s.arg2); - s.tmp_5 = r0; - r0 = (s.tmp_5 >> 8); - s.tmp_3 = r0; - r0 = (s.tmp_2 + s.tmp_3); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg1; - r0 = s.arg1.fields["_x"]; - s.tmp_2 = r0; - r0 = s.arg1.fields["vx"]; - s.tmp_4 = r0; - r0 = pxsim.Math_.imul(s.tmp_4, s.arg2); - s.tmp_5 = r0; - r0 = (s.tmp_5 >> 8); - s.tmp_3 = r0; - r0 = (s.tmp_2 + s.tmp_3); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg1; - r0 = s.arg1.fields["_y"]; - s.tmp_2 = r0; - r0 = s.arg1.fields["vy"]; - s.tmp_4 = r0; - r0 = pxsim.Math_.imul(s.tmp_4, s.arg2); - s.tmp_5 = r0; - r0 = (s.tmp_5 >> 8); - s.tmp_3 = r0; - r0 = (s.tmp_2 + s.tmp_3); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); + if (!checkSubtype(r0, scene_GameForeverHandler__C16730_VT)) failedCast(r0); + r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P479128.info = {"start":8231,"length":357,"line":276,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} -particles_ParticleSource_updateParticle__P479128.info = {"start":8231,"length":357,"line":276,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} +scene_GameForeverHandler_constructor__P16731.info = {"start":1145,"length":65,"line":40,"column":8,"endLine":42,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","handler"]} +scene_GameForeverHandler_constructor__P16731.info = {"start":1145,"length":65,"line":40,"column":8,"endLine":42,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","handler"]} -function particles_ParticleSource_updateParticle__P479128_mk(s) { +function scene_GameForeverHandler_constructor__P16731_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P479128, depth: s.depth + 1, + parent: s, fn: scene_GameForeverHandler_constructor__P16731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, arg0: undefined, arg1: undefined, - arg2: undefined, } } -function Fx_rightShift__P477564(s) { +function helpers_arrayForEach__P15674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6328,23 +5882,50 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.len___20039 = undefined; + s.i___20042 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 >> s.arg1); + r0 = pxsim_Array__length(s.arg0); + s.len___20039 = (r0); + s.i___20042 = (0); + case 1: + r0 = (s.i___20042 < s.len___20039); + 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___20042); + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = s.i___20042; + setupLambda(s.tmp_1, s.tmp_1.argL); + s.pc = 3; return s.tmp_1; + case 3: + r0 = s.retval; + r0 = (s.i___20042 + 1); + s.i___20042 = (r0); + { step = 1; continue; } + case 2: + r0 = undefined; return leave(s, r0) default: oops() } } } -Fx_rightShift__P477564.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} -Fx_rightShift__P477564.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} +helpers_arrayForEach__P15674.info = {"start":5581,"length":250,"line":194,"column":4,"endLine":199,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} +helpers_arrayForEach__P15674.info = {"start":5581,"length":250,"line":194,"column":4,"endLine":199,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} -function Fx_rightShift__P477564_mk(s) { +function helpers_arrayForEach__P15674_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P477564, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P15674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + len___20039: undefined, + i___20042: undefined, arg0: undefined, arg1: undefined, } } @@ -6353,7 +5934,7 @@ function Fx_rightShift__P477564_mk(s) { -function Fx_mul__P477555(s) { +function inline__P19468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6363,35 +5944,99 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = pxsim.Math_.imul(s.arg0, s.arg1); + s.l___19469 = undefined; + s.p___19472 = undefined; + s.lastColor___19477 = undefined; + s.i___19483 = undefined; + s.tmp_0 = color_availableColors__P19323_mk(s); + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + s.l___19469 = (r0); + s.tmp_0 = color__clone__P19332_mk(s); + s.tmp_1 = color_currentPalette__P19330_mk(s); + s.pc = 5; return s.tmp_1; + case 5: + r0 = s.retval; + s.tmp_0.arg0 = r0; + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + s.p___19472 = (r0); + s.tmp_0 = color_ColorBuffer_color__P19271_mk(s); + s.tmp_0.arg0 = s.p___19472; + r0 = (s.l___19469 - 1); + s.tmp_0.arg1 = r0; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + s.lastColor___19477 = (r0); + r0 = (s.l___19469 - 1); + s.i___19483 = (r0); + case 1: + r0 = (s.i___19483 > 1); s.tmp_0 = r0; - r0 = (s.tmp_0 >> 8); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 2; continue; } + s.tmp_1 = color_ColorBuffer_setColor__P19272_mk(s); + s.tmp_1.arg0 = s.p___19472; + s.tmp_1.arg1 = s.i___19483; + s.tmp_2 = color_ColorBuffer_color__P19271_mk(s); + s.tmp_2.arg0 = s.p___19472; + r0 = (s.i___19483 - 1); + s.tmp_2.arg1 = r0; + s.pc = 8; return s.tmp_2; + case 8: + r0 = s.retval; + s.tmp_1.arg2 = r0; + s.pc = 7; return s.tmp_1; + case 7: + r0 = s.retval; + r0 = (s.i___19483 - 1); + s.i___19483 = (r0); + { step = 1; continue; } + case 2: + s.tmp_0 = color_ColorBuffer_setColor__P19272_mk(s); + s.tmp_0.arg0 = s.p___19472; + s.tmp_0.arg1 = 1; + s.tmp_0.arg2 = s.lastColor___19477; + s.pc = 9; return s.tmp_0; + case 9: + r0 = s.retval; + r0 = pxsim_pxtcore_mkClassInstance(color_Fade__C19333_VT); + s.tmp_0 = r0; + r0 = undefined; + s.tmp_1 = color_Fade_setEndPalette__P19342_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = s.p___19472; + s.pc = 10; return s.tmp_1; + case 10: + r0 = s.retval; return leave(s, r0) default: oops() } } } -Fx_mul__P477555.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__P477555.info = {"start":872,"length":133,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"mul","argumentNames":["a","b"]} +inline__P19468.info = {"start":1094,"length":329,"line":36,"column":48,"endLine":48,"endColumn":5,"fileName":"effect.ts","functionName":"inline","argumentNames":[]} +inline__P19468.info = {"start":1094,"length":329,"line":36,"column":48,"endLine":48,"endColumn":5,"fileName":"effect.ts","functionName":"inline","argumentNames":[]} -function Fx_mul__P477555_mk(s) { +function inline__P19468_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P477555, depth: s.depth + 1, + parent: s, fn: inline__P19468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - arg0: undefined, - arg1: undefined, + tmp_1: undefined, + tmp_2: undefined, + l___19469: undefined, + p___19472: undefined, + lastColor___19477: undefined, + i___19483: undefined, } } -function Fx_add__P477552(s) { +function color_FadeEffect_constructor__P19316(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6406,17 +6051,20 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 + s.arg1); + r0 = s.arg0; + if (!checkSubtype(r0, color_FadeEffect__C19313_VT)) failedCast(r0); + r0 = (s.arg0).fields["fadeFactory"] = (s.arg1); + r0 = undefined; return leave(s, r0) default: oops() } } } -Fx_add__P477552.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__P477552.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} +color_FadeEffect_constructor__P19316.info = {"start":4944,"length":50,"line":181,"column":8,"endLine":181,"endColumn":58,"fileName":"color.ts","functionName":"inline","argumentNames":["this","fadeFactory"]} +color_FadeEffect_constructor__P19316.info = {"start":4944,"length":50,"line":181,"column":8,"endLine":181,"endColumn":58,"fileName":"color.ts","functionName":"inline","argumentNames":["this","fadeFactory"]} -function Fx_add__P477552_mk(s) { +function color_FadeEffect_constructor__P19316_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P477552, depth: s.depth + 1, + parent: s, fn: color_FadeEffect_constructor__P19316, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6426,7 +6074,7 @@ function Fx_add__P477552_mk(s) { -function game_onUpdateInterval__P478698(s) { +function inline__P30929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6436,80 +6084,35 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.timer___483782 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - s.tmp_0 = game_init__P478688_mk(s); - s.tmp_0.arg0 = undefined; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.arg1); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(color_Fade__C19333_VT); s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } + r0 = undefined; + s.tmp_1 = color_Fade_setEndPalette__P19342_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = globals.Black___19447; + s.pc = 1; return s.tmp_1; case 1: - r0 = (s.arg0 < 0); - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 3; continue; } - { step = 5; continue; } - case 3: - case 4: - r0 = pxsim_pxtrt.mklocRef(); - s.timer___483782 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___483782, 0); - r0 = pxsim_pxtcore_mkAction(3, inline__P483786); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___483782); - 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__P477726_mk(s); - s.tmp_2 = game_eventContext__P478687_mk(s); - s.pc = 8; return s.tmp_2; - case 8: - r0 = s.retval; - s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = 19; - s.tmp_1.arg2 = s.tmp_0; - s.pc = 7; return s.tmp_1; - case 7: r0 = s.retval; - case 5: - r0 = undefined; return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P478698.info = {"start":7931,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -game_onUpdateInterval__P478698.info = {"start":7931,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +inline__P30929.info = {"start":117,"length":74,"line":2,"column":46,"endLine":5,"endColumn":5,"fileName":"effect.ts","functionName":"inline","argumentNames":[]} +inline__P30929.info = {"start":117,"length":74,"line":2,"column":46,"endLine":5,"endColumn":5,"fileName":"effect.ts","functionName":"inline","argumentNames":[]} -function game_onUpdateInterval__P478698_mk(s) { +function inline__P30929_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P478698, depth: s.depth + 1, + parent: s, fn: inline__P30929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - tmp_2: undefined, - timer___483782: undefined, - arg0: undefined, - arg1: undefined, } } -function inline__P483786(s) { +function color_FadeEffect_startScreenEffect__P19314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6519,56 +6122,75 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.time___483787 = undefined; - s.tmp_1 = game_currentScene__P478375_mk(s); - s.pc = 3; return s.tmp_1; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, color_FadeEffect__C19313_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.lastEffect___19312); + if (!r0) { step = 1; continue; } + s.tmp_0 = color_FadeEffect_stop__P19315_mk(s); + s.tmp_0.arg0 = globals.lastEffect___19312; + s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = r0; - r0 = s.tmp_0.fields["_millis"]; - s.time___483787 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___483787); - 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___483787 + 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); + case 1: + case 2: + globals.lastEffect___19312 = (s.arg0); + s.tmp_0 = color_currentPalette__P19330_mk(s); s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - case 1: - case 2: + globals.lastPaletteBeforeFade___19311 = (r0); + s.tmp_0 = r0 = s.arg0; + s.tmp_2 = if_fadeFactory_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, "fadeFactory"), 1); + s.pc = 5; return s.tmp_2; + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["fadeFactory"]; + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["fadeFactory"], 1); s.pc = 5; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.pc = 5; return s.tmp_2;; } + else { s.pc = 5; return s.tmp_2; } + } + case 5: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["currentFade"] = (s.tmp_1); + s.tmp_0 = color_Fade_start__P19337_mk(s); + r0 = s.arg0.fields["currentFade"]; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = s.arg1; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P483786.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -inline__P483786.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +color_FadeEffect_startScreenEffect__P19314.info = {"start":5288,"length":276,"line":190,"column":8,"endLine":197,"endColumn":9,"fileName":"color.ts","functionName":"startScreenEffect","argumentNames":["this","duration"]} +color_FadeEffect_startScreenEffect__P19314.info = {"start":5288,"length":276,"line":190,"column":8,"endLine":197,"endColumn":9,"fileName":"color.ts","functionName":"startScreenEffect","argumentNames":["this","duration"]} -function inline__P483786_mk(s) { +function color_FadeEffect_startScreenEffect__P19314_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P483786, depth: s.depth + 1, + parent: s, fn: color_FadeEffect_startScreenEffect__P19314, 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___483787: undefined, + arg0: undefined, + arg1: undefined, } } -function control_EventContext_registerFrameHandler__P477726(s) { +function color_FadeEffect_stop__P19315(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6578,105 +6200,53 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.fn___483810 = undefined; - s.i___483821 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C477720_VT)) failedCast(r0); - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); + if (!checkSubtype(r0, color_FadeEffect__C19313_VT)) failedCast(r0); + r0 = (globals.lastEffect___19312 == s.arg0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 3; continue; } + globals.lastEffect___19312 = (undefined); + r0 = s.arg0.fields["currentFade"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = r0 = s.arg0; - r0 = pxsim_Array__mk(); - s.tmp_4 = r0; - r0 = (s.tmp_3).fields["frameCallbacks"] = (s.tmp_4); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P477723_mk(s); - s.tmp_0.arg0 = s.arg0; - s.pc = 8; return s.tmp_0; - case 8: + s.tmp_1 = color_Fade_stop__P19339_mk(s); + r0 = s.arg0.fields["currentFade"]; + s.tmp_1.arg0 = r0; + s.pc = 5; return s.tmp_1; + case 5: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C477714_VT); - s.fn___483810 = (r0); - r0 = (s.fn___483810).fields["order"] = (s.arg1); - r0 = (s.fn___483810).fields["handler"] = (s.arg2); - s.i___483821 = (0); case 3: - s.tmp_1 = r0 = s.i___483821; - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_3 = r0; - r0 = pxsim_Array__length(s.tmp_3); - s.tmp_2 = r0; - r0 = (s.tmp_1 < s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 6; continue; } - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.tmp_6, s.i___483821); - r0 = r0.fields["order"]; - s.tmp_5 = r0; - r0 = (s.tmp_5 > s.arg1); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 4; continue; } - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_7 = r0; - r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___483821, s.fn___483810); - { step = 7; continue; } case 4: - case 5: - r0 = (s.i___483821 + 1); - s.i___483821 = (r0); - { step = 3; continue; } - case 6: - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___483810); - case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P477726.info = {"start":4535,"length":600,"line":140,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -control_EventContext_registerFrameHandler__P477726.info = {"start":4535,"length":600,"line":140,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +color_FadeEffect_stop__P19315.info = {"start":5574,"length":213,"line":199,"column":8,"endLine":206,"endColumn":9,"fileName":"color.ts","functionName":"stop","argumentNames":["this"]} +color_FadeEffect_stop__P19315.info = {"start":5574,"length":213,"line":199,"column":8,"endLine":206,"endColumn":9,"fileName":"color.ts","functionName":"stop","argumentNames":["this"]} -function control_EventContext_registerFrameHandler__P477726_mk(s) { +function color_FadeEffect_stop__P19315_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P477726, depth: s.depth + 1, + parent: s, fn: color_FadeEffect_stop__P19315, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - fn___483810: undefined, - i___483821: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, } } -function control_EventContext_registerFrameCallbacks__P477723(s) { +function color_Fade_stop__P19339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6686,48 +6256,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.worker___483854 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C477720_VT)) failedCast(r0); - r0 = s.arg0.fields["frameCallbacks"]; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - { step = 3; continue; } - case 1: - case 2: - r0 = s.arg0.fields["frameWorker"]; - s.worker___483854 = (r0); - r0 = pxsim_pxtcore_mkAction(2, inline__P483860); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___483854); - r0 = pxsim.control.runInParallel(s.tmp_0); - case 3: - r0 = undefined; + if (!checkSubtype(r0, color_Fade__C19333_VT)) failedCast(r0); + r0 = (s.arg0).fields["startTime"] = (undefined); + r0 = s.arg0; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P477723.info = {"start":3341,"length":895,"line":102,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} -control_EventContext_registerFrameCallbacks__P477723.info = {"start":3341,"length":895,"line":102,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +color_Fade_stop__P19339.info = {"start":1246,"length":96,"line":44,"column":8,"endLine":47,"endColumn":9,"fileName":"fade.ts","functionName":"stop","argumentNames":["this"]} +color_Fade_stop__P19339.info = {"start":1246,"length":96,"line":44,"column":8,"endLine":47,"endColumn":9,"fileName":"fade.ts","functionName":"stop","argumentNames":["this"]} -function control_EventContext_registerFrameCallbacks__P477723_mk(s) { +function color_Fade_stop__P19339_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P477723, depth: s.depth + 1, + parent: s, fn: color_Fade_stop__P19339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - worker___483854: undefined, arg0: undefined, } } @@ -6735,7 +6282,7 @@ function control_EventContext_registerFrameCallbacks__P477723_mk(s) { -function inline__P483860(s) { +function color_setPalette__P19317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6745,74 +6292,135 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.delay___483891 = undefined; - r0 = s.caps[0].fields["runningCallbacks"]; + s.fromStart___19753 = undefined; + s.toStart___19756 = undefined; + s.asBuf___19759 = undefined; + s.copyLength___19762 = undefined; + s.i___19769 = 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 = pxsim_numops_toBoolDecr(s.arg2); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); + r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P483866); - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P477680_mk(s); - s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = undefined; - s.pc = 5; return s.tmp_2; - case 5: - r0 = s.retval; + r0 = s.tmp_0; + { step = 2; continue; } case 1: + s.tmp_2 = r0 = s.arg2; + s.tmp_4 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_4.arg0 = s.arg0; + s.pc = 9; return s.tmp_4; + case 9: + r0 = s.retval; + s.tmp_3 = r0; + r0 = (s.tmp_2 > s.tmp_3); case 2: - r0 = (s.caps[0]).fields["runningCallbacks"] = (true); - r0 = (s.caps[0]).fields["framesInSample"] = (0); - r0 = (s.caps[0]).fields["timeInSample"] = (0); - r0 = (s.caps[0]).fields["deltaTimeMillis"] = (0); - s.tmp_0 = r0 = s.caps[0]; - r0 = pxsim.control.millis(); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["prevTimeMillis"] = (s.tmp_1); + // jmp value (already in r0) + s.tmp_5 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_5); + if (!r0) { step = 3; continue; } + s.tmp_6 = color_ColorBuffer_length__P19270_mk(s); + s.tmp_6.arg0 = s.arg0; + s.pc = 10; return s.tmp_6; + case 10: + r0 = s.retval; + s.arg2 = (r0); case 3: - r0 = s.caps[0].fields["frameWorker"]; + case 4: + r0 = pxsim_numops_toBoolDecr(globals.currentColors___19286); s.tmp_1 = r0; - r0 = (s.caps[1] == s.tmp_1); + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P477722_mk(s); - s.tmp_2.arg0 = s.caps[0]; - s.pc = 6; return s.tmp_2; + if (!r0) { step = 5; continue; } + r0 = globals.originalPalette___19414.fields["buf"]; + s.tmp_2 = r0; + r0 = pxsim.BufferMethods.slice(s.tmp_2, 0, -1); + globals.currentColors___19286 = (r0); + case 5: case 6: + r0 = (s.arg3 * 3); + s.fromStart___19753 = (r0); + r0 = (s.arg1 * 3); + s.toStart___19756 = (r0); + r0 = s.arg0.fields["buf"]; + s.asBuf___19759 = (r0); + s.tmp_1 = Math_clamp__P15687_mk(s); + s.tmp_1.arg0 = 0; + s.tmp_2 = color_availableColors__P19323_mk(s); + s.pc = 12; return s.tmp_2; + case 12: r0 = s.retval; - s.delay___483891 = (r0); - s.tmp_0 = pause__P477741_mk(s); - s.tmp_0.arg0 = s.delay___483891; - s.pc = 7; return s.tmp_0; - case 7: + s.tmp_1.arg1 = r0; + s.tmp_1.arg2 = s.arg2; + s.pc = 11; return s.tmp_1; + case 11: r0 = s.retval; - { step = 3; continue; } - case 4: - r0 = (s.caps[0]).fields["runningCallbacks"] = (false); + s.tmp_0 = r0; + r0 = (3 * s.tmp_0); + s.copyLength___19762 = (r0); + s.i___19769 = (0); + case 7: + r0 = (s.i___19769 < s.copyLength___19762); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 8; continue; } + s.tmp_1 = r0 = globals.currentColors___19286; + r0 = (s.toStart___19756 + s.i___19769); + s.tmp_2 = r0; + s.tmp_4 = r0 = s.asBuf___19759; + r0 = (s.fromStart___19753 + s.i___19769); + s.tmp_5 = r0; + r0 = pxsim.BufferMethods.getByte(s.tmp_4, s.tmp_5); + s.tmp_3 = r0; + r0 = pxsim.BufferMethods.setByte(s.tmp_1, s.tmp_2, s.tmp_3); + r0 = (s.i___19769 + 1); + s.i___19769 = (r0); + { step = 7; continue; } + case 8: + r0 = pxsim_pxtcore.setPalette(globals.currentColors___19286); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P483860.info = {"start":3502,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -inline__P483860.info = {"start":3502,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +color_setPalette__P19317.info = {"start":6189,"length":617,"line":219,"column":4,"endLine":236,"endColumn":5,"fileName":"color.ts","functionName":"setPalette","argumentNames":["palette","start","length","paletteOffset"]} +color_setPalette__P19317.info = {"start":6189,"length":617,"line":219,"column":4,"endLine":236,"endColumn":5,"fileName":"color.ts","functionName":"setPalette","argumentNames":["palette","start","length","paletteOffset"]} -function inline__P483860_mk(s) { +function color_setPalette__P19317_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P483860, depth: s.depth + 1, + parent: s, fn: color_setPalette__P19317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___483891: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, + fromStart___19753: undefined, + toStart___19756: undefined, + asBuf___19759: undefined, + copyLength___19762: undefined, + i___19769: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, } } -function inline__P483866(s) { +function forever__P16230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6822,31 +6430,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = s.caps[0].fields["runningCallbacks"]; - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_Boolean__bang(s.tmp_0); + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + s.tmp_0 = game_forever__P16875_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P483866.info = {"start":3733,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -inline__P483866.info = {"start":3733,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +forever__P16230.info = {"start":264,"length":62,"line":6,"column":0,"endLine":8,"endColumn":1,"fileName":"pxt_modules/game/gameoverrides.ts","functionName":"forever","argumentNames":["a"]} +forever__P16230.info = {"start":264,"length":62,"line":6,"column":0,"endLine":8,"endColumn":1,"fileName":"pxt_modules/game/gameoverrides.ts","functionName":"forever","argumentNames":["a"]} -function inline__P483866_mk(s) { +function forever__P16230_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P483866, depth: s.depth + 1, + parent: s, fn: forever__P16230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, + arg0: undefined, } } -function control_EventContext_runCallbacks__P477722(s) { +function scene_setBackgroundImage__P16781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6856,240 +6469,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.loopStart___483900 = undefined; - s.f___483913 = undefined; - s.unnamed1744___U2 = undefined; - s.unnamed1745___U3 = undefined; - s.runtime___483918 = undefined; - s.fps___483938 = undefined; - s.delay___483996 = undefined; + s.scene___20069 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C477720_VT)) failedCast(r0); - r0 = pxsim.control.millis(); - s.loopStart___483900 = (r0); - s.tmp_0 = r0 = s.arg0; - r0 = s.arg0.fields["prevTimeMillis"]; - s.tmp_2 = r0; - r0 = (s.loopStart___483900 - s.tmp_2); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___483900); - s.f___483913 = (undefined); - r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed1744___U2 = (r0); - s.unnamed1745___U3 = (0); + s.tmp_0 = game_currentScene__P16549_mk(s); + s.pc = 1; return s.tmp_0; case 1: - s.tmp_0 = r0 = s.unnamed1745___U3; - r0 = pxsim_Array__length(s.unnamed1744___U2); - s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1744___U2, s.unnamed1745___U3); - s.f___483913 = (r0); - s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___483913; - if (!s.tmp_2.arg0.vtable.iface) { - setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); - 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.pc = 11; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.pc = 11; return s.tmp_2;; } - else { s.pc = 11; return s.tmp_2; } - } - case 11: r0 = s.retval; - r0 = (s.unnamed1745___U3 + 1); - s.unnamed1745___U3 = (r0); - { step = 1; continue; } + s.scene___20069 = (r0); + s.tmp_0 = scene_Background_image__P16635_mk(s); + r0 = s.scene___20069.fields["background"]; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = s.arg0; + s.pc = 2; return s.tmp_0; case 2: - s.unnamed1744___U2 = (undefined); - r0 = pxsim.control.millis(); - s.tmp_0 = r0; - r0 = (s.tmp_0 - s.loopStart___483900); - s.runtime___483918 = (r0); - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["timeInSample"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___483918); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); - s.tmp_0 = r0 = s.arg0; - r0 = s.tmp_0.fields["framesInSample"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 + 1); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["framesInSample"] = (s.tmp_1); - r0 = s.arg0.fields["timeInSample"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 > 1000); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = s.tmp_0; - { step = 4; continue; } - case 3: - r0 = s.arg0.fields["framesInSample"]; - s.tmp_2 = r0; - r0 = (s.tmp_2 > 30); - case 4: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 9; continue; } - r0 = s.arg0.fields["framesInSample"]; - s.tmp_4 = r0; - r0 = s.arg0.fields["timeInSample"]; - s.tmp_6 = r0; - r0 = (s.tmp_6 / 1000); - s.tmp_5 = r0; - r0 = (s.tmp_4 / s.tmp_5); - s.fps___483938 = (r0); - r0 = pxsim.Math_.round(s.fps___483938); - s.tmp_1 = r0; - if ((s.tmp_1) && (s.tmp_1).vtable) { - setupResume(s, 12); - pxsim_String__stringConv(s.tmp_1); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_1) + ""; } - case 12: - r0 = s.retval; - s.tmp_0 = r0; - r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___477731 = (r0); - r0 = (s.fps___483938 < 99); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___477731) && (globals.control_EventContext_lastStats___477731).vtable) { - setupResume(s, 13); - pxsim_String__stringConv(globals.control_EventContext_lastStats___477731); - checkResumeConsumed(); - return; - } else { s.retval = (globals.control_EventContext_lastStats___477731) + ""; } - case 13: - r0 = s.retval; - s.tmp_1 = r0; - r0 = (s.fps___483938 * 10); - s.tmp_7 = r0; - r0 = pxsim.Math_.round(s.tmp_7); - s.tmp_6 = r0; - r0 = (s.tmp_6 % 10); - s.tmp_5 = r0; - if ((s.tmp_5) && (s.tmp_5).vtable) { - setupResume(s, 14); - pxsim_String__stringConv(s.tmp_5); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_5) + ""; } - case 14: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_String__concat(".", s.tmp_4); - s.tmp_3 = r0; - if ((s.tmp_3) && (s.tmp_3).vtable) { - setupResume(s, 15); - pxsim_String__stringConv(s.tmp_3); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_3) + ""; } - case 15: - r0 = s.retval; - s.tmp_2 = r0; - r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___477731 = (r0); - case 5: - case 6: - r0 = pxsim.control.profilingEnabled(); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 7; continue; } - r0 = pxsim_String_.mkEmpty(); - s.tmp_5 = r0; - r0 = (s.fps___483938 * 100); - s.tmp_8 = r0; - r0 = (s.tmp_8 | 0); - s.tmp_7 = r0; - if ((s.tmp_7) && (s.tmp_7).vtable) { - setupResume(s, 16); - pxsim_String__stringConv(s.tmp_7); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_7) + ""; } - case 16: - r0 = s.retval; - s.tmp_6 = r0; - r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_4, "/100 fps - "); - s.tmp_3 = r0; - r0 = s.arg0.fields["framesInSample"]; - s.tmp_10 = r0; - if ((s.tmp_10) && (s.tmp_10).vtable) { - setupResume(s, 17); - pxsim_String__stringConv(s.tmp_10); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_10) + ""; } - case 17: - r0 = s.retval; - s.tmp_9 = r0; - r0 = pxsim_String__concat(s.tmp_3, s.tmp_9); - s.tmp_2 = r0; - r0 = pxsim_String__concat(s.tmp_2, " frames"); - s.tmp_1 = r0; - r0 = pxsim.control.dmesg(s.tmp_1); - r0 = pxsim.control.gc(); - r0 = pxsim_pxtcore.dumpPerfCounters(); - case 7: - case 8: - r0 = (s.arg0).fields["timeInSample"] = (0); - r0 = (s.arg0).fields["framesInSample"] = (0); - case 9: - case 10: - s.tmp_0 = Math_max__P477516_mk(s); - s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___483918); - s.tmp_0.arg1 = r0; - s.pc = 18; return s.tmp_0; - case 18: r0 = s.retval; - s.delay___483996 = (r0); - r0 = s.delay___483996; + r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P477722.info = {"start":2073,"length":1215,"line":71,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -control_EventContext_runCallbacks__P477722.info = {"start":2073,"length":1215,"line":71,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +scene_setBackgroundImage__P16781.info = {"start":1735,"length":135,"line":62,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} +scene_setBackgroundImage__P16781.info = {"start":1735,"length":135,"line":62,"column":4,"endLine":65,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -function control_EventContext_runCallbacks__P477722_mk(s) { +function scene_setBackgroundImage__P16781_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P477722, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundImage__P16781, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - tmp_8: undefined, - tmp_9: undefined, - tmp_10: undefined, - loopStart___483900: undefined, - f___483913: undefined, - unnamed1744___U2: undefined, - unnamed1745___U3: undefined, - runtime___483918: undefined, - fps___483938: undefined, - delay___483996: undefined, + scene___20069: undefined, arg0: undefined, } } @@ -7097,7 +6507,7 @@ function control_EventContext_runCallbacks__P477722_mk(s) { -function pauseUntil__P477680(s) { +function scene_Background_image__P16635(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7112,64 +6522,21 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(s.arg0); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } - case 1: - s.tmp_2 = lambda_1_mk(s); - s.tmp_2.argL = s.arg0; - setupLambda(s.tmp_2, s.tmp_2.argL); - s.pc = 8; return s.tmp_2; - case 8: - r0 = s.retval; - case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 3; continue; } - { step = 7; continue; } - case 3: - case 4: - r0 = pxsim_numops_toBoolDecr(s.arg1); - s.tmp_5 = r0; - r0 = pxsim_Boolean__bang(s.tmp_5); - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 5; continue; } - s.arg1 = (0); - case 5: - case 6: - s.tmp_0 = control___queuePollEvent__P477662_mk(s); - s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.arg0; - s.tmp_0.arg2 = undefined; - s.pc = 9; return s.tmp_0; - case 9: - r0 = s.retval; - case 7: + r0 = s.arg0; + if (!checkSubtype(r0, scene_Background__C16632_VT)) failedCast(r0); + r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -pauseUntil__P477680.info = {"start":10653,"length":227,"line":368,"column":0,"endLine":372,"endColumn":1,"fileName":"pxt_modules/base/control.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} -pauseUntil__P477680.info = {"start":10653,"length":227,"line":368,"column":0,"endLine":372,"endColumn":1,"fileName":"pxt_modules/base/control.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} +scene_Background_image__P16635.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__P16635.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 pauseUntil__P477680_mk(s) { +function scene_Background_image__P16635_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P477680, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P16635, 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, } } @@ -7178,7 +6545,7 @@ function pauseUntil__P477680_mk(s) { -function control___queuePollEvent__P477662(s) { +function scene_Background_image__P16634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7188,98 +6555,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ev___482529 = 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__C477657_VT); - s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P477658_mk(s); - s.tmp_1.arg0 = s.tmp_0; - r0 = pxsim.control.allocateNotifyEvent(); - s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = 1; - r0 = pxsim.control.millis(); - s.tmp_1.arg3 = r0; - s.tmp_1.arg4 = s.arg0; - s.tmp_1.arg5 = s.arg1; - r0 = pxsim_numops_toBoolDecr(s.arg2); + r0 = s.arg0; + if (!checkSubtype(r0, scene_Background__C16632_VT)) failedCast(r0); + r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); - s.tmp_1.arg6 = r0; - s.pc = 5; return s.tmp_1; - case 5: - r0 = s.retval; - s.ev___482529 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___477660); + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_Array__mk(); - s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___482529); - globals._pollEventQueue___477660 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P477661); - { step = 2; continue; } + s.tmp_3 = r0 = s.arg0; + r0 = pxsim_ImageMethods.width(globals.screen___16172); + s.tmp_5 = r0; + r0 = pxsim_ImageMethods.height(globals.screen___16172); + s.tmp_6 = r0; + r0 = pxsim.image.create(s.tmp_5, s.tmp_6); + s.tmp_4 = r0; + r0 = (s.tmp_3).fields["_image"] = (s.tmp_4); case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___477660, s.ev___482529); case 2: - r0 = pxsim_numops_toBoolDecr(s.arg2); - if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P477713_mk(s); - r0 = s.ev___482529.fields["eid"]; - s.tmp_0.arg0 = r0; - r0 = s.ev___482529.fields["vid"]; - s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.arg2; - s.tmp_0.arg3 = 16; - s.pc = 6; return s.tmp_0; - case 6: - r0 = s.retval; - { step = 4; continue; } - case 3: - r0 = s.ev___482529.fields["eid"]; - s.tmp_0 = r0; - r0 = s.ev___482529.fields["vid"]; - s.tmp_1 = r0; - setupResume(s, 7); - pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); - checkResumeConsumed(); - return; - case 7: - r0 = s.retval; - case 4: - r0 = undefined; - return leave(s, r0) + r0 = s.arg0.fields["_image"]; + return leaveAccessor(s, r0) default: oops() } } } -control___queuePollEvent__P477662.info = {"start":5875,"length":739,"line":195,"column":4,"endLine":220,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} -control___queuePollEvent__P477662.info = {"start":5875,"length":739,"line":195,"column":4,"endLine":220,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} +scene_Background_image__P16634.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__P16634.isGetter = true; +scene_Background_image__P16634.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} -function control___queuePollEvent__P477662_mk(s) { +function scene_Background_image__P16634_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P477662, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P16634, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___482529: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, } } -function control_onEvent__P477713(s) { +function color_FadeState_constructor__P19353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7289,64 +6616,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ctx___482571 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P477735_mk(s); - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.ctx___482571 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___482571); - 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.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); - { step = 2; continue; } - case 1: - s.tmp_0 = control_EventContext_registerHandler__P477727_mk(s); - s.tmp_0.arg0 = s.ctx___482571; - 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.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - case 2: + r0 = s.arg0; + if (!checkSubtype(r0, color_FadeState__C19352_VT)) failedCast(r0); + r0 = (s.arg0).fields["state"] = (s.arg1); + r0 = (s.arg0).fields["scene"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_onEvent__P477713.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__P477713.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"]} +color_FadeState_constructor__P19353.info = {"start":5010,"length":96,"line":173,"column":8,"endLine":176,"endColumn":13,"fileName":"fade.ts","functionName":"inline","argumentNames":["this","state","scene"]} +color_FadeState_constructor__P19353.info = {"start":5010,"length":96,"line":173,"column":8,"endLine":176,"endColumn":13,"fileName":"fade.ts","functionName":"inline","argumentNames":["this","state","scene"]} -function control_onEvent__P477713_mk(s) { +function color_FadeState_constructor__P19353_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P477713, depth: s.depth + 1, + parent: s, fn: color_FadeState_constructor__P19353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - ctx___482571: undefined, arg0: undefined, arg1: undefined, arg2: undefined, - arg3: undefined, } } -function control_eventContext__P477735(s) { +function game_eventContext__P16861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7356,43 +6657,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___477734); - if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___477734; - r0 = pxsim_Array__length(globals.eventContexts___477734); - s.tmp_2 = r0; - r0 = (s.tmp_2 - 1); - s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_1); - { step = 2; continue; } + s.tmp_0 = game_init__P16862_mk(s); + s.tmp_0.arg0 = undefined; + s.pc = 1; return s.tmp_0; case 1: - r0 = undefined; - case 2: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = s.tmp_3; + r0 = s.retval; + r0 = globals._scene___16851.fields["eventContext"]; return leave(s, r0) default: oops() } } } -control_eventContext__P477735.info = {"start":6479,"length":136,"line":198,"column":4,"endLine":200,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -control_eventContext__P477735.info = {"start":6479,"length":136,"line":198,"column":4,"endLine":200,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P16861.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P16861.info = {"start":1084,"length":112,"line":40,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P477735_mk(s) { +function game_eventContext__P16861_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P477735, depth: s.depth + 1, + parent: s, fn: game_eventContext__P16861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, } } -function control_EventContext_registerHandler__P477727(s) { +function game_init__P16862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7402,114 +6691,2181 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.h___482594 = undefined; - s.unnamed1750___U1 = undefined; - s.unnamed1751___U2 = undefined; - s.hn___482617 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.arg4 = (s.lambdaArgs[4]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C477720_VT)) failedCast(r0); - s.h___482594 = (undefined); - r0 = s.arg0.fields["handlers"]; - s.unnamed1750___U1 = (r0); - s.unnamed1751___U2 = (0); - case 1: - s.tmp_0 = r0 = s.unnamed1751___U2; - r0 = pxsim_Array__length(s.unnamed1750___U1); + r0 = pxsim_numops_toBoolDecr(globals._scene___16851); s.tmp_1 = r0; - r0 = (s.tmp_0 < s.tmp_1); - if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1750___U1, s.unnamed1751___U2); - s.h___482594 = (r0); - r0 = s.h___482594.fields["src"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 == s.arg1); - s.tmp_2 = r0; - r0 = pxsim_numops_toBool(s.tmp_2); - if (r0) { step = 2; continue; } - r0 = s.tmp_2; - { step = 3; continue; } + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = s.arg0; case 2: - r0 = s.h___482594.fields["value"]; - s.tmp_4 = r0; - r0 = (s.tmp_4 == s.arg2); - case 3: // jmp value (already in r0) - s.tmp_5 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_5); - if (!r0) { step = 4; continue; } - r0 = (s.h___482594).fields["flags"] = (s.arg4); - r0 = (s.h___482594).fields["handler"] = (s.arg3); - { step = 7; continue; } + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + if (!r0) { step = 3; continue; } + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C16768_VT); + s.tmp_3 = r0; + s.tmp_4 = scene_Scene_constructor__P16776_mk(s); + s.tmp_4.arg0 = s.tmp_3; + s.tmp_5 = control_pushEventContext__P15910_mk(s); + s.pc = 14; return s.tmp_5; + case 14: + r0 = s.retval; + s.tmp_4.arg1 = r0; + s.tmp_4.arg2 = globals._scene___16851; + s.pc = 13; return s.tmp_4; + case 13: + r0 = s.retval; + globals._scene___16851 = (s.tmp_3); + case 3: case 4: + s.tmp_0 = scene_Scene_init__P16769_mk(s); + s.tmp_0.arg0 = globals._scene___16851; + s.pc = 15; return s.tmp_0; + case 15: + r0 = s.retval; + r0 = pxsim_numops_toBoolDecr(globals.winEffect___16844); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 5; continue; } + globals.winEffect___16844 = (globals.confetti___17437); case 5: - r0 = (s.unnamed1751___U2 + 1); - s.unnamed1751___U2 = (r0); - { step = 1; continue; } case 6: - s.unnamed1750___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C477715_VT); + r0 = pxsim_numops_toBoolDecr(globals.loseEffect___16846); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P477718_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.pc = 8; return s.tmp_1; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 7; continue; } + globals.loseEffect___16846 = (globals.melt___17472); + case 7: case 8: - r0 = s.retval; - s.hn___482617 = (s.tmp_0); - r0 = s.arg0.fields["handlers"]; + r0 = pxsim_numops_toBoolDecr(globals.winSound___16850); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___482617); - s.tmp_0 = control_EventHandler_register__P477716_mk(s); - s.tmp_0.arg0 = s.hn___482617; - s.pc = 9; return s.tmp_0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 9; continue; } + globals.winSound___16850 = (globals.powerUp___16066); case 9: - r0 = s.retval; - case 7: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -control_EventContext_registerHandler__P477727.info = {"start":5145,"length":525,"line":158,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -control_EventContext_registerHandler__P477727.info = {"start":5145,"length":525,"line":158,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} - -function control_EventContext_registerHandler__P477727_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: control_EventContext_registerHandler__P477727, depth: s.depth + 1, + case 10: + r0 = pxsim_numops_toBoolDecr(globals.loseSound___16848); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 11; continue; } + globals.loseSound___16848 = (globals.wawawawaa___16060); + case 11: + case 12: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +game_init__P16862.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P16862.info = {"start":1202,"length":452,"line":45,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} + +function game_init__P16862_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: game_init__P16862, 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, +} } + + + + + +function inline__P20140(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.rounds___20143 = undefined; + s.j___20151 = undefined; + s.x___20156 = undefined; + s.y___20162 = undefined; + s.c___20168 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim_ImageMethods.width(s.arg0); + s.tmp_1 = r0; + r0 = pxsim_ImageMethods.height(s.arg0); + s.tmp_2 = r0; + r0 = (s.tmp_1 * s.tmp_2); + s.tmp_0 = r0; + r0 = (s.tmp_0 >> 5); + s.rounds___20143 = (r0); + s.j___20151 = (0); + case 1: + r0 = (s.j___20151 < s.rounds___20143); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 2; continue; } + s.tmp_1 = Math_FastRandom_randomRange__P17138_mk(s); + s.tmp_1.arg0 = s.arg1; + s.tmp_1.arg1 = 0; + r0 = pxsim_ImageMethods.width(s.arg0); + s.tmp_2 = r0; + r0 = (s.tmp_2 - 1); + s.tmp_1.arg2 = r0; + s.pc = 3; return s.tmp_1; + case 3: + r0 = s.retval; + s.x___20156 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P17138_mk(s); + s.tmp_0.arg0 = s.arg1; + s.tmp_0.arg1 = 0; + r0 = pxsim_ImageMethods.height(s.arg0); + s.tmp_1 = r0; + r0 = (s.tmp_1 - 3); + s.tmp_0.arg2 = r0; + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + s.y___20162 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___20156, s.y___20162); + s.c___20168 = (r0); + s.tmp_0 = r0 = s.arg0; + s.tmp_1 = r0 = s.x___20156; + r0 = (s.y___20162 + 1); + s.tmp_2 = r0; + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___20168); + s.tmp_0 = r0 = s.arg0; + s.tmp_1 = r0 = s.x___20156; + r0 = (s.y___20162 + 2); + s.tmp_2 = r0; + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___20168); + r0 = (s.j___20151 + 1); + s.j___20151 = (r0); + { step = 1; continue; } + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P20140.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +inline__P20140.info = {"start":2652,"length":386,"line":72,"column":45,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} + +function inline__P20140_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P20140, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + rounds___20143: undefined, + j___20151: undefined, + x___20156: undefined, + y___20162: undefined, + c___20168: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function Math_FastRandom_randomRange__P17138(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, Math_FastRandom__C17136_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__P17137_mk(s); + s.tmp_2.arg0 = s.arg0; + s.pc = 3; return s.tmp_2; + case 3: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.arg2 - s.arg1); + s.tmp_4 = r0; + r0 = (s.tmp_4 + 1); + s.tmp_3 = r0; + r0 = (s.tmp_1 % s.tmp_3); + { step = 2; continue; } + case 1: + r0 = 0; + case 2: + // jmp value (already in r0) + s.tmp_5 = r0; + r0 = (s.arg1 + s.tmp_5); + return leave(s, r0) + default: oops() +} } } +Math_FastRandom_randomRange__P17138.info = {"start":2046,"length":131,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} +Math_FastRandom_randomRange__P17138.info = {"start":2046,"length":131,"line":61,"column":8,"endLine":63,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomRange","argumentNames":["this","min","max"]} + +function Math_FastRandom_randomRange__P17138_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Math_FastRandom_randomRange__P17138, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function Math_FastRandom_next__P17137(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, Math_FastRandom__C17136_VT)) failedCast(r0); + s.tmp_0 = r0 = s.arg0; + r0 = s.arg0.fields["lfsr"]; + s.tmp_3 = r0; + r0 = (s.tmp_3 >> 1); + s.tmp_2 = r0; + r0 = s.arg0.fields["lfsr"]; + s.tmp_7 = r0; + r0 = (s.tmp_7 & 1); + s.tmp_6 = r0; + r0 = (0 - s.tmp_6); + s.tmp_5 = r0; + r0 = (s.tmp_5 & 46080); + s.tmp_4 = r0; + r0 = (s.tmp_2 ^ s.tmp_4); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["lfsr"] = (s.tmp_1); + r0 = s.tmp_1; + return leave(s, r0) + default: oops() +} } } +Math_FastRandom_next__P17137.info = {"start":1680,"length":107,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} +Math_FastRandom_next__P17137.info = {"start":1680,"length":107,"line":52,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"next","argumentNames":["this"]} + +function Math_FastRandom_next__P17137_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Math_FastRandom_next__P17137, 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 effects_ImageEffect_constructor__P17468(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, effects_ImageEffect__C17464_VT)) failedCast(r0); + r0 = (s.arg0).fields["effect"] = (s.arg2); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C17136_VT); + s.tmp_0 = r0; + s.tmp_1 = Math_FastRandom_constructor__P17143_mk(s); + s.tmp_1.arg0 = s.tmp_0; + s.tmp_1.arg1 = undefined; + s.pc = 1; return s.tmp_1; + case 1: + r0 = s.retval; + r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); + r0 = (s.arg0).fields["preferredDelay"] = (s.arg1); + r0 = (s.arg0).fields["times"] = (undefined); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +effects_ImageEffect_constructor__P17468.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__P17468.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__P17468_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: effects_ImageEffect_constructor__P17468, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function inline__P20250(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.factory___20253 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C17373_VT); + s.tmp_0 = r0; + s.tmp_2 = if_width_1_mk(s); + s.tmp_2.arg0 = s.arg0; + if (!s.tmp_2.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "width"); + } else { + s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["width"]; + if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["width"]; } + else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } + else { s.pc = 3; return s.tmp_2; } + } + case 3: + r0 = s.retval; + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 1; continue; } + s.tmp_3 = if_width_1_mk(s); + s.tmp_3.arg0 = s.arg0; + if (!s.tmp_3.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "width"); + } else { + s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["width"]; + if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["width"]; } + else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } + else { s.pc = 4; return s.tmp_3; } + } + case 4: + r0 = s.retval; + { step = 2; continue; } + case 1: + r0 = 16; + case 2: + // jmp value (already in r0) + s.tmp_4 = r0; + s.tmp_5 = particles_ConfettiFactory_constructor__P17375_mk(s); + s.tmp_5.arg0 = s.tmp_0; + s.tmp_5.arg1 = s.tmp_4; + s.tmp_5.arg2 = 16; + s.pc = 5; return s.tmp_5; + case 5: + r0 = s.retval; + s.factory___20253 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P17354_mk(s); + s.tmp_0.arg0 = s.factory___20253; + s.tmp_0.arg1 = 30; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C17286_VT); + s.tmp_0 = r0; + s.tmp_1 = particles_ParticleSource_constructor__P17304_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___20253; + s.pc = 7; return s.tmp_1; + case 7: + r0 = s.retval; + r0 = s.tmp_0; + return leave(s, r0) + default: oops() +} } } +inline__P20250.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +inline__P20250.info = {"start":7534,"length":284,"line":191,"column":59,"endLine":195,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} + +function inline__P20250_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P20250, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + factory___20253: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function particles_ParticleSource_constructor__P17304(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.sources___20275 = undefined; + s.removedSource___20284 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.arg3 = (s.lambdaArgs[3]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P16241_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = 0; + s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + s.tmp_0 = particles_init__P17308_mk(s); + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + s.tmp_0 = particles_particleSources__P17323_mk(s); + s.pc = 7; return s.tmp_0; + case 7: + r0 = s.retval; + s.sources___20275 = (r0); + r0 = pxsim_Array__length(s.sources___20275); + s.tmp_1 = r0; + r0 = (s.tmp_1 >= globals.MAX_SOURCES___17265); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_2 = particles_sortSources__P17311_mk(s); + s.tmp_2.arg0 = s.sources___20275; + s.pc = 8; return s.tmp_2; + case 8: + r0 = s.retval; + r0 = pxsim_Array_.removeAt(s.sources___20275, 0); + s.removedSource___20284 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P17297_mk(s); + s.tmp_0.arg0 = s.removedSource___20284; + s.pc = 9; return s.tmp_0; + case 9: + r0 = s.retval; + s.tmp_0 = particles_ParticleSource_destroy__P17296_mk(s); + s.tmp_0.arg0 = s.removedSource___20284; + 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__P17299_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg2; + s.pc = 11; return s.tmp_0; + case 11: + r0 = s.retval; + s.tmp_0 = particles_ParticleSource_setAcceleration__P17291_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = 0; + s.tmp_0.arg2 = 0; + s.pc = 12; return s.tmp_0; + case 12: + r0 = s.retval; + s.tmp_0 = particles_ParticleSource_setAnchor__P17298_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg1; + s.pc = 13; return s.tmp_0; + case 13: + r0 = s.retval; + r0 = (s.arg0).fields["lifespan"] = (undefined); + r0 = (s.arg0).fields["_dt"] = (0); + r0 = (s.arg0).fields["priority"] = (0); + s.tmp_0 = r0 = s.arg3; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 3; continue; } + r0 = s.tmp_0; + { step = 4; continue; } + case 3: + r0 = globals.defaultFactory___17306; + case 4: + // jmp value (already in r0) + s.tmp_1 = r0; + s.tmp_2 = particles_ParticleSource_setFactory__P17301_mk(s); + s.tmp_2.arg0 = s.arg0; + s.tmp_2.arg1 = s.tmp_1; + s.pc = 14; return s.tmp_2; + case 14: + r0 = s.retval; + r0 = pxsim_Array__push(s.sources___20275, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P17295_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = true; + s.pc = 15; return s.tmp_0; + case 15: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_ParticleSource_constructor__P17304.info = {"start":2290,"length":899,"line":86,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} +particles_ParticleSource_constructor__P17304.info = {"start":2290,"length":899,"line":86,"column":8,"endLine":109,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} + +function particles_ParticleSource_constructor__P17304_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_ParticleSource_constructor__P17304, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + sources___20275: undefined, + removedSource___20284: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, +} } + + + + + +function particles_particleSources__P17323(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.sources___20725 = undefined; + s.tmp_0 = game_currentScene__P16549_mk(s); + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = r0.fields["particleSources"]; + s.sources___20725 = (r0); + r0 = s.sources___20725; + return leave(s, r0) + default: oops() +} } } +particles_particleSources__P17323.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P17323.info = {"start":12831,"length":119,"line":420,"column":4,"endLine":423,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} + +function particles_particleSources__P17323_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_particleSources__P17323, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + sources___20725: undefined, +} } + + + + + +function particles_sortSources__P17311(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + s.tmp_0 = helpers_arraySort__P15670_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = inline__P20593; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_sortSources__P17311.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} +particles_sortSources__P17311.info = {"start":10009,"length":129,"line":331,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"sortSources","argumentNames":["sources"]} + +function particles_sortSources__P17311_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_sortSources__P17311, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function inline__P20593(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = s.arg0.fields["priority"]; + s.tmp_1 = r0; + r0 = s.arg1.fields["priority"]; + s.tmp_2 = r0; + r0 = (s.tmp_1 - s.tmp_2); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = s.arg0.fields["id"]; + s.tmp_3 = r0; + r0 = s.arg1.fields["id"]; + s.tmp_4 = r0; + r0 = (s.tmp_3 - s.tmp_4); + case 2: + // jmp value (already in r0) + s.tmp_5 = r0; + r0 = s.tmp_5; + return leave(s, r0) + default: oops() +} } } +inline__P20593.info = {"start":10080,"length":50,"line":332,"column":21,"endLine":332,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P20593.info = {"start":10080,"length":50,"line":332,"column":21,"endLine":332,"endColumn":71,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["a","b"]} + +function inline__P20593_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P20593, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function helpers_arraySort__P15670(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim_numops_toBoolDecr(s.arg1); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = pxsim_Array__length(s.arg0); + s.tmp_2 = r0; + r0 = (s.tmp_2 > 1); + case 2: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 3; continue; } + s.arg1 = (inline__P20617); + case 3: + case 4: + s.tmp_0 = helpers_sortHelper__P15669_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg1; + s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + return leave(s, r0) + default: oops() +} } } +helpers_arraySort__P15670.info = {"start":3805,"length":859,"line":147,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} +helpers_arraySort__P15670.info = {"start":3805,"length":859,"line":147,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} + +function helpers_arraySort__P15670_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_arraySort__P15670, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function inline__P20617(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.aIsUndef___20620 = undefined; + s.bIsUndef___20624 = undefined; + s.aIsNull___20635 = undefined; + s.bIsNull___20639 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = (s.arg0 === undefined); + s.aIsUndef___20620 = (r0); + r0 = (s.arg1 === undefined); + s.bIsUndef___20624 = (r0); + s.tmp_0 = r0 = s.aIsUndef___20620; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = s.bIsUndef___20624; + case 2: + // jmp value (already in r0) + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 3; continue; } + r0 = 0; + { step = 17; continue; } + { step = 8; continue; } + case 3: + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___20620); + if (!r0) { step = 4; continue; } + r0 = 1; + { step = 17; continue; } + { step = 7; continue; } + case 4: + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___20624); + if (!r0) { step = 5; continue; } + r0 = -1; + { step = 17; continue; } + case 5: + case 6: + case 7: + case 8: + r0 = (s.arg0 === null); + s.aIsNull___20635 = (r0); + r0 = (s.arg1 === null); + s.bIsNull___20639 = (r0); + s.tmp_0 = r0 = s.aIsNull___20635; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 9; continue; } + r0 = s.tmp_0; + { step = 10; continue; } + case 9: + r0 = s.bIsNull___20639; + case 10: + // jmp value (already in r0) + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 11; continue; } + r0 = 0; + { step = 17; continue; } + { step = 16; continue; } + case 11: + r0 = pxsim_numops_toBoolDecr(s.aIsNull___20635); + if (!r0) { step = 12; continue; } + r0 = 1; + { step = 17; continue; } + { step = 15; continue; } + case 12: + r0 = pxsim_numops_toBoolDecr(s.bIsNull___20639); + if (!r0) { step = 13; continue; } + r0 = -1; + { step = 17; continue; } + case 13: + case 14: + case 15: + case 16: + if ((s.arg0) && (s.arg0).vtable) { + setupResume(s, 18); + pxsim_String__stringConv(s.arg0); + checkResumeConsumed(); + return; + } else { s.retval = (s.arg0) + ""; } + case 18: + r0 = s.retval; + s.tmp_3 = r0; + r0 = pxsim_String_.mkEmpty(); + s.tmp_4 = r0; + r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); + s.tmp_2 = r0; + if ((s.arg1) && (s.arg1).vtable) { + setupResume(s, 19); + pxsim_String__stringConv(s.arg1); + checkResumeConsumed(); + return; + } else { s.retval = (s.arg1) + ""; } + case 19: + r0 = s.retval; + s.tmp_6 = r0; + r0 = pxsim_String_.mkEmpty(); + s.tmp_7 = r0; + r0 = pxsim_String__concat(s.tmp_6, s.tmp_7); + s.tmp_5 = r0; + r0 = pxsim_String_.compare(s.tmp_2, s.tmp_5); + case 17: + return leave(s, r0) + default: oops() +} } } +inline__P20617.info = {"start":3968,"length":636,"line":149,"column":25,"endLine":164,"endColumn":13,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P20617.info = {"start":3968,"length":636,"line":149,"column":25,"endLine":164,"endColumn":13,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"inline","argumentNames":["a","b"]} + +function inline__P20617_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P20617, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + aIsUndef___20620: undefined, + bIsUndef___20624: undefined, + aIsNull___20635: undefined, + bIsNull___20639: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function helpers_sortHelper__P15669(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.len___20675 = undefined; + s.i___20678 = undefined; + s.j___20684 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim_Array__length(s.arg0); + s.tmp_1 = r0; + r0 = (s.tmp_1 <= 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = pxsim_numops_toBoolDecr(s.arg1); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + case 2: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 3; continue; } + r0 = s.arg0; + { step = 11; continue; } + case 3: + case 4: + r0 = pxsim_Array__length(s.arg0); + s.len___20675 = (r0); + s.i___20678 = (0); + case 5: + s.tmp_1 = r0 = s.i___20678; + r0 = (s.len___20675 - 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___20678 + 1); + s.j___20684 = (r0); + case 6: + r0 = (s.j___20684 < s.len___20675); + 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___20678); + s.tmp_3.arg0 = r0; + r0 = pxsim_Array__getAt(s.arg0, s.j___20684); + s.tmp_3.arg1 = r0; + setupLambda(s.tmp_3, s.tmp_3.argL); + s.pc = 12; return s.tmp_3; + case 12: + r0 = s.retval; + s.tmp_2 = r0; + r0 = (s.tmp_2 > 0); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 7; continue; } + s.tmp_4 = helpers_swap__P15668_mk(s); + s.tmp_4.arg0 = s.arg0; + s.tmp_4.arg1 = s.i___20678; + s.tmp_4.arg2 = s.j___20684; + s.pc = 13; return s.tmp_4; + case 13: + r0 = s.retval; + case 7: + case 8: + r0 = (s.j___20684 + 1); + s.j___20684 = (r0); + { step = 6; continue; } + case 9: + r0 = (s.i___20678 + 1); + s.i___20678 = (r0); + { step = 5; continue; } + case 10: + r0 = s.arg0; + case 11: + return leave(s, r0) + default: oops() +} } } +helpers_sortHelper__P15669.info = {"start":3318,"length":481,"line":131,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sortHelper","argumentNames":["arr","callbackfn"]} +helpers_sortHelper__P15669.info = {"start":3318,"length":481,"line":131,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sortHelper","argumentNames":["arr","callbackfn"]} + +function helpers_sortHelper__P15669_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_sortHelper__P15669, 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___20675: undefined, + i___20678: undefined, + j___20684: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function helpers_swap__P15668(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.temp___20713 = 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___20713 = (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___20713); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +helpers_swap__P15668.info = {"start":3172,"length":140,"line":125,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"swap","argumentNames":["arr","i","j"]} +helpers_swap__P15668.info = {"start":3172,"length":140,"line":125,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"swap","argumentNames":["arr","i","j"]} + +function helpers_swap__P15668_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_swap__P15668, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + temp___20713: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function particles_init__P17308(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.scene___20731 = undefined; + s.tmp_0 = game_currentScene__P16549_mk(s); + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + s.scene___20731 = (r0); + r0 = s.scene___20731.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___20731; + r0 = pxsim_Array__mk(); + s.tmp_2 = r0; + r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); + r0 = pxsim.control.millis(); + globals.lastUpdate___17283 = (r0); + s.tmp_0 = game_onUpdate__P16871_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P17309; + s.pc = 5; return s.tmp_0; + case 5: + r0 = s.retval; + s.tmp_0 = game_onUpdateInterval__P16872_mk(s); + s.tmp_0.arg0 = 250; + s.tmp_0.arg1 = particles_pruneParticles__P17310; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + case 3: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_init__P17308.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P17308.info = {"start":9219,"length":276,"line":303,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} + +function particles_init__P17308_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_init__P17308, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + scene___20731: undefined, +} } + + + + + +function particles_pruneParticles__P17310(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.sources___20746 = undefined; + s.tmp_0 = particles_particleSources__P17323_mk(s); + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + s.sources___20746 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___20746); + if (!r0) { step = 1; continue; } + s.tmp_0 = helpers_arrayForEach__P15674_mk(s); + s.tmp_1 = helpers_arraySlice__P15679_mk(s); + s.tmp_1.arg0 = s.sources___20746; + s.tmp_1.arg1 = 0; + r0 = pxsim_Array__length(s.sources___20746); + s.tmp_1.arg2 = r0; + s.pc = 5; return s.tmp_1; + case 5: + r0 = s.retval; + s.tmp_0.arg0 = r0; + s.tmp_0.arg1 = inline__P20756; + s.pc = 4; return s.tmp_0; + case 4: + r0 = s.retval; + case 1: + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_pruneParticles__P17310.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P17310.info = {"start":9847,"length":156,"line":326,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} + +function particles_pruneParticles__P17310_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_pruneParticles__P17310, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + sources___20746: undefined, +} } + + + + + +function inline__P20756(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + s.tmp_0 = particles_ParticleSource__prune__P17290_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +inline__P20756.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P20756.info = {"start":9980,"length":15,"line":328,"column":62,"endLine":328,"endColumn":77,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} + +function inline__P20756_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P20756, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function particles_ParticleSource__prune__P17290(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.scene___20536 = undefined; + s.sources___20546 = undefined; + s.current___20560 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); + case 1: + r0 = s.arg0.fields["head"]; + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 2; continue; } + r0 = s.tmp_0; + { step = 3; continue; } + case 2: + r0 = s.arg0.fields["head"]; + r0 = r0.fields["lifespan"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 <= 0); + case 3: + // jmp value (already in r0) + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + if (!r0) { step = 4; continue; } + r0 = s.arg0.fields["head"]; + r0 = r0.fields["next"]; + s.tmp_3 = r0; + r0 = (s.arg0).fields["head"] = (s.tmp_3); + { step = 1; continue; } + case 4: + r0 = s.arg0.fields["pFlags"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 & 2); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 5; continue; } + r0 = s.tmp_0; + { step = 6; continue; } + case 5: + r0 = s.arg0.fields["head"]; + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + s.tmp_2 = r0; + r0 = pxsim_Boolean__bang(s.tmp_2); + case 6: + // jmp value (already in r0) + s.tmp_4 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + if (!r0) { step = 13; continue; } + s.tmp_5 = game_currentScene__P16549_mk(s); + s.pc = 21; return s.tmp_5; + case 21: + r0 = s.retval; + s.scene___20536 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___20536); + if (!r0) { step = 7; continue; } + r0 = s.scene___20536.fields["allSprites"]; + s.tmp_0 = r0; + r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); + case 7: + case 8: + s.tmp_0 = particles_particleSources__P17323_mk(s); + s.pc = 22; return s.tmp_0; + case 22: + r0 = s.retval; + s.sources___20546 = (r0); + s.tmp_0 = r0 = s.sources___20546; + 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___20546); + 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___20546, s.arg0); + case 11: + case 12: + r0 = s.arg0.fields["anchor"]; + s.tmp_0 = r0; + r0 = (s.tmp_0 == undefined); + case 13: + case 14: + r0 = s.arg0.fields["head"]; + s.current___20560 = (r0); + case 15: + s.tmp_0 = r0 = s.current___20560; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 16; continue; } + r0 = s.tmp_0; + { step = 17; continue; } + case 16: + r0 = s.current___20560.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___20560.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___20560.fields["next"]; + r0 = r0.fields["next"]; + s.tmp_4 = r0; + r0 = (s.current___20560).fields["next"] = (s.tmp_4); + { step = 19; continue; } + case 18: + r0 = s.current___20560.fields["next"]; + s.current___20560 = (r0); + case 19: + { step = 15; continue; } + case 20: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_ParticleSource__prune__P17290.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} +particles_ParticleSource__prune__P17290.info = {"start":5087,"length":830,"line":165,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_prune","argumentNames":["this"]} + +function particles_ParticleSource__prune__P17290_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_ParticleSource__prune__P17290, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + scene___20536: undefined, + sources___20546: undefined, + current___20560: undefined, + arg0: undefined, +} } + + + + + +function helpers_arraySlice__P15679(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.res___20763 = undefined; + s.len___20765 = undefined; + s.i___20799 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = pxsim_Array__mk(); + s.res___20763 = (r0); + r0 = pxsim_Array__length(s.arg0); + s.len___20765 = (r0); + r0 = (s.arg1 === undefined); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.arg1 = (0); + { step = 4; continue; } + case 1: + r0 = (s.arg1 < 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 2; continue; } + s.tmp_1 = Math_max__P15690_mk(s); + r0 = (s.len___20765 + s.arg1); + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = 0; + 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___20765); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 5; continue; } + r0 = s.res___20763; + { step = 15; continue; } + case 5: + case 6: + r0 = (s.arg2 === undefined); + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + if (!r0) { step = 7; continue; } + s.arg2 = (s.len___20765); + { 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___20765 + s.arg2); + s.arg2 = (r0); + case 8: + case 9: + case 10: + r0 = (s.arg2 > s.len___20765); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 11; continue; } + s.arg2 = (s.len___20765); + case 11: + case 12: + s.i___20799 = (s.arg1); + case 13: + r0 = (s.i___20799 < s.arg2); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 14; continue; } + s.tmp_1 = r0 = s.res___20763; + r0 = pxsim_Array__getAt(s.arg0, s.i___20799); + s.tmp_2 = r0; + r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); + r0 = (s.i___20799 + 1); + s.i___20799 = (r0); + { step = 13; continue; } + case 14: + r0 = s.res___20763; + case 15: + return leave(s, r0) + default: oops() +} } } +helpers_arraySlice__P15679.info = {"start":7051,"length":690,"line":239,"column":4,"endLine":264,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +helpers_arraySlice__P15679.info = {"start":7051,"length":690,"line":239,"column":4,"endLine":264,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} + +function helpers_arraySlice__P15679_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: helpers_arraySlice__P15679, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + res___20763: undefined, + len___20765: undefined, + i___20799: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function particles_updateParticles__P17309(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.sources___21280 = undefined; + s.time___21287 = undefined; + s.dt___21290 = undefined; + s.i___21296 = undefined; + s.tmp_0 = particles_particleSources__P17323_mk(s); + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + s.sources___21280 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___21280); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + { step = 5; continue; } + case 1: + case 2: + s.tmp_2 = particles_sortSources__P17311_mk(s); + s.tmp_2.arg0 = s.sources___21280; + s.pc = 7; return s.tmp_2; + case 7: + r0 = s.retval; + r0 = pxsim.control.millis(); + s.time___21287 = (r0); + r0 = (s.time___21287 - globals.lastUpdate___17283); + s.dt___21290 = (r0); + globals.lastUpdate___17283 = (s.time___21287); + s.i___21296 = (0); + case 3: + s.tmp_1 = r0 = s.i___21296; + r0 = pxsim_Array__length(s.sources___21280); + 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__P17289_mk(s); + r0 = pxsim_Array__getAt(s.sources___21280, s.i___21296); + s.tmp_3.arg0 = r0; + s.tmp_3.arg1 = s.dt___21290; + s.pc = 8; return s.tmp_3; + case 8: + r0 = s.retval; + r0 = (s.i___21296 + 1); + s.i___21296 = (r0); + { step = 3; continue; } + case 4: + case 5: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_updateParticles__P17309.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P17309.info = {"start":9501,"length":340,"line":312,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} + +function particles_updateParticles__P17309_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_updateParticles__P17309, 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___21280: undefined, + time___21287: undefined, + dt___21290: undefined, + i___21296: undefined, +} } + + + + + +function particles_ParticleSource__update__P17289(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.p___21360 = undefined; + s.current___21379 = undefined; + s.fixedDt___21387 = 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__C17286_VT)) failedCast(r0); + s.tmp_0 = r0 = s.arg0; + r0 = s.tmp_0.fields["timer"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 - s.arg1); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["timer"] = (s.tmp_1); + r0 = s.arg0.fields["lifespan"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 !== undefined); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 3; continue; } + s.tmp_2 = r0 = s.arg0; + 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); + r0 = s.arg0.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 = 1; continue; } + r0 = (s.arg0).fields["lifespan"] = (undefined); + s.tmp_0 = particles_ParticleSource_destroy__P17296_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 28; return s.tmp_0; + case 28: + r0 = s.retval; + case 1: + case 2: + { step = 10; continue; } + case 3: + r0 = s.arg0.fields["anchor"]; + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 4; continue; } + r0 = s.tmp_0; + { step = 5; continue; } + case 4: + s.tmp_2 = if_flags_1_mk(s); + r0 = s.arg0.fields["anchor"]; + s.tmp_2.arg0 = r0; + if (!s.tmp_2.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "flags"); + } else { + 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.pc = 29; return s.tmp_2; } + } + case 29: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.tmp_1 !== undefined); + case 5: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBool(s.tmp_3); + if (r0) { step = 6; continue; } + r0 = s.tmp_3; + { step = 7; continue; } + case 6: + s.tmp_5 = if_flags_1_mk(s); + r0 = s.arg0.fields["anchor"]; + s.tmp_5.arg0 = r0; + if (!s.tmp_5.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "flags"); + } else { + 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.pc = 30; return s.tmp_5; } + } + case 30: + r0 = s.retval; + s.tmp_4 = r0; + r0 = (s.tmp_4 & 2); + case 7: + // jmp value (already in r0) + s.tmp_6 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_6); + if (!r0) { step = 8; continue; } + r0 = (s.arg0).fields["lifespan"] = (750); + case 8: + case 9: + case 10: + case 11: + r0 = s.arg0.fields["timer"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 < 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (r0) { step = 12; continue; } + r0 = s.tmp_0; + { step = 13; continue; } + case 12: + s.tmp_2 = particles_ParticleSource_enabled__P17294_mk(s); + s.tmp_2.arg0 = s.arg0; + s.pc = 31; return s.tmp_2; + case 31: + r0 = s.retval; + case 13: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 16; continue; } + s.tmp_4 = r0 = s.arg0; + r0 = s.tmp_4.fields["timer"]; + s.tmp_6 = r0; + r0 = s.arg0.fields["period"]; + s.tmp_7 = r0; + 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__C17346_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__C17346_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___21360 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___21360); + 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 = 14; continue; } + { step = 11; continue; } + case 14: + case 15: + r0 = s.arg0.fields["head"]; + s.tmp_2 = r0; + r0 = (s.p___21360).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___21360); + { step = 11; continue; } + case 16: + r0 = s.arg0.fields["head"]; + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 17; continue; } + { step = 27; continue; } + case 17: + case 18: + r0 = s.arg0.fields["head"]; + s.current___21379 = (r0); + s.tmp_0 = r0 = s.arg0; + r0 = s.tmp_0.fields["_dt"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 + s.arg1); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_dt"] = (s.tmp_1); + r0 = s.arg0.fields["_dt"]; + s.tmp_0 = r0; + r0 = (s.tmp_0 * 256); + s.tmp_1 = r0; + r0 = (s.tmp_1 | 0); + s.fixedDt___21387 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___21387); + if (!r0) { step = 23; continue; } + case 19: + r0 = s.current___21379.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___21379; + 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__C17286_v4_3_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.current___21379; + s.tmp_0.arg2 = s.fixedDt___21387; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C17286_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___21379.fields["next"]; + s.tmp_0 = r0; + s.current___21379 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 22; continue; } + { step = 19; continue; } + case 22: + r0 = (s.arg0).fields["_dt"] = (0); + { step = 26; continue; } + case 23: + case 24: + s.tmp_0 = r0 = s.current___21379; + 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___21379.fields["next"]; + s.tmp_0 = r0; + s.current___21379 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 25; continue; } + { step = 24; continue; } + case 25: + case 26: + case 27: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_ParticleSource__update__P17289.info = {"start":3677,"length":1400,"line":123,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} +particles_ParticleSource__update__P17289.info = {"start":3677,"length":1400,"line":123,"column":8,"endLine":163,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"_update","argumentNames":["this","dt"]} + +function particles_ParticleSource__update__P17289_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_ParticleSource__update__P17289, 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, + p___21360: undefined, + current___21379: undefined, + fixedDt___21387: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function particles_ParticleFactory_createParticle__P17347(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.p___21488 = 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__C17346_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C17284_VT); + s.p___21488 = (r0); + s.tmp_0 = r0 = s.p___21488; + s.tmp_3 = if_x_1_mk(s); + s.tmp_3.arg0 = s.arg1; + if (!s.tmp_3.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "x"); + } else { + 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.pc = 1; return s.tmp_3; } + } + case 1: + r0 = s.retval; + s.tmp_2 = r0; + r0 = (s.tmp_2 * 256); + s.tmp_4 = r0; + r0 = (s.tmp_4 | 0); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); + s.tmp_0 = r0 = s.p___21488; + s.tmp_3 = if_y_1_mk(s); + s.tmp_3.arg0 = s.arg1; + if (!s.tmp_3.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "y"); + } else { + 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.pc = 2; return s.tmp_3; } + } + case 2: + r0 = s.retval; + s.tmp_2 = r0; + r0 = (s.tmp_2 * 256); + s.tmp_4 = r0; + r0 = (s.tmp_4 | 0); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); + r0 = (s.p___21488).fields["vx"] = (0); + r0 = (s.p___21488).fields["vy"] = (0); + r0 = (s.p___21488).fields["lifespan"] = (500); + r0 = s.p___21488; + return leave(s, r0) + default: oops() +} } } +particles_ParticleFactory_createParticle__P17347.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__P17347.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__P17347_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_ParticleFactory_createParticle__P17347, 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___21488: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function particles_ParticleSource_updateParticle__P17302(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); + r0 = (s.arg2 >> 10); + s.arg2 = (r0); + s.tmp_0 = r0 = s.arg1; + r0 = s.arg1.fields["vx"]; + s.tmp_2 = r0; + r0 = s.arg0.fields["ax"]; + s.tmp_4 = r0; + r0 = pxsim.Math_.imul(s.tmp_4, s.arg2); + s.tmp_5 = r0; + r0 = (s.tmp_5 >> 8); + s.tmp_3 = r0; + r0 = (s.tmp_2 + s.tmp_3); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["vx"] = (s.tmp_1); + s.tmp_0 = r0 = s.arg1; + r0 = s.arg1.fields["vy"]; + s.tmp_2 = r0; + r0 = s.arg0.fields["ay"]; + s.tmp_4 = r0; + r0 = pxsim.Math_.imul(s.tmp_4, s.arg2); + s.tmp_5 = r0; + r0 = (s.tmp_5 >> 8); + s.tmp_3 = r0; + r0 = (s.tmp_2 + s.tmp_3); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); + s.tmp_0 = r0 = s.arg1; + r0 = s.arg1.fields["_x"]; + s.tmp_2 = r0; + r0 = s.arg1.fields["vx"]; + s.tmp_4 = r0; + r0 = pxsim.Math_.imul(s.tmp_4, s.arg2); + s.tmp_5 = r0; + r0 = (s.tmp_5 >> 8); + s.tmp_3 = r0; + r0 = (s.tmp_2 + s.tmp_3); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); + s.tmp_0 = r0 = s.arg1; + r0 = s.arg1.fields["_y"]; + s.tmp_2 = r0; + r0 = s.arg1.fields["vy"]; + s.tmp_4 = r0; + r0 = pxsim.Math_.imul(s.tmp_4, s.arg2); + s.tmp_5 = r0; + r0 = (s.tmp_5 >> 8); + s.tmp_3 = r0; + r0 = (s.tmp_2 + s.tmp_3); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +particles_ParticleSource_updateParticle__P17302.info = {"start":8231,"length":357,"line":276,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} +particles_ParticleSource_updateParticle__P17302.info = {"start":8231,"length":357,"line":276,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} + +function particles_ParticleSource_updateParticle__P17302_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_ParticleSource_updateParticle__P17302, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function Fx_rightShift__P15738(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) 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); + return leave(s, r0) + default: oops() +} } } +Fx_rightShift__P15738.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} +Fx_rightShift__P15738.info = {"start":2031,"length":108,"line":65,"column":4,"endLine":67,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} + +function Fx_rightShift__P15738_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Fx_rightShift__P15738, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, + arg1: undefined, +} } + + + + + +function Fx_mul__P15729(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = pxsim.Math_.imul(s.arg0, s.arg1); + s.tmp_0 = r0; + r0 = (s.tmp_0 >> 8); + return leave(s, r0) + default: oops() +} } } +Fx_mul__P15729.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__P15729.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__P15729_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Fx_mul__P15729, 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, - h___482594: undefined, - unnamed1750___U1: undefined, - unnamed1751___U2: undefined, - hn___482617: undefined, arg0: undefined, arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, } } -function control_EventHandler_constructor__P477718(s) { +function Fx_add__P15726(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7522,41 +8878,29 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.arg4 = (s.lambdaArgs[4]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C477715_VT)) failedCast(r0); - r0 = (s.arg0).fields["src"] = (s.arg1); - r0 = (s.arg0).fields["value"] = (s.arg2); - r0 = (s.arg0).fields["handler"] = (s.arg3); - r0 = (s.arg0).fields["flags"] = (s.arg4); - r0 = undefined; + r0 = (s.arg0 + s.arg1); return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P477718.info = {"start":779,"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__P477718.info = {"start":779,"length":165,"line":23,"column":8,"endLine":28,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this","src","value","handler","flags"]} +Fx_add__P15726.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__P15726.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 control_EventHandler_constructor__P477718_mk(s) { +function Fx_add__P15726_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P477718, depth: s.depth + 1, + parent: s, fn: Fx_add__P15726, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, } } -function control_EventHandler_register__P477716(s) { +function game_onUpdateInterval__P16872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7566,46 +8910,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.timer___20823 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C477715_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P482638); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = s.arg0.fields["src"]; + s.tmp_0 = game_init__P16862_mk(s); + s.tmp_0.arg0 = undefined; + s.pc = 6; return s.tmp_0; + case 6: + r0 = s.retval; + r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; - r0 = s.arg0.fields["value"]; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.tmp_0; + { step = 2; continue; } + case 1: + r0 = (s.arg0 < 0); + case 2: + // jmp value (already in r0) s.tmp_2 = r0; - r0 = s.arg0.fields["flags"]; - s.tmp_3 = r0; - r0 = pxsim.control.internalOnEvent(s.tmp_1, s.tmp_2, s.tmp_0, s.tmp_3); + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + if (!r0) { step = 3; continue; } + { step = 5; continue; } + case 3: + case 4: + r0 = pxsim_pxtrt.mklocRef(); + s.timer___20823 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___20823, 0); + r0 = pxsim_pxtcore_mkAction(3, inline__P20827); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___20823); + 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__P15900_mk(s); + s.tmp_2 = game_eventContext__P16861_mk(s); + s.pc = 8; return s.tmp_2; + case 8: + r0 = s.retval; + s.tmp_1.arg0 = r0; + s.tmp_1.arg1 = 19; + s.tmp_1.arg2 = s.tmp_0; + s.pc = 7; return s.tmp_1; + case 7: + r0 = s.retval; + case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_register__P477716.info = {"start":954,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -control_EventHandler_register__P477716.info = {"start":954,"length":165,"line":30,"column":8,"endLine":34,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +game_onUpdateInterval__P16872.info = {"start":7931,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} +game_onUpdateInterval__P16872.info = {"start":7931,"length":417,"line":256,"column":4,"endLine":267,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdateInterval","argumentNames":["period","a"]} -function control_EventHandler_register__P477716_mk(s) { +function game_onUpdateInterval__P16872_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P477716, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P16872, 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, + timer___20823: undefined, arg0: undefined, + arg1: undefined, } } -function inline__P482638(s) { +function inline__P20827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7615,22 +8993,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = s.caps[0].fields["handler"]; + s.time___20828 = undefined; + s.tmp_1 = game_currentScene__P16549_mk(s); + s.pc = 3; return s.tmp_1; + case 3: + r0 = s.retval; + s.tmp_0 = r0; + r0 = s.tmp_0.fields["_millis"]; + s.time___20828 = (r0); + r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); + s.tmp_1 = r0; + r0 = (s.tmp_1 <= s.time___20828); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = if_handler_1_mk(s); - s.tmp_1.arg0 = s.caps[0]; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "handler"), 1); - s.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.pc = 3; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 3; return s.tmp_1;; } - else { s.pc = 3; return s.tmp_1; } - } - case 3: + s.tmp_2 = r0 = s.caps[0]; + r0 = (s.time___20828 + 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.pc = 4; return s.tmp_0; + case 4: r0 = s.retval; case 1: case 2: @@ -7638,23 +9023,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P482638.info = {"start":1025,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -inline__P482638.info = {"start":1025,"length":71,"line":31,"column":58,"endLine":33,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P20827.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +inline__P20827.info = {"start":8161,"length":179,"line":260,"column":81,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function inline__P482638_mk(s) { +function inline__P20827_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P482638, depth: s.depth + 1, + parent: s, fn: inline__P20827, 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___20828: undefined, } } -function control_pollEvents__P477661(s) { +function control_EventContext_registerFrameHandler__P15900(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7664,118 +9052,84 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.now___482655 = undefined; - s.i___482658 = undefined; - s.ev___482664 = undefined; - case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___477660); + s.fn___20851 = undefined; + s.i___20862 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, control_EventContext__C15894_VT)) failedCast(r0); + r0 = s.arg0.fields["frameCallbacks"]; + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > 0); + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 12; continue; } - r0 = pxsim.control.millis(); - s.now___482655 = (r0); - s.i___482658 = (0); + if (!r0) { step = 1; continue; } + s.tmp_3 = r0 = s.arg0; + r0 = pxsim_Array__mk(); + s.tmp_4 = r0; + r0 = (s.tmp_3).fields["frameCallbacks"] = (s.tmp_4); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P15897_mk(s); + s.tmp_0.arg0 = s.arg0; + s.pc = 8; return s.tmp_0; + case 8: + r0 = s.retval; + case 1: case 2: - s.tmp_1 = r0 = s.i___482658; - r0 = pxsim_Array__length(globals._pollEventQueue___477660); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C15888_VT); + s.fn___20851 = (r0); + r0 = (s.fn___20851).fields["order"] = (s.arg1); + r0 = (s.fn___20851).fields["handler"] = (s.arg2); + s.i___20862 = (0); + case 3: + s.tmp_1 = r0 = s.i___20862; + r0 = s.arg0.fields["frameCallbacks"]; + s.tmp_3 = r0; + r0 = pxsim_Array__length(s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 11; continue; } - r0 = pxsim_Array__getAt(globals._pollEventQueue___477660, s.i___482658); - s.ev___482664 = (r0); - s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___482664; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); - 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.pc = 13; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.pc = 13; return s.tmp_1;; } - else { s.pc = 13; return s.tmp_1; } - } - case 13: - r0 = s.retval; - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 3; continue; } - r0 = s.tmp_0; - { step = 6; continue; } - case 3: - r0 = s.ev___482664.fields["timeOut"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 > 0); - s.tmp_2 = r0; - r0 = pxsim_numops_toBool(s.tmp_2); - if (r0) { step = 4; continue; } - r0 = s.tmp_2; - { step = 5; continue; } - case 4: - r0 = s.ev___482664.fields["start"]; + if (!r0) { step = 6; continue; } + r0 = s.arg0.fields["frameCallbacks"]; + s.tmp_6 = r0; + r0 = pxsim_Array__getAt(s.tmp_6, s.i___20862); + r0 = r0.fields["order"]; s.tmp_5 = r0; - r0 = (s.now___482655 - s.tmp_5); + r0 = (s.tmp_5 > s.arg1); s.tmp_4 = r0; - r0 = s.ev___482664.fields["timeOut"]; - s.tmp_6 = r0; - r0 = (s.tmp_4 > s.tmp_6); - case 5: - // jmp value (already in r0) + r0 = pxsim_numops_toBoolDecr(s.tmp_4); + if (!r0) { step = 4; continue; } + r0 = s.arg0.fields["frameCallbacks"]; s.tmp_7 = r0; - r0 = s.tmp_7; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___20862, s.fn___20851); + { step = 7; continue; } + case 4: + case 5: + r0 = (s.i___20862 + 1); + s.i___20862 = (r0); + { step = 3; continue; } case 6: - // jmp value (already in r0) - s.tmp_8 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_8); - if (!r0) { step = 9; continue; } - r0 = s.ev___482664.fields["eid"]; - s.tmp_9 = r0; - r0 = s.ev___482664.fields["vid"]; - s.tmp_10 = r0; - r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___482664.fields["once"]; + r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P477489_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___477660; - s.tmp_1.arg1 = s.i___482658; - s.tmp_1.arg2 = 1; - s.pc = 14; return s.tmp_1; - case 14: - r0 = s.retval; - r0 = (s.i___482658 - 1); - s.i___482658 = (r0); + r0 = pxsim_Array__push(s.tmp_0, s.fn___20851); case 7: - case 8: - case 9: - case 10: - r0 = (s.i___482658 + 1); - s.i___482658 = (r0); - { step = 2; continue; } - case 11: - s.tmp_0 = pause__P477741_mk(s); - s.tmp_0.arg0 = 50; - s.pc = 15; return s.tmp_0; - case 15: - r0 = s.retval; - { step = 1; continue; } - case 12: - globals._pollEventQueue___477660 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P477661.info = {"start":5231,"length":638,"line":176,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"pollEvents","argumentNames":[]} -control_pollEvents__P477661.info = {"start":5231,"length":638,"line":176,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"pollEvents","argumentNames":[]} +control_EventContext_registerFrameHandler__P15900.info = {"start":4535,"length":600,"line":140,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P15900.info = {"start":4535,"length":600,"line":140,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -function control_pollEvents__P477661_mk(s) { +function control_EventContext_registerFrameHandler__P15900_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P477661, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P15900, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7785,19 +9139,18 @@ function control_pollEvents__P477661_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tmp_8: undefined, - tmp_9: undefined, - tmp_10: undefined, - now___482655: undefined, - i___482658: undefined, - ev___482664: undefined, + fn___20851: undefined, + i___20862: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function helpers_arraySplice__P477489(s) { +function control_EventContext_registerFrameCallbacks__P15897(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7807,56 +9160,167 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___482713 = undefined; + s.worker___20895 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = (s.arg1 < 0); + r0 = s.arg0; + if (!checkSubtype(r0, control_EventContext__C15894_VT)) failedCast(r0); + r0 = s.arg0.fields["frameCallbacks"]; + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); + s.tmp_1 = r0; + r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - { step = 5; continue; } + { step = 3; continue; } + case 1: + case 2: + r0 = s.arg0.fields["frameWorker"]; + s.worker___20895 = (r0); + r0 = pxsim_pxtcore_mkAction(2, inline__P20901); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___20895); + r0 = pxsim.control.runInParallel(s.tmp_0); + case 3: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +control_EventContext_registerFrameCallbacks__P15897.info = {"start":3341,"length":895,"line":102,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} +control_EventContext_registerFrameCallbacks__P15897.info = {"start":3341,"length":895,"line":102,"column":8,"endLine":126,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameCallbacks","argumentNames":["this"]} + +function control_EventContext_registerFrameCallbacks__P15897_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: control_EventContext_registerFrameCallbacks__P15897, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + worker___20895: undefined, + arg0: undefined, +} } + + + + + +function inline__P20901(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.delay___20932 = undefined; + r0 = s.caps[0].fields["runningCallbacks"]; + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = pxsim_pxtcore_mkAction(1, inline__P20907); + s.tmp_1 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); + s.tmp_2 = pauseUntil__P15854_mk(s); + s.tmp_2.arg0 = s.tmp_1; + s.tmp_2.arg1 = undefined; + s.pc = 5; return s.tmp_2; + case 5: + r0 = s.retval; case 1: case 2: - s.i___482713 = (0); + r0 = (s.caps[0]).fields["runningCallbacks"] = (true); + r0 = (s.caps[0]).fields["framesInSample"] = (0); + r0 = (s.caps[0]).fields["timeInSample"] = (0); + r0 = (s.caps[0]).fields["deltaTimeMillis"] = (0); + s.tmp_0 = r0 = s.caps[0]; + r0 = pxsim.control.millis(); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["prevTimeMillis"] = (s.tmp_1); case 3: - r0 = (s.i___482713 < s.arg2); + r0 = s.caps[0].fields["frameWorker"]; + s.tmp_1 = r0; + r0 = (s.caps[1] == s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array_.removeAt(s.arg0, s.arg1); - r0 = (s.i___482713 + 1); - s.i___482713 = (r0); + s.tmp_2 = control_EventContext_runCallbacks__P15896_mk(s); + s.tmp_2.arg0 = s.caps[0]; + s.pc = 6; return s.tmp_2; + case 6: + r0 = s.retval; + s.delay___20932 = (r0); + s.tmp_0 = pause__P15915_mk(s); + s.tmp_0.arg0 = s.delay___20932; + s.pc = 7; return s.tmp_0; + case 7: + r0 = s.retval; { step = 3; continue; } case 4: - case 5: + r0 = (s.caps[0]).fields["runningCallbacks"] = (false); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arraySplice__P477489.info = {"start":1784,"length":213,"line":77,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} -helpers_arraySplice__P477489.info = {"start":1784,"length":213,"line":77,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} +inline__P20901.info = {"start":3502,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P20901.info = {"start":3502,"length":723,"line":106,"column":34,"endLine":125,"endColumn":13,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} -function helpers_arraySplice__P477489_mk(s) { +function inline__P20901_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P477489, depth: s.depth + 1, + parent: s, fn: inline__P20901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___482713: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, + tmp_1: undefined, + tmp_2: undefined, + delay___20932: undefined, +} } + + + + + +function inline__P20907(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + r0 = s.caps[0].fields["runningCallbacks"]; + s.tmp_1 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_Boolean__bang(s.tmp_0); + return leave(s, r0) + default: oops() +} } } +inline__P20907.info = {"start":3733,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} +inline__P20907.info = {"start":3733,"length":28,"line":110,"column":31,"endLine":110,"endColumn":59,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":[]} + +function inline__P20907_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: inline__P20907, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, } } -function control_PollEvent_constructor__P477658(s) { +function control_EventContext_runCallbacks__P15896(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7866,50 +9330,248 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: + s.loopStart___20941 = undefined; + s.f___20954 = undefined; + s.unnamed128___U2 = undefined; + s.unnamed129___U3 = undefined; + s.runtime___20959 = undefined; + s.fps___20979 = undefined; + s.delay___21037 = 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.arg5 = (s.lambdaArgs[5]); - s.arg6 = (s.lambdaArgs[6]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C477657_VT)) failedCast(r0); - r0 = (s.arg0).fields["eid"] = (s.arg1); - r0 = (s.arg0).fields["vid"] = (s.arg2); - r0 = (s.arg0).fields["start"] = (s.arg3); - r0 = (s.arg0).fields["timeOut"] = (s.arg4); - r0 = (s.arg0).fields["condition"] = (s.arg5); - r0 = (s.arg0).fields["once"] = (s.arg6); - r0 = undefined; + if (!checkSubtype(r0, control_EventContext__C15894_VT)) failedCast(r0); + r0 = pxsim.control.millis(); + s.loopStart___20941 = (r0); + s.tmp_0 = r0 = s.arg0; + r0 = s.arg0.fields["prevTimeMillis"]; + s.tmp_2 = r0; + r0 = (s.loopStart___20941 - s.tmp_2); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___20941); + s.f___20954 = (undefined); + r0 = s.arg0.fields["frameCallbacks"]; + s.unnamed128___U2 = (r0); + s.unnamed129___U3 = (0); + case 1: + s.tmp_0 = r0 = s.unnamed129___U3; + r0 = pxsim_Array__length(s.unnamed128___U2); + s.tmp_1 = r0; + r0 = (s.tmp_0 < s.tmp_1); + if (!r0) { step = 2; continue; } + r0 = pxsim_Array__getAt(s.unnamed128___U2, s.unnamed129___U3); + s.f___20954 = (r0); + s.tmp_2 = if_handler_1_mk(s); + s.tmp_2.arg0 = s.f___20954; + if (!s.tmp_2.arg0.vtable.iface) { + setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); + 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.pc = 11; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.pc = 11; return s.tmp_2;; } + else { s.pc = 11; return s.tmp_2; } + } + case 11: + r0 = s.retval; + r0 = (s.unnamed129___U3 + 1); + s.unnamed129___U3 = (r0); + { step = 1; continue; } + case 2: + s.unnamed128___U2 = (undefined); + r0 = pxsim.control.millis(); + s.tmp_0 = r0; + r0 = (s.tmp_0 - s.loopStart___20941); + s.runtime___20959 = (r0); + s.tmp_0 = r0 = s.arg0; + r0 = s.tmp_0.fields["timeInSample"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 + s.runtime___20959); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); + s.tmp_0 = r0 = s.arg0; + r0 = s.tmp_0.fields["framesInSample"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 + 1); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["framesInSample"] = (s.tmp_1); + r0 = s.arg0.fields["timeInSample"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 > 1000); + s.tmp_0 = r0; + r0 = pxsim_numops_toBool(s.tmp_0); + if (!r0) { step = 3; continue; } + r0 = s.tmp_0; + { step = 4; continue; } + case 3: + r0 = s.arg0.fields["framesInSample"]; + s.tmp_2 = r0; + r0 = (s.tmp_2 > 30); + case 4: + // jmp value (already in r0) + s.tmp_3 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_3); + if (!r0) { step = 9; continue; } + r0 = s.arg0.fields["framesInSample"]; + s.tmp_4 = r0; + r0 = s.arg0.fields["timeInSample"]; + s.tmp_6 = r0; + r0 = (s.tmp_6 / 1000); + s.tmp_5 = r0; + r0 = (s.tmp_4 / s.tmp_5); + s.fps___20979 = (r0); + r0 = pxsim.Math_.round(s.fps___20979); + s.tmp_1 = r0; + if ((s.tmp_1) && (s.tmp_1).vtable) { + setupResume(s, 12); + pxsim_String__stringConv(s.tmp_1); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_1) + ""; } + case 12: + r0 = s.retval; + s.tmp_0 = r0; + r0 = pxsim_String__concat("fps:", s.tmp_0); + globals.control_EventContext_lastStats___15905 = (r0); + r0 = (s.fps___20979 < 99); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 5; continue; } + if ((globals.control_EventContext_lastStats___15905) && (globals.control_EventContext_lastStats___15905).vtable) { + setupResume(s, 13); + pxsim_String__stringConv(globals.control_EventContext_lastStats___15905); + checkResumeConsumed(); + return; + } else { s.retval = (globals.control_EventContext_lastStats___15905) + ""; } + case 13: + r0 = s.retval; + s.tmp_1 = r0; + r0 = (s.fps___20979 * 10); + s.tmp_7 = r0; + r0 = pxsim.Math_.round(s.tmp_7); + s.tmp_6 = r0; + r0 = (s.tmp_6 % 10); + s.tmp_5 = r0; + if ((s.tmp_5) && (s.tmp_5).vtable) { + setupResume(s, 14); + pxsim_String__stringConv(s.tmp_5); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_5) + ""; } + case 14: + r0 = s.retval; + s.tmp_4 = r0; + r0 = pxsim_String__concat(".", s.tmp_4); + s.tmp_3 = r0; + if ((s.tmp_3) && (s.tmp_3).vtable) { + setupResume(s, 15); + pxsim_String__stringConv(s.tmp_3); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_3) + ""; } + case 15: + r0 = s.retval; + s.tmp_2 = r0; + r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); + globals.control_EventContext_lastStats___15905 = (r0); + case 5: + case 6: + r0 = pxsim.control.profilingEnabled(); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 7; continue; } + r0 = pxsim_String_.mkEmpty(); + s.tmp_5 = r0; + r0 = (s.fps___20979 * 100); + s.tmp_8 = r0; + r0 = (s.tmp_8 | 0); + s.tmp_7 = r0; + if ((s.tmp_7) && (s.tmp_7).vtable) { + setupResume(s, 16); + pxsim_String__stringConv(s.tmp_7); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_7) + ""; } + case 16: + r0 = s.retval; + s.tmp_6 = r0; + r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); + s.tmp_4 = r0; + r0 = pxsim_String__concat(s.tmp_4, "/100 fps - "); + s.tmp_3 = r0; + r0 = s.arg0.fields["framesInSample"]; + s.tmp_10 = r0; + if ((s.tmp_10) && (s.tmp_10).vtable) { + setupResume(s, 17); + pxsim_String__stringConv(s.tmp_10); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_10) + ""; } + case 17: + r0 = s.retval; + s.tmp_9 = r0; + r0 = pxsim_String__concat(s.tmp_3, s.tmp_9); + s.tmp_2 = r0; + r0 = pxsim_String__concat(s.tmp_2, " frames"); + s.tmp_1 = r0; + r0 = pxsim.control.dmesg(s.tmp_1); + r0 = pxsim.control.gc(); + r0 = pxsim_pxtcore.dumpPerfCounters(); + case 7: + case 8: + r0 = (s.arg0).fields["timeInSample"] = (0); + r0 = (s.arg0).fields["framesInSample"] = (0); + case 9: + case 10: + s.tmp_0 = Math_max__P15690_mk(s); + s.tmp_0.arg0 = 1; + r0 = (20 - s.runtime___20959); + s.tmp_0.arg1 = r0; + s.pc = 18; return s.tmp_0; + case 18: + r0 = s.retval; + s.delay___21037 = (r0); + r0 = s.delay___21037; return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P477658.info = {"start":4852,"length":316,"line":164,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/base/control.ts","functionName":"inline","argumentNames":["this","eid","vid","start","timeOut","condition","once"]} -control_PollEvent_constructor__P477658.info = {"start":4852,"length":316,"line":164,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/base/control.ts","functionName":"inline","argumentNames":["this","eid","vid","start","timeOut","condition","once"]} +control_EventContext_runCallbacks__P15896.info = {"start":2073,"length":1215,"line":71,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} +control_EventContext_runCallbacks__P15896.info = {"start":2073,"length":1215,"line":71,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"runCallbacks","argumentNames":["this"]} -function control_PollEvent_constructor__P477658_mk(s) { +function control_EventContext_runCallbacks__P15896_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P477658, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P15896, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + tmp_8: undefined, + tmp_9: undefined, + tmp_10: undefined, + loopStart___20941: undefined, + f___20954: undefined, + unnamed128___U2: undefined, + unnamed129___U3: undefined, + runtime___20959: undefined, + fps___20979: undefined, + delay___21037: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, - arg5: undefined, - arg6: undefined, } } -function game_onUpdate__P478697(s) { +function game_onUpdate__P16871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7923,7 +9585,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P478688_mk(s); + s.tmp_0 = game_init__P16862_mk(s); s.tmp_0.arg0 = undefined; s.pc = 4; return s.tmp_0; case 4: @@ -7937,8 +9599,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P477726_mk(s); - s.tmp_3 = game_eventContext__P478687_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P15900_mk(s); + s.tmp_3 = game_eventContext__P16861_mk(s); s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; @@ -7953,13 +9615,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P478697.info = {"start":7429,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdate","argumentNames":["a"]} -game_onUpdate__P478697.info = {"start":7429,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P16871.info = {"start":7429,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdate","argumentNames":["a"]} +game_onUpdate__P16871.info = {"start":7429,"length":169,"line":242,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onUpdate","argumentNames":["a"]} -function game_onUpdate__P478697_mk(s) { +function game_onUpdate__P16871_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P478697, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P16871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7972,7 +9634,7 @@ function game_onUpdate__P478697_mk(s) { -function particles_SprayFactory_constructor__P479182(s) { +function particles_SprayFactory_constructor__P17356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7990,19 +9652,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C479176_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C17350_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P479164_mk(s); + s.tmp_0 = particles_initTrig__P17338_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P479180_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P17354_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P479181_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P17355_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -8013,13 +9675,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P479182.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__P479182.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__P17356.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__P17356.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__P479182_mk(s) { +function particles_SprayFactory_constructor__P17356_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P479182, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P17356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8032,7 +9694,7 @@ function particles_SprayFactory_constructor__P479182_mk(s) { -function particles_SprayFactory_setDirection__P479181(s) { +function particles_SprayFactory_setDirection__P17355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8049,9 +9711,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C479176_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C17350_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P479171_mk(s); + s.tmp_4 = particles_toRadians__P17345_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -8061,19 +9723,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___479163); + r0 = (s.tmp_3 / globals.angleSlice___17337); 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__P479171_mk(s); + s.tmp_4 = particles_toRadians__P17345_mk(s); s.tmp_4.arg0 = s.arg2; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___479163); + r0 = (s.tmp_3 / globals.angleSlice___17337); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -8082,13 +9744,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P479181.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__P479181.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__P17355.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__P17355.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__P479181_mk(s) { +function particles_SprayFactory_setDirection__P17355_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P479181, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P17355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8106,7 +9768,7 @@ function particles_SprayFactory_setDirection__P479181_mk(s) { -function particles_toRadians__P479171(s) { +function particles_toRadians__P17345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8124,7 +9786,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P477514_mk(s); + s.tmp_3 = Math_abs__P15688_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 3; return s.tmp_3; case 3: @@ -8143,13 +9805,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P479171.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__P479171.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__P17345.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__P17345.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__P479171_mk(s) { +function particles_toRadians__P17345_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P479171, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P17345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8162,7 +9824,7 @@ function particles_toRadians__P479171_mk(s) { -function particles_ParticleFactory_constructor__P479175(s) { +function particles_ParticleFactory_constructor__P17349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8177,18 +9839,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C479172_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C17346_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P479175.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__P479175.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__P17349.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__P17349.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__P479175_mk(s) { +function particles_ParticleFactory_constructor__P17349_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P479175, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P17349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8197,7 +9859,7 @@ function particles_ParticleFactory_constructor__P479175_mk(s) { -function particles_initTrig__P479164(s) { +function particles_initTrig__P17338(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8207,37 +9869,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___479150); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___17324); 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__P479165_mk(s); + s.tmp_2 = particles_cacheSin__P17339_mk(s); s.tmp_2.arg0 = 100; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___479150 = (r0); - s.tmp_0 = particles_cacheCos__P479166_mk(s); + globals.cachedSin___17324 = (r0); + s.tmp_0 = particles_cacheCos__P17340_mk(s); s.tmp_0.arg0 = 100; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___479151 = (r0); + globals.cachedCos___17325 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P479164.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} -particles_initTrig__P479164.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P17338.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P17338.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__P479164_mk(s) { +function particles_initTrig__P17338_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P479164, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P17338, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8248,7 +9910,7 @@ function particles_initTrig__P479164_mk(s) { -function particles_cacheCos__P479166(s) { +function particles_cacheCos__P17340(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8258,25 +9920,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.cos___483371 = undefined; - s.anglePerSlice___483373 = undefined; - s.i___483379 = undefined; + s.cos___20411 = undefined; + s.anglePerSlice___20413 = undefined; + s.i___20419 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___483371 = (r0); + s.cos___20411 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___483373 = (r0); - s.i___483379 = (0); + s.anglePerSlice___20413 = (r0); + s.i___20419 = (0); case 1: - r0 = (s.i___483379 < s.arg0); + r0 = (s.i___20419 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___483371; - r0 = (s.i___483379 * s.anglePerSlice___483373); + s.tmp_1 = r0 = s.cos___20411; + r0 = (s.i___20419 * s.anglePerSlice___20413); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -8285,21 +9947,21 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___483379 + 1); - s.i___483379 = (r0); + r0 = (s.i___20419 + 1); + s.i___20419 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___483371; + r0 = s.cos___20411; return leave(s, r0) default: oops() } } } -particles_cacheCos__P479166.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__P479166.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__P17340.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__P17340.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__P479166_mk(s) { +function particles_cacheCos__P17340_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P479166, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P17340, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8307,9 +9969,9 @@ function particles_cacheCos__P479166_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___483371: undefined, - anglePerSlice___483373: undefined, - i___483379: undefined, + cos___20411: undefined, + anglePerSlice___20413: undefined, + i___20419: undefined, arg0: undefined, } } @@ -8317,7 +9979,7 @@ function particles_cacheCos__P479166_mk(s) { -function particles_cacheSin__P479165(s) { +function particles_cacheSin__P17339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8327,25 +9989,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sin___483397 = undefined; - s.anglePerSlice___483399 = undefined; - s.i___483405 = undefined; + s.sin___20437 = undefined; + s.anglePerSlice___20439 = undefined; + s.i___20445 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___483397 = (r0); + s.sin___20437 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___483399 = (r0); - s.i___483405 = (0); + s.anglePerSlice___20439 = (r0); + s.i___20445 = (0); case 1: - r0 = (s.i___483405 < s.arg0); + r0 = (s.i___20445 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___483397; - r0 = (s.i___483405 * s.anglePerSlice___483399); + s.tmp_1 = r0 = s.sin___20437; + r0 = (s.i___20445 * s.anglePerSlice___20439); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -8354,21 +10016,21 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___483405 + 1); - s.i___483405 = (r0); + r0 = (s.i___20445 + 1); + s.i___20445 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___483397; + r0 = s.sin___20437; return leave(s, r0) default: oops() } } } -particles_cacheSin__P479165.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__P479165.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__P17339.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__P17339.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__P479165_mk(s) { +function particles_cacheSin__P17339_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P479165, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P17339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8376,9 +10038,9 @@ function particles_cacheSin__P479165_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___483397: undefined, - anglePerSlice___483399: undefined, - i___483405: undefined, + sin___20437: undefined, + anglePerSlice___20439: undefined, + i___20445: undefined, arg0: undefined, } } @@ -8386,7 +10048,7 @@ function particles_cacheSin__P479165_mk(s) { -function particles_ParticleSource_setFactory__P479127(s) { +function particles_ParticleSource_setFactory__P17301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8402,7 +10064,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -8412,13 +10074,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P479127.info = {"start":8107,"length":114,"line":271,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} -particles_ParticleSource_setFactory__P479127.info = {"start":8107,"length":114,"line":271,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} +particles_ParticleSource_setFactory__P17301.info = {"start":8107,"length":114,"line":271,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} +particles_ParticleSource_setFactory__P17301.info = {"start":8107,"length":114,"line":271,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setFactory","argumentNames":["this","factory"]} -function particles_ParticleSource_setFactory__P479127_mk(s) { +function particles_ParticleSource_setFactory__P17301_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P479127, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P17301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8428,7 +10090,7 @@ function particles_ParticleSource_setFactory__P479127_mk(s) { -function particles_ParticleSource_setRate__P479125(s) { +function particles_ParticleSource_setRate__P17299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8444,7 +10106,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -8456,13 +10118,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P479125.info = {"start":7785,"length":139,"line":258,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} -particles_ParticleSource_setRate__P479125.info = {"start":7785,"length":139,"line":258,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} +particles_ParticleSource_setRate__P17299.info = {"start":7785,"length":139,"line":258,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} +particles_ParticleSource_setRate__P17299.info = {"start":7785,"length":139,"line":258,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRate","argumentNames":["this","particlesPerSecond"]} -function particles_ParticleSource_setRate__P479125_mk(s) { +function particles_ParticleSource_setRate__P17299_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P479125, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P17299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8475,7 +10137,7 @@ function particles_ParticleSource_setRate__P479125_mk(s) { -function particles_ParticleSource_setAnchor__P479124(s) { +function particles_ParticleSource_setAnchor__P17298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8491,19 +10153,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P479124.info = {"start":7577,"length":79,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} -particles_ParticleSource_setAnchor__P479124.info = {"start":7577,"length":79,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} +particles_ParticleSource_setAnchor__P17298.info = {"start":7577,"length":79,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} +particles_ParticleSource_setAnchor__P17298.info = {"start":7577,"length":79,"line":250,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAnchor","argumentNames":["this","anchor"]} -function particles_ParticleSource_setAnchor__P479124_mk(s) { +function particles_ParticleSource_setAnchor__P17298_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P479124, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P17298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8513,7 +10175,7 @@ function particles_ParticleSource_setAnchor__P479124_mk(s) { -function particles_ParticleSource_clear__P479123(s) { +function particles_ParticleSource_clear__P17297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8528,19 +10190,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P479123.info = {"start":7407,"length":54,"line":242,"column":8,"endLine":244,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} -particles_ParticleSource_clear__P479123.info = {"start":7407,"length":54,"line":242,"column":8,"endLine":244,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} +particles_ParticleSource_clear__P17297.info = {"start":7407,"length":54,"line":242,"column":8,"endLine":244,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} +particles_ParticleSource_clear__P17297.info = {"start":7407,"length":54,"line":242,"column":8,"endLine":244,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"clear","argumentNames":["this"]} -function particles_ParticleSource_clear__P479123_mk(s) { +function particles_ParticleSource_clear__P17297_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P479123, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P17297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8549,7 +10211,7 @@ function particles_ParticleSource_clear__P479123_mk(s) { -function particles_ParticleSource_destroy__P479122(s) { +function particles_ParticleSource_destroy__P17296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8564,8 +10226,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P479121_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P17295_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.pc = 1; return s.tmp_0; @@ -8577,7 +10239,7 @@ switch (step) { r0 = (s.tmp_2 | 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); - s.tmp_0 = particles_ParticleSource__prune__P479116_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P17290_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 2; return s.tmp_0; case 2: @@ -8586,13 +10248,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P479122.info = {"start":7077,"length":240,"line":232,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} -particles_ParticleSource_destroy__P479122.info = {"start":7077,"length":240,"line":232,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} +particles_ParticleSource_destroy__P17296.info = {"start":7077,"length":240,"line":232,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} +particles_ParticleSource_destroy__P17296.info = {"start":7077,"length":240,"line":232,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"destroy","argumentNames":["this"]} -function particles_ParticleSource_destroy__P479122_mk(s) { +function particles_ParticleSource_destroy__P17296_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P479122, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P17296, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8604,7 +10266,7 @@ function particles_ParticleSource_destroy__P479122_mk(s) { -function particles_ParticleSource_enabled__P479121(s) { +function particles_ParticleSource_enabled__P17295(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8620,9 +10282,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P479120_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P17294_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 5; return s.tmp_3; case 5: @@ -8653,13 +10315,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P479121.info = {"start":6799,"length":214,"line":222,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} -particles_ParticleSource_enabled__P479121.info = {"start":6799,"length":214,"line":222,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} +particles_ParticleSource_enabled__P17295.info = {"start":6799,"length":214,"line":222,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} +particles_ParticleSource_enabled__P17295.info = {"start":6799,"length":214,"line":222,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this","v"]} -function particles_ParticleSource_enabled__P479121_mk(s) { +function particles_ParticleSource_enabled__P17295_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P479121, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P17295, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8676,7 +10338,7 @@ function particles_ParticleSource_enabled__P479121_mk(s) { -function particles_ParticleSource_enabled__P479120(s) { +function particles_ParticleSource_enabled__P17294(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8691,7 +10353,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -8706,14 +10368,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P479120.info = {"start":6605,"length":76,"line":215,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} -particles_ParticleSource_enabled__P479120.isGetter = true; -particles_ParticleSource_enabled__P479120.info = {"start":6605,"length":76,"line":215,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} +particles_ParticleSource_enabled__P17294.info = {"start":6605,"length":76,"line":215,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} +particles_ParticleSource_enabled__P17294.isGetter = true; +particles_ParticleSource_enabled__P17294.info = {"start":6605,"length":76,"line":215,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"enabled","argumentNames":["this"]} -function particles_ParticleSource_enabled__P479120_mk(s) { +function particles_ParticleSource_enabled__P17294_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P479120, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P17294, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8727,7 +10389,7 @@ function particles_ParticleSource_enabled__P479120_mk(s) { -function particles_ParticleSource_setAcceleration__P479117(s) { +function particles_ParticleSource_setAcceleration__P17291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8744,7 +10406,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -8761,13 +10423,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P479117.info = {"start":6009,"length":113,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} -particles_ParticleSource_setAcceleration__P479117.info = {"start":6009,"length":113,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} +particles_ParticleSource_setAcceleration__P17291.info = {"start":6009,"length":113,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} +particles_ParticleSource_setAcceleration__P17291.info = {"start":6009,"length":113,"line":193,"column":8,"endLine":196,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setAcceleration","argumentNames":["this","ax","ay"]} -function particles_ParticleSource_setAcceleration__P479117_mk(s) { +function particles_ParticleSource_setAcceleration__P17291_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P479117, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P17291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8781,7 +10443,7 @@ function particles_ParticleSource_setAcceleration__P479117_mk(s) { -function sprites_BaseSprite_constructor__P478067(s) { +function sprites_BaseSprite_constructor__P16241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8797,15 +10459,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C478059_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P478062_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C16233_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P16236_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P478598_mk(s); - s.tmp_1 = game_currentScene__P478375_mk(s); + s.tmp_0 = scene_Scene_addSprite__P16772_mk(s); + s.tmp_1 = game_currentScene__P16549_mk(s); s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -8818,13 +10480,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P478067.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__P478067.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__P16241.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__P16241.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__P478067_mk(s) { +function sprites_BaseSprite_constructor__P16241_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P478067, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P16241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8836,7 +10498,7 @@ function sprites_BaseSprite_constructor__P478067_mk(s) { -function scene_Scene_addSprite__P478598(s) { +function scene_Scene_addSprite__P16772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8852,7 +10514,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C478594_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C16768_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -8879,13 +10541,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P478598.info = {"start":6412,"length":128,"line":180,"column":8,"endLine":183,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -scene_Scene_addSprite__P478598.info = {"start":6412,"length":128,"line":180,"column":8,"endLine":183,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P16772.info = {"start":6412,"length":128,"line":180,"column":8,"endLine":183,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P16772.info = {"start":6412,"length":128,"line":180,"column":8,"endLine":183,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function scene_Scene_addSprite__P478598_mk(s) { +function scene_Scene_addSprite__P16772_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P478598, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P16772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8899,7 +10561,7 @@ function scene_Scene_addSprite__P478598_mk(s) { -function sprites_BaseSprite_z__P478062(s) { +function sprites_BaseSprite_z__P16236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8915,7 +10577,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C478059_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C16233_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -8923,7 +10585,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_z"] = (s.arg1); - s.tmp_1 = game_currentScene__P478375_mk(s); + s.tmp_1 = game_currentScene__P16549_mk(s); s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -8939,13 +10601,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P478062.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__P478062.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__P16236.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__P16236.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__P478062_mk(s) { +function sprites_BaseSprite_z__P16236_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P478062, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P16236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8959,7 +10621,7 @@ function sprites_BaseSprite_z__P478062_mk(s) { -function sprites_BaseSprite_z__P478061(s) { +function sprites_BaseSprite_z__P16235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8974,19 +10636,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C478059_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C16233_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P478061.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__P478061.isGetter = true; -sprites_BaseSprite_z__P478061.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__P16235.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__P16235.isGetter = true; +sprites_BaseSprite_z__P16235.info = {"start":591,"length":55,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/basesprite.ts","functionName":"z","argumentNames":["this"]} -function sprites_BaseSprite_z__P478061_mk(s) { +function sprites_BaseSprite_z__P16235_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P478061, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P16235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8995,7 +10657,7 @@ function sprites_BaseSprite_z__P478061_mk(s) { -function helpers_arrayShift__P477491(s) { +function helpers_arrayShift__P15665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9013,13 +10675,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P477491.info = {"start":2187,"length":82,"line":93,"column":4,"endLine":95,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} -helpers_arrayShift__P477491.info = {"start":2187,"length":82,"line":93,"column":4,"endLine":95,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} +helpers_arrayShift__P15665.info = {"start":2187,"length":82,"line":93,"column":4,"endLine":95,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} +helpers_arrayShift__P15665.info = {"start":2187,"length":82,"line":93,"column":4,"endLine":95,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} -function helpers_arrayShift__P477491_mk(s) { +function helpers_arrayShift__P15665_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P477491, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P15665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9028,7 +10690,7 @@ function helpers_arrayShift__P477491_mk(s) { -function particles_SprayFactory_setSpeed__P479180(s) { +function particles_SprayFactory_setSpeed__P17354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9044,7 +10706,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C479176_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C17350_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9055,13 +10717,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P479180.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__P479180.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__P17354.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__P17354.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__P479180_mk(s) { +function particles_SprayFactory_setSpeed__P17354_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P479180, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P17354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9074,7 +10736,7 @@ function particles_SprayFactory_setSpeed__P479180_mk(s) { -function particles_ConfettiFactory_constructor__P479201(s) { +function particles_ConfettiFactory_constructor__P17375(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9084,8 +10746,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.confetti___484294 = undefined; - s.i___484310 = undefined; + s.confetti___21572 = undefined; + s.i___21588 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9093,52 +10755,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C479199_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C17373_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex484297); + r0 = pxsim.image.ofBuffer(_hex21575); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex484299); + r0 = pxsim.image.ofBuffer(_hex21577); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex484301); + r0 = pxsim.image.ofBuffer(_hex21579); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex484303); + r0 = pxsim.image.ofBuffer(_hex21581); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex484305); + r0 = pxsim.image.ofBuffer(_hex21583); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___484294 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P479198_mk(s); + s.confetti___21572 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P17372_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___484294, 0); + r0 = pxsim_Array__getAt(s.confetti___21572, 0); s.tmp_0.arg3 = r0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___484310 = (1); + s.i___21588 = (1); case 1: - s.tmp_1 = r0 = s.i___484310; - r0 = pxsim_Array__length(s.confetti___484294); + s.tmp_1 = r0 = s.i___21588; + r0 = pxsim_Array__length(s.confetti___21572); 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__P479195_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P17369_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___484294, s.i___484310); + r0 = pxsim_Array__getAt(s.confetti___21572, s.i___21588); s.tmp_3.arg1 = r0; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___484310 + 1); - s.i___484310 = (r0); + r0 = (s.i___21588 + 1); + s.i___21588 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -9147,13 +10809,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P479201.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__P479201.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__P17375.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__P17375.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__P479201_mk(s) { +function particles_ConfettiFactory_constructor__P17375_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P479201, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P17375, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9161,23 +10823,23 @@ function particles_ConfettiFactory_constructor__P479201_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___484294: undefined, - i___484310: undefined, + confetti___21572: undefined, + i___21588: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex484297 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex484299 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex484301 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex484303 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex484305 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex21575 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex21577 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex21579 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex21581 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex21583 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_constructor__P479198(s) { +function particles_ShapeFactory_constructor__P17372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9195,8 +10857,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C479193_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P479187_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C17367_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P17361_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -9233,13 +10895,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P479198.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__P479198.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__P17372.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__P17372.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__P479198_mk(s) { +function particles_ShapeFactory_constructor__P17372_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P479198, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P17372, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9256,7 +10918,7 @@ function particles_ShapeFactory_constructor__P479198_mk(s) { -function particles_AreaFactory_constructor__P479187(s) { +function particles_AreaFactory_constructor__P17361(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9275,8 +10937,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C479183_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P479182_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C17357_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P17356_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -9306,9 +10968,9 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["maxLifespan"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C478962_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C17136_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P478969_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P17143_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.pc = 6; return s.tmp_1; @@ -9319,13 +10981,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P479187.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__P479187.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__P17361.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__P17361.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__P479187_mk(s) { +function particles_AreaFactory_constructor__P17361_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P479187, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P17361, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9340,7 +11002,7 @@ function particles_AreaFactory_constructor__P479187_mk(s) { -function particles_ShapeFactory_addShape__P479195(s) { +function particles_ShapeFactory_addShape__P17369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9356,7 +11018,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C479193_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C17367_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -9368,13 +11030,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P479195.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__P479195.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__P17369.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__P17369.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__P479195_mk(s) { +function particles_ShapeFactory_addShape__P17369_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P479195, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P17369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9385,7 +11047,7 @@ function particles_ShapeFactory_addShape__P479195_mk(s) { -function effects_ScreenEffect_constructor__P479253(s) { +function effects_ScreenEffect_constructor__P17427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9404,8 +11066,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C479249_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P479242_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C17423_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P17416_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -9418,13 +11080,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P479253.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__P479253.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__P17427.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__P17427.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__P479253_mk(s) { +function effects_ScreenEffect_constructor__P17427_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P479253, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P17427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9438,7 +11100,7 @@ function effects_ScreenEffect_constructor__P479253_mk(s) { -function effects_ParticleEffect_constructor__P479242(s) { +function effects_ParticleEffect_constructor__P17416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9456,7 +11118,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C479239_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C17413_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -9464,13 +11126,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P479242.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__P479242.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__P17416.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__P17416.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__P479242_mk(s) { +function effects_ParticleEffect_constructor__P17416_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P479242, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P17416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9482,7 +11144,7 @@ function effects_ParticleEffect_constructor__P479242_mk(s) { -function scene_Scene_constructor__P478602(s) { +function scene_Scene_constructor__P16776(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9499,13 +11161,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C478594_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C16768_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__C478322_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C16496_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P478343_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P16517_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -9514,17 +11176,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C478534_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C16708_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P478541_mk(s); + s.tmp_1 = scene_Camera_constructor__P16715_mk(s); s.tmp_1.arg0 = s.tmp_0; 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__C478458_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C16632_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P478464_mk(s); + s.tmp_1 = scene_Background_constructor__P16638_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -9581,13 +11243,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P478602.info = {"start":3118,"length":793,"line":94,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -scene_Scene_constructor__P478602.info = {"start":3118,"length":793,"line":94,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P16776.info = {"start":3118,"length":793,"line":94,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} +scene_Scene_constructor__P16776.info = {"start":3118,"length":793,"line":94,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","eventContext","previousScene"]} -function scene_Scene_constructor__P478602_mk(s) { +function scene_Scene_constructor__P16776_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P478602, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P16776, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9600,7 +11262,7 @@ function scene_Scene_constructor__P478602_mk(s) { -function scene_Camera_constructor__P478541(s) { +function scene_Camera_constructor__P16715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9615,7 +11277,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C478534_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C16708_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -9624,13 +11286,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P478541.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} -scene_Camera_constructor__P478541.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} +scene_Camera_constructor__P16715.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} +scene_Camera_constructor__P16715.info = {"start":456,"length":156,"line":15,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"inline","argumentNames":["this"]} -function scene_Camera_constructor__P478541_mk(s) { +function scene_Camera_constructor__P16715_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P478541, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P16715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9639,7 +11301,7 @@ function scene_Camera_constructor__P478541_mk(s) { -function scene_Background_constructor__P478464(s) { +function scene_Background_constructor__P16638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9655,7 +11317,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C478458_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C16632_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -9666,13 +11328,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P478464.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__P478464.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__P16638.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__P16638.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__P478464_mk(s) { +function scene_Background_constructor__P16638_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P478464, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P16638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9684,7 +11346,7 @@ function scene_Background_constructor__P478464_mk(s) { -function ArcadePhysicsEngine_constructor__P478343(s) { +function ArcadePhysicsEngine_constructor__P16517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9702,33 +11364,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_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__C478241_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C16415_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P478252_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P16426_mk(s); s.tmp_1.arg0 = s.tmp_0; 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__P478325_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P16499_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P478329_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P16503_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P478327_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P16501_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.pc = 4; return s.tmp_0; @@ -9738,13 +11400,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P478343.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} -ArcadePhysicsEngine_constructor__P478343.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} +ArcadePhysicsEngine_constructor__P16517.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} +ArcadePhysicsEngine_constructor__P16517.info = {"start":1330,"length":277,"line":55,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","maxVelocity","minSingleStep","maxSingleStep"]} -function ArcadePhysicsEngine_constructor__P478343_mk(s) { +function ArcadePhysicsEngine_constructor__P16517_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P478343, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P16517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9758,7 +11420,7 @@ function ArcadePhysicsEngine_constructor__P478343_mk(s) { -function ArcadePhysicsEngine_maxStep__P478329(s) { +function ArcadePhysicsEngine_maxStep__P16503(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9774,7 +11436,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9785,13 +11447,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P478329.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} -ArcadePhysicsEngine_maxStep__P478329.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxStep__P16503.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxStep__P16503.info = {"start":2058,"length":67,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxStep__P478329_mk(s) { +function ArcadePhysicsEngine_maxStep__P16503_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P478329, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P16503, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9804,7 +11466,7 @@ function ArcadePhysicsEngine_maxStep__P478329_mk(s) { -function ArcadePhysicsEngine_maxStep__P478328(s) { +function ArcadePhysicsEngine_maxStep__P16502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9819,7 +11481,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -9828,14 +11490,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P478328.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} -ArcadePhysicsEngine_maxStep__P478328.isGetter = true; -ArcadePhysicsEngine_maxStep__P478328.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} +ArcadePhysicsEngine_maxStep__P16502.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} +ArcadePhysicsEngine_maxStep__P16502.isGetter = true; +ArcadePhysicsEngine_maxStep__P16502.info = {"start":1978,"length":74,"line":81,"column":4,"endLine":83,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxStep","argumentNames":["this"]} -function ArcadePhysicsEngine_maxStep__P478328_mk(s) { +function ArcadePhysicsEngine_maxStep__P16502_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P478328, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P16502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9846,7 +11508,7 @@ function ArcadePhysicsEngine_maxStep__P478328_mk(s) { -function Fx_toInt__P477565(s) { +function Fx_toInt__P15739(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9866,13 +11528,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P477565.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} -Fx_toInt__P477565.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} +Fx_toInt__P15739.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} +Fx_toInt__P15739.info = {"start":2144,"length":86,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} -function Fx_toInt__P477565_mk(s) { +function Fx_toInt__P15739_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P477565, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P15739, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9882,7 +11544,7 @@ function Fx_toInt__P477565_mk(s) { -function ArcadePhysicsEngine_minStep__P478327(s) { +function ArcadePhysicsEngine_minStep__P16501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9898,7 +11560,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9909,13 +11571,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P478327.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} -ArcadePhysicsEngine_minStep__P478327.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_minStep__P16501.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} +ArcadePhysicsEngine_minStep__P16501.info = {"start":1905,"length":67,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this","v"]} -function ArcadePhysicsEngine_minStep__P478327_mk(s) { +function ArcadePhysicsEngine_minStep__P16501_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P478327, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P16501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9928,7 +11590,7 @@ function ArcadePhysicsEngine_minStep__P478327_mk(s) { -function ArcadePhysicsEngine_minStep__P478326(s) { +function ArcadePhysicsEngine_minStep__P16500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9943,7 +11605,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -9952,14 +11614,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P478326.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} -ArcadePhysicsEngine_minStep__P478326.isGetter = true; -ArcadePhysicsEngine_minStep__P478326.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} +ArcadePhysicsEngine_minStep__P16500.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} +ArcadePhysicsEngine_minStep__P16500.isGetter = true; +ArcadePhysicsEngine_minStep__P16500.info = {"start":1825,"length":74,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"minStep","argumentNames":["this"]} -function ArcadePhysicsEngine_minStep__P478326_mk(s) { +function ArcadePhysicsEngine_minStep__P16500_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P478326, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P16500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9970,7 +11632,7 @@ function ArcadePhysicsEngine_minStep__P478326_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P478325(s) { +function ArcadePhysicsEngine_maxSpeed__P16499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9986,7 +11648,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10003,13 +11665,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P478325.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} -ArcadePhysicsEngine_maxSpeed__P478325.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxSpeed__P16499.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} +ArcadePhysicsEngine_maxSpeed__P16499.info = {"start":1692,"length":127,"line":68,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this","v"]} -function ArcadePhysicsEngine_maxSpeed__P478325_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P16499_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P478325, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P16499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10022,7 +11684,7 @@ function ArcadePhysicsEngine_maxSpeed__P478325_mk(s) { -function Fx_neg__P477550(s) { +function Fx_neg__P15724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10040,13 +11702,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P477550.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__P477550.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__P15724.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__P15724.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__P477550_mk(s) { +function Fx_neg__P15724_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P477550, depth: s.depth + 1, + parent: s, fn: Fx_neg__P15724, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10055,7 +11717,7 @@ function Fx_neg__P477550_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P478324(s) { +function ArcadePhysicsEngine_maxSpeed__P16498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10070,7 +11732,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10079,14 +11741,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P478324.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} -ArcadePhysicsEngine_maxSpeed__P478324.isGetter = true; -ArcadePhysicsEngine_maxSpeed__P478324.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} +ArcadePhysicsEngine_maxSpeed__P16498.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} +ArcadePhysicsEngine_maxSpeed__P16498.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P16498.info = {"start":1613,"length":73,"line":64,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"maxSpeed","argumentNames":["this"]} -function ArcadePhysicsEngine_maxSpeed__P478324_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P16498_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P478324, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P16498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10097,7 +11759,7 @@ function ArcadePhysicsEngine_maxSpeed__P478324_mk(s) { -function PhysicsEngine_constructor__P478302(s) { +function PhysicsEngine_constructor__P16476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10112,18 +11774,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C478294_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C16468_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P478302.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__P478302.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__P16476.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__P16476.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__P478302_mk(s) { +function PhysicsEngine_constructor__P16476_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P478302, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P16476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10132,7 +11794,7 @@ function PhysicsEngine_constructor__P478302_mk(s) { -function sprites_SpriteMap_constructor__P478252(s) { +function sprites_SpriteMap_constructor__P16426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10147,7 +11809,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C478241_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -10156,13 +11818,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P478252.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__P478252.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__P16426.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__P16426.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__P478252_mk(s) { +function sprites_SpriteMap_constructor__P16426_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P478252, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P16426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10173,7 +11835,7 @@ function sprites_SpriteMap_constructor__P478252_mk(s) { -function scene_Scene_init__P478595(s) { +function scene_Scene_init__P16769(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10188,7 +11850,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C478594_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C16768_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10196,7 +11858,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P477917_mk(s); + s.tmp_1 = power_poke__P16091_mk(s); s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -10205,10 +11867,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["allSprites"] = (s.tmp_1); r0 = (s.arg0).fields["spriteNextId"] = (0); - r0 = pxsim_pxtcore_mkAction(1, inline__P484433); + r0 = pxsim_pxtcore_mkAction(1, inline__P21711); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P477726_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P15900_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -10216,18 +11878,18 @@ switch (step) { s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P477726_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P15900_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P478136; + s.tmp_0.arg2 = controller__moveSprites__P16310; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P484456); + r0 = pxsim_pxtcore_mkAction(1, inline__P21734); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P477726_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P15900_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -10235,10 +11897,10 @@ switch (step) { s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P484486); + r0 = pxsim_pxtcore_mkAction(1, inline__P21764); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P477726_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P15900_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -10246,10 +11908,10 @@ switch (step) { s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P484494); + r0 = pxsim_pxtcore_mkAction(1, inline__P21772); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P477726_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P15900_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -10257,19 +11919,19 @@ switch (step) { s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P477726_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P15900_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P477965; + s.tmp_0.arg2 = control___screen_update__P16139; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P484523); + r0 = pxsim_pxtcore_mkAction(1, inline__P21801); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P477500_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___478601; + s.tmp_1 = helpers_arrayForEach__P15674_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___16775; s.tmp_1.arg1 = s.tmp_0; s.pc = 11; return s.tmp_1; case 11: @@ -10279,13 +11941,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P478595.info = {"start":3921,"length":2277,"line":114,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -scene_Scene_init__P478595.info = {"start":3921,"length":2277,"line":114,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P16769.info = {"start":3921,"length":2277,"line":114,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P16769.info = {"start":3921,"length":2277,"line":114,"column":8,"endLine":167,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} -function scene_Scene_init__P478595_mk(s) { +function scene_Scene_init__P16769_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P478595, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P16769, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10296,7 +11958,7 @@ function scene_Scene_init__P478595_mk(s) { -function inline__P484433(s) { +function inline__P21711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10315,7 +11977,7 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_millis"] = (s.tmp_1); - s.tmp_0 = controller___update__P478162_mk(s); + s.tmp_0 = controller___update__P16336_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -10329,13 +11991,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P484433.info = {"start":4211,"length":217,"line":121,"column":72,"endLine":125,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -inline__P484433.info = {"start":4211,"length":217,"line":121,"column":72,"endLine":125,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P21711.info = {"start":4211,"length":217,"line":121,"column":72,"endLine":125,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P21711.info = {"start":4211,"length":217,"line":121,"column":72,"endLine":125,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P484433_mk(s) { +function inline__P21711_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P484433, depth: s.depth + 1, + parent: s, fn: inline__P21711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10347,7 +12009,7 @@ function inline__P484433_mk(s) { -function inline__P484456(s) { +function inline__P21734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10357,48 +12019,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.dt___484459 = undefined; - s.s___484473 = undefined; - s.unnamed1770___U2 = undefined; - s.unnamed1771___U3 = undefined; + s.dt___21737 = undefined; + s.s___21751 = undefined; + s.unnamed154___U2 = undefined; + s.unnamed155___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___484459 = (r0); - s.tmp_0 = PhysicsEngine__C478294_v4_2_mk(s); + s.dt___21737 = (r0); + s.tmp_0 = PhysicsEngine__C16468_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.dt___484459; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C478294_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.dt___21737; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C16468_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.move; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = scene_Camera_update__P478540_mk(s); + s.tmp_0 = scene_Camera_update__P16714_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.s___484473 = (undefined); + s.s___21751 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed1770___U2 = (r0); - s.unnamed1771___U3 = (0); + s.unnamed154___U2 = (r0); + s.unnamed155___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1771___U3; - r0 = pxsim_Array__length(s.unnamed1770___U2); + s.tmp_0 = r0 = s.unnamed155___U3; + r0 = pxsim_Array__length(s.unnamed154___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1770___U2, s.unnamed1771___U3); - s.s___484473 = (r0); + r0 = pxsim_Array__getAt(s.unnamed154___U2, s.unnamed155___U3); + s.s___21751 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___484473; + s.tmp_2.arg0 = s.s___21751; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___484459; + s.tmp_2.arg2 = s.dt___21737; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.pc = 5; return s.tmp_2; @@ -10410,37 +12072,37 @@ switch (step) { } case 5: r0 = s.retval; - r0 = (s.unnamed1771___U3 + 1); - s.unnamed1771___U3 = (r0); + r0 = (s.unnamed155___U3 + 1); + s.unnamed155___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1770___U2 = (undefined); + s.unnamed154___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P484456.info = {"start":4723,"length":328,"line":130,"column":69,"endLine":139,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -inline__P484456.info = {"start":4723,"length":328,"line":130,"column":69,"endLine":139,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P21734.info = {"start":4723,"length":328,"line":130,"column":69,"endLine":139,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P21734.info = {"start":4723,"length":328,"line":130,"column":69,"endLine":139,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P484456_mk(s) { +function inline__P21734_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P484456, depth: s.depth + 1, + parent: s, fn: inline__P21734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___484459: undefined, - s___484473: undefined, - unnamed1770___U2: undefined, - unnamed1771___U3: undefined, + dt___21737: undefined, + s___21751: undefined, + unnamed154___U2: undefined, + unnamed155___U3: undefined, } } -function inline__P484486(s) { +function inline__P21764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10450,7 +12112,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P478600_mk(s); + s.tmp_0 = scene_Scene_render__P16774_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: @@ -10459,13 +12121,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P484486.info = {"start":5226,"length":109,"line":145,"column":76,"endLine":148,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -inline__P484486.info = {"start":5226,"length":109,"line":145,"column":76,"endLine":148,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P21764.info = {"start":5226,"length":109,"line":145,"column":76,"endLine":148,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P21764.info = {"start":5226,"length":109,"line":145,"column":76,"endLine":148,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P484486_mk(s) { +function inline__P21764_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P484486, depth: s.depth + 1, + parent: s, fn: inline__P21764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -10474,7 +12136,7 @@ function inline__P484486_mk(s) { -function inline__P484494(s) { +function inline__P21772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10484,26 +12146,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___478668; + s.tmp_0 = r0 = globals.stats___16842; 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___477732; + r0 = globals.control_EventContext_onStats___15906; 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___477732; - if ((globals.control_EventContext_lastStats___477731) && (globals.control_EventContext_lastStats___477731).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___15906; + if ((globals.control_EventContext_lastStats___15905) && (globals.control_EventContext_lastStats___15905).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___477731); + pxsim_String__stringConv(globals.control_EventContext_lastStats___15905); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___477731) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___15905) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -10539,23 +12201,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___478666); + r0 = pxsim_numops_toBoolDecr(globals.debug___16840); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C478294_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C16468_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C478294_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C16468_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__P479087_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P17261_mk(s); s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P477918_mk(s); + s.tmp_0 = power_checkDeepSleep__P16092_mk(s); s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -10563,13 +12225,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P484494.info = {"start":5452,"length":504,"line":150,"column":80,"endLine":162,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -inline__P484494.info = {"start":5452,"length":504,"line":150,"column":80,"endLine":162,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P21772.info = {"start":5452,"length":504,"line":150,"column":80,"endLine":162,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} +inline__P21772.info = {"start":5452,"length":504,"line":150,"column":80,"endLine":162,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":[]} -function inline__P484494_mk(s) { +function inline__P21772_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P484494, depth: s.depth + 1, + parent: s, fn: inline__P21772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10586,7 +12248,7 @@ function inline__P484494_mk(s) { -function inline__P484523(s) { +function inline__P21801(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10611,13 +12273,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P484523.info = {"start":6174,"length":12,"line":166,"column":39,"endLine":166,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -inline__P484523.info = {"start":6174,"length":12,"line":166,"column":39,"endLine":166,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P21801.info = {"start":6174,"length":12,"line":166,"column":39,"endLine":166,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +inline__P21801.info = {"start":6174,"length":12,"line":166,"column":39,"endLine":166,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} -function inline__P484523_mk(s) { +function inline__P21801_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P484523, depth: s.depth + 1, + parent: s, fn: inline__P21801, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10627,7 +12289,7 @@ function inline__P484523_mk(s) { -function game_consoleOverlay_draw__P479087(s) { +function game_consoleOverlay_draw__P17261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10637,16 +12299,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.height___484573 = undefined; - s.top___484578 = undefined; - s.i___484584 = undefined; - s.t___484598 = undefined; - s.tOff___484606 = undefined; - s.tab___484608 = undefined; - s.unnamed1774___U6 = undefined; - s.unnamed1775___U7 = undefined; - s.padding___484610 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___479047); + s.height___21851 = undefined; + s.top___21856 = undefined; + s.i___21862 = undefined; + s.t___21876 = undefined; + s.tOff___21884 = undefined; + s.tab___21886 = undefined; + s.unnamed158___U6 = undefined; + s.unnamed159___U7 = undefined; + s.padding___21888 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___17221); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10655,7 +12317,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___478970); + r0 = pxsim_numops_toBoolDecr(globals.instance___17144); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -10671,7 +12333,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___479055; + s.tmp_7.arg0 = globals.consoleFont___17229; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -10684,10 +12346,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___484573 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___478668); + s.height___21851 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___16842); if (!r0) { step = 5; continue; } - r0 = s.height___484573; + r0 = s.height___21851; { step = 6; continue; } case 5: r0 = 0; @@ -10695,17 +12357,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___484578 = (r0); - s.i___484584 = (0); + s.top___21856 = (r0); + s.i___21862 = (0); case 7: - s.tmp_1 = r0 = s.i___484584; - r0 = pxsim_Array__length(globals.consoleStrings___479047); + s.tmp_1 = r0 = s.i___21862; + r0 = pxsim_Array__length(globals.consoleStrings___17221); 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___479047, s.i___484584); + r0 = pxsim_Array__getAt(globals.consoleStrings___17221, s.i___21862); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -10713,43 +12375,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P477510_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___479047, s.i___484584); + s.tmp_6 = helpers_stringSplit__P15684_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___17221, s.i___21862); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___484598 = (r0); - s.tOff___484606 = (0); - s.tab___484608 = (undefined); - s.unnamed1774___U6 = (s.t___484598); - s.unnamed1775___U7 = (0); + s.t___21876 = (r0); + s.tOff___21884 = (0); + s.tab___21886 = (undefined); + s.unnamed158___U6 = (s.t___21876); + s.unnamed159___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed1775___U7; - r0 = pxsim_Array__length(s.unnamed1774___U6); + s.tmp_0 = r0 = s.unnamed159___U7; + r0 = pxsim_Array__length(s.unnamed158___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed1774___U6, s.unnamed1775___U7); - s.tab___484608 = (r0); - s.tmp_2 = r0 = globals.tabSize___479049; - s.tmp_5 = r0 = s.tOff___484606; - r0 = pxsim_String_.length(s.tab___484608); + r0 = pxsim_Array__getAt(s.unnamed158___U6, s.unnamed159___U7); + s.tab___21886 = (r0); + s.tmp_2 = r0 = globals.tabSize___17223; + s.tmp_5 = r0 = s.tOff___21884; + r0 = pxsim_String_.length(s.tab___21886); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___479049); + r0 = (s.tmp_4 % globals.tabSize___17223); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___484610 = (r0); - s.tmp_0 = helpers_imagePrint__P477961_mk(s); - s.tmp_0.arg0 = globals.screen___477998; - s.tmp_0.arg1 = s.tab___484608; - s.tmp_2 = r0 = s.tOff___484606; + s.padding___21888 = (r0); + s.tmp_0 = helpers_imagePrint__P16135_mk(s); + s.tmp_0.arg0 = globals.screen___16172; + s.tmp_0.arg1 = s.tab___21886; + s.tmp_2 = r0 = s.tOff___21884; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___479055; + s.tmp_4.arg0 = globals.consoleFont___17229; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -10765,50 +12427,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___484578; - r0 = (s.i___484584 * s.height___484573); + s.tmp_5 = r0 = s.top___21856; + r0 = (s.i___21862 * s.height___21851); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___479046; - s.tmp_0.arg5 = globals.consoleFont___479055; + s.tmp_0.arg4 = globals.consoleColor___17220; + s.tmp_0.arg5 = globals.consoleFont___17229; s.tmp_0.arg6 = undefined; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___484606; - r0 = pxsim_String_.length(s.tab___484608); + s.tmp_0 = r0 = s.tOff___21884; + r0 = pxsim_String_.length(s.tab___21886); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___484610); + r0 = (s.tmp_2 + s.padding___21888); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___484606 = (r0); - r0 = (s.unnamed1775___U7 + 1); - s.unnamed1775___U7 = (r0); + s.tOff___21884 = (r0); + r0 = (s.unnamed159___U7 + 1); + s.unnamed159___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed1774___U6 = (undefined); + s.unnamed158___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P477961_mk(s); - s.tmp_0.arg0 = globals.screen___477998; - r0 = pxsim_Array__getAt(globals.consoleStrings___479047, s.i___484584); + s.tmp_0 = helpers_imagePrint__P16135_mk(s); + s.tmp_0.arg0 = globals.screen___16172; + r0 = pxsim_Array__getAt(globals.consoleStrings___17221, s.i___21862); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___484578; - r0 = (s.i___484584 * s.height___484573); + s.tmp_1 = r0 = s.top___21856; + r0 = (s.i___21862 * s.height___21851); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___479046; - s.tmp_0.arg5 = globals.consoleFont___479055; + s.tmp_0.arg4 = globals.consoleColor___17220; + s.tmp_0.arg5 = globals.consoleFont___17229; s.tmp_0.arg6 = undefined; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___484584 + 1); - s.i___484584 = (r0); + r0 = (s.i___21862 + 1); + s.i___21862 = (r0); { step = 7; continue; } case 12: case 13: @@ -10816,13 +12478,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P479087.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__P479087.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__P17261.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__P17261.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__P479087_mk(s) { +function game_consoleOverlay_draw__P17261_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P479087, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P17261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10832,22 +12494,22 @@ function game_consoleOverlay_draw__P479087_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___484573: undefined, - top___484578: undefined, - i___484584: undefined, - t___484598: undefined, - tOff___484606: undefined, - tab___484608: undefined, - unnamed1774___U6: undefined, - unnamed1775___U7: undefined, - padding___484610: undefined, + height___21851: undefined, + top___21856: undefined, + i___21862: undefined, + t___21876: undefined, + tOff___21884: undefined, + tab___21886: undefined, + unnamed158___U6: undefined, + unnamed159___U7: undefined, + padding___21888: undefined, } } -function scene_systemMenu_isVisible__P479005(s) { +function scene_systemMenu_isVisible__P17179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10857,7 +12519,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___478970); + r0 = pxsim_numops_toBoolDecr(globals.instance___17144); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -10867,13 +12529,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P479005.info = {"start":12708,"length":62,"line":385,"column":4,"endLine":387,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} -scene_systemMenu_isVisible__P479005.info = {"start":12708,"length":62,"line":385,"column":4,"endLine":387,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} +scene_systemMenu_isVisible__P17179.info = {"start":12708,"length":62,"line":385,"column":4,"endLine":387,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} +scene_systemMenu_isVisible__P17179.info = {"start":12708,"length":62,"line":385,"column":4,"endLine":387,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"isVisible","argumentNames":[]} -function scene_systemMenu_isVisible__P479005_mk(s) { +function scene_systemMenu_isVisible__P17179_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P479005, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P17179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10884,7 +12546,7 @@ function scene_systemMenu_isVisible__P479005_mk(s) { -function helpers_imagePrint__P477961(s) { +function helpers_imagePrint__P16135(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10894,31 +12556,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.x0___484684 = undefined; - s.cp___484686 = undefined; - s.mult___484687 = undefined; - s.dataW___484693 = undefined; - s.dataH___484699 = undefined; - s.byteHeight___484705 = undefined; - s.charSize___484711 = undefined; - s.dataSize___484715 = undefined; - s.fontdata___484719 = undefined; - s.lastchar___484723 = undefined; - s.imgBuf___484730 = undefined; - s.xOffset___484754 = undefined; - s.yOffset___484755 = undefined; - s.ch___484771 = undefined; - s.l___484791 = undefined; - s.r___484792 = undefined; - s.off___484794 = undefined; - s.guess___484795 = undefined; - s.m___484816 = undefined; - s.v___484825 = undefined; - s.i___484883 = undefined; - s.j___484888 = undefined; - s.mask___484889 = undefined; - s.c___484890 = undefined; - s.n___484907 = undefined; + s.x0___21962 = undefined; + s.cp___21964 = undefined; + s.mult___21965 = undefined; + s.dataW___21971 = undefined; + s.dataH___21977 = undefined; + s.byteHeight___21983 = undefined; + s.charSize___21989 = undefined; + s.dataSize___21993 = undefined; + s.fontdata___21997 = undefined; + s.lastchar___22001 = undefined; + s.imgBuf___22008 = undefined; + s.xOffset___22032 = undefined; + s.yOffset___22033 = undefined; + s.ch___22049 = undefined; + s.l___22069 = undefined; + s.r___22070 = undefined; + s.off___22072 = undefined; + s.guess___22073 = undefined; + s.m___22094 = undefined; + s.v___22103 = undefined; + s.i___22161 = undefined; + s.j___22166 = undefined; + s.mask___22167 = undefined; + s.c___22168 = undefined; + s.n___22185 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10939,7 +12601,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P477953_mk(s); + s.tmp_2 = image_getFontForText__P16127_mk(s); s.tmp_2.arg0 = s.arg1; s.pc = 39; return s.tmp_2; case 39: @@ -10956,8 +12618,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___484684 = (s.arg2); - s.cp___484686 = (0); + s.x0___21962 = (s.arg2); + s.cp___21964 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -10991,7 +12653,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___484687 = (s.tmp_3); + s.mult___21965 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -11005,8 +12667,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___484687); - s.dataW___484693 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___21965); + s.dataW___21971 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -11020,16 +12682,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___484687); - s.dataH___484699 = (r0); - r0 = (s.dataH___484699 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___21965); + s.dataH___21977 = (r0); + r0 = (s.dataH___21977 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___484705 = (r0); - r0 = (s.byteHeight___484705 * s.dataW___484693); - s.charSize___484711 = (r0); - r0 = (2 + s.charSize___484711); - s.dataSize___484715 = (r0); + s.byteHeight___21983 = (r0); + r0 = (s.byteHeight___21983 * s.dataW___21971); + s.charSize___21989 = (r0); + r0 = (2 + s.charSize___21989); + s.dataSize___21993 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -11042,44 +12704,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___484719 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___484719); + s.fontdata___21997 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___21997); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___484715); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___21993); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___484723 = (r0); - r0 = (s.mult___484687 == 1); + s.lastchar___22001 = (r0); + r0 = (s.mult___21965 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___484711); + r0 = (8 + s.charSize___21989); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___484730 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___484730, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___484730, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___484730, 2, s.dataW___484693); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___484730, 4, s.dataH___484699); + s.imgBuf___22008 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___22008, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___22008, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___22008, 2, s.dataW___21971); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___22008, 4, s.dataH___21977); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___484686; + s.tmp_1 = r0 = s.cp___21964; 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___484754 = (0); - s.yOffset___484755 = (0); + s.xOffset___22032 = (0); + s.yOffset___22033 = (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___484686; + s.tmp_1 = r0 = s.cp___21964; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -11089,7 +12751,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___484686); + r0 = pxsim_Array__getAt(s.arg6, s.cp___21964); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -11101,9 +12763,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___484754 = (r0); + s.xOffset___22032 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___484686); + r0 = pxsim_Array__getAt(s.arg6, s.cp___21964); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -11115,15 +12777,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___484755 = (r0); + s.yOffset___22033 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___484686; + s.tmp_0 = r0 = s.cp___21964; r0 = (s.tmp_0 + 1); - s.cp___484686 = (r0); + s.cp___21964 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___484771 = (r0); - r0 = (s.ch___484771 == 10); + s.ch___22049 = (r0); + r0 = (s.ch___22049 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -11145,89 +12807,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___484684); + s.arg2 = (s.x0___21962); case 14: case 15: - r0 = (s.ch___484771 < 32); + r0 = (s.ch___22049 < 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___484791 = (0); - s.r___484792 = (s.lastchar___484723); - s.off___484794 = (0); - r0 = (s.ch___484771 - 32); + s.l___22069 = (0); + s.r___22070 = (s.lastchar___22001); + s.off___22072 = (0); + r0 = (s.ch___22049 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___484715); - s.guess___484795 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___484719, 4, s.guess___484795); + r0 = (s.tmp_0 * s.dataSize___21993); + s.guess___22073 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___21997, 4, s.guess___22073); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___484771); + r0 = (s.tmp_1 == s.ch___22049); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___484794 = (s.guess___484795); + s.off___22072 = (s.guess___22073); { step = 25; continue; } case 18: case 19: - r0 = (s.l___484791 <= s.r___484792); + r0 = (s.l___22069 <= s.r___22070); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___484791; - r0 = (s.r___484792 - s.l___484791); + s.tmp_1 = r0 = s.l___22069; + r0 = (s.r___22070 - s.l___22069); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___484816 = (r0); - s.tmp_0 = r0 = s.fontdata___484719; - r0 = (s.m___484816 * s.dataSize___484715); + s.m___22094 = (r0); + s.tmp_0 = r0 = s.fontdata___21997; + r0 = (s.m___22094 * s.dataSize___21993); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___484825 = (r0); - r0 = (s.v___484825 == s.ch___484771); + s.v___22103 = (r0); + r0 = (s.v___22103 == s.ch___22049); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___484816 * s.dataSize___484715); - s.off___484794 = (r0); + r0 = (s.m___22094 * s.dataSize___21993); + s.off___22072 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___484825 < s.ch___484771); + r0 = (s.v___22103 < s.ch___22049); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___484816 + 1); - s.l___484791 = (r0); + r0 = (s.m___22094 + 1); + s.l___22069 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___484816 - 1); - s.r___484792 = (r0); + r0 = (s.m___22094 - 1); + s.r___22070 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___484687 == 1); + r0 = (s.mult___21965 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___484730; - s.tmp_3 = r0 = s.fontdata___484719; - r0 = (s.off___484794 + 2); + s.tmp_1 = r0 = s.imgBuf___22008; + s.tmp_3 = r0 = s.fontdata___21997; + r0 = (s.off___22072 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___484711); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___21989); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P477936_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P16110_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___484730; - r0 = (s.arg2 + s.xOffset___484754); + s.tmp_0.arg1 = s.imgBuf___22008; + r0 = (s.arg2 + s.xOffset___22032); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___484755); + r0 = (s.arg3 + s.yOffset___22033); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.pc = 48; return s.tmp_0; @@ -11251,88 +12913,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___484794 + 2); - s.off___484794 = (r0); - s.i___484883 = (0); + r0 = (s.off___22072 + 2); + s.off___22072 = (r0); + s.i___22161 = (0); case 27: - r0 = (s.i___484883 < s.dataW___484693); + r0 = (s.i___22161 < s.dataW___21971); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___484888 = (0); - s.mask___484889 = (1); - s.tmp_0 = r0 = s.off___484794; + s.j___22166 = (0); + s.mask___22167 = (1); + s.tmp_0 = r0 = s.off___22072; r0 = (s.tmp_0 + 1); - s.off___484794 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___484719, s.tmp_0); - s.c___484890 = (r0); + s.off___22072 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___21997, s.tmp_0); + s.c___22168 = (r0); case 28: - r0 = (s.j___484888 < s.dataH___484699); + r0 = (s.j___22166 < s.dataH___21977); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___484889 == 256); + r0 = (s.mask___22167 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___484794; + s.tmp_2 = r0 = s.off___22072; r0 = (s.tmp_2 + 1); - s.off___484794 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___484719, s.tmp_2); - s.c___484890 = (r0); - s.mask___484889 = (1); + s.off___22072 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___21997, s.tmp_2); + s.c___22168 = (r0); + s.mask___22167 = (1); case 29: case 30: - s.n___484907 = (0); + s.n___22185 = (0); case 31: - r0 = (s.c___484890 & s.mask___484889); + r0 = (s.c___22168 & s.mask___22167); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___484907 + 1); - s.n___484907 = (r0); - r0 = (s.mask___484889 << 1); - s.mask___484889 = (r0); + r0 = (s.n___22185 + 1); + s.n___22185 = (r0); + r0 = (s.mask___22167 << 1); + s.mask___22167 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___484907); + r0 = pxsim_numops_toBoolDecr(s.n___22185); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P477937_mk(s); + s.tmp_0 = helpers_imageFillRect__P16111_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___484754 * s.mult___484687); + r0 = (s.xOffset___22032 * s.mult___21965); 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___484888 + s.yOffset___484755); + r0 = (s.j___22166 + s.yOffset___22033); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___484687); + r0 = (s.tmp_5 * s.mult___21965); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___484687; - r0 = (s.mult___484687 * s.n___484907); + s.tmp_0.arg3 = s.mult___21965; + r0 = (s.mult___21965 * s.n___22185); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___484888 + s.n___484907); - s.j___484888 = (r0); + r0 = (s.j___22166 + s.n___22185); + s.j___22166 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___484889 << 1); - s.mask___484889 = (r0); - r0 = (s.j___484888 + 1); - s.j___484888 = (r0); + r0 = (s.mask___22167 << 1); + s.mask___22167 = (r0); + r0 = (s.j___22166 + 1); + s.j___22166 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___484687); + r0 = (s.arg2 + s.mult___21965); s.arg2 = (r0); - r0 = (s.i___484883 + 1); - s.i___484883 = (r0); + r0 = (s.i___22161 + 1); + s.i___22161 = (r0); { step = 27; continue; } case 36: case 37: @@ -11342,13 +13004,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P477961.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__P477961.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__P16135.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__P16135.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__P477961_mk(s) { +function helpers_imagePrint__P16135_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P477961, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P16135, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11356,31 +13018,31 @@ function helpers_imagePrint__P477961_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___484684: undefined, - cp___484686: undefined, - mult___484687: undefined, - dataW___484693: undefined, - dataH___484699: undefined, - byteHeight___484705: undefined, - charSize___484711: undefined, - dataSize___484715: undefined, - fontdata___484719: undefined, - lastchar___484723: undefined, - imgBuf___484730: undefined, - xOffset___484754: undefined, - yOffset___484755: undefined, - ch___484771: undefined, - l___484791: undefined, - r___484792: undefined, - off___484794: undefined, - guess___484795: undefined, - m___484816: undefined, - v___484825: undefined, - i___484883: undefined, - j___484888: undefined, - mask___484889: undefined, - c___484890: undefined, - n___484907: undefined, + x0___21962: undefined, + cp___21964: undefined, + mult___21965: undefined, + dataW___21971: undefined, + dataH___21977: undefined, + byteHeight___21983: undefined, + charSize___21989: undefined, + dataSize___21993: undefined, + fontdata___21997: undefined, + lastchar___22001: undefined, + imgBuf___22008: undefined, + xOffset___22032: undefined, + yOffset___22033: undefined, + ch___22049: undefined, + l___22069: undefined, + r___22070: undefined, + off___22072: undefined, + guess___22073: undefined, + m___22094: undefined, + v___22103: undefined, + i___22161: undefined, + j___22166: undefined, + mask___22167: undefined, + c___22168: undefined, + n___22185: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11394,7 +13056,7 @@ function helpers_imagePrint__P477961_mk(s) { -function image_getFontForText__P477953(s) { +function image_getFontForText__P16127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11404,53 +13066,53 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___485003 = undefined; + s.i___22281 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___485003 = (0); + s.i___22281 = (0); case 1: - s.tmp_1 = r0 = s.i___485003; + s.tmp_1 = r0 = s.i___22281; 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___485003); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___22281); 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___477952; + r0 = globals.font12___16126; { step = 5; continue; } case 2: case 3: - r0 = (s.i___485003 + 1); - s.i___485003 = (r0); + r0 = (s.i___22281 + 1); + s.i___22281 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___477950; + r0 = globals.font8___16124; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P477953.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__P477953.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__P16127.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__P16127.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__P477953_mk(s) { +function image_getFontForText__P16127_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P477953, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P16127, 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___485003: undefined, + i___22281: undefined, arg0: undefined, } } @@ -11458,7 +13120,7 @@ function image_getFontForText__P477953_mk(s) { -function helpers_imageFillRect__P477937(s) { +function helpers_imageFillRect__P16111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11478,14 +13140,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P477934_mk(s); + s.tmp_2 = helpers_pack__P16108_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P477934_mk(s); + s.tmp_4 = helpers_pack__P16108_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.pc = 2; return s.tmp_4; @@ -11497,13 +13159,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P477937.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -helpers_imageFillRect__P477937.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P16111.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P16111.info = {"start":3650,"length":159,"line":131,"column":4,"endLine":133,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P477937_mk(s) { +function helpers_imageFillRect__P16111_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P477937, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P16111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11522,7 +13184,7 @@ function helpers_imageFillRect__P477937_mk(s) { -function helpers_pack__P477934(s) { +function helpers_pack__P16108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11537,7 +13199,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P477513_mk(s); + s.tmp_2 = Math_clamp__P15687_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -11548,7 +13210,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P477513_mk(s); + s.tmp_5 = Math_clamp__P15687_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -11563,13 +13225,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P477934.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -helpers_pack__P477934.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P16108.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P16108.info = {"start":3152,"length":145,"line":120,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P477934_mk(s) { +function helpers_pack__P16108_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P477934, depth: s.depth + 1, + parent: s, fn: helpers_pack__P16108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11585,7 +13247,7 @@ function helpers_pack__P477934_mk(s) { -function helpers_imageDrawIcon__P477936(s) { +function helpers_imageDrawIcon__P16110(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11605,7 +13267,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P477934_mk(s); + s.tmp_3 = helpers_pack__P16108_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.pc = 1; return s.tmp_3; @@ -11617,13 +13279,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P477936.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -helpers_imageDrawIcon__P477936.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P16110.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P16110.info = {"start":3500,"length":145,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P477936_mk(s) { +function helpers_imageDrawIcon__P16110_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P477936, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P16110, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11640,7 +13302,7 @@ function helpers_imageDrawIcon__P477936_mk(s) { -function helpers_stringSplit__P477510(s) { +function helpers_stringSplit__P15684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11650,15 +13312,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.A___485026 = undefined; - s.lim___485028 = undefined; - s.s___485044 = undefined; - s.p___485047 = undefined; - s.R___485048 = undefined; - s.z___485062 = undefined; - s.T___485075 = undefined; - s.q___485076 = undefined; - s.e___485082 = undefined; + s.A___22304 = undefined; + s.lim___22306 = undefined; + s.s___22322 = undefined; + s.p___22325 = undefined; + s.R___22326 = undefined; + s.z___22340 = undefined; + s.T___22353 = undefined; + s.q___22354 = undefined; + s.e___22360 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11666,36 +13328,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___485026 = (r0); - s.lim___485028 = (0); + s.A___22304 = (r0); + s.lim___22306 = (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___485028 = (r0); + s.lim___22306 = (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___485028 = (0); + s.lim___22306 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___485028 = (r0); + s.lim___22306 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___485044 = (r0); - s.p___485047 = (0); - s.R___485048 = (s.arg1); - r0 = (s.lim___485028 == 0); + s.s___22322 = (r0); + s.p___22325 = (0); + s.R___22326 = (s.arg1); + r0 = (s.lim___22306 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___485026; + r0 = s.A___22304; { step = 21; continue; } case 5: case 6: @@ -11703,124 +13365,124 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array_.setAt(s.A___485026, 0, s.arg0); - r0 = s.A___485026; + r0 = pxsim_Array_.setAt(s.A___22304, 0, s.arg0); + r0 = s.A___22304; { step = 21; continue; } case 7: case 8: - r0 = (s.s___485044 == 0); + r0 = (s.s___22322 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P477511_mk(s); + s.tmp_1 = helpers_splitMatch__P15685_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___485048; + s.tmp_1.arg2 = s.R___22326; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___485062 = (r0); - r0 = (s.z___485062 > -1); + s.z___22340 = (r0); + r0 = (s.z___22340 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___485026; + r0 = s.A___22304; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___485026, 0, s.arg0); - r0 = s.A___485026; + r0 = pxsim_Array_.setAt(s.A___22304, 0, s.arg0); + r0 = s.A___22304; { step = 21; continue; } case 11: case 12: - s.q___485076 = (s.p___485047); + s.q___22354 = (s.p___22325); case 13: - r0 = (s.q___485076 != s.s___485044); + r0 = (s.q___22354 != s.s___22322); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P477511_mk(s); + s.tmp_1 = helpers_splitMatch__P15685_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___485076; - s.tmp_1.arg2 = s.R___485048; + s.tmp_1.arg1 = s.q___22354; + s.tmp_1.arg2 = s.R___22326; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___485082 = (r0); - r0 = (s.e___485082 < 0); + s.e___22360 = (r0); + r0 = (s.e___22360 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___485076 + 1); - s.q___485076 = (r0); + r0 = (s.q___22354 + 1); + s.q___22354 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___485082 == s.p___485047); + r0 = (s.e___22360 == s.p___22325); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___485076 + 1); - s.q___485076 = (r0); + r0 = (s.q___22354 + 1); + s.q___22354 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P477508_mk(s); + s.tmp_0 = helpers_stringSlice__P15682_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___485047; - s.tmp_0.arg2 = s.q___485076; + s.tmp_0.arg1 = s.p___22325; + s.tmp_0.arg2 = s.q___22354; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___485075 = (r0); - r0 = pxsim_Array__push(s.A___485026, s.T___485075); - r0 = pxsim_Array__length(s.A___485026); + s.T___22353 = (r0); + r0 = pxsim_Array__push(s.A___22304, s.T___22353); + r0 = pxsim_Array__length(s.A___22304); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___485028); + r0 = (s.tmp_1 == s.lim___22306); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___485026; + r0 = s.A___22304; { step = 21; continue; } case 16: case 17: - s.p___485047 = (s.e___485082); - s.q___485076 = (s.p___485047); + s.p___22325 = (s.e___22360); + s.q___22354 = (s.p___22325); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P477508_mk(s); + s.tmp_0 = helpers_stringSlice__P15682_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___485047; - s.tmp_0.arg2 = s.q___485076; + s.tmp_0.arg1 = s.p___22325; + s.tmp_0.arg2 = s.q___22354; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___485075 = (r0); - r0 = pxsim_Array__push(s.A___485026, s.T___485075); - r0 = s.A___485026; + s.T___22353 = (r0); + r0 = pxsim_Array__push(s.A___22304, s.T___22353); + r0 = s.A___22304; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P477510.info = {"start":10072,"length":1319,"line":347,"column":4,"endLine":391,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -helpers_stringSplit__P477510.info = {"start":10072,"length":1319,"line":347,"column":4,"endLine":391,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P15684.info = {"start":10072,"length":1319,"line":347,"column":4,"endLine":391,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P15684.info = {"start":10072,"length":1319,"line":347,"column":4,"endLine":391,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P477510_mk(s) { +function helpers_stringSplit__P15684_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P477510, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P15684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___485026: undefined, - lim___485028: undefined, - s___485044: undefined, - p___485047: undefined, - R___485048: undefined, - z___485062: undefined, - T___485075: undefined, - q___485076: undefined, - e___485082: undefined, + A___22304: undefined, + lim___22306: undefined, + s___22322: undefined, + p___22325: undefined, + R___22326: undefined, + z___22340: undefined, + T___22353: undefined, + q___22354: undefined, + e___22360: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11830,7 +13492,7 @@ function helpers_stringSplit__P477510_mk(s) { -function helpers_splitMatch__P477511(s) { +function helpers_splitMatch__P15685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11840,9 +13502,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.r___485159 = undefined; - s.s___485162 = undefined; - s.i___485172 = undefined; + s.r___22437 = undefined; + s.s___22440 = undefined; + s.i___22450 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11850,12 +13512,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___485159 = (r0); + s.r___22437 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___485162 = (r0); - r0 = (s.arg1 + s.r___485159); + s.s___22440 = (r0); + r0 = (s.arg1 + s.r___22437); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___485162); + r0 = (s.tmp_1 > s.s___22440); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -11863,18 +13525,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___485172 = (0); + s.i___22450 = (0); case 3: - r0 = (s.i___485172 < s.r___485159); + r0 = (s.i___22450 < s.r___22437); 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___485172); + r0 = (s.arg1 + s.i___22450); 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___485172); + r0 = pxsim_String_.charAt(s.arg2, s.i___22450); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -11884,22 +13546,22 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___485172 + 1); - s.i___485172 = (r0); + r0 = (s.i___22450 + 1); + s.i___22450 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___485159); + r0 = (s.arg1 + s.r___22437); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P477511.info = {"start":11397,"length":289,"line":393,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} -helpers_splitMatch__P477511.info = {"start":11397,"length":289,"line":393,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} +helpers_splitMatch__P15685.info = {"start":11397,"length":289,"line":393,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} +helpers_splitMatch__P15685.info = {"start":11397,"length":289,"line":393,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"splitMatch","argumentNames":["S","q","R"]} -function helpers_splitMatch__P477511_mk(s) { +function helpers_splitMatch__P15685_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P477511, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P15685, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11907,9 +13569,9 @@ function helpers_splitMatch__P477511_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___485159: undefined, - s___485162: undefined, - i___485172: undefined, + r___22437: undefined, + s___22440: undefined, + i___22450: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11919,7 +13581,7 @@ function helpers_splitMatch__P477511_mk(s) { -function helpers_stringSlice__P477508(s) { +function helpers_stringSlice__P15682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11929,7 +13591,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___485127 = undefined; + s.len___22405 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11937,13 +13599,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___485127 = (r0); + s.len___22405 = (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__P477516_mk(s); - r0 = (s.len___485127 + s.arg1); + s.tmp_1 = Math_max__P15690_mk(s); + r0 = (s.len___22405 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.pc = 7; return s.tmp_1; @@ -11956,14 +13618,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___485127); + s.arg2 = (s.len___22405); case 3: case 4: r0 = (s.arg2 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.len___485127 + s.arg2); + r0 = (s.len___22405 + s.arg2); s.arg2 = (r0); case 5: case 6: @@ -11975,18 +13637,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P477508.info = {"start":9189,"length":365,"line":313,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -helpers_stringSlice__P477508.info = {"start":9189,"length":365,"line":313,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P15682.info = {"start":9189,"length":365,"line":313,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P15682.info = {"start":9189,"length":365,"line":313,"column":4,"endLine":329,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P477508_mk(s) { +function helpers_stringSlice__P15682_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P477508, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P15682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___485127: undefined, + len___22405: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11996,7 +13658,7 @@ function helpers_stringSlice__P477508_mk(s) { -function scene_Scene_render__P478600(s) { +function scene_Scene_render__P16774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12006,15 +13668,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___485259 = undefined; - s.unnamed1772___U1 = undefined; - s.unnamed1773___U2 = undefined; + s.s___22537 = undefined; + s.unnamed156___U1 = undefined; + s.unnamed157___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C478594_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C16768_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -12045,7 +13707,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - s.tmp_3 = scene_Scene_render__P478600_mk(s); + s.tmp_3 = scene_Scene_render__P16774_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.pc = 12; return s.tmp_3; @@ -12053,7 +13715,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P478463_mk(s); + s.tmp_0 = scene_Background_draw__P16637_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.pc = 13; return s.tmp_0; @@ -12066,10 +13728,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P477496_mk(s); + s.tmp_2 = helpers_arraySort__P15670_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P485235; + s.tmp_2.arg1 = inline__P22513; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -12081,20 +13743,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___485259 = (undefined); + s.s___22537 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed1772___U1 = (r0); - s.unnamed1773___U2 = (0); + s.unnamed156___U1 = (r0); + s.unnamed157___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed1773___U2; - r0 = pxsim_Array__length(s.unnamed1772___U1); + s.tmp_0 = r0 = s.unnamed157___U2; + r0 = pxsim_Array__length(s.unnamed156___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed1772___U1, s.unnamed1773___U2); - s.s___485259 = (r0); + r0 = pxsim_Array__getAt(s.unnamed156___U1, s.unnamed157___U2); + s.s___22537 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___485259; + s.tmp_2.arg0 = s.s___22537; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -12108,11 +13770,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed1773___U2 + 1); - s.unnamed1773___U2 = (r0); + r0 = (s.unnamed157___U2 + 1); + s.unnamed157___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed1772___U1 = (undefined); + s.unnamed156___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -12124,22 +13786,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P478600.info = {"start":7397,"length":917,"line":208,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -scene_Scene_render__P478600.info = {"start":7397,"length":917,"line":208,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P16774.info = {"start":7397,"length":917,"line":208,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P16774.info = {"start":7397,"length":917,"line":208,"column":8,"endLine":232,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} -function scene_Scene_render__P478600_mk(s) { +function scene_Scene_render__P16774_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P478600, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P16774, 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___485259: undefined, - unnamed1772___U1: undefined, - unnamed1773___U2: undefined, + s___22537: undefined, + unnamed156___U1: undefined, + unnamed157___U2: undefined, arg0: undefined, } } @@ -12147,7 +13809,7 @@ function scene_Scene_render__P478600_mk(s) { -function inline__P485235(s) { +function inline__P22513(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12229,13 +13891,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P485235.info = {"start":7975,"length":52,"line":222,"column":37,"endLine":222,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -inline__P485235.info = {"start":7975,"length":52,"line":222,"column":37,"endLine":222,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P22513.info = {"start":7975,"length":52,"line":222,"column":37,"endLine":222,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +inline__P22513.info = {"start":7975,"length":52,"line":222,"column":37,"endLine":222,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} -function inline__P485235_mk(s) { +function inline__P22513_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P485235, depth: s.depth + 1, + parent: s, fn: inline__P22513, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12255,7 +13917,7 @@ function inline__P485235_mk(s) { -function scene_Background_draw__P478463(s) { +function scene_Background_draw__P16637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12270,27 +13932,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C478458_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C16632_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___477998, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___16172, 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___477998, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___16172, s.tmp_1, 0, 0); case 1: case 2: r0 = s.arg0.fields["_layers"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P485295); + r0 = pxsim_pxtcore_mkAction(1, inline__P22573); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P477500_mk(s); + s.tmp_2 = helpers_arrayForEach__P15674_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -12303,13 +13965,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P478463.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__P478463.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__P16637.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__P16637.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__P478463_mk(s) { +function scene_Background_draw__P16637_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P478463, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P16637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12321,7 +13983,7 @@ function scene_Background_draw__P478463_mk(s) { -function inline__P485295(s) { +function inline__P22573(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12331,8 +13993,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ox___485297 = undefined; - s.oy___485311 = undefined; + s.ox___22575 = undefined; + s.oy___22589 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -12347,7 +14009,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___485297 = (r0); + s.ox___22575 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -12358,11 +14020,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___485311 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P478466_mk(s); + s.oy___22589 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P16640_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___485297; - s.tmp_0.arg2 = s.oy___485311; + s.tmp_0.arg1 = s.ox___22575; + s.tmp_0.arg2 = s.oy___22589; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -12370,20 +14032,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P485295.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} -inline__P485295.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P22573.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} +inline__P22573.info = {"start":1373,"length":312,"line":53,"column":37,"endLine":58,"endColumn":17,"fileName":"pxt_modules/game/background.ts","functionName":"inline","argumentNames":["layer"]} -function inline__P485295_mk(s) { +function inline__P22573_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P485295, depth: s.depth + 1, + parent: s, fn: inline__P22573, 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___485297: undefined, - oy___485311: undefined, + ox___22575: undefined, + oy___22589: undefined, arg0: undefined, } } @@ -12391,7 +14053,7 @@ function inline__P485295_mk(s) { -function scene_BackgroundLayer_draw__P478466(s) { +function scene_BackgroundLayer_draw__P16640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12401,19 +14063,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.w___485330 = undefined; - s.h___485333 = undefined; - s.pw___485336 = undefined; - s.ph___485341 = undefined; - s.rx___485350 = undefined; - s.ry___485353 = undefined; - s.y___485427 = undefined; - s.py___485428 = undefined; - s.dh___485437 = undefined; - s.x___485445 = undefined; - s.rxl___485446 = undefined; - s.px___485452 = undefined; - s.dw___485456 = undefined; + s.w___22608 = undefined; + s.h___22611 = undefined; + s.pw___22614 = undefined; + s.ph___22619 = undefined; + s.rx___22628 = undefined; + s.ry___22631 = undefined; + s.y___22705 = undefined; + s.py___22706 = undefined; + s.dh___22715 = undefined; + s.x___22723 = undefined; + s.rxl___22724 = undefined; + s.px___22730 = undefined; + s.dw___22734 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12421,20 +14083,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C478465_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___477998); - s.w___485330 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___477998); - s.h___485333 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C16639_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___16172); + s.w___22608 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___16172); + s.h___22611 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___485336 = (r0); + s.pw___22614 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___485341 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___485336); + s.ph___22619 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___22614); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -12443,7 +14105,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___485341); + r0 = pxsim_numops_toBoolDecr(s.ph___22619); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -12455,9 +14117,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___485350 = (r0); + s.rx___22628 = (r0); r0 = (0 - s.arg2); - s.ry___485353 = (r0); + s.ry___22631 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -12467,20 +14129,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___485350; - r0 = (s.w___485330 + s.pw___485336); + s.tmp_1 = r0 = s.rx___22628; + r0 = (s.w___22608 + s.pw___22614); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___485350 = (r0); + s.rx___22628 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___485350; - r0 = (s.w___485330 + s.pw___485336); + s.tmp_0 = r0 = s.rx___22628; + r0 = (s.w___22608 + s.pw___22614); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___485350 = (r0); + s.rx___22628 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -12491,120 +14153,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___485353; - r0 = (s.h___485333 + s.ph___485341); + s.tmp_1 = r0 = s.ry___22631; + r0 = (s.h___22611 + s.ph___22619); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___485353 = (r0); + s.ry___22631 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___485353; - r0 = (s.h___485333 + s.ph___485341); + s.tmp_0 = r0 = s.ry___22631; + r0 = (s.h___22611 + s.ph___22619); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___485353 = (r0); + s.ry___22631 = (r0); case 10: - r0 = (s.rx___485350 % s.w___485330); - s.rx___485350 = (r0); - r0 = (s.rx___485350 < 0); + r0 = (s.rx___22628 % s.w___22608); + s.rx___22628 = (r0); + r0 = (s.rx___22628 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___485350 + s.w___485330); - s.rx___485350 = (r0); + r0 = (s.rx___22628 + s.w___22608); + s.rx___22628 = (r0); case 11: case 12: - r0 = (s.ry___485353 % s.h___485333); - s.ry___485353 = (r0); - r0 = (s.ry___485353 < 0); + r0 = (s.ry___22631 % s.h___22611); + s.ry___22631 = (r0); + r0 = (s.ry___22631 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___485353 + s.h___485333); - s.ry___485353 = (r0); + r0 = (s.ry___22631 + s.h___22611); + s.ry___22631 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___485350); - s.rx___485350 = (r0); - r0 = pxsim.Math_.floor(s.ry___485353); - s.ry___485353 = (r0); - s.y___485427 = (0); - s.py___485428 = (0); + r0 = pxsim.Math_.floor(s.rx___22628); + s.rx___22628 = (r0); + r0 = pxsim.Math_.floor(s.ry___22631); + s.ry___22631 = (r0); + s.y___22705 = (0); + s.py___22706 = (0); case 15: - r0 = (s.y___485427 < s.h___485333); + r0 = (s.y___22705 < s.h___22611); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___485427 % s.ph___485341); - s.py___485428 = (r0); - s.tmp_0 = Math_min__P477517_mk(s); - r0 = (s.ph___485341 - s.py___485428); + r0 = (s.y___22705 % s.ph___22619); + s.py___22706 = (r0); + s.tmp_0 = Math_min__P15691_mk(s); + r0 = (s.ph___22619 - s.py___22706); s.tmp_0.arg0 = r0; - r0 = (s.h___485333 - s.ry___485353); + r0 = (s.h___22611 - s.ry___22631); s.tmp_0.arg1 = r0; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___485437 = (r0); - s.x___485445 = (0); - s.rxl___485446 = (s.rx___485350); + s.dh___22715 = (r0); + s.x___22723 = (0); + s.rxl___22724 = (s.rx___22628); case 16: - r0 = (s.x___485445 < s.w___485330); + r0 = (s.x___22723 < s.w___22608); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___485445 % s.pw___485336); - s.px___485452 = (r0); - s.tmp_0 = Math_min__P477517_mk(s); - r0 = (s.pw___485336 - s.px___485452); + r0 = (s.x___22723 % s.pw___22614); + s.px___22730 = (r0); + s.tmp_0 = Math_min__P15691_mk(s); + r0 = (s.pw___22614 - s.px___22730); s.tmp_0.arg0 = r0; - r0 = (s.w___485330 - s.rxl___485446); + r0 = (s.w___22608 - s.rxl___22724); s.tmp_0.arg1 = r0; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___485456 = (r0); + s.dw___22734 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___477998, s.tmp_0, s.rxl___485446, s.ry___485353); - r0 = (s.rxl___485446 + s.dw___485456); + r0 = pxsim_ImageMethods.drawImage(globals.screen___16172, s.tmp_0, s.rxl___22724, s.ry___22631); + r0 = (s.rxl___22724 + s.dw___22734); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___485330); - s.rxl___485446 = (r0); + r0 = (s.tmp_0 % s.w___22608); + s.rxl___22724 = (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___485456; + r0 = s.dw___22734; { step = 18; continue; } case 17: - r0 = s.w___485330; + r0 = s.w___22608; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___485445 + s.tmp_1); - s.x___485445 = (r0); + r0 = (s.x___22723 + s.tmp_1); + s.x___22723 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___485353 + s.dh___485437); + r0 = (s.ry___22631 + s.dh___22715); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___485333); - s.ry___485353 = (r0); + r0 = (s.tmp_0 % s.h___22611); + s.ry___22631 = (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___485437; + r0 = s.dh___22715; { step = 21; continue; } case 20: - r0 = s.h___485333; + r0 = s.h___22611; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___485427 + s.tmp_1); - s.y___485427 = (r0); + r0 = (s.y___22705 + s.tmp_1); + s.y___22705 = (r0); { step = 15; continue; } case 22: case 23: @@ -12612,31 +14274,31 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P478466.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__P478466.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__P16640.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__P16640.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__P478466_mk(s) { +function scene_BackgroundLayer_draw__P16640_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P478466, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P16640, 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___485330: undefined, - h___485333: undefined, - pw___485336: undefined, - ph___485341: undefined, - rx___485350: undefined, - ry___485353: undefined, - y___485427: undefined, - py___485428: undefined, - dh___485437: undefined, - x___485445: undefined, - rxl___485446: undefined, - px___485452: undefined, - dw___485456: undefined, + w___22608: undefined, + h___22611: undefined, + pw___22614: undefined, + ph___22619: undefined, + rx___22628: undefined, + ry___22631: undefined, + y___22705: undefined, + py___22706: undefined, + dh___22715: undefined, + x___22723: undefined, + rxl___22724: undefined, + px___22730: undefined, + dw___22734: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12646,7 +14308,7 @@ function scene_BackgroundLayer_draw__P478466_mk(s) { -function scene_Camera_update__P478540(s) { +function scene_Camera_update__P16714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12656,32 +14318,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.elapsed___485541 = undefined; - s.percentComplete___485555 = undefined; - s.damp___485562 = undefined; - s.f___485571 = undefined; - s.x___485577 = undefined; - s.y___485584 = undefined; + s.elapsed___22819 = undefined; + s.percentComplete___22833 = undefined; + s.damp___22840 = undefined; + s.f___22849 = undefined; + s.x___22855 = undefined; + s.y___22862 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C478534_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C16708_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = scene_Camera_offsetX__P478536_mk(s); + s.tmp_1 = scene_Camera_offsetX__P16710_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_3 = Sprite_x__P478190_mk(s); + s.tmp_3 = Sprite_x__P16364_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_5 = r0; r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; @@ -12690,16 +14352,16 @@ switch (step) { s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P478538_mk(s); + s.tmp_0 = scene_Camera_offsetY__P16712_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P478192_mk(s); + s.tmp_2 = Sprite_y__P16366_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___477998); + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -12710,7 +14372,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = scene_Camera_offsetX__P478536_mk(s); + s.tmp_0 = scene_Camera_offsetX__P16710_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetX"]; @@ -12720,7 +14382,7 @@ switch (step) { s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P478538_mk(s); + s.tmp_0 = scene_Camera_offsetY__P16712_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; r0 = s.tmp_1.fields["_offsetY"]; @@ -12749,10 +14411,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___485541 = (r0); + s.elapsed___22819 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___485541 >= s.tmp_1); + r0 = (s.elapsed___22819 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -12761,49 +14423,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___485541 / s.tmp_0); - s.percentComplete___485555 = (r0); - s.damp___485562 = (1); - r0 = (s.percentComplete___485555 >= 0.75); + r0 = (s.elapsed___22819 / s.tmp_0); + s.percentComplete___22833 = (r0); + s.damp___22840 = (1); + r0 = (s.percentComplete___22833 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P477516_mk(s); + s.tmp_1 = Math_max__P15690_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___485555); + r0 = (1 - s.percentComplete___22833); s.tmp_1.arg1 = r0; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___485562 = (r0); + s.damp___22840 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___485562); - s.f___485571 = (r0); + r0 = (s.tmp_0 * s.damp___22840); + s.f___22849 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___485571); + r0 = (s.tmp_1 * s.f___22849); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___485577 = (r0); + s.x___22855 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___485571); + r0 = (s.tmp_1 * s.f___22849); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___485584 = (r0); + s.y___22862 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___485577); + r0 = (s.tmp_2 + s.x___22855); 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___485584); + r0 = (s.tmp_2 + s.y___22862); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -12813,13 +14475,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P478540.info = {"start":1816,"length":1397,"line":58,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -scene_Camera_update__P478540.info = {"start":1816,"length":1397,"line":58,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P16714.info = {"start":1816,"length":1397,"line":58,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P16714.info = {"start":1816,"length":1397,"line":58,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P478540_mk(s) { +function scene_Camera_update__P16714_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P478540, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P16714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12827,12 +14489,12 @@ function scene_Camera_update__P478540_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - elapsed___485541: undefined, - percentComplete___485555: undefined, - damp___485562: undefined, - f___485571: undefined, - x___485577: undefined, - y___485584: undefined, + elapsed___22819: undefined, + percentComplete___22833: undefined, + damp___22840: undefined, + f___22849: undefined, + x___22855: undefined, + y___22862: undefined, arg0: undefined, } } @@ -12840,7 +14502,7 @@ function scene_Camera_update__P478540_mk(s) { -function scene_Camera_offsetY__P478538(s) { +function scene_Camera_offsetY__P16712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12850,27 +14512,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___485623 = undefined; + s.scene___22901 = 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__C478534_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P478375_mk(s); + if (!checkSubtype(r0, scene_Camera__C16708_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___485623 = (r0); - r0 = s.scene___485623.fields["tileMap"]; + s.scene___22901 = (r0); + r0 = s.scene___22901.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___485623.fields["tileMap"]; + r0 = s.scene___22901.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -12887,8 +14549,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_9 = tiles_TileMap_offsetY__P478503_mk(s); - r0 = s.scene___485623.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetY__P16677_mk(s); + r0 = s.scene___22901.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.pc = 6; return s.tmp_9; @@ -12904,13 +14566,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P478538.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} -scene_Camera_offsetY__P478538.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} +scene_Camera_offsetY__P16712.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} +scene_Camera_offsetY__P16712.info = {"start":1034,"length":267,"line":37,"column":8,"endLine":44,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this","v"]} -function scene_Camera_offsetY__P478538_mk(s) { +function scene_Camera_offsetY__P16712_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P478538, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P16712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12922,7 +14584,7 @@ function scene_Camera_offsetY__P478538_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___485623: undefined, + scene___22901: undefined, arg0: undefined, arg1: undefined, } } @@ -12931,7 +14593,7 @@ function scene_Camera_offsetY__P478538_mk(s) { -function tiles_TileMap_enabled__P478508(s) { +function tiles_TileMap_enabled__P16682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12946,7 +14608,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -12959,14 +14621,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P478508.info = {"start":6919,"length":66,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -tiles_TileMap_enabled__P478508.isGetter = true; -tiles_TileMap_enabled__P478508.info = {"start":6919,"length":66,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P16682.info = {"start":6919,"length":66,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} +tiles_TileMap_enabled__P16682.isGetter = true; +tiles_TileMap_enabled__P16682.info = {"start":6919,"length":66,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"enabled","argumentNames":["this"]} -function tiles_TileMap_enabled__P478508_mk(s) { +function tiles_TileMap_enabled__P16682_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P478508, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P16682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12979,7 +14641,7 @@ function tiles_TileMap_enabled__P478508_mk(s) { -function tiles_TileMap_offsetY__P478503(s) { +function tiles_TileMap_offsetY__P16677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12995,17 +14657,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P477513_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P15687_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P477516_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P478505_mk(s); + s.tmp_1 = Math_max__P15690_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P16679_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___477998); + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -13021,13 +14683,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P478503.info = {"start":6372,"length":123,"line":229,"column":8,"endLine":231,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -tiles_TileMap_offsetY__P478503.info = {"start":6372,"length":123,"line":229,"column":8,"endLine":231,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P16677.info = {"start":6372,"length":123,"line":229,"column":8,"endLine":231,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} +tiles_TileMap_offsetY__P16677.info = {"start":6372,"length":123,"line":229,"column":8,"endLine":231,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetY","argumentNames":["this","value"]} -function tiles_TileMap_offsetY__P478503_mk(s) { +function tiles_TileMap_offsetY__P16677_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P478503, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P16677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13042,7 +14704,7 @@ function tiles_TileMap_offsetY__P478503_mk(s) { -function tiles_TileMap_areaHeight__P478505(s) { +function tiles_TileMap_areaHeight__P16679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13057,7 +14719,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -13079,13 +14741,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P478505.info = {"start":6606,"length":93,"line":237,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -tiles_TileMap_areaHeight__P478505.info = {"start":6606,"length":93,"line":237,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P16679.info = {"start":6606,"length":93,"line":237,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} +tiles_TileMap_areaHeight__P16679.info = {"start":6606,"length":93,"line":237,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaHeight","argumentNames":["this"]} -function tiles_TileMap_areaHeight__P478505_mk(s) { +function tiles_TileMap_areaHeight__P16679_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P478505, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P16679, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13099,7 +14761,7 @@ function tiles_TileMap_areaHeight__P478505_mk(s) { -function tiles_TileMap_scale__P478499(s) { +function tiles_TileMap_scale__P16673(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13114,19 +14776,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P478499.info = {"start":5937,"length":55,"line":210,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMap_scale__P478499.isGetter = true; -tiles_TileMap_scale__P478499.info = {"start":5937,"length":55,"line":210,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P16673.info = {"start":5937,"length":55,"line":210,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMap_scale__P16673.isGetter = true; +tiles_TileMap_scale__P16673.info = {"start":5937,"length":55,"line":210,"column":8,"endLine":212,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -function tiles_TileMap_scale__P478499_mk(s) { +function tiles_TileMap_scale__P16673_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P478499, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P16673, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13135,7 +14797,7 @@ function tiles_TileMap_scale__P478499_mk(s) { -function tiles_TileMapData_height__P478487(s) { +function tiles_TileMapData_height__P16661(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13150,19 +14812,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C478485_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C16659_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P478487.info = {"start":3546,"length":65,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} -tiles_TileMapData_height__P478487.isGetter = true; -tiles_TileMapData_height__P478487.info = {"start":3546,"length":65,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P16661.info = {"start":3546,"length":65,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} +tiles_TileMapData_height__P16661.isGetter = true; +tiles_TileMapData_height__P16661.info = {"start":3546,"length":65,"line":129,"column":8,"endLine":131,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"height","argumentNames":["this"]} -function tiles_TileMapData_height__P478487_mk(s) { +function tiles_TileMapData_height__P16661_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P478487, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P16661, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13171,7 +14833,7 @@ function tiles_TileMapData_height__P478487_mk(s) { -function scene_Camera_offsetY__P478537(s) { +function scene_Camera_offsetY__P16711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13186,19 +14848,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C478534_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C16708_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P478537.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} -scene_Camera_offsetY__P478537.isGetter = true; -scene_Camera_offsetY__P478537.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} +scene_Camera_offsetY__P16711.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} +scene_Camera_offsetY__P16711.isGetter = true; +scene_Camera_offsetY__P16711.info = {"start":966,"length":59,"line":34,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetY","argumentNames":["this"]} -function scene_Camera_offsetY__P478537_mk(s) { +function scene_Camera_offsetY__P16711_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P478537, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P16711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13207,7 +14869,7 @@ function scene_Camera_offsetY__P478537_mk(s) { -function scene_Camera_offsetX__P478536(s) { +function scene_Camera_offsetX__P16710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13217,27 +14879,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___485692 = undefined; + s.scene___22970 = 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__C478534_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P478375_mk(s); + if (!checkSubtype(r0, scene_Camera__C16708_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___485692 = (r0); - r0 = s.scene___485692.fields["tileMap"]; + s.scene___22970 = (r0); + r0 = s.scene___22970.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___485692.fields["tileMap"]; + r0 = s.scene___22970.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -13254,8 +14916,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_9 = tiles_TileMap_offsetX__P478502_mk(s); - r0 = s.scene___485692.fields["tileMap"]; + s.tmp_9 = tiles_TileMap_offsetX__P16676_mk(s); + r0 = s.scene___22970.fields["tileMap"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = s.arg1; s.pc = 6; return s.tmp_9; @@ -13271,13 +14933,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P478536.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} -scene_Camera_offsetX__P478536.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} +scene_Camera_offsetX__P16710.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} +scene_Camera_offsetX__P16710.info = {"start":690,"length":267,"line":26,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this","v"]} -function scene_Camera_offsetX__P478536_mk(s) { +function scene_Camera_offsetX__P16710_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P478536, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P16710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13289,7 +14951,7 @@ function scene_Camera_offsetX__P478536_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - scene___485692: undefined, + scene___22970: undefined, arg0: undefined, arg1: undefined, } } @@ -13298,7 +14960,7 @@ function scene_Camera_offsetX__P478536_mk(s) { -function tiles_TileMap_offsetX__P478502(s) { +function tiles_TileMap_offsetX__P16676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13314,17 +14976,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P477513_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P15687_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P477516_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P478504_mk(s); + s.tmp_1 = Math_max__P15690_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P16678_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -13340,13 +15002,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P478502.info = {"start":6241,"length":121,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -tiles_TileMap_offsetX__P478502.info = {"start":6241,"length":121,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P16676.info = {"start":6241,"length":121,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} +tiles_TileMap_offsetX__P16676.info = {"start":6241,"length":121,"line":225,"column":8,"endLine":227,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"offsetX","argumentNames":["this","value"]} -function tiles_TileMap_offsetX__P478502_mk(s) { +function tiles_TileMap_offsetX__P16676_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P478502, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P16676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13361,7 +15023,7 @@ function tiles_TileMap_offsetX__P478502_mk(s) { -function tiles_TileMap_areaWidth__P478504(s) { +function tiles_TileMap_areaWidth__P16678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13376,7 +15038,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -13398,13 +15060,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P478504.info = {"start":6505,"length":91,"line":233,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -tiles_TileMap_areaWidth__P478504.info = {"start":6505,"length":91,"line":233,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P16678.info = {"start":6505,"length":91,"line":233,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} +tiles_TileMap_areaWidth__P16678.info = {"start":6505,"length":91,"line":233,"column":8,"endLine":235,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"areaWidth","argumentNames":["this"]} -function tiles_TileMap_areaWidth__P478504_mk(s) { +function tiles_TileMap_areaWidth__P16678_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P478504, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P16678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13418,7 +15080,7 @@ function tiles_TileMap_areaWidth__P478504_mk(s) { -function tiles_TileMapData_width__P478486(s) { +function tiles_TileMapData_width__P16660(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13433,19 +15095,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C478485_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C16659_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P478486.info = {"start":3473,"length":63,"line":125,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} -tiles_TileMapData_width__P478486.isGetter = true; -tiles_TileMapData_width__P478486.info = {"start":3473,"length":63,"line":125,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P16660.info = {"start":3473,"length":63,"line":125,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} +tiles_TileMapData_width__P16660.isGetter = true; +tiles_TileMapData_width__P16660.info = {"start":3473,"length":63,"line":125,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"width","argumentNames":["this"]} -function tiles_TileMapData_width__P478486_mk(s) { +function tiles_TileMapData_width__P16660_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P478486, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P16660, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13454,7 +15116,7 @@ function tiles_TileMapData_width__P478486_mk(s) { -function scene_Camera_offsetX__P478535(s) { +function scene_Camera_offsetX__P16709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13469,19 +15131,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C478534_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C16708_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P478535.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} -scene_Camera_offsetX__P478535.isGetter = true; -scene_Camera_offsetX__P478535.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} +scene_Camera_offsetX__P16709.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} +scene_Camera_offsetX__P16709.isGetter = true; +scene_Camera_offsetX__P16709.info = {"start":622,"length":59,"line":23,"column":8,"endLine":25,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"offsetX","argumentNames":["this"]} -function scene_Camera_offsetX__P478535_mk(s) { +function scene_Camera_offsetX__P16709_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P478535, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P16709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13490,7 +15152,7 @@ function scene_Camera_offsetX__P478535_mk(s) { -function Sprite_y__P478192(s) { +function Sprite_y__P16366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13505,7 +15167,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = (s.tmp_1 + 128); @@ -13522,14 +15184,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P478192.info = {"start":1799,"length":84,"line":79,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -Sprite_y__P478192.isGetter = true; -Sprite_y__P478192.info = {"start":1799,"length":84,"line":79,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P16366.info = {"start":1799,"length":84,"line":79,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} +Sprite_y__P16366.isGetter = true; +Sprite_y__P16366.info = {"start":1799,"length":84,"line":79,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this"]} -function Sprite_y__P478192_mk(s) { +function Sprite_y__P16366_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P478192, depth: s.depth + 1, + parent: s, fn: Sprite_y__P16366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13544,7 +15206,7 @@ function Sprite_y__P478192_mk(s) { -function Sprite_x__P478190(s) { +function Sprite_x__P16364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13559,7 +15221,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = (s.tmp_1 + 128); @@ -13576,14 +15238,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P478190.info = {"start":1451,"length":83,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -Sprite_x__P478190.isGetter = true; -Sprite_x__P478190.info = {"start":1451,"length":83,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P16364.info = {"start":1451,"length":83,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} +Sprite_x__P16364.isGetter = true; +Sprite_x__P16364.info = {"start":1451,"length":83,"line":68,"column":4,"endLine":70,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this"]} -function Sprite_x__P478190_mk(s) { +function Sprite_x__P16364_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P478190, depth: s.depth + 1, + parent: s, fn: Sprite_x__P16364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13598,7 +15260,7 @@ function Sprite_x__P478190_mk(s) { -function PhysicsEngine_move__P478299(s) { +function PhysicsEngine_move__P16473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13614,18 +15276,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C478294_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C16468_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P478299.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__P478299.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__P16473.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__P16473.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__P478299_mk(s) { +function PhysicsEngine_move__P16473_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P478299, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P16473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13635,7 +15297,7 @@ function PhysicsEngine_move__P478299_mk(s) { -function PhysicsEngine_draw__P478298(s) { +function PhysicsEngine_draw__P16472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13650,18 +15312,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C478294_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C16468_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P478298.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__P478298.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__P16472.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__P16472.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__P478298_mk(s) { +function PhysicsEngine_draw__P16472_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P478298, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P16472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13670,7 +15332,7 @@ function PhysicsEngine_draw__P478298_mk(s) { -function controller___update__P478162(s) { +function controller___update__P16336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13680,7 +15342,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.dtms___486120 = undefined; + s.dtms___23398 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -13688,12 +15350,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___486120 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P486127); + s.dtms___23398 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P23405); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___486120); - s.tmp_1 = helpers_arrayForEach__P477500_mk(s); - s.tmp_2 = controller_players__P478133_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___23398); + s.tmp_1 = helpers_arrayForEach__P15674_mk(s); + s.tmp_2 = controller_players__P16307_mk(s); s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -13706,18 +15368,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P478162.info = {"start":17961,"length":137,"line":550,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} -controller___update__P478162.info = {"start":17961,"length":137,"line":550,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P16336.info = {"start":17961,"length":137,"line":550,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P16336.info = {"start":17961,"length":137,"line":550,"column":4,"endLine":553,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} -function controller___update__P478162_mk(s) { +function controller___update__P16336_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P478162, depth: s.depth + 1, + parent: s, fn: controller___update__P16336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___486120: undefined, + dtms___23398: undefined, arg0: undefined, } } @@ -13725,7 +15387,7 @@ function controller___update__P478162_mk(s) { -function inline__P486127(s) { +function inline__P23405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13739,7 +15401,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P478159_mk(s); + s.tmp_0 = controller_Controller___update__P16333_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.pc = 1; return s.tmp_0; @@ -13749,13 +15411,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486127.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -inline__P486127.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P23405.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P23405.info = {"start":18063,"length":27,"line":552,"column":26,"endLine":552,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function inline__P486127_mk(s) { +function inline__P23405_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486127, depth: s.depth + 1, + parent: s, fn: inline__P23405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13765,7 +15427,7 @@ function inline__P486127_mk(s) { -function controller_Controller___update__P478159(s) { +function controller_Controller___update__P16333(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13781,7 +15443,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -13792,10 +15454,10 @@ switch (step) { r0 = (s.tmp_3 | 0); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, inline__P486140); + r0 = pxsim_pxtcore_mkAction(1, inline__P23418); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P477500_mk(s); + s.tmp_1 = helpers_arrayForEach__P15674_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -13806,13 +15468,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P478159.info = {"start":17439,"length":124,"line":532,"column":8,"endLine":535,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -controller_Controller___update__P478159.info = {"start":17439,"length":124,"line":532,"column":8,"endLine":535,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P16333.info = {"start":17439,"length":124,"line":532,"column":8,"endLine":535,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P16333.info = {"start":17439,"length":124,"line":532,"column":8,"endLine":535,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Controller___update__P478159_mk(s) { +function controller_Controller___update__P16333_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P478159, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P16333, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13826,7 +15488,7 @@ function controller_Controller___update__P478159_mk(s) { -function inline__P486140(s) { +function inline__P23418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13840,7 +15502,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P478124_mk(s); + s.tmp_0 = controller_Button___update__P16298_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -13851,13 +15513,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486140.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} -inline__P486140.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P23418.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +inline__P23418.info = {"start":17526,"length":25,"line":534,"column":33,"endLine":534,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} -function inline__P486140_mk(s) { +function inline__P23418_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486140, depth: s.depth + 1, + parent: s, fn: inline__P23418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13867,7 +15529,7 @@ function inline__P486140_mk(s) { -function controller_Button___update__P478124(s) { +function controller_Button___update__P16298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13877,16 +15539,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.delay___486156 = undefined; - s.interval___486166 = undefined; - s.count___486180 = undefined; + s.delay___23434 = undefined; + s.interval___23444 = undefined; + s.count___23458 = 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__C478114_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C16288_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -13910,31 +15572,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___478109; + r0 = globals.defaultRepeatDelay___16283; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___486156 = (s.tmp_2); + s.delay___23434 = (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___478111; + r0 = globals.defaultRepeatInterval___16285; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___486166 = (s.tmp_2); + s.interval___23444 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___486156); + r0 = (s.tmp_1 < s.delay___23434); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -13943,26 +15605,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___486156); + r0 = (s.tmp_5 - s.delay___23434); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___486166); + r0 = (s.tmp_4 - s.interval___23444); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___486166); + r0 = (s.tmp_3 / s.interval___23444); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___486180 = (r0); + s.count___23458 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___486180 != s.tmp_1); + r0 = (s.count___23458 != 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__P478118_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P16292_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___486180); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___23458); case 9: case 10: case 11: @@ -13970,13 +15632,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P478124.info = {"start":5117,"length":704,"line":164,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -controller_Button___update__P478124.info = {"start":5117,"length":704,"line":164,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Button___update__P16298.info = {"start":5117,"length":704,"line":164,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Button___update__P16298.info = {"start":5117,"length":704,"line":164,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} -function controller_Button___update__P478124_mk(s) { +function controller_Button___update__P16298_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P478124, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P16298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13984,9 +15646,9 @@ function controller_Button___update__P478124_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___486156: undefined, - interval___486166: undefined, - count___486180: undefined, + delay___23434: undefined, + interval___23444: undefined, + count___23458: undefined, arg0: undefined, arg1: undefined, } } @@ -13995,7 +15657,7 @@ function controller_Button___update__P478124_mk(s) { -function controller_Button_raiseButtonRepeat__P478118(s) { +function controller_Button_raiseButtonRepeat__P16292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14010,8 +15672,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C478114_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___478107); + if (!checkSubtype(r0, controller_Button__C16288_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___16281); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -14026,13 +15688,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P478118.info = {"start":2887,"length":211,"line":99,"column":8,"endLine":104,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -controller_Button_raiseButtonRepeat__P478118.info = {"start":2887,"length":211,"line":99,"column":8,"endLine":104,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P16292.info = {"start":2887,"length":211,"line":99,"column":8,"endLine":104,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} +controller_Button_raiseButtonRepeat__P16292.info = {"start":2887,"length":211,"line":99,"column":8,"endLine":104,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonRepeat","argumentNames":["this"]} -function controller_Button_raiseButtonRepeat__P478118_mk(s) { +function controller_Button_raiseButtonRepeat__P16292_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P478118, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P16292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14042,7 +15704,7 @@ function controller_Button_raiseButtonRepeat__P478118_mk(s) { -function controller_players__P478133(s) { +function controller_players__P16307(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14052,26 +15714,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = controller__player1__P478132_mk(s); + s.tmp_0 = controller__player1__P16306_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P477501_mk(s); - s.tmp_0.arg0 = globals._players___478130; - s.tmp_0.arg1 = inline__P485987; + s.tmp_0 = helpers_arrayFilter__P15675_mk(s); + s.tmp_0.arg0 = globals._players___16304; + s.tmp_0.arg1 = inline__P23265; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P478133.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} -controller_players__P478133.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P16307.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P16307.info = {"start":7040,"length":144,"line":220,"column":4,"endLine":223,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} -function controller_players__P478133_mk(s) { +function controller_players__P16307_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P478133, depth: s.depth + 1, + parent: s, fn: controller_players__P16307, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -14080,7 +15742,7 @@ function controller_players__P478133_mk(s) { -function inline__P485987(s) { +function inline__P23265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14104,13 +15766,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P485987.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -inline__P485987.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P23265.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P23265.info = {"start":7162,"length":14,"line":222,"column":31,"endLine":222,"endColumn":45,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function inline__P485987_mk(s) { +function inline__P23265_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P485987, depth: s.depth + 1, + parent: s, fn: inline__P23265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14122,7 +15784,7 @@ function inline__P485987_mk(s) { -function controller__player1__P478132(s) { +function controller__player1__P16306(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14132,7 +15794,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___478130); + r0 = pxsim_numops_toBoolDecr(globals._players___16304); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -14141,7 +15803,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___478130, 0); + r0 = pxsim_Array__getAt(globals._players___16304, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -14151,18 +15813,18 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C478137_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C16311_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___478089); - r0 = pxsim_Array__push(s.tmp_6, globals.up___478091); - r0 = pxsim_Array__push(s.tmp_6, globals.right___478093); - r0 = pxsim_Array__push(s.tmp_6, globals.down___478095); - r0 = pxsim_Array__push(s.tmp_6, globals.A___478085); - r0 = pxsim_Array__push(s.tmp_6, globals.B___478087); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___478097); - s.tmp_7 = controller_Controller_constructor__P478161_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___16263); + r0 = pxsim_Array__push(s.tmp_6, globals.up___16265); + r0 = pxsim_Array__push(s.tmp_6, globals.right___16267); + r0 = pxsim_Array__push(s.tmp_6, globals.down___16269); + r0 = pxsim_Array__push(s.tmp_6, globals.A___16259); + r0 = pxsim_Array__push(s.tmp_6, globals.B___16261); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___16271); + s.tmp_7 = controller_Controller_constructor__P16335_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -14171,17 +15833,17 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___478130, 0); + r0 = pxsim_Array__getAt(globals._players___16304, 0); return leave(s, r0) default: oops() } } } -controller__player1__P478132.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} -controller__player1__P478132.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P16306.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P16306.info = {"start":6776,"length":258,"line":214,"column":4,"endLine":218,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} -function controller__player1__P478132_mk(s) { +function controller__player1__P16306_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P478132, depth: s.depth + 1, + parent: s, fn: controller__player1__P16306, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14197,7 +15859,7 @@ function controller__player1__P478132_mk(s) { -function controller_Controller_constructor__P478161(s) { +function controller_Controller_constructor__P16335(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14207,9 +15869,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.leftId___486061 = undefined; - s.i___486069 = undefined; - s.i___486087 = undefined; + s.leftId___23339 = undefined; + s.i___23347 = undefined; + s.i___23365 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14217,7 +15879,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -14241,18 +15903,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___486061 = (r0); - s.i___486069 = (0); + s.leftId___23339 = (r0); + s.i___23347 = (0); case 2: - r0 = (s.i___486069 < 7); + r0 = (s.i___23347 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C478114_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C16288_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P478125_mk(s); + s.tmp_2 = controller_Button_constructor__P16299_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___486061 + s.i___486069); + r0 = (s.leftId___23339 + s.i___23347); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.pc = 7; return s.tmp_2; @@ -14261,14 +15923,14 @@ switch (step) { r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_1); - r0 = (s.i___486069 + 1); - s.i___486069 = (r0); + r0 = (s.i___23347 + 1); + s.i___23347 = (r0); { step = 2; continue; } case 3: case 4: - s.i___486087 = (0); + s.i___23365 = (0); case 5: - s.tmp_1 = r0 = s.i___486087; + s.tmp_1 = r0 = s.i___23365; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -14279,14 +15941,14 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = s.arg0.fields["buttons"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___486087); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___23365); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___486087 + 1); - s.i___486087 = (r0); + r0 = (s.i___23365 + 1); + s.i___23365 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P478131_mk(s); + s.tmp_0 = controller_addController__P16305_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 8; return s.tmp_0; case 8: @@ -14295,13 +15957,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P478161.info = {"start":7849,"length":696,"line":249,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} -controller_Controller_constructor__P478161.info = {"start":7849,"length":696,"line":249,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} +controller_Controller_constructor__P16335.info = {"start":7849,"length":696,"line":249,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} +controller_Controller_constructor__P16335.info = {"start":7849,"length":696,"line":249,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","playerIndex","buttons"]} -function controller_Controller_constructor__P478161_mk(s) { +function controller_Controller_constructor__P16335_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P478161, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P16335, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14309,9 +15971,9 @@ function controller_Controller_constructor__P478161_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___486061: undefined, - i___486069: undefined, - i___486087: undefined, + leftId___23339: undefined, + i___23347: undefined, + i___23365: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -14321,7 +15983,7 @@ function controller_Controller_constructor__P478161_mk(s) { -function controller_addController__P478131(s) { +function controller_addController__P16305(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14335,17 +15997,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___478130); + r0 = pxsim_numops_toBoolDecr(globals._players___16304); 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___478130 = (r0); + globals._players___16304 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___478130; + s.tmp_0 = r0 = globals._players___16304; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -14355,13 +16017,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P478131.info = {"start":6613,"length":157,"line":207,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -controller_addController__P478131.info = {"start":6613,"length":157,"line":207,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P16305.info = {"start":6613,"length":157,"line":207,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} +controller_addController__P16305.info = {"start":6613,"length":157,"line":207,"column":4,"endLine":212,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"addController","argumentNames":["ctrl"]} -function controller_addController__P478131_mk(s) { +function controller_addController__P16305_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P478131, depth: s.depth + 1, + parent: s, fn: controller_addController__P16305, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14373,7 +16035,7 @@ function controller_addController__P478131_mk(s) { -function helpers_arrayFilter__P477501(s) { +function helpers_arrayFilter__P15675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14383,31 +16045,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.res___485898 = undefined; - s.len___485900 = undefined; - s.i___485903 = undefined; - s.v___485908 = undefined; + s.res___23176 = undefined; + s.len___23178 = undefined; + s.i___23181 = undefined; + s.v___23186 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___485898 = (r0); + s.res___23176 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___485900 = (r0); - s.i___485903 = (0); + s.len___23178 = (r0); + s.i___23181 = (0); case 1: - r0 = (s.i___485903 < s.len___485900); + r0 = (s.i___23181 < s.len___23178); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___485903); - s.v___485908 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___23181); + s.v___23186 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___485908; - s.tmp_1.arg1 = s.i___485903; + s.tmp_1.arg0 = s.v___23186; + s.tmp_1.arg1 = s.i___23181; setupLambda(s.tmp_1, s.tmp_1.argL); s.pc = 5; return s.tmp_1; case 5: @@ -14415,31 +16077,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___485898, s.v___485908); + r0 = pxsim_Array__push(s.res___23176, s.v___23186); case 2: case 3: - r0 = (s.i___485903 + 1); - s.i___485903 = (r0); + r0 = (s.i___23181 + 1); + s.i___23181 = (r0); { step = 1; continue; } case 4: - r0 = s.res___485898; + r0 = s.res___23176; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P477501.info = {"start":5837,"length":317,"line":201,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} -helpers_arrayFilter__P477501.info = {"start":5837,"length":317,"line":201,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} +helpers_arrayFilter__P15675.info = {"start":5837,"length":317,"line":201,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} +helpers_arrayFilter__P15675.info = {"start":5837,"length":317,"line":201,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} -function helpers_arrayFilter__P477501_mk(s) { +function helpers_arrayFilter__P15675_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P477501, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P15675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___485898: undefined, - len___485900: undefined, - i___485903: undefined, - v___485908: undefined, + res___23176: undefined, + len___23178: undefined, + i___23181: undefined, + v___23186: undefined, arg0: undefined, arg1: undefined, } } @@ -14448,7 +16110,7 @@ function helpers_arrayFilter__P477501_mk(s) { -function controller__moveSprites__P478136(s) { +function controller__moveSprites__P16310(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14458,13 +16120,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P477500_mk(s); - s.tmp_1 = controller_players__P478133_mk(s); + s.tmp_0 = helpers_arrayForEach__P15674_mk(s); + s.tmp_1 = controller_players__P16307_mk(s); s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P485742; + s.tmp_0.arg1 = inline__P23020; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -14472,13 +16134,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P478136.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} -controller__moveSprites__P478136.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P16310.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P16310.info = {"start":7400,"length":182,"line":234,"column":4,"endLine":238,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} -function controller__moveSprites__P478136_mk(s) { +function controller__moveSprites__P16310_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P478136, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P16310, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14488,7 +16150,7 @@ function controller__moveSprites__P478136_mk(s) { -function inline__P485742(s) { +function inline__P23020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14502,7 +16164,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P478158_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P16332_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -14511,13 +16173,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P485742.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -inline__P485742.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P23020.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +inline__P23020.info = {"start":7548,"length":26,"line":237,"column":26,"endLine":237,"endColumn":52,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function inline__P485742_mk(s) { +function inline__P23020_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P485742, depth: s.depth + 1, + parent: s, fn: inline__P23020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14527,7 +16189,7 @@ function inline__P485742_mk(s) { -function controller_Controller___preUpdate__P478158(s) { +function controller_Controller___preUpdate__P16332(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14537,20 +16199,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.deadSprites___485749 = undefined; - s.svx___485750 = undefined; - s.svy___485751 = undefined; - s.svxInCricle___485787 = undefined; - s.svyInCircle___485789 = undefined; - s.sq___485791 = undefined; - s.scale___485806 = undefined; + s.deadSprites___23027 = undefined; + s.svx___23028 = undefined; + s.svy___23029 = undefined; + s.svxInCricle___23065 = undefined; + s.svyInCircle___23067 = undefined; + s.sq___23069 = undefined; + s.scale___23084 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P478138_mk(s); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P16312_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 18; return s.tmp_3; case 18: @@ -14566,21 +16228,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___485749 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___485749, false); + s.deadSprites___23027 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___23027, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___485750 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___485750, 0); + s.svx___23028 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___23028, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___485751 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___485751, 0); + s.svy___23029 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___23029, 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___485750; - s.tmp_5 = controller_Button_pressureLevel__P478122_mk(s); - s.tmp_6 = controller_Controller_right__P478143_mk(s); + s.tmp_1 = r0 = s.svx___23028; + s.tmp_5 = controller_Button_pressureLevel__P16296_mk(s); + s.tmp_6 = controller_Controller_right__P16317_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 20; return s.tmp_6; case 20: @@ -14590,8 +16252,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P478122_mk(s); - s.tmp_9 = controller_Controller_left__P478142_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P16296_mk(s); + s.tmp_9 = controller_Controller_left__P16316_mk(s); s.tmp_9.arg0 = s.arg0; s.pc = 22; return s.tmp_9; case 22: @@ -14606,9 +16268,9 @@ switch (step) { r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.svy___485751; - s.tmp_4 = controller_Button_pressureLevel__P478122_mk(s); - s.tmp_5 = controller_Controller_down__P478145_mk(s); + s.tmp_0 = r0 = s.svy___23029; + s.tmp_4 = controller_Button_pressureLevel__P16296_mk(s); + s.tmp_5 = controller_Controller_down__P16319_mk(s); s.tmp_5.arg0 = s.arg0; s.pc = 24; return s.tmp_5; case 24: @@ -14618,8 +16280,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P478122_mk(s); - s.tmp_8 = controller_Controller_up__P478144_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P16296_mk(s); + s.tmp_8 = controller_Controller_up__P16318_mk(s); s.tmp_8.arg0 = s.arg0; s.pc = 26; return s.tmp_8; case 26: @@ -14636,14 +16298,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C478114_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P478143_mk(s); + s.tmp_1 = controller_Button__C16288_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P16317_mk(s); s.tmp_2.arg0 = s.arg0; 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__C478114_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C16288_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: @@ -14658,14 +16320,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C478114_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P478142_mk(s); + s.tmp_5 = controller_Button__C16288_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P16316_mk(s); s.tmp_6.arg0 = s.arg0; 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__C478114_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C16288_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: @@ -14680,18 +16342,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___485750; + s.tmp_8 = r0 = s.svx___23028; 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__C478114_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P478145_mk(s); + s.tmp_1 = controller_Button__C16288_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P16319_mk(s); s.tmp_2.arg0 = s.arg0; 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__C478114_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C16288_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: @@ -14706,14 +16368,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C478114_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P478144_mk(s); + s.tmp_5 = controller_Button__C16288_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P16318_mk(s); s.tmp_6.arg0 = s.arg0; 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__C478114_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C16288_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: @@ -14728,57 +16390,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___485751; + s.tmp_8 = r0 = s.svy___23029; 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___485787 = (r0); - s.tmp_0 = r0 = s.svxInCricle___485787; - r0 = pxsim_pxtrt_ldlocRef(s.svx___485750); + s.svxInCricle___23065 = (r0); + s.tmp_0 = r0 = s.svxInCricle___23065; + r0 = pxsim_pxtrt_ldlocRef(s.svx___23028); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___485789 = (r0); - s.tmp_0 = r0 = s.svyInCircle___485789; - r0 = pxsim_pxtrt_ldlocRef(s.svy___485751); + s.svyInCircle___23067 = (r0); + s.tmp_0 = r0 = s.svyInCircle___23067; + r0 = pxsim_pxtrt_ldlocRef(s.svy___23029); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___485750); + r0 = pxsim_pxtrt_ldlocRef(s.svx___23028); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___485750); + r0 = pxsim_pxtrt_ldlocRef(s.svx___23028); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___485751); + r0 = pxsim_pxtrt_ldlocRef(s.svy___23029); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___485751); + r0 = pxsim_pxtrt_ldlocRef(s.svy___23029); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___485791 = (r0); - r0 = (s.sq___485791 > 65536); + s.sq___23069 = (r0); + r0 = (s.sq___23069 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___485791); + r0 = (65536 / s.sq___23069); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___485806 = (r0); - s.tmp_0 = r0 = s.svxInCricle___485787; - s.tmp_3 = r0 = s.scale___485806; - r0 = pxsim_pxtrt_ldlocRef(s.svx___485750); + s.scale___23084 = (r0); + s.tmp_0 = r0 = s.svxInCricle___23065; + s.tmp_3 = r0 = s.scale___23084; + r0 = pxsim_pxtrt_ldlocRef(s.svx___23028); 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___485789; - s.tmp_3 = r0 = s.scale___485806; - r0 = pxsim_pxtrt_ldlocRef(s.svy___485751); + s.tmp_0 = r0 = s.svyInCircle___23067; + s.tmp_3 = r0 = s.scale___23084; + r0 = pxsim_pxtrt_ldlocRef(s.svy___23029); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -14787,15 +16449,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, inline__P485824); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___485749); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___485750); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___485751); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___485787); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___485789); - s.tmp_1 = helpers_arrayForEach__P477500_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P478138_mk(s); + r0 = pxsim_pxtcore_mkAction(5, inline__P23102); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___23027); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___23028); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___23029); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___23065); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___23067); + s.tmp_1 = helpers_arrayForEach__P15674_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P16312_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 36; return s.tmp_2; case 36: @@ -14805,20 +16467,20 @@ switch (step) { s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___485749); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___23027); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P478139_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P16313_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P477501_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P478138_mk(s); + s.tmp_2 = helpers_arrayFilter__P15675_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P16312_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = inline__P485886; + s.tmp_2.arg1 = inline__P23164; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -14833,13 +16495,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P478158.info = {"start":14894,"length":2535,"line":466,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -controller_Controller___preUpdate__P478158.info = {"start":14894,"length":2535,"line":466,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P16332.info = {"start":14894,"length":2535,"line":466,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P16332.info = {"start":14894,"length":2535,"line":466,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -function controller_Controller___preUpdate__P478158_mk(s) { +function controller_Controller___preUpdate__P16332_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P478158, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P16332, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14851,13 +16513,13 @@ function controller_Controller___preUpdate__P478158_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___485749: undefined, - svx___485750: undefined, - svy___485751: undefined, - svxInCricle___485787: undefined, - svyInCircle___485789: undefined, - sq___485791: undefined, - scale___485806: undefined, + deadSprites___23027: undefined, + svx___23028: undefined, + svy___23029: undefined, + svxInCricle___23065: undefined, + svyInCircle___23067: undefined, + sq___23069: undefined, + scale___23084: undefined, arg0: undefined, } } @@ -14865,7 +16527,7 @@ function controller_Controller___preUpdate__P478158_mk(s) { -function inline__P485824(s) { +function inline__P23102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14875,9 +16537,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___485827 = undefined; - s.vx___485828 = undefined; - s.vy___485829 = undefined; + s.s___23105 = undefined; + s.vx___23106 = undefined; + s.vy___23107 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -14895,7 +16557,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___485827 = (r0); + s.s___23105 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -14908,7 +16570,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___485828 = (r0); + s.vx___23106 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -14921,8 +16583,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___485829 = (r0); - r0 = s.s___485827.fields["flags"]; + s.vy___23107 = (r0); + r0 = s.s___23105.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -14936,14 +16598,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___485828); + r0 = pxsim_numops_toBoolDecr(s.vx___23106); if (!r0) { step = 3; continue; } - r0 = (s.s___485827).fields["_vx"] = (0); + r0 = (s.s___23105).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___485829); + r0 = pxsim_numops_toBoolDecr(s.vy___23107); if (!r0) { step = 5; continue; } - r0 = (s.s___485827).fields["_vy"] = (0); + r0 = (s.s___23105).fields["_vy"] = (0); case 5: case 6: case 7: @@ -14961,48 +16623,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___485828; + s.tmp_2 = r0 = s.vx___23106; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___485829; + r0 = s.vy___23107; 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___485827; + s.tmp_4 = r0 = s.s___23105; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___485828); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___23106); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___485827; + s.tmp_0 = r0 = s.s___23105; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___485829); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___23107); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___485828); + r0 = pxsim_numops_toBoolDecr(s.vx___23106); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___485827; + s.tmp_0 = r0 = s.s___23105; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___485828); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___23106); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___485829); + r0 = pxsim_numops_toBoolDecr(s.vy___23107); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___485827; + s.tmp_0 = r0 = s.s___23105; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___485829); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___23107); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -15019,13 +16681,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P485824.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -inline__P485824.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P23102.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +inline__P23102.info = {"start":16077,"length":1171,"line":497,"column":44,"endLine":525,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} -function inline__P485824_mk(s) { +function inline__P23102_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P485824, depth: s.depth + 1, + parent: s, fn: inline__P23102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15034,9 +16696,9 @@ function inline__P485824_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___485827: undefined, - vx___485828: undefined, - vy___485829: undefined, + s___23105: undefined, + vx___23106: undefined, + vy___23107: undefined, arg0: undefined, } } @@ -15044,7 +16706,7 @@ function inline__P485824_mk(s) { -function inline__P485886(s) { +function inline__P23164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15069,13 +16731,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P485886.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} -inline__P485886.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P23164.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +inline__P23164.info = {"start":17375,"length":42,"line":529,"column":28,"endLine":529,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} -function inline__P485886_mk(s) { +function inline__P23164_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P485886, depth: s.depth + 1, + parent: s, fn: inline__P23164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15087,7 +16749,7 @@ function inline__P485886_mk(s) { -function controller_Controller_down__P478145(s) { +function controller_Controller_down__P16319(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15102,7 +16764,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -15111,14 +16773,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P478145.info = {"start":9528,"length":77,"line":312,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} -controller_Controller_down__P478145.isGetter = true; -controller_Controller_down__P478145.info = {"start":9528,"length":77,"line":312,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} +controller_Controller_down__P16319.info = {"start":9528,"length":77,"line":312,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} +controller_Controller_down__P16319.isGetter = true; +controller_Controller_down__P16319.info = {"start":9528,"length":77,"line":312,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"down","argumentNames":["this"]} -function controller_Controller_down__P478145_mk(s) { +function controller_Controller_down__P16319_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P478145, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P16319, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15129,7 +16791,7 @@ function controller_Controller_down__P478145_mk(s) { -function controller_Controller_button__P478150(s) { +function controller_Controller_button__P16324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15145,7 +16807,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -15154,13 +16816,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P478150.info = {"start":11484,"length":105,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} -controller_Controller_button__P478150.info = {"start":11484,"length":105,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P16324.info = {"start":11484,"length":105,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} +controller_Controller_button__P16324.info = {"start":11484,"length":105,"line":373,"column":8,"endLine":375,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"button","argumentNames":["this","button"]} -function controller_Controller_button__P478150_mk(s) { +function controller_Controller_button__P16324_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P478150, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P16324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15172,7 +16834,7 @@ function controller_Controller_button__P478150_mk(s) { -function controller_Controller_up__P478144(s) { +function controller_Controller_up__P16318(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15187,7 +16849,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -15196,14 +16858,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P478144.info = {"start":9376,"length":73,"line":304,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} -controller_Controller_up__P478144.isGetter = true; -controller_Controller_up__P478144.info = {"start":9376,"length":73,"line":304,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} +controller_Controller_up__P16318.info = {"start":9376,"length":73,"line":304,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} +controller_Controller_up__P16318.isGetter = true; +controller_Controller_up__P16318.info = {"start":9376,"length":73,"line":304,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"up","argumentNames":["this"]} -function controller_Controller_up__P478144_mk(s) { +function controller_Controller_up__P16318_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P478144, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P16318, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15214,7 +16876,7 @@ function controller_Controller_up__P478144_mk(s) { -function controller_Controller_right__P478143(s) { +function controller_Controller_right__P16317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15229,7 +16891,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -15238,14 +16900,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P478143.info = {"start":9220,"length":79,"line":296,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} -controller_Controller_right__P478143.isGetter = true; -controller_Controller_right__P478143.info = {"start":9220,"length":79,"line":296,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} +controller_Controller_right__P16317.info = {"start":9220,"length":79,"line":296,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} +controller_Controller_right__P16317.isGetter = true; +controller_Controller_right__P16317.info = {"start":9220,"length":79,"line":296,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"right","argumentNames":["this"]} -function controller_Controller_right__P478143_mk(s) { +function controller_Controller_right__P16317_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P478143, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P16317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15256,7 +16918,7 @@ function controller_Controller_right__P478143_mk(s) { -function controller_Controller_left__P478142(s) { +function controller_Controller_left__P16316(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15271,7 +16933,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -15280,14 +16942,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P478142.info = {"start":9063,"length":77,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} -controller_Controller_left__P478142.isGetter = true; -controller_Controller_left__P478142.info = {"start":9063,"length":77,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} +controller_Controller_left__P16316.info = {"start":9063,"length":77,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} +controller_Controller_left__P16316.isGetter = true; +controller_Controller_left__P16316.info = {"start":9063,"length":77,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"left","argumentNames":["this"]} -function controller_Controller_left__P478142_mk(s) { +function controller_Controller_left__P16316_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P478142, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P16316, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15298,7 +16960,7 @@ function controller_Controller_left__P478142_mk(s) { -function controller_Controller__controlledSprites__P478139(s) { +function controller_Controller__controlledSprites__P16313(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15314,8 +16976,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P478375_mk(s); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P16549_mk(s); s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -15328,13 +16990,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P478139.info = {"start":8697,"length":134,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} -controller_Controller__controlledSprites__P478139.info = {"start":8697,"length":134,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} +controller_Controller__controlledSprites__P16313.info = {"start":8697,"length":134,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} +controller_Controller__controlledSprites__P16313.info = {"start":8697,"length":134,"line":272,"column":8,"endLine":274,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this","cps"]} -function controller_Controller__controlledSprites__P478139_mk(s) { +function controller_Controller__controlledSprites__P16313_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P478139, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P16313, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15347,7 +17009,7 @@ function controller_Controller__controlledSprites__P478139_mk(s) { -function controller_Controller__controlledSprites__P478138(s) { +function controller_Controller__controlledSprites__P16312(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15362,8 +17024,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P478375_mk(s); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P16549_mk(s); s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -15375,14 +17037,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P478138.info = {"start":8555,"length":132,"line":268,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} -controller_Controller__controlledSprites__P478138.isGetter = true; -controller_Controller__controlledSprites__P478138.info = {"start":8555,"length":132,"line":268,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} +controller_Controller__controlledSprites__P16312.info = {"start":8555,"length":132,"line":268,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} +controller_Controller__controlledSprites__P16312.isGetter = true; +controller_Controller__controlledSprites__P16312.info = {"start":8555,"length":132,"line":268,"column":8,"endLine":270,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_controlledSprites","argumentNames":["this"]} -function controller_Controller__controlledSprites__P478138_mk(s) { +function controller_Controller__controlledSprites__P16312_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P478138, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P16312, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15394,7 +17056,7 @@ function controller_Controller__controlledSprites__P478138_mk(s) { -function controller_Button_pressureLevel__P478122(s) { +function controller_Button_pressureLevel__P16296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15409,16 +17071,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C478114_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C16288_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__C478114_v0_1_mk(s); + s.tmp_3 = controller_Button__C16288_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C478114_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C16288_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: @@ -15447,13 +17109,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P478122.info = {"start":4279,"length":311,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"pressureLevel","argumentNames":["this"]} -controller_Button_pressureLevel__P478122.info = {"start":4279,"length":311,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"pressureLevel","argumentNames":["this"]} +controller_Button_pressureLevel__P16296.info = {"start":4279,"length":311,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"pressureLevel","argumentNames":["this"]} +controller_Button_pressureLevel__P16296.info = {"start":4279,"length":311,"line":139,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"pressureLevel","argumentNames":["this"]} -function controller_Button_pressureLevel__P478122_mk(s) { +function controller_Button_pressureLevel__P16296_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P478122, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P16296, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15468,7 +17130,7 @@ function controller_Button_pressureLevel__P478122_mk(s) { -function controller_Button_isPressed__P478121(s) { +function controller_Button_isPressed__P16295(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15483,18 +17145,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C478114_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C16288_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P478121.info = {"start":4129,"length":57,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -controller_Button_isPressed__P478121.info = {"start":4129,"length":57,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_Button_isPressed__P16295.info = {"start":4129,"length":57,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_Button_isPressed__P16295.info = {"start":4129,"length":57,"line":132,"column":8,"endLine":134,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_Button_isPressed__P478121_mk(s) { +function controller_Button_isPressed__P16295_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P478121, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P16295, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15503,7 +17165,7 @@ function controller_Button_isPressed__P478121_mk(s) { -function Fx_imul__P477556(s) { +function Fx_imul__P15730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15522,13 +17184,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P477556.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__P477556.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__P15730.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__P15730.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__P477556_mk(s) { +function Fx_imul__P15730_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P477556, depth: s.depth + 1, + parent: s, fn: Fx_imul__P15730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15538,7 +17200,7 @@ function Fx_imul__P477556_mk(s) { -function power_checkDeepSleep__P477918(s) { +function power_checkDeepSleep__P16092(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15548,13 +17210,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___484527 = undefined; - s.to___484530 = undefined; - s.tmp_0 = power_init__P477920_mk(s); + s.p___21805 = undefined; + s.to___21808 = undefined; + s.tmp_0 = power_init__P16094_mk(s); s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___477914; + s.tmp_0 = r0 = globals._poked___16088; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -15564,8 +17226,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___484527 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___477915; + s.p___21805 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___16089; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -15575,8 +17237,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___484530 = (s.tmp_1); - r0 = (s.to___484530 > 0); + s.to___21808 = (s.tmp_1); + r0 = (s.to___21808 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -15585,9 +17247,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___484527); + r0 = (s.tmp_2 - s.p___21805); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___484530); + r0 = (s.tmp_1 > s.to___21808); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -15613,13 +17275,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P477918.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} -power_checkDeepSleep__P477918.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P16092.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P16092.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__P477918_mk(s) { +function power_checkDeepSleep__P16092_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P477918, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P16092, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15628,15 +17290,15 @@ function power_checkDeepSleep__P477918_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___484527: undefined, - to___484530: undefined, + p___21805: undefined, + to___21808: undefined, } } -function power_init__P477920(s) { +function power_init__P16094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15646,7 +17308,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = (globals._timeout___477915 !== undefined); + r0 = (globals._timeout___16089 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -15656,21 +17318,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___477915 = (r0); - r0 = (globals._timeout___477915 > 0); + globals._timeout___16089 = (r0); + r0 = (globals._timeout___16089 > 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___477915 < 300000); + r0 = (globals._timeout___16089 < 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___477915 = (300000); + globals._timeout___16089 = (300000); case 5: case 6: case 7: @@ -15678,13 +17340,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P477920.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} -power_init__P477920.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P16094.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P16094.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__P477920_mk(s) { +function power_init__P16094_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P477920, depth: s.depth + 1, + parent: s, fn: power_init__P16094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15694,7 +17356,7 @@ function power_init__P477920_mk(s) { -function power_poke__P477917(s) { +function power_poke__P16091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15704,23 +17366,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = power_init__P477920_mk(s); + s.tmp_0 = power_init__P16094_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___477914 = (r0); + globals._poked___16088 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P477917.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} -power_poke__P477917.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P16091.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P16091.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__P477917_mk(s) { +function power_poke__P16091_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P477917, depth: s.depth + 1, + parent: s, fn: power_poke__P16091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -15729,7 +17391,7 @@ function power_poke__P477917_mk(s) { -function control_EventContext_deltaTime__P477721(s) { +function control_EventContext_deltaTime__P15895(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15744,21 +17406,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C477720_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C15894_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__P477721.info = {"start":1988,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P477721.isGetter = true; -control_EventContext_deltaTime__P477721.info = {"start":1988,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} +control_EventContext_deltaTime__P15895.info = {"start":1988,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} +control_EventContext_deltaTime__P15895.isGetter = true; +control_EventContext_deltaTime__P15895.info = {"start":1988,"length":75,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -function control_EventContext_deltaTime__P477721_mk(s) { +function control_EventContext_deltaTime__P15895_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P477721, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P15895, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15768,7 +17430,7 @@ function control_EventContext_deltaTime__P477721_mk(s) { -function music_Melody_constructor__P477877(s) { +function music_Melody_constructor__P16051(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15784,19 +17446,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C477865_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C16039_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P477877.info = {"start":6295,"length":67,"line":198,"column":8,"endLine":200,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} -music_Melody_constructor__P477877.info = {"start":6295,"length":67,"line":198,"column":8,"endLine":200,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P16051.info = {"start":6295,"length":67,"line":198,"column":8,"endLine":200,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} +music_Melody_constructor__P16051.info = {"start":6295,"length":67,"line":198,"column":8,"endLine":200,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","text"]} -function music_Melody_constructor__P477877_mk(s) { +function music_Melody_constructor__P16051_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P477877, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P16051, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15806,7 +17468,7 @@ function music_Melody_constructor__P477877_mk(s) { -function control_pushEventContext__P477736(s) { +function control_pushEventContext__P15910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15816,64 +17478,64 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ctx___486221 = undefined; - s.n___486227 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___477734); + s.ctx___23499 = undefined; + s.n___23505 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___15908); 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___477734 = (r0); + globals.eventContexts___15908 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P477735_mk(s); + s.tmp_0 = control_eventContext__P15909_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___486221 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___486221); + s.ctx___23499 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___23499); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P477725_mk(s); - s.tmp_0.arg0 = s.ctx___486221; + s.tmp_0 = control_EventContext_unregister__P15899_mk(s); + s.tmp_0.arg0 = s.ctx___23499; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C477720_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C15894_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P477733_mk(s); + s.tmp_1 = control_EventContext_constructor__P15907_mk(s); s.tmp_1.arg0 = s.tmp_0; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___486227 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___477734, s.n___486227); - r0 = s.n___486227; + s.n___23505 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___15908, s.n___23505); + r0 = s.n___23505; return leave(s, r0) default: oops() } } } -control_pushEventContext__P477736.info = {"start":6695,"length":340,"line":205,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -control_pushEventContext__P477736.info = {"start":6695,"length":340,"line":205,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P15910.info = {"start":6695,"length":340,"line":205,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P15910.info = {"start":6695,"length":340,"line":205,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -function control_pushEventContext__P477736_mk(s) { +function control_pushEventContext__P15910_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P477736, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P15910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___486221: undefined, - n___486227: undefined, + ctx___23499: undefined, + n___23505: undefined, } } -function control_EventContext_constructor__P477733(s) { +function control_EventContext_constructor__P15907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15888,7 +17550,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C477720_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C15894_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -15902,13 +17564,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P477733.info = {"start":1733,"length":245,"line":58,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -control_EventContext_constructor__P477733.info = {"start":1733,"length":245,"line":58,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P15907.info = {"start":1733,"length":245,"line":58,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P15907.info = {"start":1733,"length":245,"line":58,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -function control_EventContext_constructor__P477733_mk(s) { +function control_EventContext_constructor__P15907_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P477733, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P15907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15919,7 +17581,7 @@ function control_EventContext_constructor__P477733_mk(s) { -function control_EventContext_unregister__P477725(s) { +function control_EventContext_unregister__P15899(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15929,37 +17591,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.h___486253 = undefined; - s.unnamed1748___U1 = undefined; - s.unnamed1749___U2 = undefined; + s.h___23531 = undefined; + s.unnamed132___U1 = undefined; + s.unnamed133___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C477720_VT)) failedCast(r0); - s.h___486253 = (undefined); + if (!checkSubtype(r0, control_EventContext__C15894_VT)) failedCast(r0); + s.h___23531 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed1748___U1 = (r0); - s.unnamed1749___U2 = (0); + s.unnamed132___U1 = (r0); + s.unnamed133___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1749___U2; - r0 = pxsim_Array__length(s.unnamed1748___U1); + s.tmp_0 = r0 = s.unnamed133___U2; + r0 = pxsim_Array__length(s.unnamed132___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1748___U1, s.unnamed1749___U2); - s.h___486253 = (r0); - s.tmp_2 = control_EventHandler_unregister__P477717_mk(s); - s.tmp_2.arg0 = s.h___486253; + r0 = pxsim_Array__getAt(s.unnamed132___U1, s.unnamed133___U2); + s.h___23531 = (r0); + s.tmp_2 = control_EventHandler_unregister__P15891_mk(s); + s.tmp_2.arg0 = s.h___23531; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed1749___U2 + 1); - s.unnamed1749___U2 = (r0); + r0 = (s.unnamed133___U2 + 1); + s.unnamed133___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1748___U1 = (undefined); + s.unnamed132___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -15970,20 +17632,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P477725.info = {"start":4394,"length":131,"line":134,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -control_EventContext_unregister__P477725.info = {"start":4394,"length":131,"line":134,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P15899.info = {"start":4394,"length":131,"line":134,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P15899.info = {"start":4394,"length":131,"line":134,"column":8,"endLine":138,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventContext_unregister__P477725_mk(s) { +function control_EventContext_unregister__P15899_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P477725, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P15899, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___486253: undefined, - unnamed1748___U1: undefined, - unnamed1749___U2: undefined, + h___23531: undefined, + unnamed132___U1: undefined, + unnamed133___U2: undefined, arg0: undefined, } } @@ -15991,7 +17653,7 @@ function control_EventContext_unregister__P477725_mk(s) { -function control_EventHandler_unregister__P477717(s) { +function control_EventHandler_unregister__P15891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16006,25 +17668,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C477715_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C15889_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__P477719, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P15893, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P477717.info = {"start":1129,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -control_EventHandler_unregister__P477717.info = {"start":1129,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventHandler_unregister__P15891.info = {"start":1129,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventHandler_unregister__P15891.info = {"start":1129,"length":106,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventHandler_unregister__P477717_mk(s) { +function control_EventHandler_unregister__P15891_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P477717, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P15891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16036,7 +17698,7 @@ function control_EventHandler_unregister__P477717_mk(s) { -function control_doNothing__P477719(s) { +function control_doNothing__P15893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16050,13 +17712,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P477719.info = {"start":1247,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} -control_doNothing__P477719.info = {"start":1247,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P15893.info = {"start":1247,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P15893.info = {"start":1247,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} -function control_doNothing__P477719_mk(s) { +function control_doNothing__P15893_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P477719, depth: s.depth + 1, + parent: s, fn: control_doNothing__P15893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -16064,7 +17726,7 @@ function control_doNothing__P477719_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P478165(s) { +function controller_pauseUntilAnyButtonIsPressed__P16339(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16084,13 +17746,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P478165.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} -controller_pauseUntilAnyButtonIsPressed__P478165.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P16339.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P16339.info = {"start":19144,"length":96,"line":583,"column":4,"endLine":585,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} -function controller_pauseUntilAnyButtonIsPressed__P478165_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P16339_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P478165, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P16339, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -16098,7 +17760,7 @@ function controller_pauseUntilAnyButtonIsPressed__P478165_mk(s) { -function game_setWaitAnyButton__P478685(s) { +function game_setWaitAnyButton__P16859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16112,18 +17774,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___478681 = (s.arg0); + globals.__waitAnyButton___16855 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P478685.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -game_setWaitAnyButton__P478685.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P16859.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P16859.info = {"start":878,"length":83,"line":31,"column":4,"endLine":33,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -function game_setWaitAnyButton__P478685_mk(s) { +function game_setWaitAnyButton__P16859_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P478685, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P16859, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16132,7 +17794,7 @@ function game_setWaitAnyButton__P478685_mk(s) { -function Math_abs__P477514(s) { +function Math_abs__P15688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16161,13 +17823,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P477514.info = {"start":12221,"length":77,"line":419,"column":4,"endLine":421,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -Math_abs__P477514.info = {"start":12221,"length":77,"line":419,"column":4,"endLine":421,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P15688.info = {"start":12221,"length":77,"line":419,"column":4,"endLine":421,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P15688.info = {"start":12221,"length":77,"line":419,"column":4,"endLine":421,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P477514_mk(s) { +function Math_abs__P15688_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P477514, depth: s.depth + 1, + parent: s, fn: Math_abs__P15688, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16178,7 +17840,7 @@ function Math_abs__P477514_mk(s) { -function Math_sign__P477515(s) { +function Math_sign__P15689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16213,13 +17875,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P477515.info = {"start":12456,"length":125,"line":427,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -Math_sign__P477515.info = {"start":12456,"length":125,"line":427,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P15689.info = {"start":12456,"length":125,"line":427,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P15689.info = {"start":12456,"length":125,"line":427,"column":4,"endLine":431,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P477515_mk(s) { +function Math_sign__P15689_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P477515, depth: s.depth + 1, + parent: s, fn: Math_sign__P15689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16230,7 +17892,7 @@ function Math_sign__P477515_mk(s) { -function texteffects_TextEffect_constructor__P479305(s) { +function texteffects_TextEffect_constructor__P17479(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16246,19 +17908,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, texteffects_TextEffect__C479304_VT)) failedCast(r0); + if (!checkSubtype(r0, texteffects_TextEffect__C17478_VT)) failedCast(r0); r0 = (s.arg0).fields["getState"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -texteffects_TextEffect_constructor__P479305.info = {"start":657,"length":133,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["this","getState"]} -texteffects_TextEffect_constructor__P479305.info = {"start":657,"length":133,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["this","getState"]} +texteffects_TextEffect_constructor__P17479.info = {"start":657,"length":133,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["this","getState"]} +texteffects_TextEffect_constructor__P17479.info = {"start":657,"length":133,"line":25,"column":8,"endLine":27,"endColumn":9,"fileName":"pxt_modules/game/texteffects.ts","functionName":"inline","argumentNames":["this","getState"]} -function texteffects_TextEffect_constructor__P479305_mk(s) { +function texteffects_TextEffect_constructor__P17479_mk(s) { checkStack(s.depth); return { - parent: s, fn: texteffects_TextEffect_constructor__P479305, depth: s.depth + 1, + parent: s, fn: texteffects_TextEffect_constructor__P17479, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16268,7 +17930,7 @@ function texteffects_TextEffect_constructor__P479305_mk(s) { -function Math_FastRandom_constructor__P478969(s) { +function Math_FastRandom_constructor__P17143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16284,7 +17946,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C478962_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C17136_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -16299,13 +17961,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P478969.info = {"start":1392,"length":175,"line":43,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} -Math_FastRandom_constructor__P478969.info = {"start":1392,"length":175,"line":43,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} +Math_FastRandom_constructor__P17143.info = {"start":1392,"length":175,"line":43,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} +Math_FastRandom_constructor__P17143.info = {"start":1392,"length":175,"line":43,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"inline","argumentNames":["this","seed"]} -function Math_FastRandom_constructor__P478969_mk(s) { +function Math_FastRandom_constructor__P17143_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P478969, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P17143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16316,7 +17978,7 @@ function Math_FastRandom_constructor__P478969_mk(s) { -function control_ramSize__P477675(s) { +function control_ramSize__P15849(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16341,13 +18003,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P477675.info = {"start":9191,"length":100,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} -control_ramSize__P477675.info = {"start":9191,"length":100,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P15849.info = {"start":9191,"length":100,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P15849.info = {"start":9191,"length":100,"line":308,"column":4,"endLine":310,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} -function control_ramSize__P477675_mk(s) { +function control_ramSize__P15849_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P477675, depth: s.depth + 1, + parent: s, fn: control_ramSize__P15849, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16357,7 +18019,7 @@ function control_ramSize__P477675_mk(s) { -function control__ramSize__P477674(s) { +function control__ramSize__P15848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16371,13 +18033,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P477674.info = {"start":9071,"length":60,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} -control__ramSize__P477674.info = {"start":9071,"length":60,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P15848.info = {"start":9071,"length":60,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P15848.info = {"start":9071,"length":60,"line":303,"column":4,"endLine":305,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} -function control__ramSize__P477674_mk(s) { +function control__ramSize__P15848_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P477674, depth: s.depth + 1, + parent: s, fn: control__ramSize__P15848, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -16385,7 +18047,7 @@ function control__ramSize__P477674_mk(s) { -function game_consoleOverlay_listener__P479083(s) { +function game_consoleOverlay_listener__P17257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16400,7 +18062,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___479047); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___17221); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -16420,9 +18082,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P477500_mk(s); - s.tmp_5 = helpers_arrayFilter__P477501_mk(s); - s.tmp_6 = helpers_stringSplit__P477510_mk(s); + s.tmp_4 = helpers_arrayForEach__P15674_mk(s); + s.tmp_5 = helpers_arrayFilter__P15675_mk(s); + s.tmp_6 = helpers_stringSplit__P15684_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -16430,27 +18092,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = inline__P486484; + s.tmp_5.arg1 = inline__P23762; s.pc = 9; return s.tmp_5; case 9: r0 = s.retval; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = inline__P486489; + s.tmp_4.arg1 = inline__P23767; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___479047); + r0 = pxsim_Array__length(globals.consoleStrings___17221); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___479060); + r0 = (s.tmp_1 > globals.consoleLines___17234); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P477489_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___479047; + s.tmp_2 = helpers_arraySplice__P15663_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___17221; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___479047); + r0 = pxsim_Array__length(globals.consoleStrings___17221); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___479060); + r0 = (s.tmp_3 - globals.consoleLines___17234); s.tmp_2.arg2 = r0; s.pc = 11; return s.tmp_2; case 11: @@ -16462,13 +18124,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P479083.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__P479083.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__P17257.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__P17257.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__P479083_mk(s) { +function game_consoleOverlay_listener__P17257_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P479083, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P17257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16485,7 +18147,7 @@ function game_consoleOverlay_listener__P479083_mk(s) { -function inline__P486484(s) { +function inline__P23762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16509,13 +18171,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486484.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -inline__P486484.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P23762.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P23762.info = {"start":985,"length":14,"line":32,"column":20,"endLine":32,"endColumn":34,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function inline__P486484_mk(s) { +function inline__P23762_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486484, depth: s.depth + 1, + parent: s, fn: inline__P23762, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16527,7 +18189,7 @@ function inline__P486484_mk(s) { -function inline__P486489(s) { +function inline__P23767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16537,46 +18199,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.j___486491 = undefined; + s.j___23769 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___486491 = (0); + s.j___23769 = (0); case 1: - s.tmp_1 = r0 = s.j___486491; + s.tmp_1 = r0 = s.j___23769; 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___479047; - s.tmp_5 = helpers_stringSlice__P477508_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___17221; + s.tmp_5 = helpers_stringSlice__P15682_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___486491; - r0 = (s.j___486491 + globals.consoleColumns___479071); + s.tmp_5.arg1 = s.j___23769; + r0 = (s.j___23769 + globals.consoleColumns___17245); s.tmp_5.arg2 = r0; 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___486491 + globals.consoleColumns___479071); - s.j___486491 = (r0); + r0 = (s.j___23769 + globals.consoleColumns___17245); + s.j___23769 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P486489.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -inline__P486489.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P23767.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} +inline__P23767.info = {"start":1022,"length":189,"line":33,"column":21,"endLine":37,"endColumn":13,"fileName":"pxt_modules/game/console.ts","functionName":"inline","argumentNames":["line"]} -function inline__P486489_mk(s) { +function inline__P23767_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486489, depth: s.depth + 1, + parent: s, fn: inline__P23767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16584,7 +18246,7 @@ function inline__P486489_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___486491: undefined, + j___23769: undefined, arg0: undefined, } } @@ -16592,7 +18254,7 @@ function inline__P486489_mk(s) { -function console_addListener__P477694(s) { +function console_addListener__P15868(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16615,7 +18277,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___477686, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___15860, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -16626,19 +18288,19 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___477686, s.arg0); + r0 = pxsim_Array__push(globals.listeners___15860, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P477694.info = {"start":3510,"length":197,"line":120,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} -console_addListener__P477694.info = {"start":3510,"length":197,"line":120,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} +console_addListener__P15868.info = {"start":3510,"length":197,"line":120,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} +console_addListener__P15868.info = {"start":3510,"length":197,"line":120,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} -function console_addListener__P477694_mk(s) { +function console_addListener__P15868_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P477694, depth: s.depth + 1, + parent: s, fn: console_addListener__P15868, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16651,7 +18313,7 @@ function console_addListener__P477694_mk(s) { -function inline__P477685(s) { +function inline__P15859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16671,13 +18333,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P477685.info = {"start":534,"length":85,"line":25,"column":8,"endLine":25,"endColumn":93,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["priority","text"]} -inline__P477685.info = {"start":534,"length":85,"line":25,"column":8,"endLine":25,"endColumn":93,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["priority","text"]} +inline__P15859.info = {"start":534,"length":85,"line":25,"column":8,"endLine":25,"endColumn":93,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["priority","text"]} +inline__P15859.info = {"start":534,"length":85,"line":25,"column":8,"endLine":25,"endColumn":93,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["priority","text"]} -function inline__P477685_mk(s) { +function inline__P15859_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P477685, depth: s.depth + 1, + parent: s, fn: inline__P15859, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16687,7 +18349,7 @@ function inline__P477685_mk(s) { -function scene_systemMenu_register__P479003(s) { +function scene_systemMenu_register__P17177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16697,15 +18359,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___478970); + r0 = pxsim_numops_toBoolDecr(globals.instance___17144); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P478119_mk(s); - s.tmp_0.arg0 = globals.menu___478097; + s.tmp_0 = controller_Button_onEvent__P16293_mk(s); + s.tmp_0.arg0 = globals.menu___16271; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P479004; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P17178; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -16714,13 +18376,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P479003.info = {"start":12331,"length":193,"line":372,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} -scene_systemMenu_register__P479003.info = {"start":12331,"length":193,"line":372,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} +scene_systemMenu_register__P17177.info = {"start":12331,"length":193,"line":372,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} +scene_systemMenu_register__P17177.info = {"start":12331,"length":193,"line":372,"column":4,"endLine":376,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"register","argumentNames":[]} -function scene_systemMenu_register__P479003_mk(s) { +function scene_systemMenu_register__P17177_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P479003, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P17177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16729,7 +18391,7 @@ function scene_systemMenu_register__P479003_mk(s) { -function scene_systemMenu_showSystemMenu__P479004(s) { +function scene_systemMenu_showSystemMenu__P17178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16739,27 +18401,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___478970); + r0 = pxsim_numops_toBoolDecr(globals.instance___17144); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P478689_mk(s); + s.tmp_0 = game_pushScene__P16863_mk(s); s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C478982_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C17156_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P478989_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P17163_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P479000; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P17174; s.tmp_1.arg2 = undefined; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___478970 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P478983_mk(s); - s.tmp_0.arg0 = globals.instance___478970; + globals.instance___17144 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P17157_mk(s); + s.tmp_0.arg0 = globals.instance___17144; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -16768,13 +18430,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P479004.info = {"start":12530,"length":172,"line":378,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} -scene_systemMenu_showSystemMenu__P479004.info = {"start":12530,"length":172,"line":378,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} +scene_systemMenu_showSystemMenu__P17178.info = {"start":12530,"length":172,"line":378,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} +scene_systemMenu_showSystemMenu__P17178.info = {"start":12530,"length":172,"line":378,"column":4,"endLine":383,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"showSystemMenu","argumentNames":[]} -function scene_systemMenu_showSystemMenu__P479004_mk(s) { +function scene_systemMenu_showSystemMenu__P17178_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P479004, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P17178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16784,7 +18446,7 @@ function scene_systemMenu_showSystemMenu__P479004_mk(s) { -function scene_systemMenu_buildOptionList__P479000(s) { +function scene_systemMenu_buildOptionList__P17174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16794,137 +18456,137 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.options___488140 = undefined; + s.options___25418 = undefined; r0 = pxsim_Array__mk(); - s.options___488140 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C478973_VT); + s.options___25418 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C17147_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P478981_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P17155_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___479031; - s.tmp_1.arg2 = inline__P488148; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P478992; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___17205; + s.tmp_1.arg2 = inline__P25426; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P17166; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___488140, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C478973_VT); + r0 = pxsim_Array__push(s.options___25418, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C17147_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P478981_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P17155_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___479022; - s.tmp_1.arg2 = inline__P488162; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P478991; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___17196; + s.tmp_1.arg2 = inline__P25440; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P17165; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___488140, s.tmp_0); + r0 = pxsim_Array__push(s.options___25418, 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__C478973_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C17147_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P478981_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P17155_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___479025; - s.tmp_2.arg2 = inline__P488177; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P478994; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___17199; + s.tmp_2.arg2 = inline__P25455; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P17168; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___488140, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C478973_VT); + r0 = pxsim_Array__push(s.options___25418, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C17147_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P478981_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P17155_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___479040; - s.tmp_1.arg2 = inline__P488193; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P478993; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___17214; + s.tmp_1.arg2 = inline__P25471; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P17167; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___488140, s.tmp_0); + r0 = pxsim_Array__push(s.options___25418, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C478973_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C17147_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P478981_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P17155_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___479043; - s.tmp_1.arg2 = inline__P488208; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P478995; + s.tmp_1.arg1 = globals.STATS_ICON___17217; + s.tmp_1.arg2 = inline__P25486; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P17169; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___488140, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C478973_VT); + r0 = pxsim_Array__push(s.options___25418, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C17147_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P478981_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P17155_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___479037; - s.tmp_1.arg2 = inline__P488217; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P478996; + s.tmp_1.arg1 = globals.CONSOLE_ICON___17211; + s.tmp_1.arg2 = inline__P25495; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P17170; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___488140, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C478973_VT); + r0 = pxsim_Array__push(s.options___25418, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C17147_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P478981_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P17155_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___479034; - s.tmp_1.arg2 = inline__P488226; - s.tmp_1.arg3 = scene_systemMenu_sleep__P478997; + s.tmp_1.arg1 = globals.SLEEP_ICON___17208; + s.tmp_1.arg2 = inline__P25504; + s.tmp_1.arg3 = scene_systemMenu_sleep__P17171; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___488140, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___478971); + r0 = pxsim_Array__push(s.options___25418, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___17145); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P477504_mk(s); - s.tmp_0.arg0 = s.options___488140; - s.tmp_0.arg1 = globals.customMenuOptions___478971; + s.tmp_0 = helpers_arrayConcat__P15678_mk(s); + s.tmp_0.arg0 = s.options___25418; + s.tmp_0.arg1 = globals.customMenuOptions___17145; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___488140 = (r0); + s.options___25418 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C478973_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C17147_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P478981_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P17155_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___479028; - s.tmp_1.arg2 = inline__P488240; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P478998; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___17202; + s.tmp_1.arg2 = inline__P25518; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P17172; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___488140, s.tmp_0); - r0 = s.options___488140; + r0 = pxsim_Array__push(s.options___25418, s.tmp_0); + r0 = s.options___25418; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P479000.info = {"start":10037,"length":1149,"line":324,"column":4,"endLine":344,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} -scene_systemMenu_buildOptionList__P479000.info = {"start":10037,"length":1149,"line":324,"column":4,"endLine":344,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} +scene_systemMenu_buildOptionList__P17174.info = {"start":10037,"length":1149,"line":324,"column":4,"endLine":344,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} +scene_systemMenu_buildOptionList__P17174.info = {"start":10037,"length":1149,"line":324,"column":4,"endLine":344,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildOptionList","argumentNames":[]} -function scene_systemMenu_buildOptionList__P479000_mk(s) { +function scene_systemMenu_buildOptionList__P17174_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P479000, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P17174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___488140: undefined, + options___25418: undefined, } } -function inline__P488148(s) { +function inline__P25426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16934,7 +18596,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_3 = music_volume__P477857_mk(s); + s.tmp_3 = music_volume__P16031_mk(s); s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -16954,13 +18616,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488148.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P488148.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25426.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25426.info = {"start":10182,"length":39,"line":327,"column":54,"endLine":327,"endColumn":93,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P488148_mk(s) { +function inline__P25426_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488148, depth: s.depth + 1, + parent: s, fn: inline__P25426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16972,7 +18634,7 @@ function inline__P488148_mk(s) { -function inline__P488162(s) { +function inline__P25440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16982,7 +18644,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_3 = music_volume__P477857_mk(s); + s.tmp_3 = music_volume__P16031_mk(s); s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -17002,13 +18664,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488162.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P488162.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25440.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25440.info = {"start":10289,"length":37,"line":328,"column":52,"endLine":328,"endColumn":89,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P488162_mk(s) { +function inline__P25440_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488162, depth: s.depth + 1, + parent: s, fn: inline__P25440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17020,7 +18682,7 @@ function inline__P488162_mk(s) { -function inline__P488177(s) { +function inline__P25455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17030,7 +18692,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = globals.brightness___477927; + r0 = globals.brightness___16101; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -17047,13 +18709,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488177.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P488177.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25455.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25455.info = {"start":10448,"length":48,"line":330,"column":62,"endLine":330,"endColumn":110,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P488177_mk(s) { +function inline__P25455_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488177, depth: s.depth + 1, + parent: s, fn: inline__P25455, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17064,7 +18726,7 @@ function inline__P488177_mk(s) { -function inline__P488193(s) { +function inline__P25471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17074,7 +18736,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = globals.brightness___477927; + r0 = globals.brightness___16101; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -17091,13 +18753,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488193.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P488193.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25471.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25471.info = {"start":10576,"length":46,"line":331,"column":60,"endLine":331,"endColumn":106,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P488193_mk(s) { +function inline__P25471_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488193, depth: s.depth + 1, + parent: s, fn: inline__P25471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17108,7 +18770,7 @@ function inline__P488193_mk(s) { -function inline__P488208(s) { +function inline__P25486(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17118,7 +18780,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___478668); + r0 = pxsim_numops_toBoolDecr(globals.stats___16842); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -17131,13 +18793,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488208.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P488208.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25486.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25486.info = {"start":10698,"length":46,"line":333,"column":48,"endLine":333,"endColumn":94,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P488208_mk(s) { +function inline__P25486_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488208, depth: s.depth + 1, + parent: s, fn: inline__P25486, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17146,7 +18808,7 @@ function inline__P488208_mk(s) { -function inline__P488217(s) { +function inline__P25495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17156,7 +18818,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___479047); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___17221); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -17177,13 +18839,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488217.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P488217.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25495.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25495.info = {"start":10811,"length":71,"line":334,"column":50,"endLine":334,"endColumn":121,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P488217_mk(s) { +function inline__P25495_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488217, depth: s.depth + 1, + parent: s, fn: inline__P25495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17196,7 +18858,7 @@ function inline__P488217_mk(s) { -function inline__P488226(s) { +function inline__P25504(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17210,13 +18872,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488226.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P488226.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25504.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25504.info = {"start":10949,"length":13,"line":335,"column":48,"endLine":335,"endColumn":61,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P488226_mk(s) { +function inline__P25504_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488226, depth: s.depth + 1, + parent: s, fn: inline__P25504, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -17224,7 +18886,7 @@ function inline__P488226_mk(s) { -function inline__P488240(s) { +function inline__P25518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17238,13 +18900,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488240.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P488240.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25518.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P25518.info = {"start":11128,"length":13,"line":341,"column":53,"endLine":341,"endColumn":66,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P488240_mk(s) { +function inline__P25518_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488240, depth: s.depth + 1, + parent: s, fn: inline__P25518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -17252,7 +18914,7 @@ function inline__P488240_mk(s) { -function game_consoleOverlay_isVisible__P479084(s) { +function game_consoleOverlay_isVisible__P17258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17262,7 +18924,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___479047); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___17221); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -17272,13 +18934,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P479084.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__P479084.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__P17258.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__P17258.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__P479084_mk(s) { +function game_consoleOverlay_isVisible__P17258_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P479084, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P17258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17289,7 +18951,7 @@ function game_consoleOverlay_isVisible__P479084_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P478999(s) { +function scene_systemMenu_setScreenBrightnessSupported__P17173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17303,13 +18965,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P478999.info = {"start":9936,"length":95,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} -scene_systemMenu_setScreenBrightnessSupported__P478999.info = {"start":9936,"length":95,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} +scene_systemMenu_setScreenBrightnessSupported__P17173.info = {"start":9936,"length":95,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} +scene_systemMenu_setScreenBrightnessSupported__P17173.info = {"start":9936,"length":95,"line":320,"column":4,"endLine":322,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setScreenBrightnessSupported","argumentNames":[]} -function scene_systemMenu_setScreenBrightnessSupported__P478999_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P17173_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P478999, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P17173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -17317,7 +18979,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P478999_mk(s) { -function scene_systemMenu_closeMenu__P478998(s) { +function scene_systemMenu_closeMenu__P17172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17327,20 +18989,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___478970); + r0 = pxsim_numops_toBoolDecr(globals.instance___17144); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P478987_mk(s); - s.tmp_0.arg0 = globals.instance___478970; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P17161_mk(s); + s.tmp_0.arg0 = globals.instance___17144; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___478970 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P478166_mk(s); + globals.instance___17144 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P16340_mk(s); s.tmp_0.arg0 = true; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P478690_mk(s); + s.tmp_0 = game_popScene__P16864_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -17350,13 +19012,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P478998.info = {"start":9667,"length":216,"line":310,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} -scene_systemMenu_closeMenu__P478998.info = {"start":9667,"length":216,"line":310,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} +scene_systemMenu_closeMenu__P17172.info = {"start":9667,"length":216,"line":310,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} +scene_systemMenu_closeMenu__P17172.info = {"start":9667,"length":216,"line":310,"column":4,"endLine":317,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"closeMenu","argumentNames":[]} -function scene_systemMenu_closeMenu__P478998_mk(s) { +function scene_systemMenu_closeMenu__P17172_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P478998, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P17172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17365,7 +19027,7 @@ function scene_systemMenu_closeMenu__P478998_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P478987(s) { +function scene_systemMenu_PauseMenu_dispose__P17161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17380,15 +19042,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C478982_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C17156_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__P477500_mk(s); + s.tmp_1 = helpers_arrayForEach__P15674_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = inline__P487180; + s.tmp_1.arg1 = inline__P24458; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -17399,13 +19061,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P478987.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__P478987.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__P17161.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__P17161.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__P478987_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P17161_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P478987, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P17161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17416,7 +19078,7 @@ function scene_systemMenu_PauseMenu_dispose__P478987_mk(s) { -function inline__P487180(s) { +function inline__P24458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17430,7 +19092,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P478979_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P17153_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -17439,13 +19101,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P487180.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} -inline__P487180.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P24458.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} +inline__P24458.info = {"start":7813,"length":16,"line":245,"column":37,"endLine":245,"endColumn":53,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":["o"]} -function inline__P487180_mk(s) { +function inline__P24458_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P487180, depth: s.depth + 1, + parent: s, fn: inline__P24458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17455,7 +19117,7 @@ function inline__P487180_mk(s) { -function scene_systemMenu_MenuOption_dispose__P478979(s) { +function scene_systemMenu_MenuOption_dispose__P17153(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17470,12 +19132,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C478973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C17147_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__P478235_mk(s); + s.tmp_1 = Sprite_destroy__P16409_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -17483,7 +19145,7 @@ switch (step) { s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P478235_mk(s); + s.tmp_0 = Sprite_destroy__P16409_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -17499,13 +19161,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P478979.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__P478979.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__P17153.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__P17153.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__P478979_mk(s) { +function scene_systemMenu_MenuOption_dispose__P17153_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P478979, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P17153, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17516,7 +19178,7 @@ function scene_systemMenu_MenuOption_dispose__P478979_mk(s) { -function Sprite_destroy__P478235(s) { +function Sprite_destroy__P16409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17533,7 +19195,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -17551,7 +19213,7 @@ switch (step) { r0 = (s.tmp_2).fields["flags"] = (s.tmp_3); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } - s.tmp_0 = effects_ParticleEffect_destroy__P479241_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P17415_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -17561,7 +19223,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P478236_mk(s); + s.tmp_0 = Sprite__destroyCore__P16410_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 7; return s.tmp_0; case 7: @@ -17572,13 +19234,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P478235.info = {"start":27078,"length":293,"line":819,"column":4,"endLine":828,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -Sprite_destroy__P478235.info = {"start":27078,"length":293,"line":819,"column":4,"endLine":828,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P16409.info = {"start":27078,"length":293,"line":819,"column":4,"endLine":828,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P16409.info = {"start":27078,"length":293,"line":819,"column":4,"endLine":828,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P478235_mk(s) { +function Sprite_destroy__P16409_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P478235, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P16409, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17594,7 +19256,7 @@ function Sprite_destroy__P478235_mk(s) { -function effects_ParticleEffect_destroy__P479241(s) { +function effects_ParticleEffect_destroy__P17415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17612,15 +19274,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C479239_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P478227_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C17413_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P16401_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = true; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P479240_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P17414_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -17652,8 +19314,8 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg1).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = effects_ImageEffect_applyTo__P479291_mk(s); - s.tmp_0.arg0 = globals.dissolve___479296; + s.tmp_0 = effects_ImageEffect_applyTo__P17465_mk(s); + s.tmp_0.arg0 = globals.dissolve___17470; s.tmp_0.arg1 = s.arg1; s.pc = 5; return s.tmp_0; case 5: @@ -17662,13 +19324,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P479241.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__P479241.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__P17415.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__P17415.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__P479241_mk(s) { +function effects_ParticleEffect_destroy__P17415_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P479241, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P17415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17686,7 +19348,7 @@ function effects_ParticleEffect_destroy__P479241_mk(s) { -function inline__P487334(s) { +function inline__P24612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17696,11 +19358,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___487337 = undefined; - s.x___487348 = undefined; - s.y___487354 = undefined; - s.w___487360 = undefined; - s.h___487364 = undefined; + s.i___24615 = undefined; + s.x___24626 = undefined; + s.y___24632 = undefined; + s.w___24638 = undefined; + s.h___24642 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17713,13 +19375,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___487337 = (r0); + s.i___24615 = (r0); case 1: - r0 = (s.i___487337 > 0); + r0 = (s.i___24615 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P478964_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P17138_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -17727,8 +19389,8 @@ switch (step) { s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___487348 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P478964_mk(s); + s.x___24626 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P17138_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -17736,57 +19398,57 @@ switch (step) { s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___487354 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P478964_mk(s); + s.y___24632 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P17138_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___487360 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P478964_mk(s); + s.w___24638 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P17138_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___487364 = (r0); - s.tmp_0 = helpers_imageDrawRect__P477940_mk(s); + s.h___24642 = (r0); + s.tmp_0 = helpers_imageDrawRect__P16114_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___487348; - s.tmp_0.arg2 = s.y___487354; - s.tmp_0.arg3 = s.w___487360; - s.tmp_0.arg4 = s.h___487364; + s.tmp_0.arg1 = s.x___24626; + s.tmp_0.arg2 = s.y___24632; + s.tmp_0.arg3 = s.w___24638; + s.tmp_0.arg4 = s.h___24642; s.tmp_0.arg5 = 0; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___487337 - 1); - s.i___487337 = (r0); + r0 = (s.i___24615 - 1); + s.i___24615 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -inline__P487334.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} -inline__P487334.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +inline__P24612.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} +inline__P24612.info = {"start":2199,"length":360,"line":60,"column":49,"endLine":69,"endColumn":5,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":["input","r"]} -function inline__P487334_mk(s) { +function inline__P24612_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P487334, depth: s.depth + 1, + parent: s, fn: inline__P24612, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___487337: undefined, - x___487348: undefined, - y___487354: undefined, - w___487360: undefined, - h___487364: undefined, + i___24615: undefined, + x___24626: undefined, + y___24632: undefined, + w___24638: undefined, + h___24642: undefined, arg0: undefined, arg1: undefined, } } @@ -17795,7 +19457,7 @@ function inline__P487334_mk(s) { -function helpers_imageDrawRect__P477940(s) { +function helpers_imageDrawRect__P16114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17834,7 +19496,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P477939_mk(s); + s.tmp_0 = helpers_imageDrawLine__P16113_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -17845,7 +19507,7 @@ switch (step) { s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P477939_mk(s); + s.tmp_0 = helpers_imageDrawLine__P16113_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -17856,7 +19518,7 @@ switch (step) { s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P477939_mk(s); + s.tmp_0 = helpers_imageDrawLine__P16113_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -17869,7 +19531,7 @@ switch (step) { s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P477939_mk(s); + s.tmp_0 = helpers_imageDrawLine__P16113_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -17887,13 +19549,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P477940.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -helpers_imageDrawRect__P477940.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P16114.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P16114.info = {"start":4141,"length":370,"line":140,"column":4,"endLine":148,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P477940_mk(s) { +function helpers_imageDrawRect__P16114_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P477940, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P16114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17909,7 +19571,7 @@ function helpers_imageDrawRect__P477940_mk(s) { -function helpers_imageDrawLine__P477939(s) { +function helpers_imageDrawLine__P16113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17929,14 +19591,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P477934_mk(s); + s.tmp_2 = helpers_pack__P16108_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P477934_mk(s); + s.tmp_4 = helpers_pack__P16108_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.pc = 2; return s.tmp_4; @@ -17948,13 +19610,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P477939.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -helpers_imageDrawLine__P477939.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P16113.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P16113.info = {"start":3977,"length":159,"line":137,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P477939_mk(s) { +function helpers_imageDrawLine__P16113_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P477939, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P16113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17973,7 +19635,7 @@ function helpers_imageDrawLine__P477939_mk(s) { -function effects_ImageEffect_applyTo__P479291(s) { +function effects_ImageEffect_applyTo__P17465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17983,14 +19645,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.clonedImage___487461 = undefined; + s.clonedImage___24739 = 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__C479290_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C17464_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -18016,16 +19678,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___487461 = (r0); - s.tmp_0 = effects_ImageEffect_change__P479292_mk(s); + s.clonedImage___24739 = (r0); + s.tmp_0 = effects_ImageEffect_change__P17466_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___487461; + s.tmp_0.arg1 = s.clonedImage___24739; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P478206_mk(s); + s.tmp_0 = Sprite_setImage__P16380_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___487461; + s.tmp_0.arg1 = s.clonedImage___24739; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -18034,13 +19696,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P479291.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__P479291.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__P17465.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__P17465.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__P479291_mk(s) { +function effects_ImageEffect_applyTo__P17465_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P479291, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P17465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18048,7 +19710,7 @@ function effects_ImageEffect_applyTo__P479291_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___487461: undefined, + clonedImage___24739: undefined, arg0: undefined, arg1: undefined, } } @@ -18057,7 +19719,7 @@ function effects_ImageEffect_applyTo__P479291_mk(s) { -function effects_ImageEffect_change__P479292(s) { +function effects_ImageEffect_change__P17466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18073,7 +19735,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C479290_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C17464_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -18094,13 +19756,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P479292.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__P479292.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__P17466.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__P17466.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__P479292_mk(s) { +function effects_ImageEffect_change__P17466_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P479292, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P17466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18111,7 +19773,7 @@ function effects_ImageEffect_change__P479292_mk(s) { -function Sprite_setImage__P478206(s) { +function Sprite_setImage__P16380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18121,24 +19783,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.newHitBox___487479 = undefined; - s.oMinX___487490 = undefined; - s.oMinY___487495 = undefined; - s.oMaxX___487500 = undefined; - s.oMaxY___487508 = undefined; - s.nMinX___487516 = undefined; - s.nMinY___487519 = undefined; - s.nMaxX___487522 = undefined; - s.nMaxY___487528 = undefined; - s.xDiff___487534 = undefined; - s.yDiff___487545 = undefined; + s.newHitBox___24757 = undefined; + s.oMinX___24768 = undefined; + s.oMinY___24773 = undefined; + s.oMaxX___24778 = undefined; + s.oMaxY___24786 = undefined; + s.nMinX___24794 = undefined; + s.nMinY___24797 = undefined; + s.nMaxX___24800 = undefined; + s.nMaxY___24806 = undefined; + s.xDiff___24812 = undefined; + s.yDiff___24823 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -18149,12 +19811,12 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = game_calculateHitBox__P478180_mk(s); + s.tmp_0 = game_calculateHitBox__P16354_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.newHitBox___487479 = (r0); + s.newHitBox___24757 = (r0); r0 = s.arg0.fields["_hitbox"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18163,95 +19825,95 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___487479); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___24757); { step = 9; continue; } case 3: case 4: r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["ox"]; - s.oMinX___487490 = (r0); + s.oMinX___24768 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["oy"]; - s.oMinY___487495 = (r0); + s.oMinY___24773 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___487490 + s.tmp_0); - s.oMaxX___487500 = (r0); + r0 = (s.oMinX___24768 + s.tmp_0); + s.oMaxX___24778 = (r0); r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___487495 + s.tmp_0); - s.oMaxY___487508 = (r0); - r0 = s.newHitBox___487479.fields["ox"]; - s.nMinX___487516 = (r0); - r0 = s.newHitBox___487479.fields["oy"]; - s.nMinY___487519 = (r0); - r0 = s.newHitBox___487479.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___487516 + s.tmp_0); - s.nMaxX___487522 = (r0); - r0 = s.newHitBox___487479.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___487519 + s.tmp_0); - s.nMaxY___487528 = (r0); - s.tmp_1 = Fx_abs__P477560_mk(s); - r0 = (s.oMinX___487490 - s.nMinX___487516); + r0 = (s.oMinY___24773 + s.tmp_0); + s.oMaxY___24786 = (r0); + r0 = s.newHitBox___24757.fields["ox"]; + s.nMinX___24794 = (r0); + r0 = s.newHitBox___24757.fields["oy"]; + s.nMinY___24797 = (r0); + r0 = s.newHitBox___24757.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___24794 + s.tmp_0); + s.nMaxX___24800 = (r0); + r0 = s.newHitBox___24757.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___24797 + s.tmp_0); + s.nMaxY___24806 = (r0); + s.tmp_1 = Fx_abs__P15734_mk(s); + r0 = (s.oMinX___24768 - s.nMinX___24794); s.tmp_1.arg0 = r0; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P477560_mk(s); - r0 = (s.oMaxX___487500 - s.nMaxX___487522); + s.tmp_3 = Fx_abs__P15734_mk(s); + r0 = (s.oMaxX___24778 - s.nMaxX___24800); s.tmp_3.arg0 = r0; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___487534 = (r0); - s.tmp_1 = Fx_abs__P477560_mk(s); - r0 = (s.oMinY___487495 - s.nMinY___487519); + s.xDiff___24812 = (r0); + s.tmp_1 = Fx_abs__P15734_mk(s); + r0 = (s.oMinY___24773 - s.nMinY___24797); s.tmp_1.arg0 = r0; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P477560_mk(s); - r0 = (s.oMaxY___487508 - s.nMaxY___487528); + s.tmp_3 = Fx_abs__P15734_mk(s); + r0 = (s.oMaxY___24786 - s.nMaxY___24806); s.tmp_3.arg0 = r0; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___487545 = (r0); - r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___487479); - r0 = (s.xDiff___487534 <= 512); + s.yDiff___24823 = (r0); + r0 = (s.arg0).fields["_hitbox"] = (s.newHitBox___24757); + r0 = (s.xDiff___24812 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["ox"] = (s.oMinX___487490); + r0 = (s.tmp_1).fields["ox"] = (s.oMinX___24768); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxX___487500 - s.oMinX___487490); + r0 = (s.oMaxX___24778 - s.oMinX___24768); s.tmp_1 = r0; r0 = (s.tmp_0).fields["width"] = (s.tmp_1); case 5: case 6: - r0 = (s.yDiff___487545 <= 512); + r0 = (s.yDiff___24823 <= 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } r0 = s.arg0.fields["_hitbox"]; s.tmp_1 = r0; - r0 = (s.tmp_1).fields["oy"] = (s.oMinY___487495); + r0 = (s.tmp_1).fields["oy"] = (s.oMinY___24773); r0 = s.arg0.fields["_hitbox"]; s.tmp_0 = r0; - r0 = (s.oMaxY___487508 - s.oMinY___487495); + r0 = (s.oMaxY___24786 - s.oMinY___24773); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); case 7: @@ -18261,29 +19923,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P478206.info = {"start":6048,"length":1386,"line":227,"column":4,"endLine":268,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -Sprite_setImage__P478206.info = {"start":6048,"length":1386,"line":227,"column":4,"endLine":268,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P16380.info = {"start":6048,"length":1386,"line":227,"column":4,"endLine":268,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} +Sprite_setImage__P16380.info = {"start":6048,"length":1386,"line":227,"column":4,"endLine":268,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setImage","argumentNames":["this","img"]} -function Sprite_setImage__P478206_mk(s) { +function Sprite_setImage__P16380_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P478206, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P16380, 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___487479: undefined, - oMinX___487490: undefined, - oMinY___487495: undefined, - oMaxX___487500: undefined, - oMaxY___487508: undefined, - nMinX___487516: undefined, - nMinY___487519: undefined, - nMaxX___487522: undefined, - nMaxY___487528: undefined, - xDiff___487534: undefined, - yDiff___487545: undefined, + newHitBox___24757: undefined, + oMinX___24768: undefined, + oMinY___24773: undefined, + oMaxX___24778: undefined, + oMaxY___24786: undefined, + nMinX___24794: undefined, + nMinY___24797: undefined, + nMaxX___24800: undefined, + nMaxY___24806: undefined, + xDiff___24812: undefined, + yDiff___24823: undefined, arg0: undefined, arg1: undefined, } } @@ -18292,7 +19954,7 @@ function Sprite_setImage__P478206_mk(s) { -function game_calculateHitBox__P478180(s) { +function game_calculateHitBox__P16354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18302,104 +19964,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___487594 = undefined; - s.minX___487597 = undefined; - s.minY___487600 = undefined; - s.maxX___487603 = undefined; - s.maxY___487604 = undefined; - s.c___487605 = undefined; - s.r___487611 = undefined; - s.width___487642 = undefined; - s.height___487648 = undefined; + s.i___24872 = undefined; + s.minX___24875 = undefined; + s.minY___24878 = undefined; + s.maxX___24881 = undefined; + s.maxY___24882 = undefined; + s.c___24883 = undefined; + s.r___24889 = undefined; + s.width___24920 = undefined; + s.height___24926 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0.fields["_image"]; - s.i___487594 = (r0); - r0 = pxsim_ImageMethods.width(s.i___487594); - s.minX___487597 = (r0); - r0 = pxsim_ImageMethods.height(s.i___487594); - s.minY___487600 = (r0); - s.maxX___487603 = (0); - s.maxY___487604 = (0); - s.c___487605 = (0); - case 1: - s.tmp_1 = r0 = s.c___487605; - r0 = pxsim_ImageMethods.width(s.i___487594); + s.i___24872 = (r0); + r0 = pxsim_ImageMethods.width(s.i___24872); + s.minX___24875 = (r0); + r0 = pxsim_ImageMethods.height(s.i___24872); + s.minY___24878 = (r0); + s.maxX___24881 = (0); + s.maxY___24882 = (0); + s.c___24883 = (0); + case 1: + s.tmp_1 = r0 = s.c___24883; + r0 = pxsim_ImageMethods.width(s.i___24872); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.r___487611 = (0); + s.r___24889 = (0); case 2: - s.tmp_1 = r0 = s.r___487611; - r0 = pxsim_ImageMethods.height(s.i___487594); + s.tmp_1 = r0 = s.r___24889; + r0 = pxsim_ImageMethods.height(s.i___24872); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.getPixel(s.i___487594, s.c___487605, s.r___487611); + r0 = pxsim_ImageMethods.getPixel(s.i___24872, s.c___24883, s.r___24889); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Math_min__P477517_mk(s); - s.tmp_4.arg0 = s.minX___487597; - s.tmp_4.arg1 = s.c___487605; + s.tmp_4 = Math_min__P15691_mk(s); + s.tmp_4.arg0 = s.minX___24875; + s.tmp_4.arg1 = s.c___24883; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; - s.minX___487597 = (r0); - s.tmp_0 = Math_min__P477517_mk(s); - s.tmp_0.arg0 = s.minY___487600; - s.tmp_0.arg1 = s.r___487611; + s.minX___24875 = (r0); + s.tmp_0 = Math_min__P15691_mk(s); + s.tmp_0.arg0 = s.minY___24878; + s.tmp_0.arg1 = s.r___24889; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.minY___487600 = (r0); - s.tmp_0 = Math_max__P477516_mk(s); - s.tmp_0.arg0 = s.maxX___487603; - s.tmp_0.arg1 = s.c___487605; + s.minY___24878 = (r0); + s.tmp_0 = Math_max__P15690_mk(s); + s.tmp_0.arg0 = s.maxX___24881; + s.tmp_0.arg1 = s.c___24883; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.maxX___487603 = (r0); - s.tmp_0 = Math_max__P477516_mk(s); - s.tmp_0.arg0 = s.maxY___487604; - s.tmp_0.arg1 = s.r___487611; + s.maxX___24881 = (r0); + s.tmp_0 = Math_max__P15690_mk(s); + s.tmp_0.arg0 = s.maxY___24882; + s.tmp_0.arg1 = s.r___24889; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.maxY___487604 = (r0); + s.maxY___24882 = (r0); case 3: case 4: - r0 = (s.r___487611 + 1); - s.r___487611 = (r0); + r0 = (s.r___24889 + 1); + s.r___24889 = (r0); { step = 2; continue; } case 5: - r0 = (s.c___487605 + 1); - s.c___487605 = (r0); + r0 = (s.c___24883 + 1); + s.c___24883 = (r0); { step = 1; continue; } case 6: - r0 = (s.maxX___487603 - s.minX___487597); + r0 = (s.maxX___24881 - s.minX___24875); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.width___487642 = (r0); - r0 = (s.maxY___487604 - s.minY___487600); + s.width___24920 = (r0); + r0 = (s.maxY___24882 - s.minY___24878); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.height___487648 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C478174_VT); + s.height___24926 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C16348_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P478179_mk(s); + s.tmp_1 = game_Hitbox_constructor__P16353_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___487642; - s.tmp_1.arg3 = s.height___487648; - s.tmp_1.arg4 = s.minX___487597; - s.tmp_1.arg5 = s.minY___487600; + s.tmp_1.arg2 = s.width___24920; + s.tmp_1.arg3 = s.height___24926; + s.tmp_1.arg4 = s.minX___24875; + s.tmp_1.arg5 = s.minY___24878; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -18407,28 +20069,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P478180.info = {"start":894,"length":684,"line":40,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} -game_calculateHitBox__P478180.info = {"start":894,"length":684,"line":40,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} +game_calculateHitBox__P16354.info = {"start":894,"length":684,"line":40,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} +game_calculateHitBox__P16354.info = {"start":894,"length":684,"line":40,"column":4,"endLine":62,"endColumn":5,"fileName":"pxt_modules/game/hitbox.ts","functionName":"calculateHitBox","argumentNames":["s"]} -function game_calculateHitBox__P478180_mk(s) { +function game_calculateHitBox__P16354_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P478180, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P16354, 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___487594: undefined, - minX___487597: undefined, - minY___487600: undefined, - maxX___487603: undefined, - maxY___487604: undefined, - c___487605: undefined, - r___487611: undefined, - width___487642: undefined, - height___487648: undefined, + i___24872: undefined, + minX___24875: undefined, + minY___24878: undefined, + maxX___24881: undefined, + maxY___24882: undefined, + c___24883: undefined, + r___24889: undefined, + width___24920: undefined, + height___24926: undefined, arg0: undefined, } } @@ -18436,7 +20098,7 @@ function game_calculateHitBox__P478180_mk(s) { -function game_Hitbox_constructor__P478179(s) { +function game_Hitbox_constructor__P16353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18456,7 +20118,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C478174_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C16348_VT)) failedCast(r0); r0 = (s.arg0).fields["parent"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = (s.arg2 * 256); @@ -18486,13 +20148,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P478179.info = {"start":151,"length":266,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} -game_Hitbox_constructor__P478179.info = {"start":151,"length":266,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} +game_Hitbox_constructor__P16353.info = {"start":151,"length":266,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} +game_Hitbox_constructor__P16353.info = {"start":151,"length":266,"line":8,"column":8,"endLine":14,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"inline","argumentNames":["this","parent","width","height","ox","oy"]} -function game_Hitbox_constructor__P478179_mk(s) { +function game_Hitbox_constructor__P16353_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P478179, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P16353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18509,7 +20171,7 @@ function game_Hitbox_constructor__P478179_mk(s) { -function Fx_abs__P477560(s) { +function Fx_abs__P15734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18539,13 +20201,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P477560.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__P477560.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__P15734.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__P15734.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__P477560_mk(s) { +function Fx_abs__P15734_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P477560, depth: s.depth + 1, + parent: s, fn: Fx_abs__P15734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18555,7 +20217,7 @@ function Fx_abs__P477560_mk(s) { -function Fx_sub__P477554(s) { +function Fx_sub__P15728(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18574,13 +20236,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P477554.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__P477554.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__P15728.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__P15728.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__P477554_mk(s) { +function Fx_sub__P15728_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P477554, depth: s.depth + 1, + parent: s, fn: Fx_sub__P15728, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18590,7 +20252,7 @@ function Fx_sub__P477554_mk(s) { -function Sprite_image__P478205(s) { +function Sprite_image__P16379(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18605,19 +20267,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P478205.info = {"start":5772,"length":54,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -Sprite_image__P478205.isGetter = true; -Sprite_image__P478205.info = {"start":5772,"length":54,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P16379.info = {"start":5772,"length":54,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} +Sprite_image__P16379.isGetter = true; +Sprite_image__P16379.info = {"start":5772,"length":54,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"image","argumentNames":["this"]} -function Sprite_image__P478205_mk(s) { +function Sprite_image__P16379_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P478205, depth: s.depth + 1, + parent: s, fn: Sprite_image__P16379, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18626,7 +20288,7 @@ function Sprite_image__P478205_mk(s) { -function effects_ParticleEffect_start__P479240(s) { +function effects_ParticleEffect_start__P17414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18636,7 +20298,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.src___487704 = undefined; + s.src___24982 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18646,7 +20308,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C479239_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C17413_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18682,9 +20344,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___487704 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P479119_mk(s); - s.tmp_0.arg0 = s.src___487704; + s.src___24982 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P17293_mk(s); + s.tmp_0.arg0 = s.src___24982; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -18709,7 +20371,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___487704).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___24982).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -18717,20 +20379,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P479240.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__P479240.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__P17414.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__P17414.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__P479240_mk(s) { +function effects_ParticleEffect_start__P17414_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P479240, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P17414, 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___487704: undefined, + src___24982: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18742,7 +20404,7 @@ function effects_ParticleEffect_start__P479240_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P479119(s) { +function particles_ParticleSource_setRelativeToCamera__P17293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18758,7 +20420,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18784,13 +20446,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P479119.info = {"start":6422,"length":173,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} -particles_ParticleSource_setRelativeToCamera__P479119.info = {"start":6422,"length":173,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} +particles_ParticleSource_setRelativeToCamera__P17293.info = {"start":6422,"length":173,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} +particles_ParticleSource_setRelativeToCamera__P17293.info = {"start":6422,"length":173,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"setRelativeToCamera","argumentNames":["this","on"]} -function particles_ParticleSource_setRelativeToCamera__P479119_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P17293_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P479119, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P17293, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18805,7 +20467,7 @@ function particles_ParticleSource_setRelativeToCamera__P479119_mk(s) { -function Sprite_setFlag__P478227(s) { +function Sprite_setFlag__P16401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18822,7 +20484,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18857,7 +20519,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 5; continue; } - s.tmp_2 = Sprite_setFlag__P478227_mk(s); + s.tmp_2 = Sprite_setFlag__P16401_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 512; @@ -18871,13 +20533,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P478227.info = {"start":22877,"length":292,"line":697,"column":4,"endLine":704,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -Sprite_setFlag__P478227.info = {"start":22877,"length":292,"line":697,"column":4,"endLine":704,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P16401.info = {"start":22877,"length":292,"line":697,"column":4,"endLine":704,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} +Sprite_setFlag__P16401.info = {"start":22877,"length":292,"line":697,"column":4,"endLine":704,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setFlag","argumentNames":["this","flag","on"]} -function Sprite_setFlag__P478227_mk(s) { +function Sprite_setFlag__P16401_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P478227, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P16401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18893,7 +20555,7 @@ function Sprite_setFlag__P478227_mk(s) { -function Sprite__destroyCore__P478236(s) { +function Sprite__destroyCore__P16410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18903,29 +20565,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___487230 = undefined; + s.scene___24508 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_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__P478375_mk(s); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.scene___487230 = (r0); + s.scene___24508 = (r0); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Sprite_destroy__P478235_mk(s); + s.tmp_1 = Sprite_destroy__P16409_mk(s); r0 = s.arg0.fields["sayBubbleSprite"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -18935,7 +20597,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = s.scene___487230.fields["allSprites"]; + r0 = s.scene___24508.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -18947,7 +20609,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = s.scene___487230.fields["spritesByKind"]; + r0 = s.scene___24508.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -18957,8 +20619,8 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 5; continue; } - s.tmp_5 = sprites_SpriteSet_remove__P478264_mk(s); - r0 = s.scene___487230.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P16438_mk(s); + r0 = s.scene___24508.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -18970,11 +20632,11 @@ switch (step) { r0 = s.retval; case 5: case 6: - s.tmp_0 = PhysicsEngine__C478294_v1_2_mk(s); - r0 = s.scene___487230.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C16468_v1_2_mk(s); + r0 = s.scene___24508.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C478294_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C16468_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.removeSprite; s.pc = 12; return s.tmp_0; case 12: @@ -18998,15 +20660,15 @@ switch (step) { r0 = s.retval; case 7: case 8: - r0 = pxsim_pxtcore_mkAction(1, inline__P487267); + r0 = pxsim_pxtcore_mkAction(1, inline__P24545); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P487274); + r0 = pxsim_pxtcore_mkAction(1, inline__P24552); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P477500_mk(s); - s.tmp_3 = helpers_arrayFilter__P477501_mk(s); - r0 = s.scene___487230.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P15674_mk(s); + s.tmp_3 = helpers_arrayFilter__P15675_mk(s); + r0 = s.scene___24508.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.pc = 15; return s.tmp_3; @@ -19021,13 +20683,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P478236.info = {"start":27377,"length":693,"line":830,"column":4,"endLine":846,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -Sprite__destroyCore__P478236.info = {"start":27377,"length":693,"line":830,"column":4,"endLine":846,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P16410.info = {"start":27377,"length":693,"line":830,"column":4,"endLine":846,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P16410.info = {"start":27377,"length":693,"line":830,"column":4,"endLine":846,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P478236_mk(s) { +function Sprite__destroyCore__P16410_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P478236, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P16410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19037,7 +20699,7 @@ function Sprite__destroyCore__P478236_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___487230: undefined, + scene___24508: undefined, arg0: undefined, } } @@ -19045,7 +20707,7 @@ function Sprite__destroyCore__P478236_mk(s) { -function inline__P487267(s) { +function inline__P24545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19067,13 +20729,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P487267.info = {"start":27993,"length":26,"line":844,"column":20,"endLine":844,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P487267.info = {"start":27993,"length":26,"line":844,"column":20,"endLine":844,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P24545.info = {"start":27993,"length":26,"line":844,"column":20,"endLine":844,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P24545.info = {"start":27993,"length":26,"line":844,"column":20,"endLine":844,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P487267_mk(s) { +function inline__P24545_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P487267, depth: s.depth + 1, + parent: s, fn: inline__P24545, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19084,7 +20746,7 @@ function inline__P487267_mk(s) { -function inline__P487274(s) { +function inline__P24552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19116,13 +20778,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P487274.info = {"start":28042,"length":20,"line":845,"column":21,"endLine":845,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P487274.info = {"start":28042,"length":20,"line":845,"column":21,"endLine":845,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P24552.info = {"start":28042,"length":20,"line":845,"column":21,"endLine":845,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P24552.info = {"start":28042,"length":20,"line":845,"column":21,"endLine":845,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P487274_mk(s) { +function inline__P24552_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P487274, depth: s.depth + 1, + parent: s, fn: inline__P24552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19132,7 +20794,7 @@ function inline__P487274_mk(s) { -function PhysicsEngine_removeSprite__P478296(s) { +function PhysicsEngine_removeSprite__P16470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19148,18 +20810,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C478294_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C16468_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P478296.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__P478296.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__P16470.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__P16470.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__P478296_mk(s) { +function PhysicsEngine_removeSprite__P16470_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P478296, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P16470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19169,7 +20831,7 @@ function PhysicsEngine_removeSprite__P478296_mk(s) { -function sprites_SpriteSet_remove__P478264(s) { +function sprites_SpriteSet_remove__P16438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19179,26 +20841,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.i___487283 = undefined; + s.i___24561 = 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__C478258_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C16432_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___487283 = (r0); - r0 = (s.i___487283 > -1); + s.i___24561 = (r0); + r0 = (s.i___24561 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P477489_mk(s); + s.tmp_1 = helpers_arraySplice__P15663_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___487283; + s.tmp_1.arg1 = s.i___24561; s.tmp_1.arg2 = 1; s.pc = 4; return s.tmp_1; case 4: @@ -19212,17 +20874,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P478264.info = {"start":1816,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} -sprites_SpriteSet_remove__P478264.info = {"start":1816,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} +sprites_SpriteSet_remove__P16438.info = {"start":1816,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} +sprites_SpriteSet_remove__P16438.info = {"start":1816,"length":235,"line":66,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"remove","argumentNames":["this","sprite"]} -function sprites_SpriteSet_remove__P478264_mk(s) { +function sprites_SpriteSet_remove__P16438_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P478264, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P16438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___487283: undefined, + i___24561: undefined, arg0: undefined, arg1: undefined, } } @@ -19231,7 +20893,7 @@ function sprites_SpriteSet_remove__P478264_mk(s) { -function Sprite_kind__P478218(s) { +function Sprite_kind__P16392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19246,18 +20908,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P478218.info = {"start":9711,"length":41,"line":354,"column":4,"endLine":356,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -Sprite_kind__P478218.info = {"start":9711,"length":41,"line":354,"column":4,"endLine":356,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P16392.info = {"start":9711,"length":41,"line":354,"column":4,"endLine":356,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} +Sprite_kind__P16392.info = {"start":9711,"length":41,"line":354,"column":4,"endLine":356,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"kind","argumentNames":["this"]} -function Sprite_kind__P478218_mk(s) { +function Sprite_kind__P16392_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P478218, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P16392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19266,7 +20928,7 @@ function Sprite_kind__P478218_mk(s) { -function game_popScene__P478690(s) { +function game_popScene__P16864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19276,57 +20938,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.oldScene___487109 = undefined; - s.tmp_0 = game_currentScene__P478375_mk(s); + s.oldScene___24387 = undefined; + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___487109 = (r0); - s.tmp_0 = r0 = globals._sceneStack___478678; + s.oldScene___24387 = (r0); + s.tmp_0 = r0 = globals._sceneStack___16852; 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___478678); + r0 = pxsim_Array__length(globals._sceneStack___16852); 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___478678); - globals._scene___478677 = (r0); - s.tmp_0 = control_popEventContext__P477737_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___16852); + globals._scene___16851 = (r0); + s.tmp_0 = control_popEventContext__P15911_mk(s); s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___478677); + r0 = pxsim_numops_toBoolDecr(globals._scene___16851); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P477737_mk(s); + s.tmp_0 = control_popEventContext__P15911_mk(s); s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___478677 = (undefined); + globals._scene___16851 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___478677); + r0 = pxsim_numops_toBoolDecr(globals._scene___16851); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P479148_mk(s); + s.tmp_0 = particles_enableAll__P17322_mk(s); s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___478680); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___16854); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P487130); + r0 = pxsim_pxtcore_mkAction(1, inline__P24408); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___487109); - s.tmp_1 = helpers_arrayForEach__P477500_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___478680; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___24387); + s.tmp_1 = helpers_arrayForEach__P15674_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___16854; s.tmp_1.arg1 = s.tmp_0; s.pc = 15; return s.tmp_1; case 15: @@ -19337,24 +20999,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P478690.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} -game_popScene__P478690.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P16864.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P16864.info = {"start":2033,"length":548,"line":75,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} -function game_popScene__P478690_mk(s) { +function game_popScene__P16864_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P478690, depth: s.depth + 1, + parent: s, fn: game_popScene__P16864, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___487109: undefined, + oldScene___24387: undefined, } } -function inline__P487130(s) { +function inline__P24408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19379,13 +21041,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P487130.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -inline__P487130.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P24408.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P24408.info = {"start":2545,"length":18,"line":91,"column":38,"endLine":91,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function inline__P487130_mk(s) { +function inline__P24408_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P487130, depth: s.depth + 1, + parent: s, fn: inline__P24408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19395,7 +21057,7 @@ function inline__P487130_mk(s) { -function particles_enableAll__P479148(s) { +function particles_enableAll__P17322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19405,21 +21067,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___487134 = undefined; - s.tmp_0 = particles_particleSources__P479149_mk(s); + s.sources___24412 = undefined; + s.tmp_0 = particles_particleSources__P17323_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___487134 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___487134); + s.sources___24412 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___24412); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P477500_mk(s); - s.tmp_0.arg0 = s.sources___487134; - s.tmp_0.arg1 = inline__P487140; + s.tmp_0 = helpers_arrayForEach__P15674_mk(s); + s.tmp_0.arg0 = s.sources___24412; + s.tmp_0.arg1 = inline__P24418; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P479136_mk(s); + s.tmp_0 = particles_pruneParticles__P17310_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -19429,23 +21091,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P479148.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} -particles_enableAll__P479148.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P17322.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P17322.info = {"start":12632,"length":193,"line":412,"column":4,"endLine":418,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} -function particles_enableAll__P479148_mk(s) { +function particles_enableAll__P17322_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P479148, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P17322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___487134: undefined, + sources___24412: undefined, } } -function inline__P487140(s) { +function inline__P24418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19459,7 +21121,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P479121_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P17295_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.pc = 1; return s.tmp_0; @@ -19469,13 +21131,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P487140.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -inline__P487140.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P24418.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P24418.info = {"start":12756,"length":21,"line":415,"column":28,"endLine":415,"endColumn":49,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function inline__P487140_mk(s) { +function inline__P24418_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P487140, depth: s.depth + 1, + parent: s, fn: inline__P24418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19485,7 +21147,7 @@ function inline__P487140_mk(s) { -function control_popEventContext__P477737(s) { +function control_popEventContext__P15911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19495,9 +21157,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ctx___487147 = undefined; - s.context___487155 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___477734); + s.ctx___24425 = undefined; + s.context___24433 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___15908); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19506,9 +21168,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___477734); - s.ctx___487147 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___487147); + r0 = pxsim_Array_.pop(globals.eventContexts___15908); + s.ctx___24425 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___24425); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19517,54 +21179,54 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P477725_mk(s); - s.tmp_2.arg0 = s.ctx___487147; + s.tmp_2 = control_EventContext_unregister__P15899_mk(s); + s.tmp_2.arg0 = s.ctx___24425; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___477734; - r0 = pxsim_Array__length(globals.eventContexts___477734); + s.tmp_0 = r0 = globals.eventContexts___15908; + r0 = pxsim_Array__length(globals.eventContexts___15908); 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___487155 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___487155); + s.context___24433 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___24433); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P477724_mk(s); - s.tmp_0.arg0 = s.context___487155; + s.tmp_0 = control_EventContext_register__P15898_mk(s); + s.tmp_0.arg0 = s.context___24433; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___477734 = (undefined); + globals.eventContexts___15908 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P477737.info = {"start":7140,"length":413,"line":221,"column":4,"endLine":235,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -control_popEventContext__P477737.info = {"start":7140,"length":413,"line":221,"column":4,"endLine":235,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P15911.info = {"start":7140,"length":413,"line":221,"column":4,"endLine":235,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P15911.info = {"start":7140,"length":413,"line":221,"column":4,"endLine":235,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -function control_popEventContext__P477737_mk(s) { +function control_popEventContext__P15911_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P477737, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P15911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___487147: undefined, - context___487155: undefined, + ctx___24425: undefined, + context___24433: undefined, } } -function control_EventContext_register__P477724(s) { +function control_EventContext_register__P15898(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19574,38 +21236,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.h___487168 = undefined; - s.unnamed1746___U1 = undefined; - s.unnamed1747___U2 = undefined; + s.h___24446 = undefined; + s.unnamed130___U1 = undefined; + s.unnamed131___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C477720_VT)) failedCast(r0); - s.h___487168 = (undefined); + if (!checkSubtype(r0, control_EventContext__C15894_VT)) failedCast(r0); + s.h___24446 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed1746___U1 = (r0); - s.unnamed1747___U2 = (0); + s.unnamed130___U1 = (r0); + s.unnamed131___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1747___U2; - r0 = pxsim_Array__length(s.unnamed1746___U1); + s.tmp_0 = r0 = s.unnamed131___U2; + r0 = pxsim_Array__length(s.unnamed130___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1746___U1, s.unnamed1747___U2); - s.h___487168 = (r0); - s.tmp_2 = control_EventHandler_register__P477716_mk(s); - s.tmp_2.arg0 = s.h___487168; + r0 = pxsim_Array__getAt(s.unnamed130___U1, s.unnamed131___U2); + s.h___24446 = (r0); + s.tmp_2 = control_EventHandler_register__P15890_mk(s); + s.tmp_2.arg0 = s.h___24446; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed1747___U2 + 1); - s.unnamed1747___U2 = (r0); + r0 = (s.unnamed131___U2 + 1); + s.unnamed131___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1746___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P477723_mk(s); + s.unnamed130___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P15897_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 4; return s.tmp_0; case 4: @@ -19614,20 +21276,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P477724.info = {"start":4246,"length":138,"line":128,"column":8,"endLine":132,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -control_EventContext_register__P477724.info = {"start":4246,"length":138,"line":128,"column":8,"endLine":132,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P15898.info = {"start":4246,"length":138,"line":128,"column":8,"endLine":132,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P15898.info = {"start":4246,"length":138,"line":128,"column":8,"endLine":132,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventContext_register__P477724_mk(s) { +function control_EventContext_register__P15898_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P477724, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P15898, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___487168: undefined, - unnamed1746___U1: undefined, - unnamed1747___U2: undefined, + h___24446: undefined, + unnamed130___U1: undefined, + unnamed131___U2: undefined, arg0: undefined, } } @@ -19635,7 +21297,7 @@ function control_EventContext_register__P477724_mk(s) { -function controller__setUserEventsEnabled__P478166(s) { +function controller__setUserEventsEnabled__P16340(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19649,18 +21311,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___478107 = (s.arg0); + globals._userEventsEnabled___16281 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P478166.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -controller__setUserEventsEnabled__P478166.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} +controller__setUserEventsEnabled__P16340.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} +controller__setUserEventsEnabled__P16340.info = {"start":19246,"length":101,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_setUserEventsEnabled","argumentNames":["enabled"]} -function controller__setUserEventsEnabled__P478166_mk(s) { +function controller__setUserEventsEnabled__P16340_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P478166, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P16340, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19669,7 +21331,7 @@ function controller__setUserEventsEnabled__P478166_mk(s) { -function scene_systemMenu_sleep__P478997(s) { +function scene_systemMenu_sleep__P17171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19684,13 +21346,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P478997.info = {"start":9610,"length":51,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} -scene_systemMenu_sleep__P478997.info = {"start":9610,"length":51,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} +scene_systemMenu_sleep__P17171.info = {"start":9610,"length":51,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} +scene_systemMenu_sleep__P17171.info = {"start":9610,"length":51,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"sleep","argumentNames":[]} -function scene_systemMenu_sleep__P478997_mk(s) { +function scene_systemMenu_sleep__P17171_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P478997, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P17171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -19698,7 +21360,7 @@ function scene_systemMenu_sleep__P478997_mk(s) { -function scene_systemMenu_toggleConsole__P478996(s) { +function scene_systemMenu_toggleConsole__P17170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19708,7 +21370,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___479047); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___17221); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -19718,7 +21380,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P479086_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P17260_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.pc = 3; return s.tmp_4; @@ -19726,13 +21388,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P479086_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P17260_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P477691_mk(s); + s.tmp_0 = console_log__P15865_mk(s); s.tmp_0.arg0 = "console"; s.pc = 5; return s.tmp_0; case 5: @@ -19742,13 +21404,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P478996.info = {"start":9365,"length":239,"line":297,"column":4,"endLine":304,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} -scene_systemMenu_toggleConsole__P478996.info = {"start":9365,"length":239,"line":297,"column":4,"endLine":304,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} +scene_systemMenu_toggleConsole__P17170.info = {"start":9365,"length":239,"line":297,"column":4,"endLine":304,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} +scene_systemMenu_toggleConsole__P17170.info = {"start":9365,"length":239,"line":297,"column":4,"endLine":304,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleConsole","argumentNames":[]} -function scene_systemMenu_toggleConsole__P478996_mk(s) { +function scene_systemMenu_toggleConsole__P17170_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P478996, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P17170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19761,7 +21423,7 @@ function scene_systemMenu_toggleConsole__P478996_mk(s) { -function game_consoleOverlay_setVisible__P479086(s) { +function game_consoleOverlay_setVisible__P17260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19777,7 +21439,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___479047); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___17221); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -19798,27 +21460,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___479047 = (s.tmp_6); + globals.consoleStrings___17221 = (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___479046 = (s.arg1); + globals.consoleColor___17220 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P479086.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__P479086.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__P17260.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__P17260.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__P479086_mk(s) { +function game_consoleOverlay_setVisible__P17260_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P479086, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P17260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19835,7 +21497,7 @@ function game_consoleOverlay_setVisible__P479086_mk(s) { -function console_log__P477691(s) { +function console_log__P15865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19849,7 +21511,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P477687_mk(s); + s.tmp_0 = console_add__P15861_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.pc = 1; return s.tmp_0; @@ -19859,13 +21521,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P477691.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__P477691.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__P15865.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__P15865.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__P477691_mk(s) { +function console_log__P15865_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P477691, depth: s.depth + 1, + parent: s, fn: console_log__P15865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19875,7 +21537,7 @@ function console_log__P477691_mk(s) { -function console_add__P477687(s) { +function console_add__P15861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19885,58 +21547,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.text___488276 = undefined; - s.i___488288 = undefined; + s.text___25554 = undefined; + s.i___25566 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = console_inspect__P477693_mk(s); + s.tmp_0 = console_inspect__P15867_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 20; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.text___488276 = (r0); - r0 = (s.arg0 < globals.minPriority___477684); + s.text___25554 = (r0); + r0 = (s.arg0 < globals.minPriority___15858); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } { step = 5; continue; } case 1: case 2: - if ((s.text___488276) && (s.text___488276).vtable) { + if ((s.text___25554) && (s.text___25554).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___488276); + pxsim_String__stringConv(s.text___25554); checkResumeConsumed(); return; - } else { s.retval = (s.text___488276) + ""; } + } else { s.retval = (s.text___25554) + ""; } case 7: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.text___488276 = (r0); - s.i___488288 = (0); + s.text___25554 = (r0); + s.i___25566 = (0); case 3: - s.tmp_1 = r0 = s.i___488288; - r0 = pxsim_Array__length(globals.listeners___477686); + s.tmp_1 = r0 = s.i___25566; + r0 = pxsim_Array__length(globals.listeners___15860); 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___477686, s.i___488288); + r0 = pxsim_Array__getAt(globals.listeners___15860, s.i___25566); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___488276; + s.tmp_3.arg1 = s.text___25554; setupLambda(s.tmp_3, s.tmp_3.argL); s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___488288 + 1); - s.i___488288 = (r0); + r0 = (s.i___25566 + 1); + s.i___25566 = (r0); { step = 3; continue; } case 4: case 5: @@ -19944,20 +21606,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P477687.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__P477687.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__P15861.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__P15861.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__P477687_mk(s) { +function console_add__P15861_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P477687, depth: s.depth + 1, + parent: s, fn: console_add__P15861, 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___488276: undefined, - i___488288: undefined, + text___25554: undefined, + i___25566: undefined, arg0: undefined, arg1: undefined, } } @@ -19966,7 +21628,7 @@ function console_add__P477687_mk(s) { -function console_inspect__P477693(s) { +function console_inspect__P15867(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19976,10 +21638,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.asArr___488319 = undefined; - s.asString___488338 = undefined; - s.keys___488350 = undefined; - s.snipped___488354 = undefined; + s.asArr___25597 = undefined; + s.asString___25616 = undefined; + s.keys___25628 = undefined; + s.snipped___25632 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20020,15 +21682,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___488319 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___488319); + s.asArr___25597 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___25597); 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__P477492_mk(s); - s.tmp_2.arg0 = s.asArr___488319; + s.tmp_2 = helpers_arrayJoin__P15666_mk(s); + s.tmp_2.arg0 = s.asArr___25597; s.tmp_2.arg1 = ","; s.pc = 19; return s.tmp_2; case 19: @@ -20038,9 +21700,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P477492_mk(s); - s.tmp_8 = helpers_arraySlice__P477505_mk(s); - s.tmp_8.arg0 = s.asArr___488319; + s.tmp_7 = helpers_arrayJoin__P15666_mk(s); + s.tmp_8 = helpers_arraySlice__P15679_mk(s); + s.tmp_8.arg0 = s.asArr___25597; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.pc = 21; return s.tmp_8; @@ -20080,46 +21742,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___488338 = (r0); - r0 = (s.asString___488338 != "[object Object]"); + s.asString___25616 = (r0); + r0 = (s.asString___25616 != "[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___488338 != "[Object]"); + r0 = (s.asString___25616 != "[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___488338; + r0 = s.asString___25616; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___488350 = (r0); - r0 = pxsim_Array__length(s.keys___488350); + s.keys___25628 = (r0); + r0 = pxsim_Array__length(s.keys___25628); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___488354 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___488354); + s.snipped___25632 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___25632); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P477505_mk(s); - s.tmp_0.arg0 = s.keys___488350; + s.tmp_0 = helpers_arraySlice__P15679_mk(s); + s.tmp_0.arg0 = s.keys___25628; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___488350 = (r0); + s.keys___25628 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, inline__P488372); + r0 = pxsim_pxtcore_mkAction(1, inline__P25650); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___488354); + r0 = pxsim_numops_toBoolDecr(s.snipped___25632); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -20128,8 +21790,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P477503_mk(s); - s.tmp_7.arg0 = s.keys___488350; + s.tmp_7 = helpers_arrayReduce__P15677_mk(s); + s.tmp_7.arg0 = s.keys___25628; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -20178,13 +21840,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P477693.info = {"start":2223,"length":1190,"line":80,"column":4,"endLine":113,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} -console_inspect__P477693.info = {"start":2223,"length":1190,"line":80,"column":4,"endLine":113,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} +console_inspect__P15867.info = {"start":2223,"length":1190,"line":80,"column":4,"endLine":113,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} +console_inspect__P15867.info = {"start":2223,"length":1190,"line":80,"column":4,"endLine":113,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} -function console_inspect__P477693_mk(s) { +function console_inspect__P15867_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P477693, depth: s.depth + 1, + parent: s, fn: console_inspect__P15867, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20197,10 +21859,10 @@ function console_inspect__P477693_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___488319: undefined, - asString___488338: undefined, - keys___488350: undefined, - snipped___488354: undefined, + asArr___25597: undefined, + asString___25616: undefined, + keys___25628: undefined, + snipped___25632: undefined, arg0: undefined, arg1: undefined, } } @@ -20209,7 +21871,7 @@ function console_inspect__P477693_mk(s) { -function inline__P488372(s) { +function inline__P25650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20272,13 +21934,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488372.info = {"start":3245,"length":61,"line":107,"column":20,"endLine":107,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} -inline__P488372.info = {"start":3245,"length":61,"line":107,"column":20,"endLine":107,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} +inline__P25650.info = {"start":3245,"length":61,"line":107,"column":20,"endLine":107,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} +inline__P25650.info = {"start":3245,"length":61,"line":107,"column":20,"endLine":107,"endColumn":81,"fileName":"pxt_modules/base/console.ts","functionName":"inline","argumentNames":["prev","currKey"]} -function inline__P488372_mk(s) { +function inline__P25650_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488372, depth: s.depth + 1, + parent: s, fn: inline__P25650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20296,7 +21958,7 @@ function inline__P488372_mk(s) { -function helpers_arrayReduce__P477503(s) { +function helpers_arrayReduce__P15677(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20306,8 +21968,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___488399 = undefined; - s.i___488402 = undefined; + s.len___25677 = undefined; + s.i___25680 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20315,44 +21977,44 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___488399 = (r0); - s.i___488402 = (0); + s.len___25677 = (r0); + s.i___25680 = (0); case 1: - r0 = (s.i___488402 < s.len___488399); + r0 = (s.i___25680 < s.len___25677); 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___488402); + r0 = pxsim_Array__getAt(s.arg0, s.i___25680); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___488402; + s.tmp_1.arg2 = s.i___25680; setupLambda(s.tmp_1, s.tmp_1.argL); s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___488402 + 1); - s.i___488402 = (r0); + r0 = (s.i___25680 + 1); + s.i___25680 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P477503.info = {"start":6458,"length":317,"line":220,"column":4,"endLine":226,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} -helpers_arrayReduce__P477503.info = {"start":6458,"length":317,"line":220,"column":4,"endLine":226,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} +helpers_arrayReduce__P15677.info = {"start":6458,"length":317,"line":220,"column":4,"endLine":226,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} +helpers_arrayReduce__P15677.info = {"start":6458,"length":317,"line":220,"column":4,"endLine":226,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} -function helpers_arrayReduce__P477503_mk(s) { +function helpers_arrayReduce__P15677_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P477503, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P15677, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___488399: undefined, - i___488402: undefined, + len___25677: undefined, + i___25680: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20362,7 +22024,7 @@ function helpers_arrayReduce__P477503_mk(s) { -function helpers_arrayJoin__P477492(s) { +function helpers_arrayJoin__P15666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20372,9 +22034,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.r___488427 = undefined; - s.len___488428 = undefined; - s.i___488431 = undefined; + s.r___25705 = undefined; + s.len___25706 = undefined; + s.i___25709 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20397,16 +22059,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___488427 = (r0); + s.r___25705 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___488428 = (r0); - s.i___488431 = (0); + s.len___25706 = (r0); + s.i___25709 = (0); case 5: - r0 = (s.i___488431 < s.len___488428); + r0 = (s.i___25709 < s.len___25706); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___488431 > 0); + r0 = (s.i___25709 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -20419,12 +22081,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___488427) && (s.r___488427).vtable) { + if ((s.r___25705) && (s.r___25705).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___488427); + pxsim_String__stringConv(s.r___25705); checkResumeConsumed(); return; - } else { s.retval = (s.r___488427) + ""; } + } else { s.retval = (s.r___25705) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -20438,10 +22100,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___488427 = (r0); + s.r___25705 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___488431); + r0 = pxsim_Array__getAt(s.arg0, s.i___25709); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -20450,7 +22112,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___488431); + r0 = pxsim_Array__getAt(s.arg0, s.i___25709); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -20461,16 +22123,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___488431); + r0 = pxsim_Array__getAt(s.arg0, s.i___25709); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___488427) && (s.r___488427).vtable) { + if ((s.r___25705) && (s.r___25705).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___488427); + pxsim_String__stringConv(s.r___25705); checkResumeConsumed(); return; - } else { s.retval = (s.r___488427) + ""; } + } else { s.retval = (s.r___25705) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -20484,22 +22146,22 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___488427 = (r0); - r0 = (s.i___488431 + 1); - s.i___488431 = (r0); + s.r___25705 = (r0); + r0 = (s.i___25709 + 1); + s.i___25709 = (r0); { step = 5; continue; } case 14: - r0 = s.r___488427; + r0 = s.r___25705; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P477492.info = {"start":2275,"length":432,"line":97,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} -helpers_arrayJoin__P477492.info = {"start":2275,"length":432,"line":97,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} +helpers_arrayJoin__P15666.info = {"start":2275,"length":432,"line":97,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} +helpers_arrayJoin__P15666.info = {"start":2275,"length":432,"line":97,"column":4,"endLine":110,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} -function helpers_arrayJoin__P477492_mk(s) { +function helpers_arrayJoin__P15666_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P477492, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P15666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20508,9 +22170,9 @@ function helpers_arrayJoin__P477492_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___488427: undefined, - len___488428: undefined, - i___488431: undefined, + r___25705: undefined, + len___25706: undefined, + i___25709: undefined, arg0: undefined, arg1: undefined, } } @@ -20519,7 +22181,7 @@ function helpers_arrayJoin__P477492_mk(s) { -function scene_systemMenu_toggleStats__P478995(s) { +function scene_systemMenu_toggleStats__P17169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20529,21 +22191,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___478668); + r0 = pxsim_numops_toBoolDecr(globals.stats___16842); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___478668 = (r0); + globals.stats___16842 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P478995.info = {"start":9295,"length":64,"line":293,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} -scene_systemMenu_toggleStats__P478995.info = {"start":9295,"length":64,"line":293,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} +scene_systemMenu_toggleStats__P17169.info = {"start":9295,"length":64,"line":293,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} +scene_systemMenu_toggleStats__P17169.info = {"start":9295,"length":64,"line":293,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"toggleStats","argumentNames":[]} -function scene_systemMenu_toggleStats__P478995_mk(s) { +function scene_systemMenu_toggleStats__P17169_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P478995, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P17169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20552,7 +22214,7 @@ function scene_systemMenu_toggleStats__P478995_mk(s) { -function scene_systemMenu_brightnessDown__P478994(s) { +function scene_systemMenu_brightnessDown__P17168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20562,9 +22224,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = helpers_setScreenBrightness__P477945_mk(s); - s.tmp_0.arg0 = globals.screen___477998; - r0 = globals.brightness___477927; + s.tmp_0 = helpers_setScreenBrightness__P16119_mk(s); + s.tmp_0.arg0 = globals.screen___16172; + r0 = globals.brightness___16101; s.tmp_1 = r0; r0 = (s.tmp_1 - 10); s.tmp_0.arg1 = r0; @@ -20575,13 +22237,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P478994.info = {"start":9200,"length":89,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} -scene_systemMenu_brightnessDown__P478994.info = {"start":9200,"length":89,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} +scene_systemMenu_brightnessDown__P17168.info = {"start":9200,"length":89,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} +scene_systemMenu_brightnessDown__P17168.info = {"start":9200,"length":89,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessDown","argumentNames":[]} -function scene_systemMenu_brightnessDown__P478994_mk(s) { +function scene_systemMenu_brightnessDown__P17168_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P478994, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P17168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20591,7 +22253,7 @@ function scene_systemMenu_brightnessDown__P478994_mk(s) { -function helpers_setScreenBrightness__P477945(s) { +function helpers_setScreenBrightness__P16119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20606,7 +22268,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P477513_mk(s); + s.tmp_0 = Math_clamp__P15687_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -20615,19 +22277,19 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___477927 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___477927); + globals.brightness___16101 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___16101); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P477945.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -helpers_setScreenBrightness__P477945.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P16119.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P16119.info = {"start":6243,"length":210,"line":211,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P477945_mk(s) { +function helpers_setScreenBrightness__P16119_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P477945, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P16119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20638,7 +22300,7 @@ function helpers_setScreenBrightness__P477945_mk(s) { -function scene_systemMenu_brightnessUp__P478993(s) { +function scene_systemMenu_brightnessUp__P17167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20648,9 +22310,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = helpers_setScreenBrightness__P477945_mk(s); - s.tmp_0.arg0 = globals.screen___477998; - r0 = globals.brightness___477927; + s.tmp_0 = helpers_setScreenBrightness__P16119_mk(s); + s.tmp_0.arg0 = globals.screen___16172; + r0 = globals.brightness___16101; s.tmp_1 = r0; r0 = (s.tmp_1 + 10); s.tmp_0.arg1 = r0; @@ -20661,13 +22323,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P478993.info = {"start":9107,"length":87,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} -scene_systemMenu_brightnessUp__P478993.info = {"start":9107,"length":87,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} +scene_systemMenu_brightnessUp__P17167.info = {"start":9107,"length":87,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} +scene_systemMenu_brightnessUp__P17167.info = {"start":9107,"length":87,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"brightnessUp","argumentNames":[]} -function scene_systemMenu_brightnessUp__P478993_mk(s) { +function scene_systemMenu_brightnessUp__P17167_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P478993, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P17167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20677,7 +22339,7 @@ function scene_systemMenu_brightnessUp__P478993_mk(s) { -function scene_systemMenu_volumeDown__P478992(s) { +function scene_systemMenu_volumeDown__P17166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20687,29 +22349,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.v___488872 = undefined; - s.remainder___488875 = undefined; - s.newVolume___488878 = undefined; - s.tmp_0 = music_volume__P477857_mk(s); + s.v___26150 = undefined; + s.remainder___26153 = undefined; + s.newVolume___26156 = undefined; + s.tmp_0 = music_volume__P16031_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___488872 = (r0); - r0 = (s.v___488872 % 32); - s.remainder___488875 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___488875); + s.v___26150 = (r0); + r0 = (s.v___26150 % 32); + s.remainder___26153 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___26153); if (!r0) { step = 1; continue; } - r0 = s.remainder___488875; + r0 = s.remainder___26153; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___488872 - s.tmp_0); - s.newVolume___488878 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P478990_mk(s); - s.tmp_0.arg0 = s.newVolume___488878; + r0 = (s.v___26150 - s.tmp_0); + s.newVolume___26156 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P17164_mk(s); + s.tmp_0.arg0 = s.newVolume___26156; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -20717,25 +22379,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P478992.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__P478992.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__P17166.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__P17166.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__P478992_mk(s) { +function scene_systemMenu_volumeDown__P17166_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P478992, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P17166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___488872: undefined, - remainder___488875: undefined, - newVolume___488878: undefined, + v___26150: undefined, + remainder___26153: undefined, + newVolume___26156: undefined, } } -function scene_systemMenu_setVolume__P478990(s) { +function scene_systemMenu_setVolume__P17164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20749,18 +22411,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P477856_mk(s); + s.tmp_0 = music_setVolume__P16030_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P477859_mk(s); + s.tmp_0 = music_playTone__P16033_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P478033_mk(s); + s.tmp_0 = settings_writeNumber__P16207_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; s.pc = 3; return s.tmp_0; @@ -20770,13 +22432,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P478990.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__P478990.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__P17164.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__P17164.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__P478990_mk(s) { +function scene_systemMenu_setVolume__P17164_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P478990, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P17164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20786,7 +22448,7 @@ function scene_systemMenu_setVolume__P478990_mk(s) { -function settings_writeNumber__P478033(s) { +function settings_writeNumber__P16207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20804,9 +22466,9 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_1 = settings_writeBuffer__P478031_mk(s); + s.tmp_1 = settings_writeBuffer__P16205_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P477577_mk(s); + s.tmp_2 = msgpack_packNumberArray__P15751_mk(s); s.tmp_2.arg0 = s.tmp_0; s.pc = 2; return s.tmp_2; case 2: @@ -20819,13 +22481,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P478033.info = {"start":2087,"length":122,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} -settings_writeNumber__P478033.info = {"start":2087,"length":122,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} +settings_writeNumber__P16207.info = {"start":2087,"length":122,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} +settings_writeNumber__P16207.info = {"start":2087,"length":122,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeNumber","argumentNames":["key","value"]} -function settings_writeNumber__P478033_mk(s) { +function settings_writeNumber__P16207_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P478033, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P16207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20838,7 +22500,7 @@ function settings_writeNumber__P478033_mk(s) { -function settings_writeBuffer__P478031(s) { +function settings_writeBuffer__P16205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20865,13 +22527,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P478031.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__P478031.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__P16205.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__P16205.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__P478031_mk(s) { +function settings_writeBuffer__P16205_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P478031, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P16205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20882,7 +22544,7 @@ function settings_writeBuffer__P478031_mk(s) { -function msgpack_packNumberArray__P477577(s) { +function msgpack_packNumberArray__P15751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20892,101 +22554,101 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.off___488546 = undefined; - s.n___488548 = undefined; - s.unnamed1740___U2 = undefined; - s.unnamed1741___U3 = undefined; - s.buf___488558 = undefined; - s.n___488564 = undefined; - s.unnamed1742___U6 = undefined; - s.unnamed1743___U7 = undefined; + s.off___25824 = undefined; + s.n___25826 = undefined; + s.unnamed124___U2 = undefined; + s.unnamed125___U3 = undefined; + s.buf___25836 = undefined; + s.n___25842 = undefined; + s.unnamed126___U6 = undefined; + s.unnamed127___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___488546 = (0); - s.n___488548 = (undefined); - s.unnamed1740___U2 = (s.arg0); - s.unnamed1741___U3 = (0); + s.off___25824 = (0); + s.n___25826 = (undefined); + s.unnamed124___U2 = (s.arg0); + s.unnamed125___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1741___U3; - r0 = pxsim_Array__length(s.unnamed1740___U2); + s.tmp_0 = r0 = s.unnamed125___U3; + r0 = pxsim_Array__length(s.unnamed124___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1740___U2, s.unnamed1741___U3); - s.n___488548 = (r0); - s.tmp_2 = r0 = s.off___488546; - s.tmp_4 = msgpack_packNumberCore__P477575_mk(s); + r0 = pxsim_Array__getAt(s.unnamed124___U2, s.unnamed125___U3); + s.n___25826 = (r0); + s.tmp_2 = r0 = s.off___25824; + s.tmp_4 = msgpack_packNumberCore__P15749_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___488546; - s.tmp_4.arg2 = s.n___488548; + s.tmp_4.arg1 = s.off___25824; + s.tmp_4.arg2 = s.n___25826; 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___488546 = (r0); - r0 = (s.unnamed1741___U3 + 1); - s.unnamed1741___U3 = (r0); + s.off___25824 = (r0); + r0 = (s.unnamed125___U3 + 1); + s.unnamed125___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1740___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___488546); - s.buf___488558 = (r0); - s.off___488546 = (0); - s.n___488564 = (undefined); - s.unnamed1742___U6 = (s.arg0); - s.unnamed1743___U7 = (0); + s.unnamed124___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___25824); + s.buf___25836 = (r0); + s.off___25824 = (0); + s.n___25842 = (undefined); + s.unnamed126___U6 = (s.arg0); + s.unnamed127___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1743___U7; - r0 = pxsim_Array__length(s.unnamed1742___U6); + s.tmp_0 = r0 = s.unnamed127___U7; + r0 = pxsim_Array__length(s.unnamed126___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1742___U6, s.unnamed1743___U7); - s.n___488564 = (r0); - s.tmp_2 = r0 = s.off___488546; - s.tmp_4 = msgpack_packNumberCore__P477575_mk(s); - s.tmp_4.arg0 = s.buf___488558; - s.tmp_4.arg1 = s.off___488546; - s.tmp_4.arg2 = s.n___488564; + r0 = pxsim_Array__getAt(s.unnamed126___U6, s.unnamed127___U7); + s.n___25842 = (r0); + s.tmp_2 = r0 = s.off___25824; + s.tmp_4 = msgpack_packNumberCore__P15749_mk(s); + s.tmp_4.arg0 = s.buf___25836; + s.tmp_4.arg1 = s.off___25824; + s.tmp_4.arg2 = s.n___25842; 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___488546 = (r0); - r0 = (s.unnamed1743___U7 + 1); - s.unnamed1743___U7 = (r0); + s.off___25824 = (r0); + r0 = (s.unnamed127___U7 + 1); + s.unnamed127___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed1742___U6 = (undefined); - r0 = s.buf___488558; + s.unnamed126___U6 = (undefined); + r0 = s.buf___25836; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P477577.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__P477577.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__P15751.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__P15751.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__P477577_mk(s) { +function msgpack_packNumberArray__P15751_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P477577, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P15751, 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___488546: undefined, - n___488548: undefined, - unnamed1740___U2: undefined, - unnamed1741___U3: undefined, - buf___488558: undefined, - n___488564: undefined, - unnamed1742___U6: undefined, - unnamed1743___U7: undefined, + off___25824: undefined, + n___25826: undefined, + unnamed124___U2: undefined, + unnamed125___U3: undefined, + buf___25836: undefined, + n___25842: undefined, + unnamed126___U6: undefined, + unnamed127___U7: undefined, arg0: undefined, } } @@ -20994,7 +22656,7 @@ function msgpack_packNumberArray__P477577_mk(s) { -function msgpack_packNumberCore__P477575(s) { +function msgpack_packNumberCore__P15749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21004,15 +22666,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tag___488578 = undefined; - s.fmt___488621 = undefined; + s.tag___25856 = undefined; + s.fmt___25899 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___488578 = (203); + s.tag___25856 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -21062,17 +22724,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___488578 = (204); + s.tag___25856 = (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___488578 = (205); + s.tag___25856 = (205); { step = 10; continue; } case 9: - s.tag___488578 = (206); + s.tag___25856 = (206); case 10: case 11: { step = 17; continue; } @@ -21081,41 +22743,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___488578 = (208); + s.tag___25856 = (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___488578 = (209); + s.tag___25856 = (209); { step = 15; continue; } case 14: - s.tag___488578 = (210); + s.tag___25856 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P477574_mk(s); - s.tmp_0.arg0 = s.tag___488578; + s.tmp_0 = msgpack_tagFormat__P15748_mk(s); + s.tmp_0.arg0 = s.tag___25856; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___488621 = (r0); + s.fmt___25899 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___488578); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___25856); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___488621; + s.tmp_1 = r0 = s.fmt___25899; 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__P477567_mk(s); - s.tmp_1.arg0 = s.fmt___488621; + s.tmp_1 = pins_sizeOf__P15741_mk(s); + s.tmp_1.arg0 = s.fmt___25899; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -21125,13 +22787,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P477575.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__P477575.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__P15749.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__P15749.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__P477575_mk(s) { +function msgpack_packNumberCore__P15749_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P477575, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P15749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21141,8 +22803,8 @@ function msgpack_packNumberCore__P477575_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___488578: undefined, - fmt___488621: undefined, + tag___25856: undefined, + fmt___25899: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21152,7 +22814,7 @@ function msgpack_packNumberCore__P477575_mk(s) { -function msgpack_tagFormat__P477574(s) { +function msgpack_tagFormat__P15748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21212,13 +22874,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P477574.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__P477574.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__P15748.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__P15748.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__P477574_mk(s) { +function msgpack_tagFormat__P15748_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P477574, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P15748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21228,7 +22890,7 @@ function msgpack_tagFormat__P477574_mk(s) { -function pins_sizeOf__P477567(s) { +function pins_sizeOf__P15741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21242,7 +22904,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P477593_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P15767_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -21250,13 +22912,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P477567.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__P477567.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__P15741.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__P15741.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__P477567_mk(s) { +function pins_sizeOf__P15741_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P477567, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P15741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21266,7 +22928,7 @@ function pins_sizeOf__P477567_mk(s) { -function Buffer_sizeOfNumberFormat__P477593(s) { +function Buffer_sizeOfNumberFormat__P15767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21345,13 +23007,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P477593.info = {"start":10228,"length":856,"line":346,"column":4,"endLine":370,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} -Buffer_sizeOfNumberFormat__P477593.info = {"start":10228,"length":856,"line":346,"column":4,"endLine":370,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} +Buffer_sizeOfNumberFormat__P15767.info = {"start":10228,"length":856,"line":346,"column":4,"endLine":370,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} +Buffer_sizeOfNumberFormat__P15767.info = {"start":10228,"length":856,"line":346,"column":4,"endLine":370,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} -function Buffer_sizeOfNumberFormat__P477593_mk(s) { +function Buffer_sizeOfNumberFormat__P15767_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P477593, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P15767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21361,7 +23023,7 @@ function Buffer_sizeOfNumberFormat__P477593_mk(s) { -function music_playTone__P477859(s) { +function music_playTone__P16033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21371,7 +23033,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.id___488713 = undefined; + s.id___25991 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21396,7 +23058,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P477858_mk(s); + s.tmp_2 = music_playNoteCore__P16032_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -21404,7 +23066,7 @@ switch (step) { s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P477741_mk(s); + s.tmp_0 = pause__P15915_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.pc = 6; return s.tmp_0; @@ -21412,13 +23074,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___477861 + 1); + r0 = (globals.playToneID___16035 + 1); s.tmp_0 = r0; - globals.playToneID___477861 = (r0); - s.id___488713 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, inline__P488719); + globals.playToneID___16035 = (r0); + s.id___25991 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, inline__P25997); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___488713); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___25991); 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); @@ -21427,18 +23089,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P477859.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -music_playTone__P477859.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} +music_playTone__P16033.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} +music_playTone__P16033.info = {"start":2591,"length":831,"line":83,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playTone","argumentNames":["frequency","ms"]} -function music_playTone__P477859_mk(s) { +function music_playTone__P16033_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P477859, depth: s.depth + 1, + parent: s, fn: music_playTone__P16033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___488713: undefined, + id___25991: undefined, arg0: undefined, arg1: undefined, } } @@ -21447,7 +23109,7 @@ function music_playTone__P477859_mk(s) { -function inline__P488719(s) { +function inline__P25997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21457,14 +23119,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.pos___488720 = undefined; - s.now___488730 = undefined; - s.d___488733 = undefined; - s.t___488737 = undefined; + s.pos___25998 = undefined; + s.now___26008 = undefined; + s.d___26011 = undefined; + s.t___26015 = undefined; r0 = pxsim.control.millis(); - s.pos___488720 = (r0); + s.pos___25998 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___477861); + r0 = (s.caps[0] == globals.playToneID___16035); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -21480,30 +23142,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___488730 = (r0); - r0 = (s.pos___488720 - s.now___488730); - s.d___488733 = (r0); - s.tmp_0 = Math_min__P477517_mk(s); + s.now___26008 = (r0); + r0 = (s.pos___25998 - s.now___26008); + s.d___26011 = (r0); + s.tmp_0 = Math_min__P15691_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___488737 = (r0); + s.t___26015 = (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___488737); + r0 = (s.tmp_2 - s.t___26015); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___488720 + s.t___488737); - s.pos___488720 = (r0); - s.tmp_0 = music_playNoteCore__P477858_mk(s); - r0 = (s.d___488733 - 1); + r0 = (s.pos___25998 + s.t___26015); + s.pos___25998 = (r0); + s.tmp_0 = music_playNoteCore__P16032_mk(s); + r0 = (s.d___26011 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___488737; + s.tmp_0.arg2 = s.t___26015; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -21513,16 +23175,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P477741_mk(s); - r0 = (s.d___488733 + s.t___488737); + s.tmp_2 = pause__P15915_mk(s); + r0 = (s.d___26011 + s.t___26015); s.tmp_2.arg0 = r0; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P477741_mk(s); - r0 = (s.d___488733 + s.t___488737); + s.tmp_0 = pause__P15915_mk(s); + r0 = (s.d___26011 + s.t___26015); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -21536,28 +23198,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P488719.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -inline__P488719.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P25997.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +inline__P25997.info = {"start":2890,"length":515,"line":92,"column":34,"endLine":106,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function inline__P488719_mk(s) { +function inline__P25997_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P488719, depth: s.depth + 1, + parent: s, fn: inline__P25997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___488720: undefined, - now___488730: undefined, - d___488733: undefined, - t___488737: undefined, + pos___25998: undefined, + now___26008: undefined, + d___26011: undefined, + t___26015: undefined, } } -function music_playNoteCore__P477858(s) { +function music_playNoteCore__P16032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21567,7 +23229,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___488767 = undefined; + s.buf___26045 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21575,16 +23237,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___488767 = (r0); - s.tmp_0 = music_addNote__P477878_mk(s); - s.tmp_0.arg0 = s.buf___488767; + s.buf___26045 = (r0); + s.tmp_0 = music_addNote__P16052_mk(s); + s.tmp_0.arg0 = s.buf___26045; 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__P477857_mk(s); + s.tmp_1 = music_volume__P16031_mk(s); s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -21593,22 +23255,22 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___488767); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___26045); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P477858.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__P477858.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__P16032.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__P16032.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__P477858_mk(s) { +function music_playNoteCore__P16032_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P477858, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P16032, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___488767: undefined, + buf___26045: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21618,7 +23280,7 @@ function music_playNoteCore__P477858_mk(s) { -function music_addNote__P477878(s) { +function music_addNote__P16052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21686,13 +23348,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P477878.info = {"start":9672,"length":904,"line":307,"column":4,"endLine":320,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -music_addNote__P477878.info = {"start":9672,"length":904,"line":307,"column":4,"endLine":320,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P16052.info = {"start":9672,"length":904,"line":307,"column":4,"endLine":320,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} +music_addNote__P16052.info = {"start":9672,"length":904,"line":307,"column":4,"endLine":320,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"addNote","argumentNames":["sndInstr","sndInstrPtr","ms","beg","end","soundWave","hz","volume","endHz"]} -function music_addNote__P477878_mk(s) { +function music_addNote__P16052_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P477878, depth: s.depth + 1, + parent: s, fn: music_addNote__P16052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21713,7 +23375,7 @@ function music_addNote__P477878_mk(s) { -function music_setVolume__P477856(s) { +function music_setVolume__P16030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21727,7 +23389,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P477513_mk(s); + s.tmp_0 = Math_clamp__P15687_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -21735,8 +23397,8 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___477851 = (r0); - r0 = (globals.globalVolume___477851 > 0); + globals.globalVolume___16025 = (r0); + r0 = (globals.globalVolume___16025 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -21752,13 +23414,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P477856.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__P477856.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__P16030.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__P16030.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__P477856_mk(s) { +function music_setVolume__P16030_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P477856, depth: s.depth + 1, + parent: s, fn: music_setVolume__P16030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21769,7 +23431,7 @@ function music_setVolume__P477856_mk(s) { -function music_enableAmp__P477854(s) { +function music_enableAmp__P16028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21787,13 +23449,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P477854.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__P477854.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__P16028.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__P16028.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__P477854_mk(s) { +function music_enableAmp__P16028_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P477854, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P16028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21802,7 +23464,7 @@ function music_enableAmp__P477854_mk(s) { -function scene_systemMenu_volumeUp__P478991(s) { +function scene_systemMenu_volumeUp__P17165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21812,22 +23474,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.v___488518 = undefined; - s.remainder___488521 = undefined; - s.newVolume___488524 = undefined; - s.tmp_0 = music_volume__P477857_mk(s); + s.v___25796 = undefined; + s.remainder___25799 = undefined; + s.newVolume___25802 = undefined; + s.tmp_0 = music_volume__P16031_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___488518 = (r0); - r0 = (s.v___488518 % 32); - s.remainder___488521 = (r0); - r0 = (s.v___488518 + 32); + s.v___25796 = (r0); + r0 = (s.v___25796 % 32); + s.remainder___25799 = (r0); + r0 = (s.v___25796 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___488521); - s.newVolume___488524 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P478990_mk(s); - s.tmp_0.arg0 = s.newVolume___488524; + r0 = (s.tmp_0 - s.remainder___25799); + s.newVolume___25802 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P17164_mk(s); + s.tmp_0.arg0 = s.newVolume___25802; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -21835,25 +23497,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P478991.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__P478991.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__P17165.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__P17165.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__P478991_mk(s) { +function scene_systemMenu_volumeUp__P17165_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P478991, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P17165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___488518: undefined, - remainder___488521: undefined, - newVolume___488524: undefined, + v___25796: undefined, + remainder___25799: undefined, + newVolume___25802: undefined, } } -function scene_systemMenu_MenuOption_constructor__P478981(s) { +function scene_systemMenu_MenuOption_constructor__P17155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21871,7 +23533,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C478973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C17147_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -21879,13 +23541,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P478981.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__P478981.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__P17155.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__P17155.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__P478981_mk(s) { +function scene_systemMenu_MenuOption_constructor__P17155_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P478981, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P17155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21897,7 +23559,7 @@ function scene_systemMenu_MenuOption_constructor__P478981_mk(s) { -function helpers_screenBrightness__P477946(s) { +function helpers_screenBrightness__P16120(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21911,17 +23573,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___477927; + r0 = globals.brightness___16101; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P477946.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -helpers_screenBrightness__P477946.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P16120.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P16120.info = {"start":6459,"length":98,"line":217,"column":4,"endLine":219,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P477946_mk(s) { +function helpers_screenBrightness__P16120_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P477946, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P16120, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21930,7 +23592,7 @@ function helpers_screenBrightness__P477946_mk(s) { -function music_volume__P477857(s) { +function music_volume__P16031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21940,21 +23602,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = music_initVolume__P477855_mk(s); + s.tmp_0 = music_initVolume__P16029_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___477851; + r0 = globals.globalVolume___16025; return leave(s, r0) default: oops() } } } -music_volume__P477857.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} -music_volume__P477857.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P16031.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P16031.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__P477857_mk(s) { +function music_volume__P16031_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P477857, depth: s.depth + 1, + parent: s, fn: music_volume__P16031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -21963,7 +23625,7 @@ function music_volume__P477857_mk(s) { -function music_initVolume__P477855(s) { +function music_initVolume__P16029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21973,12 +23635,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = (globals.globalVolume___477851 === null); + r0 = (globals.globalVolume___16025 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___477851 = (0); - s.tmp_0 = music_setVolume__P477856_mk(s); + globals.globalVolume___16025 = (0); + s.tmp_0 = music_setVolume__P16030_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.pc = 3; return s.tmp_0; @@ -21990,13 +23652,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P477855.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} -music_initVolume__P477855.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P16029.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P16029.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__P477855_mk(s) { +function music_initVolume__P16029_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P477855, depth: s.depth + 1, + parent: s, fn: music_initVolume__P16029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -22005,7 +23667,7 @@ function music_initVolume__P477855_mk(s) { -function helpers_arrayConcat__P477504(s) { +function helpers_arrayConcat__P15678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22015,75 +23677,75 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.out___488245 = undefined; - s.value___488248 = undefined; - s.unnamed1736___U2 = undefined; - s.unnamed1737___U3 = undefined; - s.value___488255 = undefined; - s.unnamed1738___U5 = undefined; - s.unnamed1739___U6 = undefined; + s.out___25523 = undefined; + s.value___25526 = undefined; + s.unnamed120___U2 = undefined; + s.unnamed121___U3 = undefined; + s.value___25533 = undefined; + s.unnamed122___U5 = undefined; + s.unnamed123___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___488245 = (r0); - s.value___488248 = (undefined); - s.unnamed1736___U2 = (s.arg0); - s.unnamed1737___U3 = (0); + s.out___25523 = (r0); + s.value___25526 = (undefined); + s.unnamed120___U2 = (s.arg0); + s.unnamed121___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1737___U3; - r0 = pxsim_Array__length(s.unnamed1736___U2); + s.tmp_0 = r0 = s.unnamed121___U3; + r0 = pxsim_Array__length(s.unnamed120___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1736___U2, s.unnamed1737___U3); - s.value___488248 = (r0); - r0 = pxsim_Array__push(s.out___488245, s.value___488248); - r0 = (s.unnamed1737___U3 + 1); - s.unnamed1737___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed120___U2, s.unnamed121___U3); + s.value___25526 = (r0); + r0 = pxsim_Array__push(s.out___25523, s.value___25526); + r0 = (s.unnamed121___U3 + 1); + s.unnamed121___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1736___U2 = (undefined); - s.value___488255 = (undefined); - s.unnamed1738___U5 = (s.arg1); - s.unnamed1739___U6 = (0); + s.unnamed120___U2 = (undefined); + s.value___25533 = (undefined); + s.unnamed122___U5 = (s.arg1); + s.unnamed123___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1739___U6; - r0 = pxsim_Array__length(s.unnamed1738___U5); + s.tmp_0 = r0 = s.unnamed123___U6; + r0 = pxsim_Array__length(s.unnamed122___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1738___U5, s.unnamed1739___U6); - s.value___488255 = (r0); - r0 = pxsim_Array__push(s.out___488245, s.value___488255); - r0 = (s.unnamed1739___U6 + 1); - s.unnamed1739___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed122___U5, s.unnamed123___U6); + s.value___25533 = (r0); + r0 = pxsim_Array__push(s.out___25523, s.value___25533); + r0 = (s.unnamed123___U6 + 1); + s.unnamed123___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed1738___U5 = (undefined); - r0 = s.out___488245; + s.unnamed122___U5 = (undefined); + r0 = s.out___25523; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P477504.info = {"start":6781,"length":264,"line":228,"column":4,"endLine":237,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} -helpers_arrayConcat__P477504.info = {"start":6781,"length":264,"line":228,"column":4,"endLine":237,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} +helpers_arrayConcat__P15678.info = {"start":6781,"length":264,"line":228,"column":4,"endLine":237,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} +helpers_arrayConcat__P15678.info = {"start":6781,"length":264,"line":228,"column":4,"endLine":237,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} -function helpers_arrayConcat__P477504_mk(s) { +function helpers_arrayConcat__P15678_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P477504, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P15678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___488245: undefined, - value___488248: undefined, - unnamed1736___U2: undefined, - unnamed1737___U3: undefined, - value___488255: undefined, - unnamed1738___U5: undefined, - unnamed1739___U6: undefined, + out___25523: undefined, + value___25526: undefined, + unnamed120___U2: undefined, + unnamed121___U3: undefined, + value___25533: undefined, + unnamed122___U5: undefined, + unnamed123___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -22092,7 +23754,7 @@ function helpers_arrayConcat__P477504_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P478989(s) { +function scene_systemMenu_PauseMenu_constructor__P17163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22109,7 +23771,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C478982_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C17156_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -22117,8 +23779,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P479001_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___479013); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P17175_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___17187); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -22137,13 +23799,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P478989.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__P478989.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__P17163.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__P17163.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__P478989_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P17163_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P478989, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P17163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22157,7 +23819,7 @@ function scene_systemMenu_PauseMenu_constructor__P478989_mk(s) { -function scene_systemMenu_buildMenuTheme__P479001(s) { +function scene_systemMenu_buildMenuTheme__P17175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22167,7 +23829,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.cardsPerRow___488918 = undefined; + s.cardsPerRow___26196 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22175,19 +23837,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); 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___488918 = (r0); + s.cardsPerRow___26196 = (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___477950; + r0 = globals.font8___16124; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -22198,7 +23860,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P477954_mk(s); + s.tmp_1 = image_doubledFont__P16128_mk(s); s.tmp_1.arg0 = s.arg2; s.pc = 5; return s.tmp_1; case 5: @@ -22211,12 +23873,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___488918); - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___26196); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_3 = r0; - r0 = (s.cardsPerRow___488918 * s.arg0); + r0 = (s.cardsPerRow___26196 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___488918 - 1); + r0 = (s.cardsPerRow___26196 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -22247,7 +23909,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___477998); + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -22268,20 +23930,20 @@ 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___479016); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___479019); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___479013); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___17190); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___17193); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___17187); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P479001.info = {"start":11192,"length":906,"line":346,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} -scene_systemMenu_buildMenuTheme__P479001.info = {"start":11192,"length":906,"line":346,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} +scene_systemMenu_buildMenuTheme__P17175.info = {"start":11192,"length":906,"line":346,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} +scene_systemMenu_buildMenuTheme__P17175.info = {"start":11192,"length":906,"line":346,"column":4,"endLine":365,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"buildMenuTheme","argumentNames":["cardWidth","cardSpacing","infoFont","headerFont"]} -function scene_systemMenu_buildMenuTheme__P479001_mk(s) { +function scene_systemMenu_buildMenuTheme__P17175_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P479001, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P17175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22300,7 +23962,7 @@ function scene_systemMenu_buildMenuTheme__P479001_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___488918: undefined, + cardsPerRow___26196: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22311,7 +23973,7 @@ function scene_systemMenu_buildMenuTheme__P479001_mk(s) { -function image_doubledFont__P477954(s) { +function image_doubledFont__P16128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22325,7 +23987,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P477955_mk(s); + s.tmp_0 = image_scaledFont__P16129_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.pc = 1; return s.tmp_0; @@ -22334,13 +23996,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P477954.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__P477954.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__P16128.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__P16128.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__P477954_mk(s) { +function image_doubledFont__P16128_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P477954, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P16128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22350,7 +24012,7 @@ function image_doubledFont__P477954_mk(s) { -function image_scaledFont__P477955(s) { +function image_scaledFont__P16129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22465,13 +24127,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P477955.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__P477955.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__P16129.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__P16129.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__P477955_mk(s) { +function image_scaledFont__P16129_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P477955, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P16129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22497,7 +24159,7 @@ function image_scaledFont__P477955_mk(s) { -function scene_systemMenu_PauseMenu_show__P478983(s) { +function scene_systemMenu_PauseMenu_show__P17157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22507,14 +24169,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.current___486572 = undefined; - s.i___486573 = undefined; + s.current___23850 = undefined; + s.i___23851 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C478982_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C17156_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -22532,9 +24194,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___486573 = (0); + s.i___23851 = (0); case 1: - s.tmp_1 = r0 = s.i___486573; + s.tmp_1 = r0 = s.i___23851; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -22545,22 +24207,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___486573); - s.current___486572 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P478974_mk(s); - s.tmp_0.arg0 = s.current___486572; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___23851); + s.current___23850 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P17148_mk(s); + s.tmp_0.arg0 = s.current___23850; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P478977_mk(s); - s.tmp_0.arg0 = s.current___486572; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P17151_mk(s); + s.tmp_0.arg0 = s.current___23850; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P478975_mk(s); - s.tmp_0.arg0 = s.current___486572; + s.tmp_0 = scene_systemMenu_MenuOption_position__P17149_mk(s); + s.tmp_0.arg0 = s.current___23850; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -22575,7 +24237,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___486573; + s.tmp_5 = r0 = s.i___23851; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -22640,7 +24302,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___486573; + s.tmp_17 = r0 = s.i___23851; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -22694,98 +24356,98 @@ switch (step) { s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___486573 + 1); - s.i___486573 = (r0); + r0 = (s.i___23851 + 1); + s.i___23851 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P478166_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P16340_mk(s); s.tmp_0.arg0 = false; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P486641); + r0 = pxsim_pxtcore_mkAction(1, inline__P23919); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P478119_mk(s); - s.tmp_1.arg0 = globals.A___478085; + s.tmp_1 = controller_Button_onEvent__P16293_mk(s); + s.tmp_1.arg0 = globals.A___16259; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P486662); + r0 = pxsim_pxtcore_mkAction(1, inline__P23940); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P478119_mk(s); - s.tmp_1.arg0 = globals.A___478085; + s.tmp_1 = controller_Button_onEvent__P16293_mk(s); + s.tmp_1.arg0 = globals.A___16259; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P478119_mk(s); - s.tmp_0.arg0 = globals.B___478087; + s.tmp_0 = controller_Button_onEvent__P16293_mk(s); + s.tmp_0.arg0 = globals.B___16261; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P486692; + s.tmp_0.arg2 = inline__P23970; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P478119_mk(s); - s.tmp_0.arg0 = globals.menu___478097; + s.tmp_0 = controller_Button_onEvent__P16293_mk(s); + s.tmp_0.arg0 = globals.menu___16271; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = inline__P486697; + s.tmp_0.arg2 = inline__P23975; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P486702); + r0 = pxsim_pxtcore_mkAction(1, inline__P23980); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P478119_mk(s); - s.tmp_1.arg0 = globals.up___478091; + s.tmp_1 = controller_Button_onEvent__P16293_mk(s); + s.tmp_1.arg0 = globals.up___16265; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P486714); + r0 = pxsim_pxtcore_mkAction(1, inline__P23992); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P478119_mk(s); - s.tmp_1.arg0 = globals.left___478089; + s.tmp_1 = controller_Button_onEvent__P16293_mk(s); + s.tmp_1.arg0 = globals.left___16263; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P486723); + r0 = pxsim_pxtcore_mkAction(1, inline__P24001); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P478119_mk(s); - s.tmp_1.arg0 = globals.down___478095; + s.tmp_1 = controller_Button_onEvent__P16293_mk(s); + s.tmp_1.arg0 = globals.down___16269; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P486739); + r0 = pxsim_pxtcore_mkAction(1, inline__P24017); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P478119_mk(s); - s.tmp_1.arg0 = globals.right___478093; + s.tmp_1 = controller_Button_onEvent__P16293_mk(s); + s.tmp_1.arg0 = globals.right___16267; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P486751); + r0 = pxsim_pxtcore_mkAction(1, inline__P24029); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P478703_mk(s); + s.tmp_1 = game_onShade__P16877_mk(s); s.tmp_1.arg0 = s.tmp_0; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P478985_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P17159_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 25; return s.tmp_0; @@ -22795,13 +24457,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P478983.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__P478983.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__P17157.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__P17157.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__P478983_mk(s) { +function scene_systemMenu_PauseMenu_show__P17157_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P478983, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P17157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22828,8 +24490,8 @@ function scene_systemMenu_PauseMenu_show__P478983_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___486572: undefined, - i___486573: undefined, + current___23850: undefined, + i___23851: undefined, arg0: undefined, } } @@ -22837,7 +24499,7 @@ function scene_systemMenu_PauseMenu_show__P478983_mk(s) { -function inline__P486641(s) { +function inline__P23919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22875,7 +24537,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P478978_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P17152_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -22891,13 +24553,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486641.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P486641.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23919.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23919.info = {"start":4025,"length":170,"line":140,"column":50,"endLine":143,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P486641_mk(s) { +function inline__P23919_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486641, depth: s.depth + 1, + parent: s, fn: inline__P23919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22916,7 +24578,7 @@ function inline__P486641_mk(s) { -function inline__P486662(s) { +function inline__P23940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22954,7 +24616,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P478978_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P17152_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -22978,13 +24640,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486662.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P486662.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23940.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23940.info = {"start":4247,"length":247,"line":145,"column":48,"endLine":149,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P486662_mk(s) { +function inline__P23940_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486662, depth: s.depth + 1, + parent: s, fn: inline__P23940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23003,7 +24665,7 @@ function inline__P486662_mk(s) { -function inline__P486692(s) { +function inline__P23970(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23013,7 +24675,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P478998_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P17172_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -23021,13 +24683,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486692.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P486692.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23970.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23970.info = {"start":4548,"length":50,"line":151,"column":50,"endLine":153,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P486692_mk(s) { +function inline__P23970_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486692, depth: s.depth + 1, + parent: s, fn: inline__P23970, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -23036,7 +24698,7 @@ function inline__P486692_mk(s) { -function inline__P486697(s) { +function inline__P23975(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23046,7 +24708,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P478998_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P17172_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -23054,13 +24716,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486697.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P486697.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23975.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23975.info = {"start":4655,"length":50,"line":155,"column":53,"endLine":157,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P486697_mk(s) { +function inline__P23975_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486697, depth: s.depth + 1, + parent: s, fn: inline__P23975, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -23069,7 +24731,7 @@ function inline__P486697_mk(s) { -function inline__P486702(s) { +function inline__P23980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23079,9 +24741,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P478985_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P17159_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P477516_mk(s); + s.tmp_1 = Math_max__P15690_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -23112,13 +24774,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486702.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P486702.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23980.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23980.info = {"start":4760,"length":110,"line":159,"column":51,"endLine":161,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P486702_mk(s) { +function inline__P23980_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486702, depth: s.depth + 1, + parent: s, fn: inline__P23980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23131,7 +24793,7 @@ function inline__P486702_mk(s) { -function inline__P486714(s) { +function inline__P23992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23141,9 +24803,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P478985_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P17159_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P477516_mk(s); + s.tmp_1 = Math_max__P15690_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -23160,13 +24822,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486714.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P486714.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23992.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P23992.info = {"start":4927,"length":89,"line":163,"column":53,"endLine":165,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P486714_mk(s) { +function inline__P23992_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486714, depth: s.depth + 1, + parent: s, fn: inline__P23992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23177,7 +24839,7 @@ function inline__P486714_mk(s) { -function inline__P486723(s) { +function inline__P24001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23187,9 +24849,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P478985_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P17159_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P477517_mk(s); + s.tmp_1 = Math_min__P15691_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -23225,13 +24887,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486723.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P486723.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24001.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24001.info = {"start":5073,"length":132,"line":167,"column":53,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P486723_mk(s) { +function inline__P24001_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486723, depth: s.depth + 1, + parent: s, fn: inline__P24001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23246,7 +24908,7 @@ function inline__P486723_mk(s) { -function inline__P486739(s) { +function inline__P24017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23256,9 +24918,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P478985_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P17159_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P477517_mk(s); + s.tmp_1 = Math_min__P15691_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -23280,13 +24942,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486739.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P486739.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24017.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24017.info = {"start":5263,"length":111,"line":171,"column":54,"endLine":173,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P486739_mk(s) { +function inline__P24017_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486739, depth: s.depth + 1, + parent: s, fn: inline__P24017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23299,7 +24961,7 @@ function inline__P486739_mk(s) { -function inline__P486751(s) { +function inline__P24029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23309,12 +24971,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P478984_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P17158_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P478986_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P17160_mk(s); s.tmp_0.arg0 = s.caps[0]; s.pc = 2; return s.tmp_0; case 2: @@ -23323,13 +24985,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P486751.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -inline__P486751.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24029.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} +inline__P24029.info = {"start":5403,"length":87,"line":175,"column":25,"endLine":178,"endColumn":13,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"inline","argumentNames":[]} -function inline__P486751_mk(s) { +function inline__P24029_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P486751, depth: s.depth + 1, + parent: s, fn: inline__P24029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -23338,7 +25000,7 @@ function inline__P486751_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P478986(s) { +function scene_systemMenu_PauseMenu_drawText__P17160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23353,7 +25015,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C478982_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C17156_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -23365,11 +25027,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P477937_mk(s); - s.tmp_3.arg0 = globals.screen___477998; + s.tmp_3 = helpers_imageFillRect__P16111_mk(s); + s.tmp_3.arg0 = globals.screen___16172; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -23391,8 +25053,8 @@ switch (step) { s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P477960_mk(s); - s.tmp_0.arg0 = globals.screen___477998; + s.tmp_0 = helpers_imagePrintCenter__P16134_mk(s); + s.tmp_0.arg0 = globals.screen___16172; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -23426,8 +25088,8 @@ switch (step) { s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P477937_mk(s); - s.tmp_0.arg0 = globals.screen___477998; + s.tmp_0 = helpers_imageFillRect__P16111_mk(s); + s.tmp_0.arg0 = globals.screen___16172; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -23445,9 +25107,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___477998); + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -23471,8 +25133,8 @@ switch (step) { s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P477937_mk(s); - s.tmp_0.arg0 = globals.screen___477998; + s.tmp_0 = helpers_imageFillRect__P16111_mk(s); + s.tmp_0.arg0 = globals.screen___16172; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -23501,7 +25163,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -23553,8 +25215,8 @@ switch (step) { s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P477960_mk(s); - s.tmp_0.arg0 = globals.screen___477998; + s.tmp_0 = helpers_imagePrintCenter__P16134_mk(s); + s.tmp_0.arg0 = globals.screen___16172; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -23613,13 +25275,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P478986.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__P478986.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__P17160.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__P17160.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__P478986_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P17160_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P478986, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P17160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23638,7 +25300,7 @@ function scene_systemMenu_PauseMenu_drawText__P478986_mk(s) { -function helpers_imagePrintCenter__P477960(s) { +function helpers_imagePrintCenter__P16134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23648,8 +25310,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.w___486843 = undefined; - s.x___486849 = undefined; + s.w___24121 = undefined; + s.x___24127 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23664,7 +25326,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P477953_mk(s); + s.tmp_2 = image_getFontForText__P16127_mk(s); s.tmp_2.arg0 = s.arg1; s.pc = 3; return s.tmp_2; case 3: @@ -23688,17 +25350,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___486843 = (r0); + s.w___24121 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___486843); + r0 = (s.tmp_1 - s.w___24121); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___486849 = (r0); - s.tmp_0 = helpers_imagePrint__P477961_mk(s); + s.x___24127 = (r0); + s.tmp_0 = helpers_imagePrint__P16135_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___486849; + s.tmp_0.arg2 = s.x___24127; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -23710,19 +25372,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P477960.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__P477960.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__P16134.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__P16134.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__P477960_mk(s) { +function helpers_imagePrintCenter__P16134_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P477960, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P16134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___486843: undefined, - x___486849: undefined, + w___24121: undefined, + x___24127: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23734,7 +25396,7 @@ function helpers_imagePrintCenter__P477960_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P478985(s) { +function scene_systemMenu_PauseMenu_setSelection__P17159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23750,7 +25412,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C478982_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C17156_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -23770,7 +25432,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__P478978_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P17152_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -23792,9 +25454,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C478114_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___478085; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C478114_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C16288_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___16259; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C16288_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: @@ -23809,7 +25471,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P478978_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P17152_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -23822,7 +25484,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P478988_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P17162_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 13; return s.tmp_0; case 13: @@ -23832,13 +25494,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P478985.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__P478985.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__P17159.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__P17159.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__P478985_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P17159_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P478985, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P17159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23857,7 +25519,7 @@ function scene_systemMenu_PauseMenu_setSelection__P478985_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P478988(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P17162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23867,13 +25529,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.row___487061 = undefined; + s.row___24339 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C478982_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C17156_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -23891,17 +25553,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___487061 = (r0); + s.row___24339 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___487061 === s.tmp_1); + r0 = (s.row___24339 === 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___487061 - 1); + r0 = (s.row___24339 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -23916,7 +25578,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___487061 > s.tmp_6); + r0 = (s.row___24339 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -23976,13 +25638,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P478988.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__P478988.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__P17162.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__P17162.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__P478988_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P17162_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P478988, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P17162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23994,7 +25656,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P478988_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___487061: undefined, + row___24339: undefined, arg0: undefined, } } @@ -24002,7 +25664,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P478988_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P478984(s) { +function scene_systemMenu_PauseMenu_onUpdate__P17158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24012,22 +25674,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.t___486865 = undefined; - s.i___486869 = undefined; - s.dt___486898 = undefined; + s.t___24143 = undefined; + s.i___24147 = undefined; + s.dt___24176 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C478982_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C17156_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___486865 = (r0); - s.i___486869 = (0); + s.t___24143 = (r0); + s.i___24147 = (0); case 1: - s.tmp_1 = r0 = s.i___486869; + s.tmp_1 = r0 = s.i___24147; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -24036,13 +25698,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__P478976_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P17150_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___486869); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___24147); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___486865; - s.tmp_11 = r0 = s.i___486869; + s.tmp_8 = r0 = s.t___24143; + s.tmp_11 = r0 = s.i___24147; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -24070,11 +25732,11 @@ switch (step) { s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___486869 + 1); - s.i___486869 = (r0); + r0 = (s.i___24147 + 1); + s.i___24147 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P478375_mk(s); + s.tmp_1 = game_currentScene__P16549_mk(s); s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -24083,7 +25745,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___486898 = (r0); + s.dt___24176 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -24095,7 +25757,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___486898 * 100); + r0 = (s.dt___24176 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -24113,7 +25775,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___486898 * 100); + r0 = (s.dt___24176 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -24123,7 +25785,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P477514_mk(s); + s.tmp_2 = Math_abs__P15688_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -24143,8 +25805,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P478538_mk(s); - s.tmp_1 = game_currentScene__P478375_mk(s); + s.tmp_0 = scene_Camera_offsetY__P16712_mk(s); + s.tmp_1 = game_currentScene__P16549_mk(s); s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -24160,13 +25822,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P478984.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__P478984.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__P17158.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__P17158.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__P478984_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P17158_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P478984, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P17158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24182,9 +25844,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P478984_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___486865: undefined, - i___486869: undefined, - dt___486898: undefined, + t___24143: undefined, + i___24147: undefined, + dt___24176: undefined, arg0: undefined, } } @@ -24192,7 +25854,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P478984_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P478976(s) { +function scene_systemMenu_MenuOption_setOffset__P17150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24208,8 +25870,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C478973_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P478215_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C17147_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P16389_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -24219,10 +25881,10 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P478193_mk(s); + s.tmp_0 = Sprite_y__P16367_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P478192_mk(s); + s.tmp_1 = Sprite_y__P16366_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.pc = 3; return s.tmp_1; @@ -24236,13 +25898,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P478976.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__P478976.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__P17150.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__P17150.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__P478976_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P17150_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P478976, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P17150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24254,7 +25916,7 @@ function scene_systemMenu_MenuOption_setOffset__P478976_mk(s) { -function Sprite_top__P478215(s) { +function Sprite_top__P16389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24264,22 +25926,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.physics___486974 = undefined; + s.physics___24252 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P478375_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___486974 = (r0); - s.tmp_0 = PhysicsEngine__C478294_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___486974; + s.physics___24252 = (r0); + s.tmp_0 = PhysicsEngine__C16468_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___24252; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -24290,7 +25952,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__C478294_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C16468_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: @@ -24299,19 +25961,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P478215.info = {"start":8840,"length":256,"line":322,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -Sprite_top__P478215.info = {"start":8840,"length":256,"line":322,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P16389.info = {"start":8840,"length":256,"line":322,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} +Sprite_top__P16389.info = {"start":8840,"length":256,"line":322,"column":4,"endLine":332,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this","value"]} -function Sprite_top__P478215_mk(s) { +function Sprite_top__P16389_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P478215, depth: s.depth + 1, + parent: s, fn: Sprite_top__P16389, 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___486974: undefined, + physics___24252: undefined, arg0: undefined, arg1: undefined, } } @@ -24320,7 +25982,7 @@ function Sprite_top__P478215_mk(s) { -function PhysicsEngine_moveSprite__P478297(s) { +function PhysicsEngine_moveSprite__P16471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24338,18 +26000,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C478294_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C16468_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P478297.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__P478297.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__P16471.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__P16471.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__P478297_mk(s) { +function PhysicsEngine_moveSprite__P16471_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P478297, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P16471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24361,7 +26023,7 @@ function PhysicsEngine_moveSprite__P478297_mk(s) { -function Sprite_top__P478214(s) { +function Sprite_top__P16388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24376,7 +26038,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -24385,14 +26047,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_top__P478214.info = {"start":8699,"length":51,"line":317,"column":4,"endLine":319,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -Sprite_top__P478214.isGetter = true; -Sprite_top__P478214.info = {"start":8699,"length":51,"line":317,"column":4,"endLine":319,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P16388.info = {"start":8699,"length":51,"line":317,"column":4,"endLine":319,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} +Sprite_top__P16388.isGetter = true; +Sprite_top__P16388.info = {"start":8699,"length":51,"line":317,"column":4,"endLine":319,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"top","argumentNames":["this"]} -function Sprite_top__P478214_mk(s) { +function Sprite_top__P16388_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P478214, depth: s.depth + 1, + parent: s, fn: Sprite_top__P16388, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24403,7 +26065,7 @@ function Sprite_top__P478214_mk(s) { -function Sprite_y__P478193(s) { +function Sprite_y__P16367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24419,8 +26081,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P478215_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P16389_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -24438,13 +26100,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P478193.info = {"start":1971,"length":73,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -Sprite_y__P478193.info = {"start":1971,"length":73,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P16367.info = {"start":1971,"length":73,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} +Sprite_y__P16367.info = {"start":1971,"length":73,"line":84,"column":4,"endLine":86,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"y","argumentNames":["this","v"]} -function Sprite_y__P478193_mk(s) { +function Sprite_y__P16367_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P478193, depth: s.depth + 1, + parent: s, fn: Sprite_y__P16367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24459,7 +26121,7 @@ function Sprite_y__P478193_mk(s) { -function scene_systemMenu_MenuOption_setState__P478978(s) { +function scene_systemMenu_MenuOption_setState__P17152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24475,7 +26137,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C478973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C17147_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -24486,7 +26148,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P478980_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P17154_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 4; return s.tmp_0; case 4: @@ -24496,13 +26158,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P478978.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__P478978.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__P17152.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__P17152.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__P478978_mk(s) { +function scene_systemMenu_MenuOption_setState__P17152_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P478978, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P17152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24514,7 +26176,7 @@ function scene_systemMenu_MenuOption_setState__P478978_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P478980(s) { +function scene_systemMenu_MenuOption_updateCard__P17154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24529,7 +26191,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C478973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C17147_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -24552,7 +26214,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P478206_mk(s); + s.tmp_4 = Sprite_setImage__P16380_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -24574,7 +26236,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P478206_mk(s); + s.tmp_0 = Sprite_setImage__P16380_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -24596,7 +26258,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P478206_mk(s); + s.tmp_0 = Sprite_setImage__P16380_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -24617,10 +26279,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P478191_mk(s); + s.tmp_0 = Sprite_x__P16365_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P478190_mk(s); + s.tmp_1 = Sprite_x__P16364_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.pc = 15; return s.tmp_1; @@ -24630,10 +26292,10 @@ switch (step) { s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P478193_mk(s); + s.tmp_0 = Sprite_y__P16367_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P478192_mk(s); + s.tmp_1 = Sprite_y__P16366_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.pc = 17; return s.tmp_1; @@ -24648,13 +26310,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P478980.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__P478980.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__P17154.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__P17154.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__P478980_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P17154_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P478980, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P17154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24669,7 +26331,7 @@ function scene_systemMenu_MenuOption_updateCard__P478980_mk(s) { -function Sprite_x__P478191(s) { +function Sprite_x__P16365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24685,8 +26347,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P478211_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P16385_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -24704,13 +26366,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P478191.info = {"start":1622,"length":73,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -Sprite_x__P478191.info = {"start":1622,"length":73,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P16365.info = {"start":1622,"length":73,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P16365.info = {"start":1622,"length":73,"line":73,"column":4,"endLine":75,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} -function Sprite_x__P478191_mk(s) { +function Sprite_x__P16365_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P478191, depth: s.depth + 1, + parent: s, fn: Sprite_x__P16365, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24725,7 +26387,7 @@ function Sprite_x__P478191_mk(s) { -function Sprite_left__P478211(s) { +function Sprite_left__P16385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24735,22 +26397,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.physics___487839 = undefined; + s.physics___25117 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P478375_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___487839 = (r0); - s.tmp_0 = PhysicsEngine__C478294_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___487839; + s.physics___25117 = (r0); + s.tmp_0 = PhysicsEngine__C16468_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___25117; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -24761,7 +26423,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__C478294_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C16468_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: @@ -24770,19 +26432,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P478211.info = {"start":8038,"length":257,"line":292,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -Sprite_left__P478211.info = {"start":8038,"length":257,"line":292,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P16385.info = {"start":8038,"length":257,"line":292,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P16385.info = {"start":8038,"length":257,"line":292,"column":4,"endLine":302,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P478211_mk(s) { +function Sprite_left__P16385_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P478211, depth: s.depth + 1, + parent: s, fn: Sprite_left__P16385, 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___487839: undefined, + physics___25117: undefined, arg0: undefined, arg1: undefined, } } @@ -24791,7 +26453,7 @@ function Sprite_left__P478211_mk(s) { -function Sprite_left__P478210(s) { +function Sprite_left__P16384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24806,7 +26468,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -24815,14 +26477,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_left__P478210.info = {"start":7896,"length":51,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -Sprite_left__P478210.isGetter = true; -Sprite_left__P478210.info = {"start":7896,"length":51,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P16384.info = {"start":7896,"length":51,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} +Sprite_left__P16384.isGetter = true; +Sprite_left__P16384.info = {"start":7896,"length":51,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this"]} -function Sprite_left__P478210_mk(s) { +function Sprite_left__P16384_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P478210, depth: s.depth + 1, + parent: s, fn: Sprite_left__P16384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24833,7 +26495,7 @@ function Sprite_left__P478210_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P478977(s) { +function scene_systemMenu_MenuOption_setTheme__P17151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24849,9 +26511,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C478973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C17147_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P478980_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P17154_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -24860,13 +26522,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P478977.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__P478977.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__P17151.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__P17151.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__P478977_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P17151_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P478977, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P17151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24877,7 +26539,7 @@ function scene_systemMenu_MenuOption_setTheme__P478977_mk(s) { -function scene_systemMenu_MenuOption_position__P478975(s) { +function scene_systemMenu_MenuOption_position__P17149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24894,26 +26556,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C478973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C17147_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P478211_mk(s); + s.tmp_0 = Sprite_left__P16385_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P478215_mk(s); + s.tmp_0 = Sprite_top__P16389_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P478191_mk(s); + s.tmp_0 = Sprite_x__P16365_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P478190_mk(s); + s.tmp_1 = Sprite_x__P16364_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.pc = 4; return s.tmp_1; @@ -24923,10 +26585,10 @@ switch (step) { s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P478193_mk(s); + s.tmp_0 = Sprite_y__P16367_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P478192_mk(s); + s.tmp_1 = Sprite_y__P16366_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.pc = 6; return s.tmp_1; @@ -24940,13 +26602,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P478975.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__P478975.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__P17149.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__P17149.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__P478975_mk(s) { +function scene_systemMenu_MenuOption_position__P17149_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P478975, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P17149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24959,7 +26621,7 @@ function scene_systemMenu_MenuOption_position__P478975_mk(s) { -function scene_systemMenu_MenuOption_show__P478974(s) { +function scene_systemMenu_MenuOption_show__P17148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24974,7 +26636,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C478973_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C17147_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -24994,12 +26656,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___479013; + r0 = globals.CARD_NORMAL___17187; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P478183_mk(s); + s.tmp_5 = sprites_create__P16357_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; s.pc = 4; return s.tmp_5; @@ -25022,7 +26684,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P478183_mk(s); + s.tmp_2 = sprites_create__P16357_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -25050,13 +26712,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P478974.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__P478974.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__P17148.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__P17148.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__P478974_mk(s) { +function scene_systemMenu_MenuOption_show__P17148_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P478974, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P17148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25071,7 +26733,7 @@ function scene_systemMenu_MenuOption_show__P478974_mk(s) { -function sprites_create__P478183(s) { +function sprites_create__P16357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25081,51 +26743,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___487920 = undefined; - s.sprite___487923 = undefined; + s.scene___25198 = undefined; + s.sprite___25201 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P478375_mk(s); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___487920 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C478188_VT); + s.scene___25198 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C16362_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P478239_mk(s); + s.tmp_1 = Sprite_constructor__P16413_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___487923 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P478219_mk(s); - s.tmp_0.arg0 = s.sprite___487923; + s.sprite___25201 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P16393_mk(s); + s.tmp_0.arg0 = s.sprite___25201; s.tmp_0.arg1 = s.arg1; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C478294_v0_2_mk(s); - r0 = s.scene___487920.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C16468_v0_2_mk(s); + r0 = s.scene___25198.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___487923; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C478294_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___25201; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C16468_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addSprite; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P487938); + r0 = pxsim_pxtcore_mkAction(1, inline__P25216); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, inline__P487944); + r0 = pxsim_pxtcore_mkAction(1, inline__P25222); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___487923); - s.tmp_2 = helpers_arrayForEach__P477500_mk(s); - s.tmp_3 = helpers_arrayFilter__P477501_mk(s); - r0 = s.scene___487920.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___25201); + s.tmp_2 = helpers_arrayForEach__P15674_mk(s); + s.tmp_3 = helpers_arrayFilter__P15675_mk(s); + r0 = s.scene___25198.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.pc = 6; return s.tmp_3; @@ -25136,24 +26798,24 @@ switch (step) { s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___487923; + r0 = s.sprite___25201; return leave(s, r0) default: oops() } } } -sprites_create__P478183.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__P478183.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__P16357.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__P16357.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__P478183_mk(s) { +function sprites_create__P16357_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P478183, depth: s.depth + 1, + parent: s, fn: sprites_create__P16357, 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___487920: undefined, - sprite___487923: undefined, + scene___25198: undefined, + sprite___25201: undefined, arg0: undefined, arg1: undefined, } } @@ -25162,7 +26824,7 @@ function sprites_create__P478183_mk(s) { -function inline__P487938(s) { +function inline__P25216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25182,13 +26844,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P487938.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -inline__P487938.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P25216.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P25216.info = {"start":1195,"length":19,"line":43,"column":20,"endLine":43,"endColumn":39,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -function inline__P487938_mk(s) { +function inline__P25216_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P487938, depth: s.depth + 1, + parent: s, fn: inline__P25216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25198,7 +26860,7 @@ function inline__P487938_mk(s) { -function inline__P487944(s) { +function inline__P25222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25230,13 +26892,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P487944.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -inline__P487944.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P25222.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} +inline__P25222.info = {"start":1237,"length":22,"line":44,"column":21,"endLine":44,"endColumn":43,"fileName":"pxt_modules/game/sprites.ts","functionName":"inline","argumentNames":["h"]} -function inline__P487944_mk(s) { +function inline__P25222_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P487944, depth: s.depth + 1, + parent: s, fn: inline__P25222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25246,7 +26908,7 @@ function inline__P487944_mk(s) { -function PhysicsEngine_addSprite__P478295(s) { +function PhysicsEngine_addSprite__P16469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25262,18 +26924,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C478294_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C16468_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P478295.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__P478295.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__P16469.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__P16469.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__P478295_mk(s) { +function PhysicsEngine_addSprite__P16469_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P478295, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P16469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25283,7 +26945,7 @@ function PhysicsEngine_addSprite__P478295_mk(s) { -function Sprite_constructor__P478239(s) { +function Sprite_constructor__P16413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25299,15 +26961,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P478067_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P16241_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -25321,7 +26983,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___477998); + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -25340,38 +27002,38 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P478195_mk(s); + s.tmp_0 = Sprite_vx__P16369_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P478197_mk(s); + s.tmp_0 = Sprite_vy__P16371_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P478199_mk(s); + s.tmp_0 = Sprite_ax__P16373_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P478201_mk(s); + s.tmp_0 = Sprite_ay__P16375_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P478206_mk(s); + s.tmp_0 = Sprite_setImage__P16380_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P478219_mk(s); + s.tmp_0 = Sprite_setKind__P16393_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.pc = 7; return s.tmp_0; @@ -25391,13 +27053,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P478239.info = {"start":4441,"length":578,"line":179,"column":4,"endLine":197,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -Sprite_constructor__P478239.info = {"start":4441,"length":578,"line":179,"column":4,"endLine":197,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P16413.info = {"start":4441,"length":578,"line":179,"column":4,"endLine":197,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} +Sprite_constructor__P16413.info = {"start":4441,"length":578,"line":179,"column":4,"endLine":197,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["this","img"]} -function Sprite_constructor__P478239_mk(s) { +function Sprite_constructor__P16413_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P478239, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P16413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25414,7 +27076,7 @@ function Sprite_constructor__P478239_mk(s) { -function Sprite_ay__P478201(s) { +function Sprite_ay__P16375(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25430,7 +27092,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25441,13 +27103,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P478201.info = {"start":3333,"length":51,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -Sprite_ay__P478201.info = {"start":3333,"length":51,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P16375.info = {"start":3333,"length":51,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} +Sprite_ay__P16375.info = {"start":3333,"length":51,"line":128,"column":4,"endLine":130,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this","v"]} -function Sprite_ay__P478201_mk(s) { +function Sprite_ay__P16375_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P478201, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P16375, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25460,7 +27122,7 @@ function Sprite_ay__P478201_mk(s) { -function Sprite_ay__P478200(s) { +function Sprite_ay__P16374(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25475,21 +27137,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_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__P478200.info = {"start":3167,"length":60,"line":123,"column":4,"endLine":125,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -Sprite_ay__P478200.isGetter = true; -Sprite_ay__P478200.info = {"start":3167,"length":60,"line":123,"column":4,"endLine":125,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P16374.info = {"start":3167,"length":60,"line":123,"column":4,"endLine":125,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} +Sprite_ay__P16374.isGetter = true; +Sprite_ay__P16374.info = {"start":3167,"length":60,"line":123,"column":4,"endLine":125,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ay","argumentNames":["this"]} -function Sprite_ay__P478200_mk(s) { +function Sprite_ay__P16374_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P478200, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P16374, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25499,7 +27161,7 @@ function Sprite_ay__P478200_mk(s) { -function Fx_toFloat__P477566(s) { +function Fx_toFloat__P15740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25517,13 +27179,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P477566.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} -Fx_toFloat__P477566.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} +Fx_toFloat__P15740.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} +Fx_toFloat__P15740.info = {"start":2235,"length":81,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} -function Fx_toFloat__P477566_mk(s) { +function Fx_toFloat__P15740_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P477566, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P15740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25532,7 +27194,7 @@ function Fx_toFloat__P477566_mk(s) { -function Sprite_ax__P478199(s) { +function Sprite_ax__P16373(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25548,7 +27210,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25559,13 +27221,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P478199.info = {"start":2994,"length":51,"line":117,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -Sprite_ax__P478199.info = {"start":2994,"length":51,"line":117,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P16373.info = {"start":2994,"length":51,"line":117,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} +Sprite_ax__P16373.info = {"start":2994,"length":51,"line":117,"column":4,"endLine":119,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this","v"]} -function Sprite_ax__P478199_mk(s) { +function Sprite_ax__P16373_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P478199, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P16373, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25578,7 +27240,7 @@ function Sprite_ax__P478199_mk(s) { -function Sprite_ax__P478198(s) { +function Sprite_ax__P16372(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25593,21 +27255,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_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__P478198.info = {"start":2828,"length":60,"line":112,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -Sprite_ax__P478198.isGetter = true; -Sprite_ax__P478198.info = {"start":2828,"length":60,"line":112,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P16372.info = {"start":2828,"length":60,"line":112,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} +Sprite_ax__P16372.isGetter = true; +Sprite_ax__P16372.info = {"start":2828,"length":60,"line":112,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"ax","argumentNames":["this"]} -function Sprite_ax__P478198_mk(s) { +function Sprite_ax__P16372_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P478198, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P16372, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25617,7 +27279,7 @@ function Sprite_ax__P478198_mk(s) { -function Sprite_vy__P478197(s) { +function Sprite_vy__P16371(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25633,7 +27295,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25644,13 +27306,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P478197.info = {"start":2655,"length":51,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -Sprite_vy__P478197.info = {"start":2655,"length":51,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P16371.info = {"start":2655,"length":51,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} +Sprite_vy__P16371.info = {"start":2655,"length":51,"line":106,"column":4,"endLine":108,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this","v"]} -function Sprite_vy__P478197_mk(s) { +function Sprite_vy__P16371_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P478197, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P16371, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25663,7 +27325,7 @@ function Sprite_vy__P478197_mk(s) { -function Sprite_vy__P478196(s) { +function Sprite_vy__P16370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25678,21 +27340,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_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__P478196.info = {"start":2493,"length":60,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -Sprite_vy__P478196.isGetter = true; -Sprite_vy__P478196.info = {"start":2493,"length":60,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P16370.info = {"start":2493,"length":60,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} +Sprite_vy__P16370.isGetter = true; +Sprite_vy__P16370.info = {"start":2493,"length":60,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vy","argumentNames":["this"]} -function Sprite_vy__P478196_mk(s) { +function Sprite_vy__P16370_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P478196, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P16370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25702,7 +27364,7 @@ function Sprite_vy__P478196_mk(s) { -function Sprite_vx__P478195(s) { +function Sprite_vx__P16369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25718,7 +27380,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25729,13 +27391,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P478195.info = {"start":2324,"length":51,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -Sprite_vx__P478195.info = {"start":2324,"length":51,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P16369.info = {"start":2324,"length":51,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} +Sprite_vx__P16369.info = {"start":2324,"length":51,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this","v"]} -function Sprite_vx__P478195_mk(s) { +function Sprite_vx__P16369_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P478195, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P16369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25748,7 +27410,7 @@ function Sprite_vx__P478195_mk(s) { -function Sprite_vx__P478194(s) { +function Sprite_vx__P16368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25763,21 +27425,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_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__P478194.info = {"start":2162,"length":60,"line":90,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -Sprite_vx__P478194.isGetter = true; -Sprite_vx__P478194.info = {"start":2162,"length":60,"line":90,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P16368.info = {"start":2162,"length":60,"line":90,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} +Sprite_vx__P16368.isGetter = true; +Sprite_vx__P16368.info = {"start":2162,"length":60,"line":90,"column":4,"endLine":92,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"vx","argumentNames":["this"]} -function Sprite_vx__P478194_mk(s) { +function Sprite_vx__P16368_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P478194, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P16368, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25787,7 +27449,7 @@ function Sprite_vx__P478194_mk(s) { -function Sprite_setKind__P478219(s) { +function Sprite_setKind__P16393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25797,15 +27459,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.spritesByKind___487962 = undefined; - s.overlapMap___487991 = undefined; + s.spritesByKind___25240 = undefined; + s.overlapMap___25269 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -25824,12 +27486,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P478375_mk(s); + s.tmp_3 = game_currentScene__P16549_mk(s); s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___487962 = (r0); + s.spritesByKind___25240 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -25841,16 +27503,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___487962, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___25240, 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__P478264_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P16438_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___487962, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___25240, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.pc = 17; return s.tmp_4; @@ -25862,7 +27524,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___487962, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___25240, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -25870,18 +27532,18 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C478258_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C16432_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P478269_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P16443_mk(s); s.tmp_5.arg0 = s.tmp_4; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___487962, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___25240, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P478262_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___487962, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P16436_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___25240, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.pc = 19; return s.tmp_0; @@ -25889,13 +27551,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P478375_mk(s); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___487991 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___487991, s.arg1); + s.overlapMap___25269 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___25269, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -25903,7 +27565,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___487991; + s.tmp_3 = r0 = s.overlapMap___25269; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -25911,7 +27573,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___487991, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___25269, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -25920,13 +27582,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P478219.info = {"start":9979,"length":663,"line":365,"column":4,"endLine":385,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -Sprite_setKind__P478219.info = {"start":9979,"length":663,"line":365,"column":4,"endLine":385,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P16393.info = {"start":9979,"length":663,"line":365,"column":4,"endLine":385,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} +Sprite_setKind__P16393.info = {"start":9979,"length":663,"line":365,"column":4,"endLine":385,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setKind","argumentNames":["this","value"]} -function Sprite_setKind__P478219_mk(s) { +function Sprite_setKind__P16393_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P478219, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P16393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25934,8 +27596,8 @@ function Sprite_setKind__P478219_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___487962: undefined, - overlapMap___487991: undefined, + spritesByKind___25240: undefined, + overlapMap___25269: undefined, arg0: undefined, arg1: undefined, } } @@ -25944,7 +27606,7 @@ function Sprite_setKind__P478219_mk(s) { -function sprites_SpriteSet_constructor__P478269(s) { +function sprites_SpriteSet_constructor__P16443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25959,7 +27621,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C478258_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C16432_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -25968,13 +27630,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P478269.info = {"start":488,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} -sprites_SpriteSet_constructor__P478269.info = {"start":488,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} +sprites_SpriteSet_constructor__P16443.info = {"start":488,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} +sprites_SpriteSet_constructor__P16443.info = {"start":488,"length":57,"line":19,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"inline","argumentNames":["this"]} -function sprites_SpriteSet_constructor__P478269_mk(s) { +function sprites_SpriteSet_constructor__P16443_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P478269, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P16443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25985,7 +27647,7 @@ function sprites_SpriteSet_constructor__P478269_mk(s) { -function sprites_SpriteSet_add__P478262(s) { +function sprites_SpriteSet_add__P16436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26001,7 +27663,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C478258_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C16432_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -26032,13 +27694,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P478262.info = {"start":1027,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} -sprites_SpriteSet_add__P478262.info = {"start":1027,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} +sprites_SpriteSet_add__P16436.info = {"start":1027,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} +sprites_SpriteSet_add__P16436.info = {"start":1027,"length":263,"line":41,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"add","argumentNames":["this","sprite"]} -function sprites_SpriteSet_add__P478262_mk(s) { +function sprites_SpriteSet_add__P16436_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P478262, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P16436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26054,7 +27716,7 @@ function sprites_SpriteSet_add__P478262_mk(s) { -function sprites_SpriteSet_contains__P478265(s) { +function sprites_SpriteSet_contains__P16439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26070,7 +27732,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C478258_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C16432_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -26079,13 +27741,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P478265.info = {"start":2162,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} -sprites_SpriteSet_contains__P478265.info = {"start":2162,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} +sprites_SpriteSet_contains__P16439.info = {"start":2162,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} +sprites_SpriteSet_contains__P16439.info = {"start":2162,"length":100,"line":79,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"contains","argumentNames":["this","sprite"]} -function sprites_SpriteSet_contains__P478265_mk(s) { +function sprites_SpriteSet_contains__P16439_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P478265, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P16439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26097,7 +27759,7 @@ function sprites_SpriteSet_contains__P478265_mk(s) { -function game_onShade__P478703(s) { +function game_onShade__P16877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26111,7 +27773,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P478688_mk(s); + s.tmp_0 = game_init__P16862_mk(s); s.tmp_0.arg0 = undefined; s.pc = 4; return s.tmp_0; case 4: @@ -26125,7 +27787,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P478548_mk(s); + s.tmp_2 = scene_createRenderable__P16722_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -26137,13 +27799,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P478703.info = {"start":9936,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -game_onShade__P478703.info = {"start":9936,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P16877.info = {"start":9936,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P16877.info = {"start":9936,"length":145,"line":320,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P478703_mk(s) { +function game_onShade__P16877_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P478703, depth: s.depth + 1, + parent: s, fn: game_onShade__P16877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26155,7 +27817,7 @@ function game_onShade__P478703_mk(s) { -function scene_createRenderable__P478548(s) { +function scene_createRenderable__P16722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26165,14 +27827,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.renderable___487012 = undefined; + s.renderable___24290 = 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__C478542_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C16716_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -26180,11 +27842,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = inline__P487018; + r0 = inline__P24296; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P478547_mk(s); + s.tmp_3 = scene_Renderable_constructor__P16721_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -26192,24 +27854,24 @@ switch (step) { s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___487012 = (s.tmp_0); - r0 = s.renderable___487012; + s.renderable___24290 = (s.tmp_0); + r0 = s.renderable___24290; return leave(s, r0) default: oops() } } } -scene_createRenderable__P478548.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__P478548.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__P16722.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__P16722.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__P478548_mk(s) { +function scene_createRenderable__P16722_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P478548, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P16722, 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___487012: undefined, + renderable___24290: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26219,7 +27881,7 @@ function scene_createRenderable__P478548_mk(s) { -function inline__P487018(s) { +function inline__P24296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26233,13 +27895,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P487018.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -inline__P487018.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P24296.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +inline__P24296.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} -function inline__P487018_mk(s) { +function inline__P24296_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P487018, depth: s.depth + 1, + parent: s, fn: inline__P24296, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -26247,7 +27909,7 @@ function inline__P487018_mk(s) { -function scene_Renderable_constructor__P478547(s) { +function scene_Renderable_constructor__P16721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26265,10 +27927,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C478542_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C16716_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P478067_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P16241_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.pc = 1; return s.tmp_0; @@ -26278,13 +27940,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P478547.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__P478547.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__P16721.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__P16721.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__P478547_mk(s) { +function scene_Renderable_constructor__P16721_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P478547, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P16721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26297,7 +27959,7 @@ function scene_Renderable_constructor__P478547_mk(s) { -function game_pushScene__P478689(s) { +function game_pushScene__P16863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26307,43 +27969,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.oldScene___488997 = undefined; - s.tmp_0 = game_currentScene__P478375_mk(s); + s.oldScene___26275 = undefined; + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___488997 = (r0); - s.tmp_0 = particles_clearAll__P479146_mk(s); + s.oldScene___26275 = (r0); + s.tmp_0 = particles_clearAll__P17320_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P479147_mk(s); + s.tmp_0 = particles_disableAll__P17321_mk(s); s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___478678); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___16852); 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___478678 = (r0); + globals._sceneStack___16852 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___478678, globals._scene___478677); - s.tmp_0 = game_init__P478688_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___16852, globals._scene___16851); + s.tmp_0 = game_init__P16862_mk(s); s.tmp_0.arg0 = true; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___478679); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___16853); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P489014); + r0 = pxsim_pxtcore_mkAction(1, inline__P26292); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___488997); - s.tmp_1 = helpers_arrayForEach__P477500_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___478679; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___26275); + s.tmp_1 = helpers_arrayForEach__P15674_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___16853; s.tmp_1.arg1 = s.tmp_0; s.pc = 9; return s.tmp_1; case 9: @@ -26354,24 +28016,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P478689.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} -game_pushScene__P478689.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P16863.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P16863.info = {"start":1660,"length":367,"line":62,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} -function game_pushScene__P478689_mk(s) { +function game_pushScene__P16863_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P478689, depth: s.depth + 1, + parent: s, fn: game_pushScene__P16863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___488997: undefined, + oldScene___26275: undefined, } } -function inline__P489014(s) { +function inline__P26292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26396,13 +28058,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P489014.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -inline__P489014.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P26292.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +inline__P26292.info = {"start":1991,"length":18,"line":71,"column":39,"endLine":71,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function inline__P489014_mk(s) { +function inline__P26292_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P489014, depth: s.depth + 1, + parent: s, fn: inline__P26292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26412,7 +28074,7 @@ function inline__P489014_mk(s) { -function particles_disableAll__P479147(s) { +function particles_disableAll__P17321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26422,21 +28084,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___489018 = undefined; - s.tmp_0 = particles_particleSources__P479149_mk(s); + s.sources___26296 = undefined; + s.tmp_0 = particles_particleSources__P17323_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___489018 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___489018); + s.sources___26296 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___26296); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P477500_mk(s); - s.tmp_0.arg0 = s.sources___489018; - s.tmp_0.arg1 = inline__P489024; + s.tmp_0 = helpers_arrayForEach__P15674_mk(s); + s.tmp_0.arg0 = s.sources___26296; + s.tmp_0.arg1 = inline__P26302; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P479136_mk(s); + s.tmp_0 = particles_pruneParticles__P17310_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -26446,23 +28108,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P479147.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} -particles_disableAll__P479147.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P17321.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P17321.info = {"start":12353,"length":195,"line":401,"column":4,"endLine":407,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} -function particles_disableAll__P479147_mk(s) { +function particles_disableAll__P17321_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P479147, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P17321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___489018: undefined, + sources___26296: undefined, } } -function inline__P489024(s) { +function inline__P26302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26476,7 +28138,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P479121_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P17295_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.pc = 1; return s.tmp_0; @@ -26486,13 +28148,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P489024.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -inline__P489024.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P26302.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P26302.info = {"start":12478,"length":22,"line":404,"column":28,"endLine":404,"endColumn":50,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function inline__P489024_mk(s) { +function inline__P26302_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P489024, depth: s.depth + 1, + parent: s, fn: inline__P26302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26502,7 +28164,7 @@ function inline__P489024_mk(s) { -function particles_clearAll__P479146(s) { +function particles_clearAll__P17320(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26512,21 +28174,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.sources___489029 = undefined; - s.tmp_0 = particles_particleSources__P479149_mk(s); + s.sources___26307 = undefined; + s.tmp_0 = particles_particleSources__P17323_mk(s); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___489029 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___489029); + s.sources___26307 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___26307); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P477500_mk(s); - s.tmp_0.arg0 = s.sources___489029; - s.tmp_0.arg1 = inline__P489035; + s.tmp_0 = helpers_arrayForEach__P15674_mk(s); + s.tmp_0.arg0 = s.sources___26307; + s.tmp_0.arg1 = inline__P26313; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P479136_mk(s); + s.tmp_0 = particles_pruneParticles__P17310_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -26536,23 +28198,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P479146.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} -particles_clearAll__P479146.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P17320.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P17320.info = {"start":12081,"length":185,"line":390,"column":4,"endLine":396,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} -function particles_clearAll__P479146_mk(s) { +function particles_clearAll__P17320_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P479146, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P17320, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___489029: undefined, + sources___26307: undefined, } } -function inline__P489035(s) { +function inline__P26313(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26566,7 +28228,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P479123_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P17297_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 1; return s.tmp_0; case 1: @@ -26575,13 +28237,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P489035.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -inline__P489035.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P26313.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} +inline__P26313.info = {"start":12204,"length":14,"line":393,"column":28,"endLine":393,"endColumn":42,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["s"]} -function inline__P489035_mk(s) { +function inline__P26313_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P489035, depth: s.depth + 1, + parent: s, fn: inline__P26313, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26591,7 +28253,7 @@ function inline__P489035_mk(s) { -function controller_Button_onEvent__P478119(s) { +function controller_Button_onEvent__P16293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26608,8 +28270,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C478114_VT)) failedCast(r0); - s.tmp_0 = control_onEvent__P477713_mk(s); + if (!checkSubtype(r0, controller_Button__C16288_VT)) failedCast(r0); + s.tmp_0 = control_onEvent__P15887_mk(s); s.tmp_0.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_0.arg1 = r0; @@ -26622,13 +28284,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P478119.info = {"start":3368,"length":124,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} -controller_Button_onEvent__P478119.info = {"start":3368,"length":124,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} +controller_Button_onEvent__P16293.info = {"start":3368,"length":124,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} +controller_Button_onEvent__P16293.info = {"start":3368,"length":124,"line":112,"column":8,"endLine":114,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"onEvent","argumentNames":["this","event","handler"]} -function controller_Button_onEvent__P478119_mk(s) { +function controller_Button_onEvent__P16293_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P478119, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P16293, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26640,7 +28302,7 @@ function controller_Button_onEvent__P478119_mk(s) { -function scene_systemMenu_initVolume__P479006(s) { +function scene_systemMenu_initVolume__P17180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26650,19 +28312,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.vol___489049 = undefined; - s.tmp_0 = settings_readNumber__P478037_mk(s); + s.vol___26327 = undefined; + s.tmp_0 = settings_readNumber__P16211_mk(s); s.tmp_0.arg0 = "#volume"; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___489049 = (r0); - r0 = (s.vol___489049 != null); + s.vol___26327 = (r0); + r0 = (s.vol___26327 != null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P477856_mk(s); - s.tmp_1.arg0 = s.vol___489049; + s.tmp_1 = music_setVolume__P16030_mk(s); + s.tmp_1.arg0 = s.vol___26327; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -26672,24 +28334,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P479006.info = {"start":12776,"length":138,"line":389,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} -scene_systemMenu_initVolume__P479006.info = {"start":12776,"length":138,"line":389,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} +scene_systemMenu_initVolume__P17180.info = {"start":12776,"length":138,"line":389,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} +scene_systemMenu_initVolume__P17180.info = {"start":12776,"length":138,"line":389,"column":4,"endLine":393,"endColumn":5,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"initVolume","argumentNames":[]} -function scene_systemMenu_initVolume__P479006_mk(s) { +function scene_systemMenu_initVolume__P17180_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P479006, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P17180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___489049: undefined, + vol___26327: undefined, } } -function settings_readNumber__P478037(s) { +function settings_readNumber__P16211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26699,15 +28361,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___489059 = undefined; - s.nums___489066 = undefined; + s.buf___26337 = undefined; + s.nums___26344 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___489059 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___489059); + s.buf___26337 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___26337); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -26717,20 +28379,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P477576_mk(s); - s.tmp_2.arg0 = s.buf___489059; + s.tmp_2 = msgpack_unpackNumberArray__P15750_mk(s); + s.tmp_2.arg0 = s.buf___26337; s.tmp_2.arg1 = 0; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___489066 = (r0); - s.tmp_0 = r0 = s.nums___489066; + s.nums___26344 = (r0); + s.tmp_0 = r0 = s.nums___26344; 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___489066); + r0 = pxsim_Array__length(s.nums___26344); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -26738,7 +28400,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___489066, 0); + r0 = pxsim_Array__getAt(s.nums___26344, 0); { step = 7; continue; } case 4: case 5: @@ -26750,19 +28412,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P478037.info = {"start":2887,"length":313,"line":114,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} -settings_readNumber__P478037.info = {"start":2887,"length":313,"line":114,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} +settings_readNumber__P16211.info = {"start":2887,"length":313,"line":114,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} +settings_readNumber__P16211.info = {"start":2887,"length":313,"line":114,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readNumber","argumentNames":["key"]} -function settings_readNumber__P478037_mk(s) { +function settings_readNumber__P16211_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P478037, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P16211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___489059: undefined, - nums___489066: undefined, + buf___26337: undefined, + nums___26344: undefined, arg0: undefined, } } @@ -26770,7 +28432,7 @@ function settings_readNumber__P478037_mk(s) { -function settings_readBuffer__P478035(s) { +function settings_readBuffer__P16209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26788,13 +28450,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P478035.info = {"start":2516,"length":72,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} -settings_readBuffer__P478035.info = {"start":2516,"length":72,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} +settings_readBuffer__P16209.info = {"start":2516,"length":72,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} +settings_readBuffer__P16209.info = {"start":2516,"length":72,"line":96,"column":4,"endLine":98,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readBuffer","argumentNames":["key"]} -function settings_readBuffer__P478035_mk(s) { +function settings_readBuffer__P16209_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P478035, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P16209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26803,7 +28465,7 @@ function settings_readBuffer__P478035_mk(s) { -function msgpack_unpackNumberArray__P477576(s) { +function msgpack_unpackNumberArray__P15750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26813,16 +28475,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.res___489079 = undefined; - s.fmt___489086 = undefined; - s.v___489095 = undefined; + s.res___26357 = undefined; + s.fmt___26364 = undefined; + s.v___26373 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___489079 = (r0); + s.res___26357 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -26834,14 +28496,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P477574_mk(s); + s.tmp_4 = msgpack_tagFormat__P15748_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___489086 = (r0); - r0 = (s.fmt___489086 === null); + s.fmt___26364 = (r0); + r0 = (s.fmt___26364 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -26849,21 +28511,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___489095 = (r0); - r0 = (-31 <= s.v___489095); + s.v___26373 = (r0); + r0 = (-31 <= s.v___26373); 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___489095 <= 127); + r0 = (s.v___26373 <= 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___489079, s.v___489095); + r0 = pxsim_Array__push(s.res___26357, s.v___26373); { step = 5; continue; } case 4: r0 = null; @@ -26871,13 +28533,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___489079; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___489086, s.arg1); + s.tmp_0 = r0 = s.res___26357; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___26364, 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__P477567_mk(s); - s.tmp_2.arg0 = s.fmt___489086; + s.tmp_2 = pins_sizeOf__P15741_mk(s); + s.tmp_2.arg0 = s.fmt___26364; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -26898,27 +28560,27 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___489079; + r0 = s.res___26357; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P477576.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__P477576.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__P15750.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__P15750.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__P477576_mk(s) { +function msgpack_unpackNumberArray__P15750_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P477576, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P15750, 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___489079: undefined, - fmt___489086: undefined, - v___489095: undefined, + res___26357: undefined, + fmt___26364: undefined, + v___26373: undefined, arg0: undefined, arg1: undefined, } } @@ -26927,7 +28589,7 @@ function msgpack_unpackNumberArray__P477576_mk(s) { -function game_currentScene__P478375(s) { +function game_currentScene__P16549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26937,22 +28599,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = game_init__P478688_mk(s); + s.tmp_0 = game_init__P16862_mk(s); s.tmp_0.arg0 = undefined; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___478677; + r0 = globals._scene___16851; return leave(s, r0) default: oops() } } } -game_currentScene__P478375.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -game_currentScene__P478375.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P16549.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P16549.info = {"start":667,"length":90,"line":22,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function game_currentScene__P478375_mk(s) { +function game_currentScene__P16549_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P478375, depth: s.depth + 1, + parent: s, fn: game_currentScene__P16549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26961,7 +28623,7 @@ function game_currentScene__P478375_mk(s) { -function game_addScenePopHandler__P478370(s) { +function game_addScenePopHandler__P16544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26975,36 +28637,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___478680); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___16854); 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___478680 = (r0); + globals._scenePopHandlers___16854 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___478680, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___16854, 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___478680, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___16854, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P478370.info = {"start":11756,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -game_addScenePopHandler__P478370.info = {"start":11756,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P16544.info = {"start":11756,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P16544.info = {"start":11756,"length":237,"line":368,"column":4,"endLine":372,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P478370_mk(s) { +function game_addScenePopHandler__P16544_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P478370, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P16544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27015,7 +28677,7 @@ function game_addScenePopHandler__P478370_mk(s) { -function game_addScenePushHandler__P478353(s) { +function game_addScenePushHandler__P16527(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27029,36 +28691,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___478679); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___16853); 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___478679 = (r0); + globals._scenePushHandlers___16853 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___478679, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___16853, 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___478679, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___16853, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P478353.info = {"start":10755,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -game_addScenePushHandler__P478353.info = {"start":10755,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P16527.info = {"start":10755,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P16527.info = {"start":10755,"length":242,"line":344,"column":4,"endLine":348,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P478353_mk(s) { +function game_addScenePushHandler__P16527_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P478353, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P16527, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27069,7 +28731,7 @@ function game_addScenePushHandler__P478353_mk(s) { -function Fx8__P477533(s) { +function Fx8__P15707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27089,13 +28751,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P477533.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} -Fx8__P477533.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P15707.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P15707.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__P477533_mk(s) { +function Fx8__P15707_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P477533, depth: s.depth + 1, + parent: s, fn: Fx8__P15707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27105,7 +28767,7 @@ function Fx8__P477533_mk(s) { -function SpriteKind_create__P478273(s) { +function SpriteKind_create__P16447(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27115,27 +28777,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = (globals.nextKind___478272 === undefined); + r0 = (globals.nextKind___16446 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___478272 = (1000); + globals.nextKind___16446 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___478272; + s.tmp_0 = r0 = globals.nextKind___16446; r0 = (s.tmp_0 + 1); - globals.nextKind___478272 = (r0); + globals.nextKind___16446 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P478273.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} -SpriteKind_create__P478273.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P16447.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P16447.info = {"start":750,"length":112,"line":25,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} -function SpriteKind_create__P478273_mk(s) { +function SpriteKind_create__P16447_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P478273, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P16447, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -27144,7 +28806,7 @@ function SpriteKind_create__P478273_mk(s) { -function controller_Button_constructor__P478125(s) { +function controller_Button_constructor__P16299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27161,7 +28823,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C478114_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C16288_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -27171,13 +28833,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P489207); + r0 = pxsim_pxtcore_mkAction(1, inline__P26485); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); r0 = s.arg0.fields["id"]; s.tmp_2 = r0; r0 = pxsim.control.internalOnEvent(2050, s.tmp_2, s.tmp_1, 16); - r0 = pxsim_pxtcore_mkAction(1, inline__P489214); + r0 = pxsim_pxtcore_mkAction(1, inline__P26492); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -27196,13 +28858,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P478125.info = {"start":1589,"length":863,"line":67,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -controller_Button_constructor__P478125.info = {"start":1589,"length":863,"line":67,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","id","configKey"]} +controller_Button_constructor__P16299.info = {"start":1589,"length":863,"line":67,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","id","configKey"]} +controller_Button_constructor__P16299.info = {"start":1589,"length":863,"line":67,"column":8,"endLine":83,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","id","configKey"]} -function controller_Button_constructor__P478125_mk(s) { +function controller_Button_constructor__P16299_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P478125, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P16299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27216,7 +28878,7 @@ function controller_Button_constructor__P478125_mk(s) { -function inline__P489207(s) { +function inline__P26485(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27226,7 +28888,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P478123_mk(s); + s.tmp_0 = controller_Button_setPressed__P16297_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.pc = 1; return s.tmp_0; @@ -27236,13 +28898,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P489207.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -inline__P489207.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P26485.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P26485.info = {"start":2211,"length":28,"line":77,"column":66,"endLine":77,"endColumn":94,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P489207_mk(s) { +function inline__P26485_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P489207, depth: s.depth + 1, + parent: s, fn: inline__P26485, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -27251,7 +28913,7 @@ function inline__P489207_mk(s) { -function inline__P489214(s) { +function inline__P26492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27261,7 +28923,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P478123_mk(s); + s.tmp_0 = controller_Button_setPressed__P16297_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.pc = 1; return s.tmp_0; @@ -27271,13 +28933,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P489214.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -inline__P489214.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P26492.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +inline__P26492.info = {"start":2313,"length":27,"line":78,"column":68,"endLine":78,"endColumn":95,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} -function inline__P489214_mk(s) { +function inline__P26492_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P489214, depth: s.depth + 1, + parent: s, fn: inline__P26492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -27286,7 +28948,7 @@ function inline__P489214_mk(s) { -function controller_Button_setPressed__P478123(s) { +function controller_Button_setPressed__P16297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27302,14 +28964,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C478114_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C16288_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__P477917_mk(s); + s.tmp_2 = power_poke__P16091_mk(s); s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -27317,7 +28979,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = controller_Controller_connected__P478154_mk(s); + s.tmp_1 = controller_Controller_connected__P16328_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -27332,7 +28994,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = (s.arg0).fields["_pressedElasped"] = (0); - s.tmp_0 = controller_Button_raiseButtonDown__P478117_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P16291_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 9; return s.tmp_0; case 9: @@ -27340,7 +29002,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P478116_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P16290_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 10; return s.tmp_0; case 10: @@ -27352,13 +29014,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P478123.info = {"start":4600,"length":507,"line":148,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -controller_Button_setPressed__P478123.info = {"start":4600,"length":507,"line":148,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"setPressed","argumentNames":["this","pressed"]} +controller_Button_setPressed__P16297.info = {"start":4600,"length":507,"line":148,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"setPressed","argumentNames":["this","pressed"]} +controller_Button_setPressed__P16297.info = {"start":4600,"length":507,"line":148,"column":8,"endLine":162,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"setPressed","argumentNames":["this","pressed"]} -function controller_Button_setPressed__P478123_mk(s) { +function controller_Button_setPressed__P16297_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P478123, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P16297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27371,7 +29033,7 @@ function controller_Button_setPressed__P478123_mk(s) { -function controller_Controller_connected__P478154(s) { +function controller_Controller_connected__P16328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27387,7 +29049,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -27415,13 +29077,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P478154.info = {"start":12550,"length":261,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} -controller_Controller_connected__P478154.info = {"start":12550,"length":261,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} +controller_Controller_connected__P16328.info = {"start":12550,"length":261,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} +controller_Controller_connected__P16328.info = {"start":12550,"length":261,"line":405,"column":8,"endLine":410,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this","value"]} -function controller_Controller_connected__P478154_mk(s) { +function controller_Controller_connected__P16328_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P478154, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P16328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27434,7 +29096,7 @@ function controller_Controller_connected__P478154_mk(s) { -function controller_Controller_id__P478140(s) { +function controller_Controller_id__P16314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27449,19 +29111,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P478140.info = {"start":8841,"length":49,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} -controller_Controller_id__P478140.isGetter = true; -controller_Controller_id__P478140.info = {"start":8841,"length":49,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} +controller_Controller_id__P16314.info = {"start":8841,"length":49,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} +controller_Controller_id__P16314.isGetter = true; +controller_Controller_id__P16314.info = {"start":8841,"length":49,"line":276,"column":8,"endLine":278,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"id","argumentNames":["this"]} -function controller_Controller_id__P478140_mk(s) { +function controller_Controller_id__P16314_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P478140, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P16314, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27470,7 +29132,7 @@ function controller_Controller_id__P478140_mk(s) { -function controller_Controller_connected__P478153(s) { +function controller_Controller_connected__P16327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27485,19 +29147,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C478137_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C16311_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P478153.info = {"start":12477,"length":63,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} -controller_Controller_connected__P478153.isGetter = true; -controller_Controller_connected__P478153.info = {"start":12477,"length":63,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} +controller_Controller_connected__P16327.info = {"start":12477,"length":63,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} +controller_Controller_connected__P16327.isGetter = true; +controller_Controller_connected__P16327.info = {"start":12477,"length":63,"line":401,"column":8,"endLine":403,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"connected","argumentNames":["this"]} -function controller_Controller_connected__P478153_mk(s) { +function controller_Controller_connected__P16327_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P478153, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P16327, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27506,7 +29168,7 @@ function controller_Controller_connected__P478153_mk(s) { -function controller_Button_raiseButtonDown__P478117(s) { +function controller_Button_raiseButtonDown__P16291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27521,8 +29183,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C478114_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___478107); + if (!checkSubtype(r0, controller_Button__C16288_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___16281); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -27537,13 +29199,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P478117.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -controller_Button_raiseButtonDown__P478117.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} +controller_Button_raiseButtonDown__P16291.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} +controller_Button_raiseButtonDown__P16291.info = {"start":2672,"length":205,"line":92,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonDown","argumentNames":["this"]} -function controller_Button_raiseButtonDown__P478117_mk(s) { +function controller_Button_raiseButtonDown__P16291_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P478117, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P16291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27553,7 +29215,7 @@ function controller_Button_raiseButtonDown__P478117_mk(s) { -function controller_Button_raiseButtonUp__P478116(s) { +function controller_Button_raiseButtonUp__P16290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27568,8 +29230,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C478114_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___478107); + if (!checkSubtype(r0, controller_Button__C16288_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___16281); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -27584,13 +29246,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P478116.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -controller_Button_raiseButtonUp__P478116.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} +controller_Button_raiseButtonUp__P16290.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} +controller_Button_raiseButtonUp__P16290.info = {"start":2462,"length":200,"line":85,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"raiseButtonUp","argumentNames":["this"]} -function controller_Button_raiseButtonUp__P478116_mk(s) { +function controller_Button_raiseButtonUp__P16290_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P478116, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P16290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27600,7 +29262,7 @@ function controller_Button_raiseButtonUp__P478116_mk(s) { -function controller_setupButton__P478113(s) { +function controller_setupButton__P16287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27619,13 +29281,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P478113.info = {"start":983,"length":93,"line":47,"column":4,"endLine":49,"endColumn":6,"fileName":"pxt_modules/game/controller.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} -controller_setupButton__P478113.info = {"start":983,"length":93,"line":47,"column":4,"endLine":49,"endColumn":6,"fileName":"pxt_modules/game/controller.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} +controller_setupButton__P16287.info = {"start":983,"length":93,"line":47,"column":4,"endLine":49,"endColumn":6,"fileName":"pxt_modules/game/controller.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} +controller_setupButton__P16287.info = {"start":983,"length":93,"line":47,"column":4,"endLine":49,"endColumn":6,"fileName":"pxt_modules/game/controller.ts","functionName":"setupButton","argumentNames":["buttonId","key"]} -function controller_setupButton__P478113_mk(s) { +function controller_setupButton__P16287_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P478113, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P16287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27635,7 +29297,7 @@ function controller_setupButton__P478113_mk(s) { -function settings_initScopes__P478028(s) { +function settings_initScopes__P16202(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27645,17 +29307,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.rn___489294 = undefined; - s.tmp_1 = settings_runNumber__P478026_mk(s); + s.rn___26572 = undefined; + s.tmp_1 = settings_runNumber__P16200_mk(s); s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___489294 = (r0); - s.tmp_0 = settings_writeNumber__P478033_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___478015; - s.tmp_0.arg1 = s.rn___489294; + s.rn___26572 = (r0); + s.tmp_0 = settings_writeNumber__P16207_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___16189; + s.tmp_0.arg1 = s.rn___26572; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -27664,8 +29326,8 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___489294); - s.tmp_0 = settings_setScope__P478027_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___26572); + s.tmp_0 = settings_setScope__P16201_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.pc = 3; return s.tmp_0; @@ -27675,24 +29337,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P478028.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} -settings_initScopes__P478028.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P16202.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P16202.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__P478028_mk(s) { +function settings_initScopes__P16202_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P478028, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P16202, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___489294: undefined, + rn___26572: undefined, } } -function settings_setScope__P478027(s) { +function settings_setScope__P16201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27702,7 +29364,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.currScope___489323 = undefined; + s.currScope___26601 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -27727,19 +29389,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P478036_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___478016; + s.tmp_0 = settings_readString__P16210_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___16190; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___489323 = (r0); - r0 = (s.currScope___489323 != s.arg0); + s.currScope___26601 = (r0); + r0 = (s.currScope___26601 != 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__P478032_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___478016; + s.tmp_0 = settings_writeString__P16206_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___16190; s.tmp_0.arg1 = s.arg0; s.pc = 8; return s.tmp_0; case 8: @@ -27750,19 +29412,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P478027.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__P478027.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__P16201.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__P16201.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__P478027_mk(s) { +function settings_setScope__P16201_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P478027, depth: s.depth + 1, + parent: s, fn: settings_setScope__P16201, 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___489323: undefined, + currScope___26601: undefined, arg0: undefined, } } @@ -27770,7 +29432,7 @@ function settings_setScope__P478027_mk(s) { -function settings_readString__P478036(s) { +function settings_readString__P16210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27780,14 +29442,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.buf___489344 = undefined; + s.buf___26622 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___489344 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___489344); + s.buf___26622 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___26622); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -27797,7 +29459,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___489344); + r0 = pxsim.BufferMethods.toString(s.buf___26622); { step = 3; continue; } case 2: r0 = undefined; @@ -27805,17 +29467,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P478036.info = {"start":2649,"length":177,"line":103,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} -settings_readString__P478036.info = {"start":2649,"length":177,"line":103,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} +settings_readString__P16210.info = {"start":2649,"length":177,"line":103,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} +settings_readString__P16210.info = {"start":2649,"length":177,"line":103,"column":4,"endLine":109,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"readString","argumentNames":["key"]} -function settings_readString__P478036_mk(s) { +function settings_readString__P16210_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P478036, depth: s.depth + 1, + parent: s, fn: settings_readString__P16210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___489344: undefined, + buf___26622: undefined, arg0: undefined, } } @@ -27823,7 +29485,7 @@ function settings_readString__P478036_mk(s) { -function settings_writeString__P478032(s) { +function settings_writeString__P16206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27838,7 +29500,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P478031_mk(s); + s.tmp_0 = settings_writeBuffer__P16205_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -27849,13 +29511,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P478032.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__P478032.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__P16206.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__P16206.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__P478032_mk(s) { +function settings_writeString__P16206_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P478032, depth: s.depth + 1, + parent: s, fn: settings_writeString__P16206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27866,7 +29528,7 @@ function settings_writeString__P478032_mk(s) { -function settings_runNumber__P478026(s) { +function settings_runNumber__P16200(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27876,8 +29538,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tmp_1 = settings_readNumber__P478037_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___478015; + s.tmp_1 = settings_readNumber__P16211_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___16189; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -27895,13 +29557,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P478026.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} -settings_runNumber__P478026.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P16200.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P16200.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__P478026_mk(s) { +function settings_runNumber__P16200_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P478026, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P16200, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27912,7 +29574,7 @@ function settings_runNumber__P478026_mk(s) { -function control___screen_setupUpdate__P477966(s) { +function control___screen_setupUpdate__P16140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27926,8 +29588,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___477964 = (true); - globals.__update___477962 = (s.arg0); + globals.__updated___16138 = (true); + globals.__update___16136 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -27938,13 +29600,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P477966.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__P477966.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__P16140.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__P16140.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__P477966_mk(s) { +function control___screen_setupUpdate__P16140_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P477966, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P16140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27954,7 +29616,7 @@ function control___screen_setupUpdate__P477966_mk(s) { -function control___screen_update__P477965(s) { +function control___screen_update__P16139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27964,28 +29626,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___477962); + r0 = pxsim_numops_toBoolDecr(globals.__update___16136); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___477962; + s.tmp_0.argL = globals.__update___16136; setupLambda(s.tmp_0, s.tmp_0.argL); s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___477964 = (true); + globals.__updated___16138 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P477965.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__P477965.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__P16139.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__P16139.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__P477965_mk(s) { +function control___screen_update__P16139_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P477965, depth: s.depth + 1, + parent: s, fn: control___screen_update__P16139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -27994,7 +29656,7 @@ function control___screen_update__P477965_mk(s) { -function pause__P477741(s) { +function pause__P15915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28018,13 +29680,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P477741.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} -pause__P477741.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P15915.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P15915.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__P477741_mk(s) { +function pause__P15915_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P477741, depth: s.depth + 1, + parent: s, fn: pause__P15915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28033,7 +29695,7 @@ function pause__P477741_mk(s) { -function sprites_SpriteSet_toString__P478268(s) { +function sprites_SpriteSet_toString__P16442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28048,7 +29710,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C478258_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C16432_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -28070,13 +29732,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P478268.info = {"start":2577,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} -sprites_SpriteSet_toString__P478268.info = {"start":2577,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} +sprites_SpriteSet_toString__P16442.info = {"start":2577,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} +sprites_SpriteSet_toString__P16442.info = {"start":2577,"length":66,"line":97,"column":8,"endLine":99,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"toString","argumentNames":["this"]} -function sprites_SpriteSet_toString__P478268_mk(s) { +function sprites_SpriteSet_toString__P16442_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P478268, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P16442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28090,7 +29752,7 @@ function sprites_SpriteSet_toString__P478268_mk(s) { -function sprites_SpriteSet_length__P478260(s) { +function sprites_SpriteSet_length__P16434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28105,21 +29767,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C478258_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C16432_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__P478260.info = {"start":628,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} -sprites_SpriteSet_length__P478260.isGetter = true; -sprites_SpriteSet_length__P478260.info = {"start":628,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} +sprites_SpriteSet_length__P16434.info = {"start":628,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} +sprites_SpriteSet_length__P16434.isGetter = true; +sprites_SpriteSet_length__P16434.info = {"start":628,"length":65,"line":26,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/spriteset.ts","functionName":"length","argumentNames":["this"]} -function sprites_SpriteSet_length__P478260_mk(s) { +function sprites_SpriteSet_length__P16434_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P478260, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P16434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28129,7 +29791,7 @@ function sprites_SpriteSet_length__P478260_mk(s) { -function music_Melody_toString__P477875(s) { +function music_Melody_toString__P16049(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28144,18 +29806,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C477865_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C16039_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P477875.info = {"start":9607,"length":53,"line":302,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -music_Melody_toString__P477875.info = {"start":9607,"length":53,"line":302,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P16049.info = {"start":9607,"length":53,"line":302,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} +music_Melody_toString__P16049.info = {"start":9607,"length":53,"line":302,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"toString","argumentNames":["this"]} -function music_Melody_toString__P477875_mk(s) { +function music_Melody_toString__P16049_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P477875, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P16049, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28164,7 +29826,7 @@ function music_Melody_toString__P477875_mk(s) { -function tiles_TileMapData_constructor__P478497(s) { +function tiles_TileMapData_constructor__P16671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28183,11 +29845,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C478485_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C16659_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__P478489_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P16663_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.pc = 1; return s.tmp_0; @@ -28205,13 +29867,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P478497.info = {"start":3105,"length":358,"line":115,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -tiles_TileMapData_constructor__P478497.info = {"start":3105,"length":358,"line":115,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P16671.info = {"start":3105,"length":358,"line":115,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} +tiles_TileMapData_constructor__P16671.info = {"start":3105,"length":358,"line":115,"column":8,"endLine":123,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","data","layers","tileset","scale"]} -function tiles_TileMapData_constructor__P478497_mk(s) { +function tiles_TileMapData_constructor__P16671_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P478497, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P16671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28226,7 +29888,7 @@ function tiles_TileMapData_constructor__P478497_mk(s) { -function tiles_TileMapData_scale__P478489(s) { +function tiles_TileMapData_scale__P16663(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28242,7 +29904,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C478485_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C16659_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -28252,13 +29914,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P478489.info = {"start":3697,"length":102,"line":137,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -tiles_TileMapData_scale__P478489.info = {"start":3697,"length":102,"line":137,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P16663.info = {"start":3697,"length":102,"line":137,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMapData_scale__P16663.info = {"start":3697,"length":102,"line":137,"column":8,"endLine":140,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMapData_scale__P478489_mk(s) { +function tiles_TileMapData_scale__P16663_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P478489, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P16663, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28270,7 +29932,7 @@ function tiles_TileMapData_scale__P478489_mk(s) { -function tiles_TileMapData_scale__P478488(s) { +function tiles_TileMapData_scale__P16662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28285,19 +29947,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C478485_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C16659_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P478488.info = {"start":3621,"length":66,"line":133,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -tiles_TileMapData_scale__P478488.isGetter = true; -tiles_TileMapData_scale__P478488.info = {"start":3621,"length":66,"line":133,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P16662.info = {"start":3621,"length":66,"line":133,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} +tiles_TileMapData_scale__P16662.isGetter = true; +tiles_TileMapData_scale__P16662.info = {"start":3621,"length":66,"line":133,"column":8,"endLine":135,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this"]} -function tiles_TileMapData_scale__P478488_mk(s) { +function tiles_TileMapData_scale__P16662_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P478488, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P16662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28306,7 +29968,7 @@ function tiles_TileMapData_scale__P478488_mk(s) { -function tiles_TileMap_constructor__P478522(s) { +function tiles_TileMap_constructor__P16696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28322,18 +29984,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P478500_mk(s); + s.tmp_0 = tiles_TileMap_scale__P16674_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, inline__P491570); + r0 = pxsim_pxtcore_mkAction(1, inline__P28872); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = scene_createRenderable__P478548_mk(s); + s.tmp_1 = scene_createRenderable__P16722_mk(s); s.tmp_1.arg0 = -1; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; @@ -28344,13 +30006,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P478522.info = {"start":5677,"length":250,"line":200,"column":8,"endLine":208,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -tiles_TileMap_constructor__P478522.info = {"start":5677,"length":250,"line":200,"column":8,"endLine":208,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P16696.info = {"start":5677,"length":250,"line":200,"column":8,"endLine":208,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} +tiles_TileMap_constructor__P16696.info = {"start":5677,"length":250,"line":200,"column":8,"endLine":208,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","scale"]} -function tiles_TileMap_constructor__P478522_mk(s) { +function tiles_TileMap_constructor__P16696_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P478522, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P16696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28362,7 +30024,7 @@ function tiles_TileMap_constructor__P478522_mk(s) { -function inline__P491570(s) { +function inline__P28872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28377,7 +30039,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P478517_mk(s); + s.tmp_0 = tiles_TileMap_draw__P16691_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -28388,13 +30050,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P491570.info = {"start":5877,"length":25,"line":206,"column":16,"endLine":206,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -inline__P491570.info = {"start":5877,"length":25,"line":206,"column":16,"endLine":206,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +inline__P28872.info = {"start":5877,"length":25,"line":206,"column":16,"endLine":206,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} +inline__P28872.info = {"start":5877,"length":25,"line":206,"column":16,"endLine":206,"endColumn":41,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["t","c"]} -function inline__P491570_mk(s) { +function inline__P28872_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P491570, depth: s.depth + 1, + parent: s, fn: inline__P28872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28405,7 +30067,7 @@ function inline__P491570_mk(s) { -function tiles_TileMap_draw__P478517(s) { +function tiles_TileMap_draw__P16691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28415,21 +30077,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.bitmask___491581 = undefined; - s.offsetX___491587 = undefined; - s.offsetY___491592 = undefined; - s.x0___491597 = undefined; - s.xn___491604 = undefined; - s.y0___491621 = undefined; - s.yn___491628 = undefined; - s.x___491645 = undefined; - s.y___491651 = undefined; - s.index___491657 = undefined; - s.tile___491664 = undefined; - s.x___491700 = undefined; - s.xLine___491706 = undefined; - s.y___491733 = undefined; - s.yLine___491739 = undefined; + s.bitmask___28883 = undefined; + s.offsetX___28889 = undefined; + s.offsetY___28894 = undefined; + s.x0___28899 = undefined; + s.xn___28906 = undefined; + s.y0___28923 = undefined; + s.yn___28930 = undefined; + s.x___28947 = undefined; + s.y___28953 = undefined; + s.index___28959 = undefined; + s.tile___28966 = undefined; + s.x___29002 = undefined; + s.xLine___29008 = undefined; + s.y___29035 = undefined; + s.yLine___29041 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28437,7 +30099,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -28462,16 +30124,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___491581 = (r0); + s.bitmask___28883 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___491581); - s.offsetX___491587 = (r0); + r0 = (s.tmp_0 & s.bitmask___28883); + s.offsetX___28889 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___491581); - s.offsetY___491592 = (r0); - s.tmp_0 = Math_max__P477516_mk(s); + r0 = (s.tmp_0 & s.bitmask___28883); + s.offsetY___28894 = (r0); + s.tmp_0 = Math_max__P15690_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -28482,8 +30144,8 @@ switch (step) { s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___491597 = (r0); - s.tmp_0 = Math_min__P477517_mk(s); + s.x0___28899 = (r0); + s.tmp_0 = Math_min__P15691_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -28503,8 +30165,8 @@ switch (step) { s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___491604 = (r0); - s.tmp_0 = Math_max__P477516_mk(s); + s.xn___28906 = (r0); + s.tmp_0 = Math_max__P15690_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -28515,8 +30177,8 @@ switch (step) { s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___491621 = (r0); - s.tmp_0 = Math_min__P477517_mk(s); + s.y0___28923 = (r0); + s.tmp_0 = Math_min__P15691_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -28536,92 +30198,92 @@ switch (step) { s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___491628 = (r0); - s.x___491645 = (s.x0___491597); + s.yn___28930 = (r0); + s.x___28947 = (s.x0___28899); case 3: - r0 = (s.x___491645 <= s.xn___491604); + r0 = (s.x___28947 <= s.xn___28906); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___491651 = (s.y0___491621); + s.y___28953 = (s.y0___28923); case 4: - r0 = (s.y___491651 <= s.yn___491628); + r0 = (s.y___28953 <= s.yn___28930); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P478490_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P16664_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___491645; - s.tmp_1.arg2 = s.y___491651; + s.tmp_1.arg1 = s.x___28947; + s.tmp_1.arg2 = s.y___28953; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___491657 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P478493_mk(s); + s.index___28959 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P16667_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___491657; + s.tmp_0.arg1 = s.index___28959; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___491664 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___491664); + s.tile___28966 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___28966); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___491664; - r0 = (s.x___491645 - s.x0___491597); + s.tmp_1 = r0 = s.tile___28966; + r0 = (s.x___28947 - s.x0___28899); 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___491587); + r0 = (s.tmp_3 - s.offsetX___28889); s.tmp_2 = r0; - r0 = (s.y___491651 - s.y0___491621); + r0 = (s.y___28953 - s.y0___28923); 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___491592); + r0 = (s.tmp_7 - s.offsetY___28894); 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___491651 + 1); - s.y___491651 = (r0); + r0 = (s.y___28953 + 1); + s.y___28953 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___491645 + 1); - s.x___491645 = (r0); + r0 = (s.x___28947 + 1); + s.x___28947 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___478666); + r0 = pxsim_numops_toBoolDecr(globals.debug___16840); if (!r0) { step = 21; continue; } - s.x___491700 = (s.x0___491597); + s.x___29002 = (s.x0___28899); case 9: - r0 = (s.x___491700 <= s.xn___491604); + r0 = (s.x___29002 <= s.xn___28906); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___491700 - s.x0___491597); + r0 = (s.x___29002 - s.x0___28899); 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___491587); - s.xLine___491706 = (r0); - r0 = (s.xLine___491706 >= 0); + r0 = (s.tmp_1 - s.offsetX___28889); + s.xLine___29008 = (r0); + r0 = (s.xLine___29008 >= 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___491706; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + s.tmp_1 = r0 = s.xLine___29008; + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -28629,11 +30291,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P477939_mk(s); + s.tmp_4 = helpers_imageDrawLine__P16113_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___491706; + s.tmp_4.arg1 = s.xLine___29008; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___491706; + s.tmp_4.arg3 = s.xLine___29008; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -28642,33 +30304,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___491700 + 1); - s.x___491700 = (r0); + r0 = (s.x___29002 + 1); + s.x___29002 = (r0); { step = 9; continue; } case 14: - s.y___491733 = (s.y0___491621); + s.y___29035 = (s.y0___28923); case 15: - r0 = (s.y___491733 <= s.yn___491628); + r0 = (s.y___29035 <= s.yn___28930); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___491733 - s.y0___491621); + r0 = (s.y___29035 - s.y0___28923); 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___491592); - s.yLine___491739 = (r0); - r0 = (s.yLine___491739 >= 0); + r0 = (s.tmp_1 - s.offsetY___28894); + s.yLine___29041 = (r0); + r0 = (s.yLine___29041 >= 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___491739; - r0 = pxsim_ImageMethods.height(globals.screen___477998); + s.tmp_1 = r0 = s.yLine___29041; + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -28676,21 +30338,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P477939_mk(s); + s.tmp_4 = helpers_imageDrawLine__P16113_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___491739; + s.tmp_4.arg2 = s.yLine___29041; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___491739; + s.tmp_4.arg4 = s.yLine___29041; s.tmp_4.arg5 = 1; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___491733 + 1); - s.y___491733 = (r0); + r0 = (s.y___29035 + 1); + s.y___29035 = (r0); { step = 15; continue; } case 20: case 21: @@ -28700,13 +30362,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P478517.info = {"start":8888,"length":2224,"line":311,"column":8,"endLine":366,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -tiles_TileMap_draw__P478517.info = {"start":8888,"length":2224,"line":311,"column":8,"endLine":366,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P16691.info = {"start":8888,"length":2224,"line":311,"column":8,"endLine":366,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} +tiles_TileMap_draw__P16691.info = {"start":8888,"length":2224,"line":311,"column":8,"endLine":366,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"draw","argumentNames":["this","target","camera"]} -function tiles_TileMap_draw__P478517_mk(s) { +function tiles_TileMap_draw__P16691_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P478517, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P16691, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28718,21 +30380,21 @@ function tiles_TileMap_draw__P478517_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___491581: undefined, - offsetX___491587: undefined, - offsetY___491592: undefined, - x0___491597: undefined, - xn___491604: undefined, - y0___491621: undefined, - yn___491628: undefined, - x___491645: undefined, - y___491651: undefined, - index___491657: undefined, - tile___491664: undefined, - x___491700: undefined, - xLine___491706: undefined, - y___491733: undefined, - yLine___491739: undefined, + bitmask___28883: undefined, + offsetX___28889: undefined, + offsetY___28894: undefined, + x0___28899: undefined, + xn___28906: undefined, + y0___28923: undefined, + yn___28930: undefined, + x___28947: undefined, + y___28953: undefined, + index___28959: undefined, + tile___28966: undefined, + x___29002: undefined, + xLine___29008: undefined, + y___29035: undefined, + yLine___29041: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28742,7 +30404,7 @@ function tiles_TileMap_draw__P478517_mk(s) { -function tiles_TileMapData_getTileImage__P478493(s) { +function tiles_TileMapData_getTileImage__P16667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28752,25 +30414,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.size___490320 = undefined; - s.cachedImage___490324 = undefined; - s.originalImage___490331 = undefined; + s.size___27598 = undefined; + s.cachedImage___27602 = undefined; + s.originalImage___27609 = 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__C478485_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C16659_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___490320 = (r0); + s.size___27598 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___490324 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___490324); + s.cachedImage___27602 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___27602); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28779,59 +30441,59 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___490331 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___490331); + s.originalImage___27609 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___27609); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___490331); + r0 = pxsim_ImageMethods.width(s.originalImage___27609); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___490320); + r0 = (s.tmp_1 <= s.size___27598); 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___490331); + r0 = pxsim_ImageMethods.height(s.originalImage___27609); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___490320); + r0 = (s.tmp_2 <= s.size___27598); 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___490324 = (s.originalImage___490331); + s.cachedImage___27602 = (s.originalImage___27609); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___490320, s.size___490320); - s.cachedImage___490324 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___490324, s.originalImage___490331, 0, 0); + r0 = pxsim.image.create(s.size___27598, s.size___27598); + s.cachedImage___27602 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___27602, s.originalImage___27609, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___490324); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___27602); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___490324; + r0 = s.cachedImage___27602; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P478493.info = {"start":4411,"length":717,"line":162,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -tiles_TileMapData_getTileImage__P478493.info = {"start":4411,"length":717,"line":162,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P16667.info = {"start":4411,"length":717,"line":162,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMapData_getTileImage__P16667.info = {"start":4411,"length":717,"line":162,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMapData_getTileImage__P478493_mk(s) { +function tiles_TileMapData_getTileImage__P16667_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P478493, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P16667, 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___490320: undefined, - cachedImage___490324: undefined, - originalImage___490331: undefined, + size___27598: undefined, + cachedImage___27602: undefined, + originalImage___27609: undefined, arg0: undefined, arg1: undefined, } } @@ -28840,7 +30502,7 @@ function tiles_TileMapData_getTileImage__P478493_mk(s) { -function tiles_TileMapData_getTile__P478490(s) { +function tiles_TileMapData_getTile__P16664(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28857,8 +30519,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C478485_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P478496_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C16659_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P16670_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -28891,13 +30553,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P478490.info = {"start":3809,"length":200,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -tiles_TileMapData_getTile__P478490.info = {"start":3809,"length":200,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P16664.info = {"start":3809,"length":200,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMapData_getTile__P16664.info = {"start":3809,"length":200,"line":142,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMapData_getTile__P478490_mk(s) { +function tiles_TileMapData_getTile__P16664_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P478490, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P16664, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28917,7 +30579,7 @@ function tiles_TileMapData_getTile__P478490_mk(s) { -function tiles_TileMapData_isOutsideMap__P478496(s) { +function tiles_TileMapData_isOutsideMap__P16670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28934,7 +30596,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C478485_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C16659_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -28974,13 +30636,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P478496.info = {"start":5392,"length":132,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -tiles_TileMapData_isOutsideMap__P478496.info = {"start":5392,"length":132,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P16670.info = {"start":5392,"length":132,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} +tiles_TileMapData_isOutsideMap__P16670.info = {"start":5392,"length":132,"line":189,"column":8,"endLine":191,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOutsideMap","argumentNames":["this","col","row"]} -function tiles_TileMapData_isOutsideMap__P478496_mk(s) { +function tiles_TileMapData_isOutsideMap__P16670_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P478496, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P16670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28999,7 +30661,7 @@ function tiles_TileMapData_isOutsideMap__P478496_mk(s) { -function tiles_TileMap_scale__P478500(s) { +function tiles_TileMap_scale__P16674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29015,13 +30677,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_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__P478489_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P16663_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -29034,13 +30696,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P478500.info = {"start":6002,"length":144,"line":214,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -tiles_TileMap_scale__P478500.info = {"start":6002,"length":144,"line":214,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P16674.info = {"start":6002,"length":144,"line":214,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} +tiles_TileMap_scale__P16674.info = {"start":6002,"length":144,"line":214,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"scale","argumentNames":["this","s"]} -function tiles_TileMap_scale__P478500_mk(s) { +function tiles_TileMap_scale__P16674_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P478500, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P16674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29052,7 +30714,7 @@ function tiles_TileMap_scale__P478500_mk(s) { -function tiles_TileMap_data__P478501(s) { +function tiles_TileMap_data__P16675(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29067,19 +30729,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P478501.info = {"start":6156,"length":75,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -tiles_TileMap_data__P478501.isGetter = true; -tiles_TileMap_data__P478501.info = {"start":6156,"length":75,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P16675.info = {"start":6156,"length":75,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} +tiles_TileMap_data__P16675.isGetter = true; +tiles_TileMap_data__P16675.info = {"start":6156,"length":75,"line":221,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"data","argumentNames":["this"]} -function tiles_TileMap_data__P478501_mk(s) { +function tiles_TileMap_data__P16675_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P478501, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P16675, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29088,7 +30750,7 @@ function tiles_TileMap_data__P478501_mk(s) { -function Sprite_toString__P478238(s) { +function Sprite_toString__P16412(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29103,7 +30765,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -29121,7 +30783,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P478190_mk(s); + s.tmp_14 = Sprite_x__P16364_mk(s); s.tmp_14.arg0 = s.arg0; s.pc = 2; return s.tmp_14; case 2: @@ -29140,7 +30802,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P478192_mk(s); + s.tmp_17 = Sprite_y__P16366_mk(s); s.tmp_17.arg0 = s.arg0; s.pc = 4; return s.tmp_17; case 4: @@ -29159,7 +30821,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P478194_mk(s); + s.tmp_20 = Sprite_vx__P16368_mk(s); s.tmp_20.arg0 = s.arg0; s.pc = 6; return s.tmp_20; case 6: @@ -29178,7 +30840,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P478196_mk(s); + s.tmp_23 = Sprite_vy__P16370_mk(s); s.tmp_23.arg0 = s.arg0; s.pc = 8; return s.tmp_23; case 8: @@ -29199,13 +30861,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P478238.info = {"start":31729,"length":93,"line":937,"column":4,"endLine":939,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -Sprite_toString__P478238.info = {"start":31729,"length":93,"line":937,"column":4,"endLine":939,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P16412.info = {"start":31729,"length":93,"line":937,"column":4,"endLine":939,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P16412.info = {"start":31729,"length":93,"line":937,"column":4,"endLine":939,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P478238_mk(s) { +function Sprite_toString__P16412_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P478238, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P16412, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29238,7 +30900,7 @@ function Sprite_toString__P478238_mk(s) { -function Sprite___update__P478226(s) { +function Sprite___update__P16400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29248,8 +30910,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.bounce___491839 = undefined; - s.tm___491844 = undefined; + s.bounce___29141 = undefined; + s.tm___29146 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29257,7 +30919,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -29279,7 +30941,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = Sprite__destroyCore__P478236_mk(s); + s.tmp_0 = Sprite__destroyCore__P16410_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 33; return s.tmp_0; case 33: @@ -29297,7 +30959,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P478224_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P16398_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.pc = 34; return s.tmp_2; @@ -29308,7 +30970,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P478235_mk(s); + s.tmp_4 = Sprite_destroy__P16409_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -29320,13 +30982,13 @@ switch (step) { r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___491839 = (r0); - s.tmp_0 = game_currentScene__P478375_mk(s); + s.bounce___29141 = (r0); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___491844 = (r0); + s.tm___29146 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); @@ -29336,13 +30998,13 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 9: - s.tmp_2 = r0 = s.bounce___491839; + s.tmp_2 = r0 = s.bounce___29141; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 10; continue; } r0 = s.tmp_2; { step = 11; continue; } case 10: - r0 = pxsim_numops_toBoolDecr(s.tm___491844); + r0 = pxsim_numops_toBoolDecr(s.tm___29146); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 11: @@ -29354,7 +31016,7 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 29; continue; } - s.tmp_8 = Sprite_left__P478210_mk(s); + s.tmp_8 = Sprite_left__P16384_mk(s); s.tmp_8.arg0 = s.arg0; s.pc = 37; return s.tmp_8; case 37: @@ -29366,18 +31028,18 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 15; continue; } - s.tmp_10 = Sprite_left__P478211_mk(s); + s.tmp_10 = Sprite_left__P16385_mk(s); s.tmp_10.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_10.arg1 = r0; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___491839); + r0 = pxsim_numops_toBoolDecr(s.bounce___29141); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vx__P478195_mk(s); + s.tmp_0 = Sprite_vx__P16369_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P478194_mk(s); + s.tmp_2 = Sprite_vx__P16368_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 40; return s.tmp_2; case 40: @@ -29392,7 +31054,7 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_2 = Sprite_right__P478212_mk(s); + s.tmp_2 = Sprite_right__P16386_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 41; return s.tmp_2; case 41: @@ -29400,7 +31062,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetX"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -29408,22 +31070,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_6 = Sprite_right__P478213_mk(s); + s.tmp_6 = Sprite_right__P16387_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetX"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.pc = 42; return s.tmp_6; case 42: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___491839); + r0 = pxsim_numops_toBoolDecr(s.bounce___29141); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vx__P478195_mk(s); + s.tmp_0 = Sprite_vx__P16369_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vx__P478194_mk(s); + s.tmp_2 = Sprite_vx__P16368_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 44; return s.tmp_2; case 44: @@ -29439,7 +31101,7 @@ switch (step) { case 18: case 19: case 20: - s.tmp_2 = Sprite_top__P478214_mk(s); + s.tmp_2 = Sprite_top__P16388_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 45; return s.tmp_2; case 45: @@ -29451,18 +31113,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - s.tmp_4 = Sprite_top__P478215_mk(s); + s.tmp_4 = Sprite_top__P16389_mk(s); s.tmp_4.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4.arg1 = r0; s.pc = 46; return s.tmp_4; case 46: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___491839); + r0 = pxsim_numops_toBoolDecr(s.bounce___29141); if (!r0) { step = 21; continue; } - s.tmp_0 = Sprite_vy__P478197_mk(s); + s.tmp_0 = Sprite_vy__P16371_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P478196_mk(s); + s.tmp_2 = Sprite_vy__P16370_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 48; return s.tmp_2; case 48: @@ -29477,7 +31139,7 @@ switch (step) { case 22: { step = 28; continue; } case 23: - s.tmp_2 = Sprite_bottom__P478216_mk(s); + s.tmp_2 = Sprite_bottom__P16390_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 49; return s.tmp_2; case 49: @@ -29485,7 +31147,7 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg1.fields["_offsetY"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___477998); + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; @@ -29493,22 +31155,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_6 = Sprite_bottom__P478217_mk(s); + s.tmp_6 = Sprite_bottom__P16391_mk(s); s.tmp_6.arg0 = s.arg0; r0 = s.arg1.fields["_offsetY"]; s.tmp_7 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___477998); + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_6.arg1 = r0; s.pc = 50; return s.tmp_6; case 50: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.bounce___491839); + r0 = pxsim_numops_toBoolDecr(s.bounce___29141); if (!r0) { step = 24; continue; } - s.tmp_0 = Sprite_vy__P478197_mk(s); + s.tmp_0 = Sprite_vy__P16371_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_vy__P478196_mk(s); + s.tmp_2 = Sprite_vy__P16370_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 52; return s.tmp_2; case 52: @@ -29551,13 +31213,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P478226.info = {"start":21234,"length":1390,"line":648,"column":4,"endLine":687,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -Sprite___update__P478226.info = {"start":21234,"length":1390,"line":648,"column":4,"endLine":687,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P16400.info = {"start":21234,"length":1390,"line":648,"column":4,"endLine":687,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} +Sprite___update__P16400.info = {"start":21234,"length":1390,"line":648,"column":4,"endLine":687,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__update","argumentNames":["this","camera","dt"]} -function Sprite___update__P478226_mk(s) { +function Sprite___update__P16400_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P478226, depth: s.depth + 1, + parent: s, fn: Sprite___update__P16400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29570,8 +31232,8 @@ function Sprite___update__P478226_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - bounce___491839: undefined, - tm___491844: undefined, + bounce___29141: undefined, + tm___29146: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29581,7 +31243,7 @@ function Sprite___update__P478226_mk(s) { -function Sprite_isOutOfScreen__P478224(s) { +function Sprite_isOutOfScreen__P16398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29591,15 +31253,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ox___491934 = undefined; - s.oy___491942 = undefined; + s.ox___29236 = undefined; + s.oy___29244 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -29613,7 +31275,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___491934 = (s.tmp_2); + s.ox___29236 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -29627,14 +31289,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___491942 = (s.tmp_2); - s.tmp_3 = Sprite_right__P478212_mk(s); + s.oy___29244 = (s.tmp_2); + s.tmp_3 = Sprite_right__P16386_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___491934); + r0 = (s.tmp_2 - s.ox___29236); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -29643,13 +31305,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P478216_mk(s); + s.tmp_6 = Sprite_bottom__P16390_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___491942); + r0 = (s.tmp_5 - s.oy___29244); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -29660,15 +31322,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P478210_mk(s); + s.tmp_10 = Sprite_left__P16384_mk(s); s.tmp_10.arg0 = s.arg0; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___491934); + r0 = (s.tmp_9 - s.ox___29236); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -29679,15 +31341,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P478214_mk(s); + s.tmp_15 = Sprite_top__P16388_mk(s); s.tmp_15.arg0 = s.arg0; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___491942); + r0 = (s.tmp_14 - s.oy___29244); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___477998); + r0 = pxsim_ImageMethods.height(globals.screen___16172); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -29697,13 +31359,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P478224.info = {"start":19481,"length":358,"line":602,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -Sprite_isOutOfScreen__P478224.info = {"start":19481,"length":358,"line":602,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P16398.info = {"start":19481,"length":358,"line":602,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} +Sprite_isOutOfScreen__P16398.info = {"start":19481,"length":358,"line":602,"column":4,"endLine":606,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"isOutOfScreen","argumentNames":["this","camera"]} -function Sprite_isOutOfScreen__P478224_mk(s) { +function Sprite_isOutOfScreen__P16398_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P478224, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P16398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29723,8 +31385,8 @@ function Sprite_isOutOfScreen__P478224_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___491934: undefined, - oy___491942: undefined, + ox___29236: undefined, + oy___29244: undefined, arg0: undefined, arg1: undefined, } } @@ -29733,7 +31395,7 @@ function Sprite_isOutOfScreen__P478224_mk(s) { -function Sprite_bottom__P478217(s) { +function Sprite_bottom__P16391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29749,8 +31411,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P478215_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P16389_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -29766,13 +31428,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P478217.info = {"start":9342,"length":73,"line":341,"column":4,"endLine":343,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -Sprite_bottom__P478217.info = {"start":9342,"length":73,"line":341,"column":4,"endLine":343,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P16391.info = {"start":9342,"length":73,"line":341,"column":4,"endLine":343,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} +Sprite_bottom__P16391.info = {"start":9342,"length":73,"line":341,"column":4,"endLine":343,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this","value"]} -function Sprite_bottom__P478217_mk(s) { +function Sprite_bottom__P16391_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P478217, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P16391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29786,7 +31448,7 @@ function Sprite_bottom__P478217_mk(s) { -function Sprite_height__P478209(s) { +function Sprite_height__P16383(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29801,21 +31463,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -Sprite_height__P478209.info = {"start":7750,"length":54,"line":281,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -Sprite_height__P478209.isGetter = true; -Sprite_height__P478209.info = {"start":7750,"length":54,"line":281,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P16383.info = {"start":7750,"length":54,"line":281,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} +Sprite_height__P16383.isGetter = true; +Sprite_height__P16383.info = {"start":7750,"length":54,"line":281,"column":4,"endLine":283,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"height","argumentNames":["this"]} -function Sprite_height__P478209_mk(s) { +function Sprite_height__P16383_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P478209, depth: s.depth + 1, + parent: s, fn: Sprite_height__P16383, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29825,7 +31487,7 @@ function Sprite_height__P478209_mk(s) { -function Sprite_bottom__P478216(s) { +function Sprite_bottom__P16390(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29840,8 +31502,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P478214_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P16388_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 1; return s.tmp_1; case 1: @@ -29855,14 +31517,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P478216.info = {"start":9190,"length":59,"line":336,"column":4,"endLine":338,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -Sprite_bottom__P478216.isGetter = true; -Sprite_bottom__P478216.info = {"start":9190,"length":59,"line":336,"column":4,"endLine":338,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P16390.info = {"start":9190,"length":59,"line":336,"column":4,"endLine":338,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} +Sprite_bottom__P16390.isGetter = true; +Sprite_bottom__P16390.info = {"start":9190,"length":59,"line":336,"column":4,"endLine":338,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"bottom","argumentNames":["this"]} -function Sprite_bottom__P478216_mk(s) { +function Sprite_bottom__P16390_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P478216, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P16390, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29875,7 +31537,7 @@ function Sprite_bottom__P478216_mk(s) { -function Sprite_right__P478213(s) { +function Sprite_right__P16387(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29891,8 +31553,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P478211_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P16385_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["_image"]; @@ -29908,13 +31570,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P478213.info = {"start":8537,"length":71,"line":311,"column":4,"endLine":313,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -Sprite_right__P478213.info = {"start":8537,"length":71,"line":311,"column":4,"endLine":313,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P16387.info = {"start":8537,"length":71,"line":311,"column":4,"endLine":313,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} +Sprite_right__P16387.info = {"start":8537,"length":71,"line":311,"column":4,"endLine":313,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this","value"]} -function Sprite_right__P478213_mk(s) { +function Sprite_right__P16387_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P478213, depth: s.depth + 1, + parent: s, fn: Sprite_right__P16387, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29928,7 +31590,7 @@ function Sprite_right__P478213_mk(s) { -function Sprite_right__P478212(s) { +function Sprite_right__P16386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29943,8 +31605,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P478210_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P16384_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 1; return s.tmp_1; case 1: @@ -29958,14 +31620,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P478212.info = {"start":8388,"length":57,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -Sprite_right__P478212.isGetter = true; -Sprite_right__P478212.info = {"start":8388,"length":57,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P16386.info = {"start":8388,"length":57,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} +Sprite_right__P16386.isGetter = true; +Sprite_right__P16386.info = {"start":8388,"length":57,"line":306,"column":4,"endLine":308,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"right","argumentNames":["this"]} -function Sprite_right__P478212_mk(s) { +function Sprite_right__P16386_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P478212, depth: s.depth + 1, + parent: s, fn: Sprite_right__P16386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29978,7 +31640,7 @@ function Sprite_right__P478212_mk(s) { -function Sprite_width__P478208(s) { +function Sprite_width__P16382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29993,21 +31655,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); return leaveAccessor(s, r0) default: oops() } } } -Sprite_width__P478208.info = {"start":7605,"length":52,"line":276,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -Sprite_width__P478208.isGetter = true; -Sprite_width__P478208.info = {"start":7605,"length":52,"line":276,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P16382.info = {"start":7605,"length":52,"line":276,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} +Sprite_width__P16382.isGetter = true; +Sprite_width__P16382.info = {"start":7605,"length":52,"line":276,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"width","argumentNames":["this"]} -function Sprite_width__P478208_mk(s) { +function Sprite_width__P16382_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P478208, depth: s.depth + 1, + parent: s, fn: Sprite_width__P16382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30017,7 +31679,7 @@ function Sprite_width__P478208_mk(s) { -function Sprite_data__P478203(s) { +function Sprite_data__P16377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30033,19 +31695,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P478203.info = {"start":3555,"length":56,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -Sprite_data__P478203.info = {"start":3555,"length":56,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P16377.info = {"start":3555,"length":56,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} +Sprite_data__P16377.info = {"start":3555,"length":56,"line":142,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this","value"]} -function Sprite_data__P478203_mk(s) { +function Sprite_data__P16377_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P478203, depth: s.depth + 1, + parent: s, fn: Sprite_data__P16377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30055,7 +31717,7 @@ function Sprite_data__P478203_mk(s) { -function Sprite_data__P478202(s) { +function Sprite_data__P16376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30070,7 +31732,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -30089,14 +31751,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P478202.info = {"start":3457,"length":92,"line":137,"column":4,"endLine":140,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -Sprite_data__P478202.isGetter = true; -Sprite_data__P478202.info = {"start":3457,"length":92,"line":137,"column":4,"endLine":140,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P16376.info = {"start":3457,"length":92,"line":137,"column":4,"endLine":140,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} +Sprite_data__P16376.isGetter = true; +Sprite_data__P16376.info = {"start":3457,"length":92,"line":137,"column":4,"endLine":140,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"data","argumentNames":["this"]} -function Sprite_data__P478202_mk(s) { +function Sprite_data__P16376_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P478202, depth: s.depth + 1, + parent: s, fn: Sprite_data__P16376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30110,7 +31772,7 @@ function Sprite_data__P478202_mk(s) { -function scene_BackgroundLayer_constructor__P478467(s) { +function scene_BackgroundLayer_constructor__P16641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30128,9 +31790,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C478465_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C16639_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P477516_mk(s); + s.tmp_2 = Math_max__P15690_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.pc = 7; return s.tmp_2; @@ -30176,13 +31838,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P478467.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__P478467.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__P16641.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__P16641.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__P478467_mk(s) { +function scene_BackgroundLayer_constructor__P16641_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P478467, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P16641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30197,7 +31859,7 @@ function scene_BackgroundLayer_constructor__P478467_mk(s) { -function sprites_SpriteMap_toString__P478251(s) { +function sprites_SpriteMap_toString__P16425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30212,7 +31874,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C478241_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -30232,10 +31894,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P477501_mk(s); + s.tmp_10 = helpers_arrayFilter__P15675_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = inline__P489396; + s.tmp_10.arg1 = inline__P26674; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -30257,13 +31919,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P478251.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__P478251.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__P16425.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__P16425.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__P478251_mk(s) { +function sprites_SpriteMap_toString__P16425_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P478251, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P16425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30283,7 +31945,7 @@ function sprites_SpriteMap_toString__P478251_mk(s) { -function inline__P489396(s) { +function inline__P26674(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30307,13 +31969,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P489396.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} -inline__P489396.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P26674.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} +inline__P26674.info = {"start":4196,"length":8,"line":113,"column":74,"endLine":113,"endColumn":82,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["b"]} -function inline__P489396_mk(s) { +function inline__P26674_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P489396, depth: s.depth + 1, + parent: s, fn: inline__P26674, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30325,7 +31987,7 @@ function inline__P489396_mk(s) { -function ArcadePhysicsEngine_moveSprite__P478340(s) { +function ArcadePhysicsEngine_moveSprite__P16514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30335,9 +31997,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tm___489434 = undefined; - s.maxDist___489444 = undefined; - s.ms___489464 = undefined; + s.tm___26712 = undefined; + s.maxDist___26722 = undefined; + s.ms___26742 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30346,7 +32008,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -30375,19 +32037,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_4 = game_currentScene__P478375_mk(s); + s.tmp_4 = game_currentScene__P16549_mk(s); s.pc = 16; return s.tmp_4; case 16: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___489434 = (r0); - s.tmp_0 = r0 = s.tm___489434; + s.tm___26712 = (r0); + s.tmp_0 = r0 = s.tm___26712; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___489434.fields["_map"]; + r0 = s.tm___26712.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -30413,8 +32075,8 @@ switch (step) { r0 = (s.tmp_8 + 128); s.tmp_9 = r0; r0 = (s.tmp_9 >> 8); - s.maxDist___489444 = (r0); - s.tmp_2 = Math_abs__P477514_mk(s); + s.maxDist___26722 = (r0); + s.tmp_2 = Math_abs__P15688_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -30423,14 +32085,14 @@ switch (step) { case 17: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___489444); + r0 = (s.tmp_1 <= s.maxDist___26722); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_5 = Math_abs__P477514_mk(s); + s.tmp_5 = Math_abs__P15688_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -30439,15 +32101,15 @@ switch (step) { case 18: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___489444); + r0 = (s.tmp_4 <= s.maxDist___26722); case 6: // jmp value (already in r0) s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 7; continue; } - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C478320_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C16494_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P478321_mk(s); + s.tmp_9 = MovingSprite_constructor__P16495_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -30461,18 +32123,18 @@ switch (step) { s.pc = 19; return s.tmp_9; case 19: r0 = s.retval; - s.ms___489464 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P478337_mk(s); + s.ms___26742 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P16511_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___489464; - s.tmp_0.arg2 = s.tm___489434; + s.tmp_0.arg1 = s.ms___26742; + s.tmp_0.arg2 = s.tm___26712; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 12; continue; } case 7: - s.tmp_1 = tiles_TileMap_isOnWall__P478520_mk(s); - s.tmp_1.arg0 = s.tm___489434; + s.tmp_1 = tiles_TileMap_isOnWall__P16694_mk(s); + s.tmp_1.arg0 = s.tm___26712; s.tmp_1.arg1 = s.arg1; s.pc = 21; return s.tmp_1; case 21: @@ -30483,10 +32145,10 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P478341_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P16515_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___489434; + s.tmp_4.arg2 = s.tm___26712; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; @@ -30522,13 +32184,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P478340.info = {"start":18957,"length":1272,"line":550,"column":4,"endLine":583,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -ArcadePhysicsEngine_moveSprite__P478340.info = {"start":18957,"length":1272,"line":550,"column":4,"endLine":583,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P16514.info = {"start":18957,"length":1272,"line":550,"column":4,"endLine":583,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} +ArcadePhysicsEngine_moveSprite__P16514.info = {"start":18957,"length":1272,"line":550,"column":4,"endLine":583,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"moveSprite","argumentNames":["this","s","dx","dy"]} -function ArcadePhysicsEngine_moveSprite__P478340_mk(s) { +function ArcadePhysicsEngine_moveSprite__P16514_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P478340, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P16514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30540,9 +32202,9 @@ function ArcadePhysicsEngine_moveSprite__P478340_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___489434: undefined, - maxDist___489444: undefined, - ms___489464: undefined, + tm___26712: undefined, + maxDist___26722: undefined, + ms___26742: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30553,7 +32215,7 @@ function ArcadePhysicsEngine_moveSprite__P478340_mk(s) { -function tiles_TileMap_isOnWall__P478520(s) { +function tiles_TileMap_isOnWall__P16694(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30563,24 +32225,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.hbox___489682 = undefined; - s.left___489685 = undefined; - s.right___489691 = undefined; - s.top___489697 = undefined; - s.bottom___489703 = undefined; - s.col___489709 = undefined; - s.row___489715 = undefined; + s.hbox___26960 = undefined; + s.left___26963 = undefined; + s.right___26969 = undefined; + s.top___26975 = undefined; + s.bottom___26981 = undefined; + s.col___26987 = undefined; + s.row___26993 = 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__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___489682 = (r0); - s.tmp_1 = game_Hitbox_left__P478175_mk(s); - s.tmp_1.arg0 = s.hbox___489682; + s.hbox___26960 = (r0); + s.tmp_1 = game_Hitbox_left__P16349_mk(s); + s.tmp_1.arg0 = s.hbox___26960; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -30590,9 +32252,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___489685 = (r0); - s.tmp_1 = game_Hitbox_right__P478177_mk(s); - s.tmp_1.arg0 = s.hbox___489682; + s.left___26963 = (r0); + s.tmp_1 = game_Hitbox_right__P16351_mk(s); + s.tmp_1.arg0 = s.hbox___26960; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -30602,9 +32264,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___489691 = (r0); - s.tmp_1 = game_Hitbox_top__P478176_mk(s); - s.tmp_1.arg0 = s.hbox___489682; + s.right___26969 = (r0); + s.tmp_1 = game_Hitbox_top__P16350_mk(s); + s.tmp_1.arg0 = s.hbox___26960; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -30614,9 +32276,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___489697 = (r0); - s.tmp_1 = game_Hitbox_bottom__P478178_mk(s); - s.tmp_1.arg0 = s.hbox___489682; + s.top___26975 = (r0); + s.tmp_1 = game_Hitbox_bottom__P16352_mk(s); + s.tmp_1.arg0 = s.hbox___26960; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -30626,23 +32288,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___489703 = (r0); - s.col___489709 = (s.left___489685); + s.bottom___26981 = (r0); + s.col___26987 = (s.left___26963); case 1: - r0 = (s.col___489709 <= s.right___489691); + r0 = (s.col___26987 <= s.right___26969); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___489715 = (s.top___489697); + s.row___26993 = (s.top___26975); case 2: - r0 = (s.row___489715 <= s.bottom___489703); + r0 = (s.row___26993 <= s.bottom___26981); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P478518_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P16692_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___489709; - s.tmp_2.arg2 = s.row___489715; + s.tmp_2.arg1 = s.col___26987; + s.tmp_2.arg2 = s.row___26993; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -30653,12 +32315,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___489715 + 1); - s.row___489715 = (r0); + r0 = (s.row___26993 + 1); + s.row___26993 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___489709 + 1); - s.col___489709 = (r0); + r0 = (s.col___26987 + 1); + s.col___26987 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -30666,25 +32328,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P478520.info = {"start":11763,"length":627,"line":387,"column":8,"endLine":404,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -tiles_TileMap_isOnWall__P478520.info = {"start":11763,"length":627,"line":387,"column":8,"endLine":404,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P16694.info = {"start":11763,"length":627,"line":387,"column":8,"endLine":404,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} +tiles_TileMap_isOnWall__P16694.info = {"start":11763,"length":627,"line":387,"column":8,"endLine":404,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isOnWall","argumentNames":["this","s"]} -function tiles_TileMap_isOnWall__P478520_mk(s) { +function tiles_TileMap_isOnWall__P16694_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P478520, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P16694, 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___489682: undefined, - left___489685: undefined, - right___489691: undefined, - top___489697: undefined, - bottom___489703: undefined, - col___489709: undefined, - row___489715: undefined, + hbox___26960: undefined, + left___26963: undefined, + right___26969: undefined, + top___26975: undefined, + bottom___26981: undefined, + col___26987: undefined, + row___26993: undefined, arg0: undefined, arg1: undefined, } } @@ -30693,7 +32355,7 @@ function tiles_TileMap_isOnWall__P478520_mk(s) { -function tiles_TileMap_isObstacle__P478518(s) { +function tiles_TileMap_isObstacle__P16692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30710,7 +32372,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -30731,7 +32393,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P478496_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P16670_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -30757,13 +32419,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P478518.info = {"start":11122,"length":211,"line":368,"column":8,"endLine":373,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -tiles_TileMap_isObstacle__P478518.info = {"start":11122,"length":211,"line":368,"column":8,"endLine":373,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P16692.info = {"start":11122,"length":211,"line":368,"column":8,"endLine":373,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_isObstacle__P16692.info = {"start":11122,"length":211,"line":368,"column":8,"endLine":373,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_isObstacle__P478518_mk(s) { +function tiles_TileMap_isObstacle__P16692_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P478518, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P16692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30786,7 +32448,7 @@ function tiles_TileMap_isObstacle__P478518_mk(s) { -function tiles_TileMapData_isWall__P478495(s) { +function tiles_TileMapData_isWall__P16669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30803,7 +32465,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C478485_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C16659_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -30812,13 +32474,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P478495.info = {"start":5275,"length":107,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -tiles_TileMapData_isWall__P478495.info = {"start":5275,"length":107,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P16669.info = {"start":5275,"length":107,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} +tiles_TileMapData_isWall__P16669.info = {"start":5275,"length":107,"line":185,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isWall","argumentNames":["this","col","row"]} -function tiles_TileMapData_isWall__P478495_mk(s) { +function tiles_TileMapData_isWall__P16669_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P478495, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P16669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30831,7 +32493,7 @@ function tiles_TileMapData_isWall__P478495_mk(s) { -function game_Hitbox_bottom__P478178(s) { +function game_Hitbox_bottom__P16352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30846,10 +32508,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C478174_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C16348_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P478176_mk(s); + s.tmp_3 = game_Hitbox_top__P16350_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 1; return s.tmp_3; case 1: @@ -30861,14 +32523,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P478178.info = {"start":742,"length":139,"line":31,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} -game_Hitbox_bottom__P478178.isGetter = true; -game_Hitbox_bottom__P478178.info = {"start":742,"length":139,"line":31,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} +game_Hitbox_bottom__P16352.info = {"start":742,"length":139,"line":31,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} +game_Hitbox_bottom__P16352.isGetter = true; +game_Hitbox_bottom__P16352.info = {"start":742,"length":139,"line":31,"column":8,"endLine":36,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"bottom","argumentNames":["this"]} -function game_Hitbox_bottom__P478178_mk(s) { +function game_Hitbox_bottom__P16352_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P478178, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P16352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30881,7 +32543,7 @@ function game_Hitbox_bottom__P478178_mk(s) { -function game_Hitbox_right__P478177(s) { +function game_Hitbox_right__P16351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30896,10 +32558,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C478174_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C16348_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P478175_mk(s); + s.tmp_3 = game_Hitbox_left__P16349_mk(s); s.tmp_3.arg0 = s.arg0; s.pc = 1; return s.tmp_3; case 1: @@ -30911,14 +32573,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P478177.info = {"start":594,"length":138,"line":24,"column":8,"endLine":29,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} -game_Hitbox_right__P478177.isGetter = true; -game_Hitbox_right__P478177.info = {"start":594,"length":138,"line":24,"column":8,"endLine":29,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} +game_Hitbox_right__P16351.info = {"start":594,"length":138,"line":24,"column":8,"endLine":29,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} +game_Hitbox_right__P16351.isGetter = true; +game_Hitbox_right__P16351.info = {"start":594,"length":138,"line":24,"column":8,"endLine":29,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"right","argumentNames":["this"]} -function game_Hitbox_right__P478177_mk(s) { +function game_Hitbox_right__P16351_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P478177, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P16351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30931,7 +32593,7 @@ function game_Hitbox_right__P478177_mk(s) { -function game_Hitbox_top__P478176(s) { +function game_Hitbox_top__P16350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30946,7 +32608,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C478174_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C16348_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -30956,14 +32618,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P478176.info = {"start":511,"length":73,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} -game_Hitbox_top__P478176.isGetter = true; -game_Hitbox_top__P478176.info = {"start":511,"length":73,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} +game_Hitbox_top__P16350.info = {"start":511,"length":73,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} +game_Hitbox_top__P16350.isGetter = true; +game_Hitbox_top__P16350.info = {"start":511,"length":73,"line":20,"column":8,"endLine":22,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"top","argumentNames":["this"]} -function game_Hitbox_top__P478176_mk(s) { +function game_Hitbox_top__P16350_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P478176, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P16350, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30974,7 +32636,7 @@ function game_Hitbox_top__P478176_mk(s) { -function game_Hitbox_left__P478175(s) { +function game_Hitbox_left__P16349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30989,7 +32651,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C478174_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C16348_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -30999,14 +32661,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P478175.info = {"start":427,"length":74,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} -game_Hitbox_left__P478175.isGetter = true; -game_Hitbox_left__P478175.info = {"start":427,"length":74,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} +game_Hitbox_left__P16349.info = {"start":427,"length":74,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} +game_Hitbox_left__P16349.isGetter = true; +game_Hitbox_left__P16349.info = {"start":427,"length":74,"line":16,"column":8,"endLine":18,"endColumn":9,"fileName":"pxt_modules/game/hitbox.ts","functionName":"left","argumentNames":["this"]} -function game_Hitbox_left__P478175_mk(s) { +function game_Hitbox_left__P16349_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P478175, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P16349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31017,7 +32679,7 @@ function game_Hitbox_left__P478175_mk(s) { -function Fx_toIntShifted__P477551(s) { +function Fx_toIntShifted__P15725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31039,13 +32701,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P477551.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__P477551.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__P15725.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__P15725.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__P477551_mk(s) { +function Fx_toIntShifted__P15725_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P477551, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P15725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31057,7 +32719,7 @@ function Fx_toIntShifted__P477551_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P478341(s) { +function ArcadePhysicsEngine_canResolveClipping__P16515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31067,19 +32729,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.hbox___489504 = undefined; - s.sz___489507 = undefined; - s.maxMove___489512 = undefined; - s.origY___489514 = undefined; - s.origX___489517 = undefined; - s.l___489520 = undefined; - s.r___489525 = undefined; - s.t___489530 = undefined; - s.b___489535 = undefined; - s.offset___489540 = undefined; - s.offset___489565 = undefined; - s.offset___489596 = undefined; - s.offset___489621 = undefined; + s.hbox___26782 = undefined; + s.sz___26785 = undefined; + s.maxMove___26790 = undefined; + s.origY___26792 = undefined; + s.origX___26795 = undefined; + s.l___26798 = undefined; + s.r___26803 = undefined; + s.t___26808 = undefined; + s.b___26813 = undefined; + s.offset___26818 = undefined; + s.offset___26843 = undefined; + s.offset___26874 = undefined; + s.offset___26899 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31087,25 +32749,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___489504 = (r0); + s.hbox___26782 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___489507 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P478328_mk(s); + s.sz___26785 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P16502_mk(s); s.tmp_0.arg0 = s.arg0; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.maxMove___489512 = (r0); + s.maxMove___26790 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___489514 = (r0); + s.origY___26792 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___489517 = (r0); - s.tmp_1 = game_Hitbox_left__P478175_mk(s); - s.tmp_1.arg0 = s.hbox___489504; + s.origX___26795 = (r0); + s.tmp_1 = game_Hitbox_left__P16349_mk(s); + s.tmp_1.arg0 = s.hbox___26782; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; @@ -31113,9 +32775,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___489520 = (r0); - s.tmp_1 = game_Hitbox_right__P478177_mk(s); - s.tmp_1.arg0 = s.hbox___489504; + s.l___26798 = (r0); + s.tmp_1 = game_Hitbox_right__P16351_mk(s); + s.tmp_1.arg0 = s.hbox___26782; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; @@ -31123,9 +32785,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___489525 = (r0); - s.tmp_1 = game_Hitbox_top__P478176_mk(s); - s.tmp_1.arg0 = s.hbox___489504; + s.r___26803 = (r0); + s.tmp_1 = game_Hitbox_top__P16350_mk(s); + s.tmp_1.arg0 = s.hbox___26782; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; @@ -31133,9 +32795,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___489530 = (r0); - s.tmp_1 = game_Hitbox_bottom__P478178_mk(s); - s.tmp_1.arg0 = s.hbox___489504; + s.t___26808 = (r0); + s.tmp_1 = game_Hitbox_bottom__P16352_mk(s); + s.tmp_1.arg0 = s.hbox___26782; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -31143,26 +32805,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___489535 = (r0); - r0 = (s.b___489535 + 1); + s.b___26813 = (r0); + r0 = (s.b___26813 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___489507); - s.offset___489540 = (r0); - r0 = (s.offset___489540 <= s.maxMove___489512); + r0 = (s.tmp_0 % s.sz___26785); + s.offset___26818 = (r0); + r0 = (s.offset___26818 <= s.maxMove___26790); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_y"]; s.tmp_3 = r0; - r0 = (s.offset___489540 * 256); + r0 = (s.offset___26818 * 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__P478520_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P16694_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.pc = 23; return s.tmp_3; @@ -31179,35 +32841,35 @@ switch (step) { { step = 17; continue; } { step = 2; continue; } case 1: - r0 = (s.arg1).fields["_y"] = (s.origY___489514); + r0 = (s.arg1).fields["_y"] = (s.origY___26792); case 2: case 3: case 4: - r0 = (s.t___489530 / s.sz___489507); + r0 = (s.t___26808 / s.sz___26785); 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___489507); + r0 = (s.tmp_1 * s.sz___26785); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___489530); - s.offset___489565 = (r0); - r0 = (s.offset___489565 <= s.maxMove___489512); + r0 = (s.tmp_0 - s.t___26808); + s.offset___26843 = (r0); + r0 = (s.offset___26843 <= s.maxMove___26790); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_y"]; s.tmp_3 = r0; - r0 = (s.offset___489565 * 256); + r0 = (s.offset___26843 * 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__P478520_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P16694_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.pc = 24; return s.tmp_3; @@ -31224,29 +32886,29 @@ switch (step) { { step = 17; continue; } { step = 6; continue; } case 5: - r0 = (s.arg1).fields["_y"] = (s.origY___489514); + r0 = (s.arg1).fields["_y"] = (s.origY___26792); case 6: case 7: case 8: - r0 = (s.r___489525 + 1); + r0 = (s.r___26803 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___489507); - s.offset___489596 = (r0); - r0 = (s.offset___489596 <= s.maxMove___489512); + r0 = (s.tmp_0 % s.sz___26785); + s.offset___26874 = (r0); + r0 = (s.offset___26874 <= s.maxMove___26790); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_x"]; s.tmp_3 = r0; - r0 = (s.offset___489596 * 256); + r0 = (s.offset___26874 * 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__P478520_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P16694_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.pc = 25; return s.tmp_3; @@ -31263,35 +32925,35 @@ switch (step) { { step = 17; continue; } { step = 10; continue; } case 9: - r0 = (s.arg1).fields["_x"] = (s.origX___489517); + r0 = (s.arg1).fields["_x"] = (s.origX___26795); case 10: case 11: case 12: - r0 = (s.l___489520 / s.sz___489507); + r0 = (s.l___26798 / s.sz___26785); 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___489507); + r0 = (s.tmp_1 * s.sz___26785); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___489520); - s.offset___489621 = (r0); - r0 = (s.offset___489621 <= s.maxMove___489512); + r0 = (s.tmp_0 - s.l___26798); + s.offset___26899 = (r0); + r0 = (s.offset___26899 <= s.maxMove___26790); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } s.tmp_1 = r0 = s.arg1; r0 = s.arg1.fields["_x"]; s.tmp_3 = r0; - r0 = (s.offset___489621 * 256); + r0 = (s.offset___26899 * 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__P478520_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P16694_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.pc = 26; return s.tmp_3; @@ -31308,7 +32970,7 @@ switch (step) { { step = 17; continue; } { step = 14; continue; } case 13: - r0 = (s.arg1).fields["_x"] = (s.origX___489517); + r0 = (s.arg1).fields["_x"] = (s.origX___26795); case 14: case 15: case 16: @@ -31317,13 +32979,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P478341.info = {"start":20325,"length":2093,"line":586,"column":4,"endLine":656,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -ArcadePhysicsEngine_canResolveClipping__P478341.info = {"start":20325,"length":2093,"line":586,"column":4,"endLine":656,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P16515.info = {"start":20325,"length":2093,"line":586,"column":4,"endLine":656,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} +ArcadePhysicsEngine_canResolveClipping__P16515.info = {"start":20325,"length":2093,"line":586,"column":4,"endLine":656,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"canResolveClipping","argumentNames":["this","s","tm"]} -function ArcadePhysicsEngine_canResolveClipping__P478341_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P16515_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P478341, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P16515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31331,19 +32993,19 @@ function ArcadePhysicsEngine_canResolveClipping__P478341_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___489504: undefined, - sz___489507: undefined, - maxMove___489512: undefined, - origY___489514: undefined, - origX___489517: undefined, - l___489520: undefined, - r___489525: undefined, - t___489530: undefined, - b___489535: undefined, - offset___489540: undefined, - offset___489565: undefined, - offset___489596: undefined, - offset___489621: undefined, + hbox___26782: undefined, + sz___26785: undefined, + maxMove___26790: undefined, + origY___26792: undefined, + origX___26795: undefined, + l___26798: undefined, + r___26803: undefined, + t___26808: undefined, + b___26813: undefined, + offset___26818: undefined, + offset___26843: undefined, + offset___26874: undefined, + offset___26899: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31353,7 +33015,7 @@ function ArcadePhysicsEngine_canResolveClipping__P478341_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P478337(s) { +function ArcadePhysicsEngine_tilemapCollisions__P16511(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31363,34 +33025,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.s___489784 = undefined; - s.hbox___489801 = undefined; - s.tileScale___489804 = undefined; - s.tileSize___489807 = undefined; - s.xDiff___489811 = undefined; - s.yDiff___489818 = undefined; - s.right___489828 = undefined; - s.x0___489832 = undefined; - s.collidedTiles___489847 = undefined; - s.overlappedTiles___489849 = undefined; - s.y___489851 = undefined; - s.y0___489865 = undefined; - s.obstacle___489881 = undefined; - s.collisionDirection___489917 = undefined; - s.tile___489945 = undefined; - s.unnamed1764___U15 = undefined; - s.unnamed1765___U16 = undefined; - s.down___490029 = undefined; - s.y0___490033 = undefined; - s.collidedTiles___490048 = undefined; - s.overlappedTiles___490050 = undefined; - s.x___490052 = undefined; - s.x0___490062 = undefined; - s.obstacle___490076 = undefined; - s.collisionDirection___490110 = undefined; - s.tile___490138 = undefined; - s.unnamed1766___U26 = undefined; - s.unnamed1767___U27 = undefined; + s.s___27062 = undefined; + s.hbox___27079 = undefined; + s.tileScale___27082 = undefined; + s.tileSize___27085 = undefined; + s.xDiff___27089 = undefined; + s.yDiff___27096 = undefined; + s.right___27106 = undefined; + s.x0___27110 = undefined; + s.collidedTiles___27125 = undefined; + s.overlappedTiles___27127 = undefined; + s.y___27129 = undefined; + s.y0___27143 = undefined; + s.obstacle___27159 = undefined; + s.collisionDirection___27195 = undefined; + s.tile___27223 = undefined; + s.unnamed148___U15 = undefined; + s.unnamed149___U16 = undefined; + s.down___27307 = undefined; + s.y0___27311 = undefined; + s.collidedTiles___27326 = undefined; + s.overlappedTiles___27328 = undefined; + s.x___27330 = undefined; + s.x0___27340 = undefined; + s.obstacle___27354 = undefined; + s.collisionDirection___27388 = undefined; + s.tile___27416 = undefined; + s.unnamed150___U26 = undefined; + s.unnamed151___U27 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31398,18 +33060,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___489784 = (r0); - r0 = s.s___489784.fields["flags"]; + s.s___27062 = (r0); + r0 = s.s___27062.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 256); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = tiles_TileMap_isOnWall__P478520_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P16694_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.s___489784; + s.tmp_3.arg1 = s.s___27062; s.pc = 78; return s.tmp_3; case 78: r0 = s.retval; @@ -31419,7 +33081,7 @@ switch (step) { { step = 77; continue; } { step = 2; continue; } case 1: - s.tmp_4 = r0 = s.s___489784; + s.tmp_4 = r0 = s.s___27062; r0 = s.tmp_4.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & -257); @@ -31428,34 +33090,34 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___489784.fields["_hitbox"]; - s.hbox___489801 = (r0); + r0 = s.s___27062.fields["_hitbox"]; + s.hbox___27079 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___489804 = (r0); - r0 = (1 << s.tileScale___489804); - s.tileSize___489807 = (r0); - r0 = s.s___489784.fields["_x"]; + s.tileScale___27082 = (r0); + r0 = (1 << s.tileScale___27082); + s.tileSize___27085 = (r0); + r0 = s.s___27062.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___489784.fields["_lastX"]; + r0 = s.s___27062.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___489811 = (r0); - r0 = s.s___489784.fields["_y"]; + s.xDiff___27089 = (r0); + r0 = s.s___27062.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___489784.fields["_lastY"]; + r0 = s.s___27062.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___489818 = (r0); - r0 = (s.xDiff___489811 !== 0); + s.yDiff___27096 = (r0); + r0 = (s.xDiff___27089 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 39; continue; } - r0 = (s.xDiff___489811 > 0); - s.right___489828 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___489828); + r0 = (s.xDiff___27089 > 0); + s.right___27106 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___27106); if (!r0) { step = 5; continue; } - s.tmp_1 = game_Hitbox_right__P478177_mk(s); - s.tmp_1.arg0 = s.hbox___489801; + s.tmp_1 = game_Hitbox_right__P16351_mk(s); + s.tmp_1.arg0 = s.hbox___27079; s.pc = 79; return s.tmp_1; case 79: r0 = s.retval; @@ -31463,8 +33125,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 6; continue; } case 5: - s.tmp_3 = game_Hitbox_left__P478175_mk(s); - s.tmp_3.arg0 = s.hbox___489801; + s.tmp_3 = game_Hitbox_left__P16349_mk(s); + s.tmp_3.arg0 = s.hbox___27079; s.pc = 80; return s.tmp_3; case 80: r0 = s.retval; @@ -31475,32 +33137,32 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___489804 + 8); + r0 = (s.tileScale___27082 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___489832 = (r0); + s.x0___27110 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___489847 = (r0); + s.collidedTiles___27125 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___489849 = (r0); - s.tmp_1 = game_Hitbox_top__P478176_mk(s); - s.tmp_1.arg0 = s.hbox___489801; + s.overlappedTiles___27127 = (r0); + s.tmp_1 = game_Hitbox_top__P16350_mk(s); + s.tmp_1.arg0 = s.hbox___27079; s.pc = 81; return s.tmp_1; case 81: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___489818); - s.y___489851 = (r0); + r0 = (s.tmp_0 - s.yDiff___27096); + s.y___27129 = (r0); case 7: - s.tmp_1 = r0 = s.y___489851; - s.tmp_3 = r0 = s.tileSize___489807; - s.tmp_6 = game_Hitbox_bottom__P478178_mk(s); - s.tmp_6.arg0 = s.hbox___489801; + s.tmp_1 = r0 = s.y___27129; + s.tmp_3 = r0 = s.tileSize___27085; + s.tmp_6 = game_Hitbox_bottom__P16352_mk(s); + s.tmp_6.arg0 = s.hbox___27079; s.pc = 82; return s.tmp_6; case 82: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___489818); + r0 = (s.tmp_5 - s.yDiff___27096); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -31510,15 +33172,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_10 = Fx_min__P477561_mk(s); - s.tmp_10.arg0 = s.y___489851; - s.tmp_12 = game_Hitbox_bottom__P478178_mk(s); - s.tmp_12.arg0 = s.hbox___489801; + s.tmp_10 = Fx_min__P15735_mk(s); + s.tmp_10.arg0 = s.y___27129; + s.tmp_12 = game_Hitbox_bottom__P16352_mk(s); + s.tmp_12.arg0 = s.hbox___27079; s.pc = 84; return s.tmp_12; case 84: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___489818); + r0 = (s.tmp_11 - s.yDiff___27096); s.tmp_10.arg1 = r0; s.pc = 83; return s.tmp_10; case 83: @@ -31526,33 +33188,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___489804 + 8); + r0 = (s.tileScale___27082 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___489865 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P478518_mk(s); + s.y0___27143 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P16692_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___489832; - s.tmp_1.arg2 = s.y0___489865; + s.tmp_1.arg1 = s.x0___27110; + s.tmp_1.arg2 = s.y0___27143; s.pc = 85; return s.tmp_1; case 85: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P478519_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P16693_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___489832; - s.tmp_2.arg2 = s.y0___489865; + s.tmp_2.arg1 = s.x0___27110; + s.tmp_2.arg2 = s.y0___27143; s.pc = 86; return s.tmp_2; case 86: r0 = s.retval; - s.obstacle___489881 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P489889); + s.obstacle___27159 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P27167); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___489881); - s.tmp_4 = helpers_arraySome__P477498_mk(s); - s.tmp_4.arg0 = s.collidedTiles___489847; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___27159); + s.tmp_4 = helpers_arraySome__P15672_mk(s); + s.tmp_4.arg0 = s.collidedTiles___27125; s.tmp_4.arg1 = s.tmp_0; s.pc = 87; return s.tmp_4; case 87: @@ -31564,33 +33226,33 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__push(s.collidedTiles___489847, s.obstacle___489881); + r0 = pxsim_Array__push(s.collidedTiles___27125, s.obstacle___27159); case 8: case 9: { step = 11; continue; } case 10: - s.tmp_0 = r0 = s.overlappedTiles___489849; - s.tmp_2 = tiles_TileMap_getTile__P478510_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___27127; + s.tmp_2 = tiles_TileMap_getTile__P16684_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___489832; - s.tmp_2.arg2 = s.y0___489865; + s.tmp_2.arg1 = s.x0___27110; + s.tmp_2.arg2 = s.y0___27143; s.pc = 88; return s.tmp_2; case 88: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 11: - r0 = (s.tileSize___489807 << 8); + r0 = (s.tileSize___27085 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___489851); - s.y___489851 = (r0); + r0 = (s.tmp_0 + s.y___27129); + s.y___27129 = (r0); { step = 7; continue; } case 12: - r0 = pxsim_Array__length(s.collidedTiles___489847); + r0 = pxsim_Array__length(s.collidedTiles___27125); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___489828); + r0 = pxsim_numops_toBoolDecr(s.right___27106); if (!r0) { step = 13; continue; } r0 = 2; { step = 14; continue; } @@ -31599,23 +33261,23 @@ switch (step) { case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___489917 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___489828); + s.collisionDirection___27195 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___27106); if (!r0) { step = 15; continue; } - r0 = (s.x0___489832 << s.tileScale___489804); + r0 = (s.x0___27110 << s.tileScale___27082); 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___489801.fields["width"]; + r0 = s.hbox___27079.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 16; continue; } case 15: - r0 = (s.x0___489832 + 1); + r0 = (s.x0___27110 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___489804); + r0 = (s.tmp_5 << s.tileScale___27082); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -31623,43 +33285,43 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___489784; - r0 = s.hbox___489801.fields["ox"]; + s.tmp_8 = r0 = s.s___27062; + r0 = s.hbox___27079.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___489945 = (undefined); - s.unnamed1764___U15 = (s.collidedTiles___489847); - s.unnamed1765___U16 = (0); + s.tile___27223 = (undefined); + s.unnamed148___U15 = (s.collidedTiles___27125); + s.unnamed149___U16 = (0); case 17: - s.tmp_0 = r0 = s.unnamed1765___U16; - r0 = pxsim_Array__length(s.unnamed1764___U15); + s.tmp_0 = r0 = s.unnamed149___U16; + r0 = pxsim_Array__length(s.unnamed148___U15); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed1764___U15, s.unnamed1765___U16); - s.tile___489945 = (r0); - s.tmp_2 = Sprite_registerObstacle__P478233_mk(s); - s.tmp_2.arg0 = s.s___489784; - s.tmp_2.arg1 = s.collisionDirection___489917; - s.tmp_2.arg2 = s.tile___489945; + r0 = pxsim_Array__getAt(s.unnamed148___U15, s.unnamed149___U16); + s.tile___27223 = (r0); + s.tmp_2 = Sprite_registerObstacle__P16407_mk(s); + s.tmp_2.arg0 = s.s___27062; + s.tmp_2.arg1 = s.collisionDirection___27195; + s.tmp_2.arg2 = s.tile___27223; s.pc = 89; return s.tmp_2; case 89: r0 = s.retval; - r0 = (s.unnamed1765___U16 + 1); - s.unnamed1765___U16 = (r0); + r0 = (s.unnamed149___U16 + 1); + s.unnamed149___U16 = (r0); { step = 17; continue; } case 18: - s.unnamed1764___U15 = (undefined); - r0 = s.s___489784.fields["flags"]; + s.unnamed148___U15 = (undefined); + r0 = s.s___27062.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 = 19; continue; } - s.tmp_2 = Sprite_destroy__P478235_mk(s); - s.tmp_2.arg0 = s.s___489784; + s.tmp_2 = Sprite_destroy__P16409_mk(s); + s.tmp_2.arg0 = s.s___27062; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.pc = 90; return s.tmp_2; @@ -31667,7 +33329,7 @@ switch (step) { r0 = s.retval; { step = 34; continue; } case 19: - r0 = s.s___489784.fields["_vx"]; + r0 = s.s___27062.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -31675,13 +33337,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 30; continue; } - r0 = s.s___489784.fields["flags"]; + r0 = s.s___27062.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 32); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 28; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___489828); + r0 = pxsim_numops_toBoolDecr(s.right___27106); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -31690,8 +33352,8 @@ switch (step) { r0 = s.tmp_5; { step = 21; continue; } case 20: - s.tmp_8 = Sprite_vx__P478194_mk(s); - s.tmp_8.arg0 = s.s___489784; + s.tmp_8 = Sprite_vx__P16368_mk(s); + s.tmp_8.arg0 = s.s___27062; s.pc = 91; return s.tmp_8; case 91: r0 = s.retval; @@ -31705,14 +33367,14 @@ switch (step) { r0 = s.tmp_9; { step = 25; continue; } case 22: - s.tmp_10 = r0 = s.right___489828; + s.tmp_10 = r0 = s.right___27106; r0 = pxsim_numops_toBool(s.tmp_10); if (r0) { step = 23; continue; } r0 = s.tmp_10; { step = 24; continue; } case 23: - s.tmp_12 = Sprite_vx__P478194_mk(s); - s.tmp_12.arg0 = s.s___489784; + s.tmp_12 = Sprite_vx__P16368_mk(s); + s.tmp_12.arg0 = s.s___27062; s.pc = 92; return s.tmp_12; case 92: r0 = s.retval; @@ -31727,8 +33389,8 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 26; continue; } - s.tmp_15 = r0 = s.s___489784; - r0 = s.s___489784.fields["_vx"]; + s.tmp_15 = r0 = s.s___27062; + r0 = s.s___27062.fields["_vx"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -31750,12 +33412,12 @@ switch (step) { { step = 29; continue; } case 28: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___489784).fields["_vx"] = (0); + r0 = (s.s___27062).fields["_vx"] = (0); case 29: { step = 33; continue; } case 30: - s.tmp_2 = Math_sign__P477515_mk(s); - r0 = s.s___489784.fields["_vx"]; + s.tmp_2 = Math_sign__P15689_mk(s); + r0 = s.s___27062.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -31765,7 +33427,7 @@ switch (step) { case 93: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P477515_mk(s); + s.tmp_6 = Math_sign__P15689_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -31787,14 +33449,14 @@ switch (step) { case 34: { step = 38; continue; } case 35: - r0 = pxsim_Array__length(s.overlappedTiles___489849); + r0 = pxsim_Array__length(s.overlappedTiles___27127); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P478338_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P16512_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___489784; - s.tmp_1.arg2 = s.overlappedTiles___489849; + s.tmp_1.arg1 = s.s___27062; + s.tmp_1.arg2 = s.overlappedTiles___27127; s.pc = 95; return s.tmp_1; case 95: r0 = s.retval; @@ -31803,16 +33465,16 @@ switch (step) { case 38: case 39: case 40: - r0 = (s.yDiff___489818 !== 0); + r0 = (s.yDiff___27096 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 75; continue; } - r0 = (s.yDiff___489818 > 0); - s.down___490029 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___490029); + r0 = (s.yDiff___27096 > 0); + s.down___27307 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___27307); if (!r0) { step = 41; continue; } - s.tmp_1 = game_Hitbox_bottom__P478178_mk(s); - s.tmp_1.arg0 = s.hbox___489801; + s.tmp_1 = game_Hitbox_bottom__P16352_mk(s); + s.tmp_1.arg0 = s.hbox___27079; s.pc = 96; return s.tmp_1; case 96: r0 = s.retval; @@ -31820,8 +33482,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 42; continue; } case 41: - s.tmp_3 = game_Hitbox_top__P478176_mk(s); - s.tmp_3.arg0 = s.hbox___489801; + s.tmp_3 = game_Hitbox_top__P16350_mk(s); + s.tmp_3.arg0 = s.hbox___27079; s.pc = 97; return s.tmp_3; case 97: r0 = s.retval; @@ -31832,25 +33494,25 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___489804 + 8); + r0 = (s.tileScale___27082 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___490033 = (r0); + s.y0___27311 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___490048 = (r0); + s.collidedTiles___27326 = (r0); r0 = pxsim_Array__mk(); - s.overlappedTiles___490050 = (r0); - s.tmp_0 = game_Hitbox_left__P478175_mk(s); - s.tmp_0.arg0 = s.hbox___489801; + s.overlappedTiles___27328 = (r0); + s.tmp_0 = game_Hitbox_left__P16349_mk(s); + s.tmp_0.arg0 = s.hbox___27079; s.pc = 98; return s.tmp_0; case 98: r0 = s.retval; - s.x___490052 = (r0); + s.x___27330 = (r0); case 43: - s.tmp_1 = r0 = s.x___490052; - s.tmp_3 = r0 = s.tileSize___489807; - s.tmp_5 = game_Hitbox_right__P478177_mk(s); - s.tmp_5.arg0 = s.hbox___489801; + s.tmp_1 = r0 = s.x___27330; + s.tmp_3 = r0 = s.tileSize___27085; + s.tmp_5 = game_Hitbox_right__P16351_mk(s); + s.tmp_5.arg0 = s.hbox___27079; s.pc = 99; return s.tmp_5; case 99: r0 = s.retval; @@ -31863,10 +33525,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - s.tmp_9 = Fx_min__P477561_mk(s); - s.tmp_9.arg0 = s.x___490052; - s.tmp_10 = game_Hitbox_right__P478177_mk(s); - s.tmp_10.arg0 = s.hbox___489801; + s.tmp_9 = Fx_min__P15735_mk(s); + s.tmp_9.arg0 = s.x___27330; + s.tmp_10 = game_Hitbox_right__P16351_mk(s); + s.tmp_10.arg0 = s.hbox___27079; s.pc = 101; return s.tmp_10; case 101: r0 = s.retval; @@ -31877,33 +33539,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___489804 + 8); + r0 = (s.tileScale___27082 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___490062 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P478518_mk(s); + s.x0___27340 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P16692_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___490062; - s.tmp_1.arg2 = s.y0___490033; + s.tmp_1.arg1 = s.x0___27340; + s.tmp_1.arg2 = s.y0___27311; s.pc = 102; return s.tmp_1; case 102: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 46; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P478519_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P16693_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___490062; - s.tmp_2.arg2 = s.y0___490033; + s.tmp_2.arg1 = s.x0___27340; + s.tmp_2.arg2 = s.y0___27311; s.pc = 103; return s.tmp_2; case 103: r0 = s.retval; - s.obstacle___490076 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P490084); + s.obstacle___27354 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P27362); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___490076); - s.tmp_4 = helpers_arraySome__P477498_mk(s); - s.tmp_4.arg0 = s.collidedTiles___490048; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___27354); + s.tmp_4 = helpers_arraySome__P15672_mk(s); + s.tmp_4.arg0 = s.collidedTiles___27326; s.tmp_4.arg1 = s.tmp_0; s.pc = 104; return s.tmp_4; case 104: @@ -31915,33 +33577,33 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 44; continue; } - r0 = pxsim_Array__push(s.collidedTiles___490048, s.obstacle___490076); + r0 = pxsim_Array__push(s.collidedTiles___27326, s.obstacle___27354); case 44: case 45: { step = 47; continue; } case 46: - s.tmp_0 = r0 = s.overlappedTiles___490050; - s.tmp_2 = tiles_TileMap_getTile__P478510_mk(s); + s.tmp_0 = r0 = s.overlappedTiles___27328; + s.tmp_2 = tiles_TileMap_getTile__P16684_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___490062; - s.tmp_2.arg2 = s.y0___490033; + s.tmp_2.arg1 = s.x0___27340; + s.tmp_2.arg2 = s.y0___27311; s.pc = 105; return s.tmp_2; case 105: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); case 47: - r0 = (s.tileSize___489807 << 8); + r0 = (s.tileSize___27085 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___490052); - s.x___490052 = (r0); + r0 = (s.tmp_0 + s.x___27330); + s.x___27330 = (r0); { step = 43; continue; } case 48: - r0 = pxsim_Array__length(s.collidedTiles___490048); + r0 = pxsim_Array__length(s.collidedTiles___27326); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 71; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___490029); + r0 = pxsim_numops_toBoolDecr(s.down___27307); if (!r0) { step = 49; continue; } r0 = 3; { step = 50; continue; } @@ -31950,23 +33612,23 @@ switch (step) { case 50: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___490110 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___490029); + s.collisionDirection___27388 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___27307); if (!r0) { step = 51; continue; } - r0 = (s.y0___490033 << s.tileScale___489804); + r0 = (s.y0___27311 << s.tileScale___27082); 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___489801.fields["height"]; + r0 = s.hbox___27079.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 52; continue; } case 51: - r0 = (s.y0___490033 + 1); + r0 = (s.y0___27311 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___489804); + r0 = (s.tmp_5 << s.tileScale___27082); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -31974,43 +33636,43 @@ switch (step) { case 52: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___489784; - r0 = s.hbox___489801.fields["oy"]; + s.tmp_8 = r0 = s.s___27062; + r0 = s.hbox___27079.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___490138 = (undefined); - s.unnamed1766___U26 = (s.collidedTiles___490048); - s.unnamed1767___U27 = (0); + s.tile___27416 = (undefined); + s.unnamed150___U26 = (s.collidedTiles___27326); + s.unnamed151___U27 = (0); case 53: - s.tmp_0 = r0 = s.unnamed1767___U27; - r0 = pxsim_Array__length(s.unnamed1766___U26); + s.tmp_0 = r0 = s.unnamed151___U27; + r0 = pxsim_Array__length(s.unnamed150___U26); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 54; continue; } - r0 = pxsim_Array__getAt(s.unnamed1766___U26, s.unnamed1767___U27); - s.tile___490138 = (r0); - s.tmp_2 = Sprite_registerObstacle__P478233_mk(s); - s.tmp_2.arg0 = s.s___489784; - s.tmp_2.arg1 = s.collisionDirection___490110; - s.tmp_2.arg2 = s.tile___490138; + r0 = pxsim_Array__getAt(s.unnamed150___U26, s.unnamed151___U27); + s.tile___27416 = (r0); + s.tmp_2 = Sprite_registerObstacle__P16407_mk(s); + s.tmp_2.arg0 = s.s___27062; + s.tmp_2.arg1 = s.collisionDirection___27388; + s.tmp_2.arg2 = s.tile___27416; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - r0 = (s.unnamed1767___U27 + 1); - s.unnamed1767___U27 = (r0); + r0 = (s.unnamed151___U27 + 1); + s.unnamed151___U27 = (r0); { step = 53; continue; } case 54: - s.unnamed1766___U26 = (undefined); - r0 = s.s___489784.fields["flags"]; + s.unnamed150___U26 = (undefined); + r0 = s.s___27062.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 55; continue; } - s.tmp_2 = Sprite_destroy__P478235_mk(s); - s.tmp_2.arg0 = s.s___489784; + s.tmp_2 = Sprite_destroy__P16409_mk(s); + s.tmp_2.arg0 = s.s___27062; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.pc = 107; return s.tmp_2; @@ -32018,7 +33680,7 @@ switch (step) { r0 = s.retval; { step = 70; continue; } case 55: - r0 = s.s___489784.fields["_vy"]; + r0 = s.s___27062.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -32026,13 +33688,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 66; continue; } - r0 = s.s___489784.fields["flags"]; + r0 = s.s___27062.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 32); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 64; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___490029); + r0 = pxsim_numops_toBoolDecr(s.down___27307); s.tmp_6 = r0; r0 = pxsim_Boolean__bang(s.tmp_6); s.tmp_5 = r0; @@ -32041,8 +33703,8 @@ switch (step) { r0 = s.tmp_5; { step = 57; continue; } case 56: - s.tmp_8 = Sprite_vy__P478196_mk(s); - s.tmp_8.arg0 = s.s___489784; + s.tmp_8 = Sprite_vy__P16370_mk(s); + s.tmp_8.arg0 = s.s___27062; s.pc = 108; return s.tmp_8; case 108: r0 = s.retval; @@ -32056,14 +33718,14 @@ switch (step) { r0 = s.tmp_9; { step = 61; continue; } case 58: - s.tmp_10 = r0 = s.down___490029; + s.tmp_10 = r0 = s.down___27307; r0 = pxsim_numops_toBool(s.tmp_10); if (r0) { step = 59; continue; } r0 = s.tmp_10; { step = 60; continue; } case 59: - s.tmp_12 = Sprite_vy__P478196_mk(s); - s.tmp_12.arg0 = s.s___489784; + s.tmp_12 = Sprite_vy__P16370_mk(s); + s.tmp_12.arg0 = s.s___27062; s.pc = 109; return s.tmp_12; case 109: r0 = s.retval; @@ -32078,8 +33740,8 @@ switch (step) { s.tmp_14 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_14); if (!r0) { step = 62; continue; } - s.tmp_15 = r0 = s.s___489784; - r0 = s.s___489784.fields["_vy"]; + s.tmp_15 = r0 = s.s___27062; + r0 = s.s___27062.fields["_vy"]; s.tmp_17 = r0; r0 = (0 - s.tmp_17); s.tmp_16 = r0; @@ -32101,12 +33763,12 @@ switch (step) { { step = 65; continue; } case 64: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___489784).fields["_vy"] = (0); + r0 = (s.s___27062).fields["_vy"] = (0); case 65: { step = 69; continue; } case 66: - s.tmp_2 = Math_sign__P477515_mk(s); - r0 = s.s___489784.fields["_vy"]; + s.tmp_2 = Math_sign__P15689_mk(s); + r0 = s.s___27062.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -32116,7 +33778,7 @@ switch (step) { case 110: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P477515_mk(s); + s.tmp_6 = Math_sign__P15689_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -32138,14 +33800,14 @@ switch (step) { case 70: { step = 74; continue; } case 71: - r0 = pxsim_Array__length(s.overlappedTiles___490050); + r0 = pxsim_Array__length(s.overlappedTiles___27328); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 72; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P478338_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P16512_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___489784; - s.tmp_1.arg2 = s.overlappedTiles___490050; + s.tmp_1.arg1 = s.s___27062; + s.tmp_1.arg2 = s.overlappedTiles___27328; s.pc = 112; return s.tmp_1; case 112: r0 = s.retval; @@ -32159,13 +33821,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P478337.info = {"start":10337,"length":7533,"line":326,"column":4,"endLine":521,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -ArcadePhysicsEngine_tilemapCollisions__P478337.info = {"start":10337,"length":7533,"line":326,"column":4,"endLine":521,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P16511.info = {"start":10337,"length":7533,"line":326,"column":4,"endLine":521,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} +ArcadePhysicsEngine_tilemapCollisions__P16511.info = {"start":10337,"length":7533,"line":326,"column":4,"endLine":521,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapCollisions","argumentNames":["this","movingSprite","tm"]} -function ArcadePhysicsEngine_tilemapCollisions__P478337_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P16511_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P478337, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P16511, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32185,34 +33847,34 @@ function ArcadePhysicsEngine_tilemapCollisions__P478337_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - s___489784: undefined, - hbox___489801: undefined, - tileScale___489804: undefined, - tileSize___489807: undefined, - xDiff___489811: undefined, - yDiff___489818: undefined, - right___489828: undefined, - x0___489832: undefined, - collidedTiles___489847: undefined, - overlappedTiles___489849: undefined, - y___489851: undefined, - y0___489865: undefined, - obstacle___489881: undefined, - collisionDirection___489917: undefined, - tile___489945: undefined, - unnamed1764___U15: undefined, - unnamed1765___U16: undefined, - down___490029: undefined, - y0___490033: undefined, - collidedTiles___490048: undefined, - overlappedTiles___490050: undefined, - x___490052: undefined, - x0___490062: undefined, - obstacle___490076: undefined, - collisionDirection___490110: undefined, - tile___490138: undefined, - unnamed1766___U26: undefined, - unnamed1767___U27: undefined, + s___27062: undefined, + hbox___27079: undefined, + tileScale___27082: undefined, + tileSize___27085: undefined, + xDiff___27089: undefined, + yDiff___27096: undefined, + right___27106: undefined, + x0___27110: undefined, + collidedTiles___27125: undefined, + overlappedTiles___27127: undefined, + y___27129: undefined, + y0___27143: undefined, + obstacle___27159: undefined, + collisionDirection___27195: undefined, + tile___27223: undefined, + unnamed148___U15: undefined, + unnamed149___U16: undefined, + down___27307: undefined, + y0___27311: undefined, + collidedTiles___27326: undefined, + overlappedTiles___27328: undefined, + x___27330: undefined, + x0___27340: undefined, + obstacle___27354: undefined, + collisionDirection___27388: undefined, + tile___27416: undefined, + unnamed150___U26: undefined, + unnamed151___U27: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32222,7 +33884,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P478337_mk(s) { -function inline__P489889(s) { +function inline__P27167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32244,13 +33906,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P489889.info = {"start":12419,"length":39,"line":388,"column":44,"endLine":388,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -inline__P489889.info = {"start":12419,"length":39,"line":388,"column":44,"endLine":388,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P27167.info = {"start":12419,"length":39,"line":388,"column":44,"endLine":388,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P27167.info = {"start":12419,"length":39,"line":388,"column":44,"endLine":388,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P489889_mk(s) { +function inline__P27167_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P489889, depth: s.depth + 1, + parent: s, fn: inline__P27167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32261,7 +33923,7 @@ function inline__P489889_mk(s) { -function inline__P490084(s) { +function inline__P27362(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32283,13 +33945,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490084.info = {"start":15756,"length":39,"line":472,"column":44,"endLine":472,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -inline__P490084.info = {"start":15756,"length":39,"line":472,"column":44,"endLine":472,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P27362.info = {"start":15756,"length":39,"line":472,"column":44,"endLine":472,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} +inline__P27362.info = {"start":15756,"length":39,"line":472,"column":44,"endLine":472,"endColumn":83,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["o"]} -function inline__P490084_mk(s) { +function inline__P27362_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490084, depth: s.depth + 1, + parent: s, fn: inline__P27362, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32300,7 +33962,7 @@ function inline__P490084_mk(s) { -function tiles_TileMap_getObstacle__P478519(s) { +function tiles_TileMap_getObstacle__P16693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32310,8 +33972,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.index___490456 = undefined; - s.tile___490468 = undefined; + s.index___27734 = undefined; + s.tile___27746 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32319,8 +33981,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P478496_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P16670_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -32334,7 +33996,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P478490_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P16664_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -32345,20 +34007,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___490456 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P478493_mk(s); + s.index___27734 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P16667_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___490456; + s.tmp_0.arg1 = s.index___27734; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___490468 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C478286_VT); + s.tile___27746 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C16460_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P478293_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P16467_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___490468; + s.tmp_1.arg1 = s.tile___27746; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -32371,7 +34033,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___490456; + s.tmp_1.arg5 = s.index___27734; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -32379,13 +34041,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P478519.info = {"start":11343,"length":410,"line":375,"column":8,"endLine":385,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -tiles_TileMap_getObstacle__P478519.info = {"start":11343,"length":410,"line":375,"column":8,"endLine":385,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P16693.info = {"start":11343,"length":410,"line":375,"column":8,"endLine":385,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} +tiles_TileMap_getObstacle__P16693.info = {"start":11343,"length":410,"line":375,"column":8,"endLine":385,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getObstacle","argumentNames":["this","col","row"]} -function tiles_TileMap_getObstacle__P478519_mk(s) { +function tiles_TileMap_getObstacle__P16693_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P478519, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P16693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32393,8 +34055,8 @@ function tiles_TileMap_getObstacle__P478519_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___490456: undefined, - tile___490468: undefined, + index___27734: undefined, + tile___27746: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32404,7 +34066,7 @@ function tiles_TileMap_getObstacle__P478519_mk(s) { -function tiles_TileMap_layer__P478506(s) { +function tiles_TileMap_layer__P16680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32419,19 +34081,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P478506.info = {"start":6709,"length":63,"line":241,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -tiles_TileMap_layer__P478506.isGetter = true; -tiles_TileMap_layer__P478506.info = {"start":6709,"length":63,"line":241,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P16680.info = {"start":6709,"length":63,"line":241,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} +tiles_TileMap_layer__P16680.isGetter = true; +tiles_TileMap_layer__P16680.info = {"start":6709,"length":63,"line":241,"column":8,"endLine":243,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"layer","argumentNames":["this"]} -function tiles_TileMap_layer__P478506_mk(s) { +function tiles_TileMap_layer__P16680_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P478506, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P16680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -32440,7 +34102,7 @@ function tiles_TileMap_layer__P478506_mk(s) { -function sprites_StaticObstacle_constructor__P478293(s) { +function sprites_StaticObstacle_constructor__P16467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32460,7 +34122,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C478286_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C16460_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -32470,13 +34132,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P478293.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__P478293.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__P16467.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__P16467.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__P478293_mk(s) { +function sprites_StaticObstacle_constructor__P16467_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P478293, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P16467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32490,7 +34152,7 @@ function sprites_StaticObstacle_constructor__P478293_mk(s) { -function tiles_TileMap_getTile__P478510(s) { +function tiles_TileMap_getTile__P16684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32507,10 +34169,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C478468_VT); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C16642_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P478474_mk(s); + s.tmp_1 = tiles_Location_constructor__P16648_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -32522,13 +34184,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P478510.info = {"start":7071,"length":111,"line":259,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -tiles_TileMap_getTile__P478510.info = {"start":7071,"length":111,"line":259,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P16684.info = {"start":7071,"length":111,"line":259,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} +tiles_TileMap_getTile__P16684.info = {"start":7071,"length":111,"line":259,"column":8,"endLine":261,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTile","argumentNames":["this","col","row"]} -function tiles_TileMap_getTile__P478510_mk(s) { +function tiles_TileMap_getTile__P16684_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P478510, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P16684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32541,7 +34203,7 @@ function tiles_TileMap_getTile__P478510_mk(s) { -function tiles_Location_constructor__P478474(s) { +function tiles_Location_constructor__P16648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32559,7 +34221,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C478468_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C16642_VT)) failedCast(r0); r0 = (s.arg0).fields["_col"] = (s.arg1); r0 = (s.arg0).fields["_row"] = (s.arg2); r0 = (s.arg0).fields["tileMap"] = (s.arg3); @@ -32567,13 +34229,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_Location_constructor__P478474.info = {"start":406,"length":153,"line":19,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -tiles_Location_constructor__P478474.info = {"start":406,"length":153,"line":19,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P16648.info = {"start":406,"length":153,"line":19,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} +tiles_Location_constructor__P16648.info = {"start":406,"length":153,"line":19,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"inline","argumentNames":["this","col","row","map"]} -function tiles_Location_constructor__P478474_mk(s) { +function tiles_Location_constructor__P16648_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P478474, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P16648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32585,7 +34247,7 @@ function tiles_Location_constructor__P478474_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P478338(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P16512(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32595,10 +34257,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tile___490221 = undefined; - s.unnamed1768___U1 = undefined; - s.unnamed1769___U2 = undefined; - s.tileOverlapHandlers___490223 = undefined; + s.tile___27499 = undefined; + s.unnamed152___U1 = undefined; + s.unnamed153___U2 = undefined; + s.tileOverlapHandlers___27501 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32606,37 +34268,37 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); - s.tile___490221 = (undefined); - s.unnamed1768___U1 = (s.arg2); - s.unnamed1769___U2 = (0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); + s.tile___27499 = (undefined); + s.unnamed152___U1 = (s.arg2); + s.unnamed153___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1769___U2; - r0 = pxsim_Array__length(s.unnamed1768___U1); + s.tmp_0 = r0 = s.unnamed153___U2; + r0 = pxsim_Array__length(s.unnamed152___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1768___U1, s.unnamed1769___U2); - s.tile___490221 = (r0); - s.tmp_2 = game_currentScene__P478375_mk(s); + r0 = pxsim_Array__getAt(s.unnamed152___U1, s.unnamed153___U2); + s.tile___27499 = (r0); + s.tmp_2 = game_currentScene__P16549_mk(s); s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___490223 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___490223); + s.tileOverlapHandlers___27501 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___27501); if (!r0) { step = 2; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P490231); + r0 = pxsim_pxtcore_mkAction(2, inline__P27509); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___490221); - r0 = pxsim_pxtcore_mkAction(2, inline__P490248); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___27499); + r0 = pxsim_pxtcore_mkAction(2, inline__P27526); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___490221); - s.tmp_2 = helpers_arrayForEach__P477500_mk(s); - s.tmp_3 = helpers_arrayFilter__P477501_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___490223; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___27499); + s.tmp_2 = helpers_arrayForEach__P15674_mk(s); + s.tmp_3 = helpers_arrayFilter__P15675_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___27501; s.tmp_3.arg1 = s.tmp_0; s.pc = 7; return s.tmp_3; case 7: @@ -32648,31 +34310,31 @@ switch (step) { r0 = s.retval; case 2: case 3: - r0 = (s.unnamed1769___U2 + 1); - s.unnamed1769___U2 = (r0); + r0 = (s.unnamed153___U2 + 1); + s.unnamed153___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed1768___U1 = (undefined); + s.unnamed152___U1 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P478338.info = {"start":18147,"length":479,"line":529,"column":4,"endLine":538,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -ArcadePhysicsEngine_tilemapOverlaps__P478338.info = {"start":18147,"length":479,"line":529,"column":4,"endLine":538,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P16512.info = {"start":18147,"length":479,"line":529,"column":4,"endLine":538,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} +ArcadePhysicsEngine_tilemapOverlaps__P16512.info = {"start":18147,"length":479,"line":529,"column":4,"endLine":538,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"tilemapOverlaps","argumentNames":["this","sprite","overlappedTiles"]} -function ArcadePhysicsEngine_tilemapOverlaps__P478338_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P16512_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P478338, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P16512, 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, - tile___490221: undefined, - unnamed1768___U1: undefined, - unnamed1769___U2: undefined, - tileOverlapHandlers___490223: undefined, + tile___27499: undefined, + unnamed152___U1: undefined, + unnamed153___U2: undefined, + tileOverlapHandlers___27501: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32682,7 +34344,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P478338_mk(s) { -function inline__P490231(s) { +function inline__P27509(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32709,7 +34371,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P478529_mk(s); + s.tmp_5 = tiles_getTileImage__P16703_mk(s); s.tmp_5.arg0 = s.caps[1]; s.pc = 3; return s.tmp_5; case 3: @@ -32723,13 +34385,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490231.info = {"start":18454,"length":81,"line":534,"column":28,"endLine":534,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -inline__P490231.info = {"start":18454,"length":81,"line":534,"column":28,"endLine":534,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27509.info = {"start":18454,"length":81,"line":534,"column":28,"endLine":534,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27509.info = {"start":18454,"length":81,"line":534,"column":28,"endLine":534,"endColumn":109,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P490231_mk(s) { +function inline__P27509_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490231, depth: s.depth + 1, + parent: s, fn: inline__P27509, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32745,7 +34407,7 @@ function inline__P490231_mk(s) { -function inline__P490248(s) { +function inline__P27526(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32778,13 +34440,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490248.info = {"start":18566,"length":28,"line":535,"column":29,"endLine":535,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -inline__P490248.info = {"start":18566,"length":28,"line":535,"column":29,"endLine":535,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27526.info = {"start":18566,"length":28,"line":535,"column":29,"endLine":535,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P27526.info = {"start":18566,"length":28,"line":535,"column":29,"endLine":535,"endColumn":57,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P490248_mk(s) { +function inline__P27526_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490248, depth: s.depth + 1, + parent: s, fn: inline__P27526, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32794,7 +34456,7 @@ function inline__P490248_mk(s) { -function tiles_getTileImage__P478529(s) { +function tiles_getTileImage__P16703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32804,16 +34466,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scene___490256 = undefined; + s.scene___27534 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P478375_mk(s); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___490256 = (r0); + s.scene___27534 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -32823,7 +34485,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___490256.fields["tileMap"]; + r0 = s.scene___27534.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -32833,14 +34495,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex490266); + r0 = pxsim.image.ofBuffer(_hex27544); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P478521_mk(s); - r0 = s.scene___490256.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P16695_mk(s); + r0 = s.scene___27534.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P478471_mk(s); + s.tmp_6 = tiles_Location_tileSet__P16645_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 8; return s.tmp_6; case 8: @@ -32853,13 +34515,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P478529.info = {"start":15244,"length":207,"line":487,"column":4,"endLine":491,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -tiles_getTileImage__P478529.info = {"start":15244,"length":207,"line":487,"column":4,"endLine":491,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P16703.info = {"start":15244,"length":207,"line":487,"column":4,"endLine":491,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} +tiles_getTileImage__P16703.info = {"start":15244,"length":207,"line":487,"column":4,"endLine":491,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["loc"]} -function tiles_getTileImage__P478529_mk(s) { +function tiles_getTileImage__P16703_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P478529, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P16703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32868,16 +34530,16 @@ function tiles_getTileImage__P478529_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___490256: undefined, + scene___27534: undefined, arg0: undefined, } } -const _hex490266 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex27544 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P478521(s) { +function tiles_TileMap_getTileImage__P16695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32893,8 +34555,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P478493_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P16667_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -32904,13 +34566,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P478521.info = {"start":12400,"length":96,"line":406,"column":8,"endLine":408,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -tiles_TileMap_getTileImage__P478521.info = {"start":12400,"length":96,"line":406,"column":8,"endLine":408,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P16695.info = {"start":12400,"length":96,"line":406,"column":8,"endLine":408,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} +tiles_TileMap_getTileImage__P16695.info = {"start":12400,"length":96,"line":406,"column":8,"endLine":408,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileImage","argumentNames":["this","index"]} -function tiles_TileMap_getTileImage__P478521_mk(s) { +function tiles_TileMap_getTileImage__P16695_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P478521, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P16695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32921,7 +34583,7 @@ function tiles_TileMap_getTileImage__P478521_mk(s) { -function tiles_Location_tileSet__P478471(s) { +function tiles_Location_tileSet__P16645(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32936,8 +34598,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C478468_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P478511_mk(s); + if (!checkSubtype(r0, tiles_Location__C16642_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P16685_mk(s); r0 = s.arg0.fields["tileMap"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_col"]; @@ -32950,14 +34612,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P478471.info = {"start":859,"length":101,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -tiles_Location_tileSet__P478471.isGetter = true; -tiles_Location_tileSet__P478471.info = {"start":859,"length":101,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P16645.info = {"start":859,"length":101,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} +tiles_Location_tileSet__P16645.isGetter = true; +tiles_Location_tileSet__P16645.info = {"start":859,"length":101,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"tileSet","argumentNames":["this"]} -function tiles_Location_tileSet__P478471_mk(s) { +function tiles_Location_tileSet__P16645_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P478471, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P16645, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32967,7 +34629,7 @@ function tiles_Location_tileSet__P478471_mk(s) { -function tiles_TileMap_getTileIndex__P478511(s) { +function tiles_TileMap_getTileIndex__P16685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32984,8 +34646,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C478498_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P478490_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C16672_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P16664_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -32996,13 +34658,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P478511.info = {"start":7192,"length":105,"line":263,"column":8,"endLine":265,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -tiles_TileMap_getTileIndex__P478511.info = {"start":7192,"length":105,"line":263,"column":8,"endLine":265,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P16685.info = {"start":7192,"length":105,"line":263,"column":8,"endLine":265,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} +tiles_TileMap_getTileIndex__P16685.info = {"start":7192,"length":105,"line":263,"column":8,"endLine":265,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileIndex","argumentNames":["this","col","row"]} -function tiles_TileMap_getTileIndex__P478511_mk(s) { +function tiles_TileMap_getTileIndex__P16685_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P478511, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P16685, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33014,7 +34676,7 @@ function tiles_TileMap_getTileIndex__P478511_mk(s) { -function Sprite_registerObstacle__P478233(s) { +function Sprite_registerObstacle__P16407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33024,8 +34686,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.collisionHandlers___490376 = undefined; - s.wallCollisionHandlers___490384 = undefined; + s.collisionHandlers___27654 = undefined; + s.wallCollisionHandlers___27662 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33033,11 +34695,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_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__P478375_mk(s); + s.tmp_1 = game_currentScene__P16549_mk(s); s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; @@ -33057,24 +34719,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___490376 = (r0); - s.tmp_0 = game_currentScene__P478375_mk(s); + s.collisionHandlers___27654 = (r0); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___490384 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___490376); + s.wallCollisionHandlers___27662 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___27654); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P490392); + r0 = pxsim_pxtcore_mkAction(1, inline__P27670); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P490398); + r0 = pxsim_pxtcore_mkAction(1, inline__P27676); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P477500_mk(s); - s.tmp_3 = helpers_arrayFilter__P477501_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___490376; + s.tmp_2 = helpers_arrayForEach__P15674_mk(s); + s.tmp_3 = helpers_arrayFilter__P15675_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___27654; s.tmp_3.arg1 = s.tmp_0; s.pc = 9; return s.tmp_3; case 9: @@ -33086,17 +34748,17 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___490384); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___27662); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, inline__P490406); + r0 = pxsim_pxtcore_mkAction(1, inline__P27684); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, inline__P490412); + r0 = pxsim_pxtcore_mkAction(1, inline__P27690); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P477500_mk(s); - s.tmp_3 = helpers_arrayFilter__P477501_mk(s); - s.tmp_3.arg0 = s.wallCollisionHandlers___490384; + s.tmp_2 = helpers_arrayForEach__P15674_mk(s); + s.tmp_3 = helpers_arrayFilter__P15675_mk(s); + s.tmp_3.arg0 = s.wallCollisionHandlers___27662; s.tmp_3.arg1 = s.tmp_0; s.pc = 11; return s.tmp_3; case 11: @@ -33112,20 +34774,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P478233.info = {"start":25913,"length":650,"line":783,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other"]} -Sprite_registerObstacle__P478233.info = {"start":25913,"length":650,"line":783,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other"]} +Sprite_registerObstacle__P16407.info = {"start":25913,"length":650,"line":783,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other"]} +Sprite_registerObstacle__P16407.info = {"start":25913,"length":650,"line":783,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other"]} -function Sprite_registerObstacle__P478233_mk(s) { +function Sprite_registerObstacle__P16407_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P478233, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P16407, 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, - collisionHandlers___490376: undefined, - wallCollisionHandlers___490384: undefined, + collisionHandlers___27654: undefined, + wallCollisionHandlers___27662: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33135,7 +34797,7 @@ function Sprite_registerObstacle__P478233_mk(s) { -function inline__P490392(s) { +function inline__P27670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33157,13 +34819,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490392.info = {"start":26291,"length":26,"line":790,"column":24,"endLine":790,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P490392.info = {"start":26291,"length":26,"line":790,"column":24,"endLine":790,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27670.info = {"start":26291,"length":26,"line":790,"column":24,"endLine":790,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27670.info = {"start":26291,"length":26,"line":790,"column":24,"endLine":790,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P490392_mk(s) { +function inline__P27670_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490392, depth: s.depth + 1, + parent: s, fn: inline__P27670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33174,7 +34836,7 @@ function inline__P490392_mk(s) { -function inline__P490398(s) { +function inline__P27676(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33206,13 +34868,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490398.info = {"start":26344,"length":20,"line":791,"column":25,"endLine":791,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P490398.info = {"start":26344,"length":20,"line":791,"column":25,"endLine":791,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27676.info = {"start":26344,"length":20,"line":791,"column":25,"endLine":791,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27676.info = {"start":26344,"length":20,"line":791,"column":25,"endLine":791,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P490398_mk(s) { +function inline__P27676_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490398, depth: s.depth + 1, + parent: s, fn: inline__P27676, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33222,7 +34884,7 @@ function inline__P490398_mk(s) { -function inline__P490406(s) { +function inline__P27684(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33244,13 +34906,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490406.info = {"start":26472,"length":26,"line":795,"column":24,"endLine":795,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P490406.info = {"start":26472,"length":26,"line":795,"column":24,"endLine":795,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27684.info = {"start":26472,"length":26,"line":795,"column":24,"endLine":795,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27684.info = {"start":26472,"length":26,"line":795,"column":24,"endLine":795,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P490406_mk(s) { +function inline__P27684_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490406, depth: s.depth + 1, + parent: s, fn: inline__P27684, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33261,7 +34923,7 @@ function inline__P490406_mk(s) { -function inline__P490412(s) { +function inline__P27690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33293,13 +34955,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490412.info = {"start":26525,"length":20,"line":796,"column":25,"endLine":796,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -inline__P490412.info = {"start":26525,"length":20,"line":796,"column":25,"endLine":796,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27690.info = {"start":26525,"length":20,"line":796,"column":25,"endLine":796,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +inline__P27690.info = {"start":26525,"length":20,"line":796,"column":25,"endLine":796,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function inline__P490412_mk(s) { +function inline__P27690_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490412, depth: s.depth + 1, + parent: s, fn: inline__P27690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33309,7 +34971,7 @@ function inline__P490412_mk(s) { -function Fx_min__P477561(s) { +function Fx_min__P15735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33340,13 +35002,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P477561.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__P477561.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__P15735.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__P15735.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__P477561_mk(s) { +function Fx_min__P15735_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P477561, depth: s.depth + 1, + parent: s, fn: Fx_min__P15735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33357,7 +35019,7 @@ function Fx_min__P477561_mk(s) { -function Fx_iadd__P477553(s) { +function Fx_iadd__P15727(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33378,13 +35040,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P477553.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__P477553.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__P15727.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__P15727.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__P477553_mk(s) { +function Fx_iadd__P15727_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P477553, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P15727, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33395,7 +35057,7 @@ function Fx_iadd__P477553_mk(s) { -function helpers_arraySome__P477498(s) { +function helpers_arraySome__P15672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33405,26 +35067,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.len___490438 = undefined; - s.i___490441 = undefined; + s.len___27716 = undefined; + s.i___27719 = 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___490438 = (r0); - s.i___490441 = (0); + s.len___27716 = (r0); + s.i___27719 = (0); case 1: - r0 = (s.i___490441 < s.len___490438); + r0 = (s.i___27719 < s.len___27716); 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___490441); + r0 = pxsim_Array__getAt(s.arg0, s.i___27719); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___490441; + s.tmp_2.arg1 = s.i___27719; setupLambda(s.tmp_2, s.tmp_2.argL); s.pc = 6; return s.tmp_2; case 6: @@ -33436,8 +35098,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___490441 + 1); - s.i___490441 = (r0); + r0 = (s.i___27719 + 1); + s.i___27719 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -33445,19 +35107,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P477498.info = {"start":4975,"length":296,"line":178,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} -helpers_arraySome__P477498.info = {"start":4975,"length":296,"line":178,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} +helpers_arraySome__P15672.info = {"start":4975,"length":296,"line":178,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} +helpers_arraySome__P15672.info = {"start":4975,"length":296,"line":178,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} -function helpers_arraySome__P477498_mk(s) { +function helpers_arraySome__P15672_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P477498, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P15672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___490438: undefined, - i___490441: undefined, + len___27716: undefined, + i___27719: undefined, arg0: undefined, arg1: undefined, } } @@ -33466,7 +35128,7 @@ function helpers_arraySome__P477498_mk(s) { -function MovingSprite_constructor__P478321(s) { +function MovingSprite_constructor__P16495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33488,7 +35150,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C478320_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C16494_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -33500,13 +35162,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P478321.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} -MovingSprite_constructor__P478321.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} +MovingSprite_constructor__P16495.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} +MovingSprite_constructor__P16495.info = {"start":678,"length":313,"line":30,"column":4,"endLine":41,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["this","sprite","cachedVx","cachedVy","dx","dy","xStep","yStep"]} -function MovingSprite_constructor__P478321_mk(s) { +function MovingSprite_constructor__P16495_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P478321, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P16495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33522,7 +35184,7 @@ function MovingSprite_constructor__P478321_mk(s) { -function ArcadePhysicsEngine_move__P478334(s) { +function ArcadePhysicsEngine_move__P16508(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33532,34 +35194,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.dtf___490532 = undefined; - s.dtSec___490539 = undefined; - s.dt2___490543 = undefined; - s.scene___490547 = undefined; - s.tileMap___490550 = undefined; - s.movingSprites___490553 = undefined; - s.MAX_STEP_COUNT___490584 = undefined; - s.overlapHandlers___490595 = undefined; - s.selected___490602 = undefined; - s.buffers___490603 = undefined; - s.count___490607 = undefined; - s.currMovers___490617 = undefined; - s.remainingMovers___490624 = undefined; - s.ms___490629 = undefined; - s.unnamed1758___U14 = undefined; - s.unnamed1759___U15 = undefined; - s.s___490631 = undefined; - s.stepX___490724 = undefined; - s.stepY___490738 = undefined; + s.dtf___27810 = undefined; + s.dtSec___27817 = undefined; + s.dt2___27821 = undefined; + s.scene___27825 = undefined; + s.tileMap___27828 = undefined; + s.movingSprites___27831 = undefined; + s.MAX_STEP_COUNT___27863 = undefined; + s.overlapHandlers___27874 = undefined; + s.selected___27881 = undefined; + s.buffers___27882 = undefined; + s.count___27886 = undefined; + s.currMovers___27896 = undefined; + s.remainingMovers___27903 = undefined; + s.ms___27908 = undefined; + s.unnamed142___U14 = undefined; + s.unnamed143___U15 = undefined; + s.s___27910 = undefined; + s.stepX___28003 = undefined; + s.stepY___28017 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); - s.tmp_0 = Fx_min__P477561_mk(s); - s.tmp_0.arg0 = globals.MAX_TIME_STEP___478305; + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); + s.tmp_0 = Fx_min__P15735_mk(s); + s.tmp_0.arg0 = globals.MAX_TIME_STEP___16479; r0 = (s.arg1 * 1000); s.tmp_1 = r0; r0 = (s.tmp_1 * 256); @@ -33569,45 +35231,45 @@ switch (step) { s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - s.dtf___490532 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___490532, 1000); - s.dtSec___490539 = (r0); - r0 = pxsim.Math_.idiv(s.dtf___490532, 2); - s.dt2___490543 = (r0); - s.tmp_0 = game_currentScene__P478375_mk(s); + s.dtf___27810 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___27810, 1000); + s.dtSec___27817 = (r0); + r0 = pxsim.Math_.idiv(s.dtf___27810, 2); + s.dt2___27821 = (r0); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.scene___490547 = (r0); - r0 = s.scene___490547.fields["tileMap"]; - s.tileMap___490550 = (r0); - r0 = pxsim_pxtcore_mkAction(3, inline__P490555); + s.scene___27825 = (r0); + r0 = s.scene___27825.fields["tileMap"]; + s.tileMap___27828 = (r0); + r0 = pxsim_pxtcore_mkAction(3, inline__P27833); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtSec___490539); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___490543); - s.tmp_1 = helpers_arrayMap__P477497_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtSec___27817); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___27821); + s.tmp_1 = helpers_arrayMap__P15671_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; - s.movingSprites___490553 = (r0); - s.tmp_0 = helpers_arrayForEach__P477500_mk(s); + s.movingSprites___27831 = (r0); + s.tmp_0 = helpers_arrayForEach__P15674_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = inline__P490567; + s.tmp_0.arg1 = inline__P27846; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P478246_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P16420_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P478245_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P16419_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -33623,41 +35285,41 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim.Math_.idiv(s.tmp_4, s.tmp_3); s.tmp_1 = r0; - r0 = pxsim.Math_.imul(s.tmp_1, s.dtSec___490539); + r0 = pxsim.Math_.imul(s.tmp_1, s.dtSec___27817); s.tmp_5 = r0; r0 = (s.tmp_5 >> 8); s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); - s.MAX_STEP_COUNT___490584 = (r0); - s.tmp_0 = helpers_arraySlice__P477505_mk(s); - r0 = s.scene___490547.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___27863 = (r0); + s.tmp_0 = helpers_arraySlice__P15679_mk(s); + r0 = s.scene___27825.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.overlapHandlers___490595 = (r0); - s.selected___490602 = (0); + s.overlapHandlers___27874 = (r0); + s.selected___27881 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___490553); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___27831); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___490603 = (s.tmp_0); - s.count___490607 = (0); + s.buffers___27882 = (s.tmp_0); + s.count___27886 = (0); case 1: - r0 = (s.count___490607 < s.MAX_STEP_COUNT___490584); + r0 = (s.count___27886 < s.MAX_STEP_COUNT___27863); 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___490603, s.selected___490602); + r0 = pxsim_Array__getAt(s.buffers___27882, s.selected___27881); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -33667,43 +35329,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 46; continue; } - r0 = pxsim_Array__getAt(s.buffers___490603, s.selected___490602); - s.currMovers___490617 = (r0); - r0 = (s.selected___490602 ^ 1); - s.selected___490602 = (r0); - r0 = pxsim_Array__getAt(s.buffers___490603, s.selected___490602); - s.remainingMovers___490624 = (r0); - s.ms___490629 = (undefined); - s.unnamed1758___U14 = (s.currMovers___490617); - s.unnamed1759___U15 = (0); + r0 = pxsim_Array__getAt(s.buffers___27882, s.selected___27881); + s.currMovers___27896 = (r0); + r0 = (s.selected___27881 ^ 1); + s.selected___27881 = (r0); + r0 = pxsim_Array__getAt(s.buffers___27882, s.selected___27881); + s.remainingMovers___27903 = (r0); + s.ms___27908 = (undefined); + s.unnamed142___U14 = (s.currMovers___27896); + s.unnamed143___U15 = (0); case 4: - s.tmp_0 = r0 = s.unnamed1759___U15; - r0 = pxsim_Array__length(s.unnamed1758___U14); + s.tmp_0 = r0 = s.unnamed143___U15; + r0 = pxsim_Array__length(s.unnamed142___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 43; continue; } - r0 = pxsim_Array__getAt(s.unnamed1758___U14, s.unnamed1759___U15); - s.ms___490629 = (r0); - r0 = s.ms___490629.fields["sprite"]; - s.s___490631 = (r0); - r0 = s.ms___490629.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed142___U14, s.unnamed143___U15); + s.ms___27908 = (r0); + r0 = s.ms___27908.fields["sprite"]; + s.s___27910 = (r0); + r0 = s.ms___27908.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___490631.fields["_vx"]; + r0 = s.s___27910.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___490631.fields["_vx"]; + r0 = s.s___27910.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___490629).fields["dx"] = (0); + r0 = (s.ms___27908).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___490631.fields["_vx"]; + r0 = s.s___27910.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -33712,7 +35374,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___490629.fields["cachedVx"]; + r0 = s.ms___27908.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -33723,7 +35385,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___490631.fields["_vx"]; + r0 = s.s___27910.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -33732,7 +35394,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___490629.fields["cachedVx"]; + r0 = s.ms___27908.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -33744,14 +35406,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___490629; - r0 = s.ms___490629.fields["dx"]; + s.tmp_9 = r0 = s.ms___27908; + r0 = s.ms___27908.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___490629; - r0 = s.ms___490629.fields["xStep"]; + s.tmp_0 = r0 = s.ms___27908; + r0 = s.ms___27908.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -33759,29 +35421,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___490631.fields["_vx"]; + r0 = s.s___27910.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___490629).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___27908).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___490629.fields["cachedVy"]; + r0 = s.ms___27908.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___490631.fields["_vy"]; + r0 = s.s___27910.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___490631.fields["_vy"]; + r0 = s.s___27910.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___490629).fields["dy"] = (0); + r0 = (s.ms___27908).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___490631.fields["_vy"]; + r0 = s.s___27910.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -33790,7 +35452,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___490629.fields["cachedVy"]; + r0 = s.ms___27908.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -33801,7 +35463,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___490631.fields["_vy"]; + r0 = s.s___27910.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -33810,7 +35472,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___490629.fields["cachedVy"]; + r0 = s.ms___27908.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -33822,14 +35484,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___490629; - r0 = s.ms___490629.fields["dy"]; + s.tmp_9 = r0 = s.ms___27908; + r0 = s.ms___27908.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___490629; - r0 = s.ms___490629.fields["yStep"]; + s.tmp_0 = r0 = s.ms___27908; + r0 = s.ms___27908.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -33837,20 +35499,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___490631.fields["_vy"]; + r0 = s.s___27910.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___490629).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___27908).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P477560_mk(s); - r0 = s.ms___490629.fields["xStep"]; + s.tmp_2 = Fx_abs__P15734_mk(s); + r0 = s.ms___27908.fields["xStep"]; s.tmp_2.arg0 = r0; s.pc = 54; return s.tmp_2; case 54: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P477560_mk(s); - r0 = s.ms___490629.fields["dx"]; + s.tmp_4 = Fx_abs__P15734_mk(s); + r0 = s.ms___27908.fields["dx"]; s.tmp_4.arg0 = r0; s.pc = 55; return s.tmp_4; case 55: @@ -33860,23 +35522,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___490629.fields["dx"]; + r0 = s.ms___27908.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___490629.fields["xStep"]; + r0 = s.ms___27908.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___490724 = (s.tmp_5); - s.tmp_2 = Fx_abs__P477560_mk(s); - r0 = s.ms___490629.fields["yStep"]; + s.stepX___28003 = (s.tmp_5); + s.tmp_2 = Fx_abs__P15734_mk(s); + r0 = s.ms___27908.fields["yStep"]; s.tmp_2.arg0 = r0; s.pc = 56; return s.tmp_2; case 56: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P477560_mk(s); - r0 = s.ms___490629.fields["dy"]; + s.tmp_4 = Fx_abs__P15734_mk(s); + r0 = s.ms___27908.fields["dy"]; s.tmp_4.arg0 = r0; s.pc = 57; return s.tmp_4; case 57: @@ -33886,45 +35548,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___490629.fields["dy"]; + r0 = s.ms___27908.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___490629.fields["yStep"]; + r0 = s.ms___27908.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___490738 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___490629; - r0 = s.ms___490629.fields["dx"]; + s.stepY___28017 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___27908; + r0 = s.ms___27908.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___490724); + r0 = (s.tmp_2 - s.stepX___28003); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___490629; - r0 = s.ms___490629.fields["dy"]; + s.tmp_0 = r0 = s.ms___27908; + r0 = s.ms___27908.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___490738); + r0 = (s.tmp_2 - s.stepY___28017); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___490631.fields["_x"]; + r0 = s.s___27910.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___490631).fields["_lastX"] = (s.tmp_0); - r0 = s.s___490631.fields["_y"]; + r0 = (s.s___27910).fields["_lastX"] = (s.tmp_0); + r0 = s.s___27910.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___490631).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___490631; - r0 = s.s___490631.fields["_x"]; + r0 = (s.s___27910).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___27910; + r0 = s.s___27910.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___490724); + r0 = (s.tmp_2 + s.stepX___28003); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___490631; - r0 = s.s___490631.fields["_y"]; + s.tmp_0 = r0 = s.s___27910; + r0 = s.s___27910.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___490738); + r0 = (s.tmp_2 + s.stepY___28017); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___490631.fields["flags"]; + r0 = s.s___27910.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -33934,20 +35596,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - s.tmp_4 = sprites_SpriteMap_insertAABB__P478249_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P16423_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___490631; + s.tmp_4.arg1 = s.s___27910; s.pc = 58; return s.tmp_4; case 58: r0 = s.retval; - s.tmp_0 = r0 = s.tileMap___490550; + s.tmp_0 = r0 = s.tileMap___27828; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 33; continue; } r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = s.tileMap___490550.fields["_map"]; + r0 = s.tileMap___27828.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -33961,10 +35623,10 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 35; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P478337_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P16511_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___490629; - s.tmp_6.arg2 = s.tileMap___490550; + s.tmp_6.arg1 = s.ms___27908; + s.tmp_6.arg2 = s.tileMap___27828; s.pc = 59; return s.tmp_6; case 59: r0 = s.retval; @@ -33972,71 +35634,71 @@ switch (step) { case 36: case 37: case 38: - s.tmp_2 = Fx_abs__P477560_mk(s); - r0 = s.ms___490629.fields["dx"]; + s.tmp_2 = Fx_abs__P15734_mk(s); + r0 = s.ms___27908.fields["dx"]; s.tmp_2.arg0 = r0; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___478318); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___16492); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 39; continue; } r0 = s.tmp_0; { step = 40; continue; } case 39: - s.tmp_4 = Fx_abs__P477560_mk(s); - r0 = s.ms___490629.fields["dy"]; + s.tmp_4 = Fx_abs__P15734_mk(s); + r0 = s.ms___27908.fields["dy"]; s.tmp_4.arg0 = r0; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___478318); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___16492); case 40: // jmp value (already in r0) s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 41; continue; } - r0 = pxsim_Array__push(s.remainingMovers___490624, s.ms___490629); + r0 = pxsim_Array__push(s.remainingMovers___27903, s.ms___27908); case 41: case 42: - r0 = (s.unnamed1759___U15 + 1); - s.unnamed1759___U15 = (r0); + r0 = (s.unnamed143___U15 + 1); + s.unnamed143___U15 = (r0); { step = 4; continue; } case 43: - s.unnamed1758___U14 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P478336_mk(s); + s.unnamed142___U14 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P16510_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___490617; - s.tmp_0.arg2 = s.overlapHandlers___490595; + s.tmp_0.arg1 = s.currMovers___27896; + s.tmp_0.arg2 = s.overlapHandlers___27874; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 44: - r0 = pxsim_Array__length(s.currMovers___490617); + r0 = pxsim_Array__length(s.currMovers___27896); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 45; continue; } - r0 = pxsim_Array_.pop(s.currMovers___490617); + r0 = pxsim_Array_.pop(s.currMovers___27896); { step = 44; continue; } case 45: - r0 = (s.count___490607 + 1); - s.count___490607 = (r0); + r0 = (s.count___27886 + 1); + s.count___27886 = (r0); { step = 1; continue; } case 46: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P478334.info = {"start":2551,"length":3940,"line":109,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -ArcadePhysicsEngine_move__P478334.info = {"start":2551,"length":3940,"line":109,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P16508.info = {"start":2551,"length":3940,"line":109,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} +ArcadePhysicsEngine_move__P16508.info = {"start":2551,"length":3940,"line":109,"column":4,"endLine":209,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"move","argumentNames":["this","dt"]} -function ArcadePhysicsEngine_move__P478334_mk(s) { +function ArcadePhysicsEngine_move__P16508_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P478334, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P16508, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34050,25 +35712,25 @@ function ArcadePhysicsEngine_move__P478334_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtf___490532: undefined, - dtSec___490539: undefined, - dt2___490543: undefined, - scene___490547: undefined, - tileMap___490550: undefined, - movingSprites___490553: undefined, - MAX_STEP_COUNT___490584: undefined, - overlapHandlers___490595: undefined, - selected___490602: undefined, - buffers___490603: undefined, - count___490607: undefined, - currMovers___490617: undefined, - remainingMovers___490624: undefined, - ms___490629: undefined, - unnamed1758___U14: undefined, - unnamed1759___U15: undefined, - s___490631: undefined, - stepX___490724: undefined, - stepY___490738: undefined, + dtf___27810: undefined, + dtSec___27817: undefined, + dt2___27821: undefined, + scene___27825: undefined, + tileMap___27828: undefined, + movingSprites___27831: undefined, + MAX_STEP_COUNT___27863: undefined, + overlapHandlers___27874: undefined, + selected___27881: undefined, + buffers___27882: undefined, + count___27886: undefined, + currMovers___27896: undefined, + remainingMovers___27903: undefined, + ms___27908: undefined, + unnamed142___U14: undefined, + unnamed143___U15: undefined, + s___27910: undefined, + stepX___28003: undefined, + stepY___28017: undefined, arg0: undefined, arg1: undefined, } } @@ -34077,7 +35739,7 @@ function ArcadePhysicsEngine_move__P478334_mk(s) { -function inline__P490555(s) { +function inline__P27833(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34091,7 +35753,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P478335_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P16509_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -34102,13 +35764,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490555.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} -inline__P490555.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P27833.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} +inline__P27833.info = {"start":2985,"length":53,"line":122,"column":17,"endLine":122,"endColumn":70,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["sprite"]} -function inline__P490555_mk(s) { +function inline__P27833_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490555, depth: s.depth + 1, + parent: s, fn: inline__P27833, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34118,7 +35780,7 @@ function inline__P490555_mk(s) { -function inline__P490567(s) { +function inline__P27846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34132,7 +35794,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P478194_mk(s); + s.tmp_1 = Sprite_vx__P16368_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 5; return s.tmp_1; case 5: @@ -34143,7 +35805,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P478196_mk(s); + s.tmp_2 = Sprite_vy__P16370_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 6; return s.tmp_2; case 6: @@ -34153,7 +35815,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P478232_mk(s); + s.tmp_4 = Sprite_clearObstacles__P16406_mk(s); s.tmp_4.arg0 = s.arg0; s.pc = 7; return s.tmp_4; case 7: @@ -34164,13 +35826,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490567.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} -inline__P490567.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P27846.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} +inline__P27846.info = {"start":3121,"length":66,"line":125,"column":29,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["s"]} -function inline__P490567_mk(s) { +function inline__P27846_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490567, depth: s.depth + 1, + parent: s, fn: inline__P27846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34184,7 +35846,7 @@ function inline__P490567_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P478336(s) { +function ArcadePhysicsEngine_spriteCollisions__P16510(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34194,18 +35856,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ms___490839 = undefined; - s.unnamed1760___U1 = undefined; - s.unnamed1761___U2 = undefined; - s.sprite___490841 = undefined; - s.overSprites___490848 = undefined; - s.overlapper___490856 = undefined; - s.unnamed1762___U6 = undefined; - s.unnamed1763___U7 = undefined; - s.thisKind___490862 = undefined; - s.otherKind___490866 = undefined; - s.higher___490879 = undefined; - s.lower___490888 = undefined; + s.ms___28118 = undefined; + s.unnamed144___U1 = undefined; + s.unnamed145___U2 = undefined; + s.sprite___28120 = undefined; + s.overSprites___28127 = undefined; + s.overlapper___28135 = undefined; + s.unnamed146___U6 = undefined; + s.unnamed147___U7 = undefined; + s.thisKind___28141 = undefined; + s.otherKind___28145 = undefined; + s.higher___28158 = undefined; + s.lower___28167 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34213,7 +35875,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -34225,20 +35887,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___490839 = (undefined); - s.unnamed1760___U1 = (s.arg1); - s.unnamed1761___U2 = (0); + s.ms___28118 = (undefined); + s.unnamed144___U1 = (s.arg1); + s.unnamed145___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1761___U2; - r0 = pxsim_Array__length(s.unnamed1760___U1); + s.tmp_0 = r0 = s.unnamed145___U2; + r0 = pxsim_Array__length(s.unnamed144___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed1760___U1, s.unnamed1761___U2); - s.ms___490839 = (r0); - r0 = s.ms___490839.fields["sprite"]; - s.sprite___490841 = (r0); - r0 = s.sprite___490841.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed144___U1, s.unnamed145___U2); + s.ms___28118 = (r0); + r0 = s.ms___28118.fields["sprite"]; + s.sprite___28120 = (r0); + r0 = s.sprite___28120.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 515); s.tmp_0 = r0; @@ -34247,27 +35909,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P478243_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P16417_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___490839.fields["sprite"]; + r0 = s.ms___28118.fields["sprite"]; s.tmp_2.arg1 = r0; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___490848 = (r0); - s.overlapper___490856 = (undefined); - s.unnamed1762___U6 = (s.overSprites___490848); - s.unnamed1763___U7 = (0); + s.overSprites___28127 = (r0); + s.overlapper___28135 = (undefined); + s.unnamed146___U6 = (s.overSprites___28127); + s.unnamed147___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed1763___U7; - r0 = pxsim_Array__length(s.unnamed1762___U6); + s.tmp_0 = r0 = s.unnamed147___U7; + r0 = pxsim_Array__length(s.unnamed146___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed1762___U6, s.unnamed1763___U7); - s.overlapper___490856 = (r0); - r0 = s.overlapper___490856.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed146___U6, s.unnamed147___U7); + s.overlapper___28135 = (r0); + r0 = s.overlapper___28135.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 515); s.tmp_2 = r0; @@ -34276,13 +35938,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___490841.fields["_kind"]; - s.thisKind___490862 = (r0); - r0 = s.overlapper___490856.fields["_kind"]; - s.otherKind___490866 = (r0); - r0 = s.sprite___490841.fields["_kindsOverlappedWith"]; + r0 = s.sprite___28120.fields["_kind"]; + s.thisKind___28141 = (r0); + r0 = s.overlapper___28135.fields["_kind"]; + s.otherKind___28145 = (r0); + r0 = s.sprite___28120.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___490866, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___28145, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -34291,37 +35953,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___490841.fields["id"]; + r0 = s.sprite___28120.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___490856.fields["id"]; + r0 = s.overlapper___28135.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___490841; + r0 = s.sprite___28120; { step = 12; continue; } case 11: - r0 = s.overlapper___490856; + r0 = s.overlapper___28135; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___490879 = (s.tmp_6); - r0 = (s.higher___490879 === s.sprite___490841); + s.higher___28158 = (s.tmp_6); + r0 = (s.higher___28158 === s.sprite___28120); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___490856; + r0 = s.overlapper___28135; { step = 14; continue; } case 13: - r0 = s.sprite___490841; + r0 = s.sprite___28120; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___490888 = (s.tmp_1); - r0 = s.higher___490879.fields["_overlappers"]; + s.lower___28167 = (s.tmp_1); + r0 = s.higher___28158.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___490888.fields["id"]; + r0 = s.lower___28167.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -34329,19 +35991,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, inline__P490908); + r0 = pxsim_pxtcore_mkAction(2, inline__P28187); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___490862); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___490866); - r0 = pxsim_pxtcore_mkAction(5, inline__P490932); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___28141); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___28145); + r0 = pxsim_pxtcore_mkAction(5, inline__P28211); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___490879); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___490888); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.thisKind___490862); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.sprite___490841); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.overlapper___490856); - s.tmp_6 = helpers_arrayForEach__P477500_mk(s); - s.tmp_7 = helpers_arrayFilter__P477501_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___28158); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___28167); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.thisKind___28141); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.sprite___28120); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.overlapper___28135); + s.tmp_6 = helpers_arrayForEach__P15674_mk(s); + s.tmp_7 = helpers_arrayFilter__P15675_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.pc = 24; return s.tmp_7; @@ -34355,29 +36017,29 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed1763___U7 + 1); - s.unnamed1763___U7 = (r0); + r0 = (s.unnamed147___U7 + 1); + s.unnamed147___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed1762___U6 = (undefined); + s.unnamed146___U6 = (undefined); case 19: - r0 = (s.unnamed1761___U2 + 1); - s.unnamed1761___U2 = (r0); + r0 = (s.unnamed145___U2 + 1); + s.unnamed145___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed1760___U1 = (undefined); + s.unnamed144___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P478336.info = {"start":8219,"length":2112,"line":282,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -ArcadePhysicsEngine_spriteCollisions__P478336.info = {"start":8219,"length":2112,"line":282,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P16510.info = {"start":8219,"length":2112,"line":282,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} +ArcadePhysicsEngine_spriteCollisions__P16510.info = {"start":8219,"length":2112,"line":282,"column":4,"endLine":324,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"spriteCollisions","argumentNames":["this","movedSprites","handlers"]} -function ArcadePhysicsEngine_spriteCollisions__P478336_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P16510_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P478336, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P16510, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34387,18 +36049,18 @@ function ArcadePhysicsEngine_spriteCollisions__P478336_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___490839: undefined, - unnamed1760___U1: undefined, - unnamed1761___U2: undefined, - sprite___490841: undefined, - overSprites___490848: undefined, - overlapper___490856: undefined, - unnamed1762___U6: undefined, - unnamed1763___U7: undefined, - thisKind___490862: undefined, - otherKind___490866: undefined, - higher___490879: undefined, - lower___490888: undefined, + ms___28118: undefined, + unnamed144___U1: undefined, + unnamed145___U2: undefined, + sprite___28120: undefined, + overSprites___28127: undefined, + overlapper___28135: undefined, + unnamed146___U6: undefined, + unnamed147___U7: undefined, + thisKind___28141: undefined, + otherKind___28145: undefined, + higher___28158: undefined, + lower___28167: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34408,7 +36070,7 @@ function ArcadePhysicsEngine_spriteCollisions__P478336_mk(s) { -function inline__P490908(s) { +function inline__P28187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34465,13 +36127,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490908.info = {"start":9578,"length":145,"line":308,"column":32,"endLine":309,"endColumn":89,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -inline__P490908.info = {"start":9578,"length":145,"line":308,"column":32,"endLine":309,"endColumn":89,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28187.info = {"start":9578,"length":145,"line":308,"column":32,"endLine":309,"endColumn":89,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28187.info = {"start":9578,"length":145,"line":308,"column":32,"endLine":309,"endColumn":89,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P490908_mk(s) { +function inline__P28187_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490908, depth: s.depth + 1, + parent: s, fn: inline__P28187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34489,7 +36151,7 @@ function inline__P490908_mk(s) { -function inline__P490932(s) { +function inline__P28211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34508,7 +36170,7 @@ switch (step) { r0 = s.caps[1].fields["id"]; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtcore_mkAction(6, inline__P490942); + r0 = pxsim_pxtcore_mkAction(6, inline__P28221); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.caps[2]); @@ -34521,13 +36183,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490932.info = {"start":9783,"length":498,"line":311,"column":33,"endLine":320,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -inline__P490932.info = {"start":9783,"length":498,"line":311,"column":33,"endLine":320,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28211.info = {"start":9783,"length":498,"line":311,"column":33,"endLine":320,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} +inline__P28211.info = {"start":9783,"length":498,"line":311,"column":33,"endLine":320,"endColumn":25,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":["h"]} -function inline__P490932_mk(s) { +function inline__P28211_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490932, depth: s.depth + 1, + parent: s, fn: inline__P28211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34538,7 +36200,7 @@ function inline__P490932_mk(s) { -function inline__P490942(s) { +function inline__P28221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34598,13 +36260,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490942.info = {"start":9904,"length":349,"line":313,"column":50,"endLine":319,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -inline__P490942.info = {"start":9904,"length":349,"line":313,"column":50,"endLine":319,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P28221.info = {"start":9904,"length":349,"line":313,"column":50,"endLine":319,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} +inline__P28221.info = {"start":9904,"length":349,"line":313,"column":50,"endLine":319,"endColumn":29,"fileName":"pxt_modules/game/physics.ts","functionName":"inline","argumentNames":[]} -function inline__P490942_mk(s) { +function inline__P28221_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490942, depth: s.depth + 1, + parent: s, fn: inline__P28221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34619,7 +36281,7 @@ function inline__P490942_mk(s) { -function sprites_SpriteMap_overlaps__P478243(s) { +function sprites_SpriteMap_overlaps__P16417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34629,48 +36291,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.n___490966 = undefined; - s.o___490970 = undefined; + s.n___28245 = undefined; + s.o___28249 = 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__C478241_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P478242_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P16416_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___490966 = (r0); - r0 = pxsim_pxtcore_mkAction(1, inline__P490972); + s.n___28245 = (r0); + r0 = pxsim_pxtcore_mkAction(1, inline__P28251); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P477501_mk(s); - s.tmp_1.arg0 = s.n___490966; + s.tmp_1 = helpers_arrayFilter__P15675_mk(s); + s.tmp_1.arg0 = s.n___28245; s.tmp_1.arg1 = s.tmp_0; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___490970 = (r0); - r0 = s.o___490970; + s.o___28249 = (r0); + r0 = s.o___28249; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P478243.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__P478243.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__P16417.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__P16417.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__P478243_mk(s) { +function sprites_SpriteMap_overlaps__P16417_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P478243, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P16417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___490966: undefined, - o___490970: undefined, + n___28245: undefined, + o___28249: undefined, arg0: undefined, arg1: undefined, } } @@ -34679,7 +36341,7 @@ function sprites_SpriteMap_overlaps__P478243_mk(s) { -function inline__P490972(s) { +function inline__P28251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34693,7 +36355,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P478228_mk(s); + s.tmp_0 = Sprite_overlapsWith__P16402_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.pc = 1; return s.tmp_0; @@ -34702,13 +36364,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -inline__P490972.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} -inline__P490972.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P28251.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} +inline__P28251.info = {"start":1037,"length":41,"line":32,"column":31,"endLine":32,"endColumn":72,"fileName":"pxt_modules/game/spritemap.ts","functionName":"inline","argumentNames":["neighbor"]} -function inline__P490972_mk(s) { +function inline__P28251_mk(s) { checkStack(s.depth); return { - parent: s, fn: inline__P490972, depth: s.depth + 1, + parent: s, fn: inline__P28251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34718,7 +36380,7 @@ function inline__P490972_mk(s) { -function sprites_SpriteMap_neighbors__P478242(s) { +function sprites_SpriteMap_neighbors__P16416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34728,113 +36390,113 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.n___491015 = undefined; - s.layer___491017 = undefined; + s.n___28294 = undefined; + s.layer___28296 = 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__C478241_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___491015 = (r0); + s.n___28294 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___491017 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P478250_mk(s); + s.layer___28296 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P16424_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P478210_mk(s); + s.tmp_1 = Sprite_left__P16384_mk(s); s.tmp_1.arg0 = s.arg1; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P478214_mk(s); + s.tmp_2 = Sprite_top__P16388_mk(s); s.tmp_2.arg0 = s.arg1; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___491017; - s.tmp_0.arg4 = s.n___491015; + s.tmp_0.arg3 = s.layer___28296; + s.tmp_0.arg4 = s.n___28294; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P478250_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P16424_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P478210_mk(s); + s.tmp_1 = Sprite_left__P16384_mk(s); s.tmp_1.arg0 = s.arg1; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P478216_mk(s); + s.tmp_2 = Sprite_bottom__P16390_mk(s); s.tmp_2.arg0 = s.arg1; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___491017; - s.tmp_0.arg4 = s.n___491015; + s.tmp_0.arg3 = s.layer___28296; + s.tmp_0.arg4 = s.n___28294; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P478250_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P16424_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P478212_mk(s); + s.tmp_1 = Sprite_right__P16386_mk(s); s.tmp_1.arg0 = s.arg1; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P478214_mk(s); + s.tmp_2 = Sprite_top__P16388_mk(s); s.tmp_2.arg0 = s.arg1; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___491017; - s.tmp_0.arg4 = s.n___491015; + s.tmp_0.arg3 = s.layer___28296; + s.tmp_0.arg4 = s.n___28294; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P478250_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P16424_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P478212_mk(s); + s.tmp_1 = Sprite_right__P16386_mk(s); s.tmp_1.arg0 = s.arg1; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P478216_mk(s); + s.tmp_2 = Sprite_bottom__P16390_mk(s); s.tmp_2.arg0 = s.arg1; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___491017; - s.tmp_0.arg4 = s.n___491015; + s.tmp_0.arg3 = s.layer___28296; + s.tmp_0.arg4 = s.n___28294; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___491015, s.arg1); - r0 = s.n___491015; + r0 = pxsim_Array_.removeElement(s.n___28294, s.arg1); + r0 = s.n___28294; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P478242.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__P478242.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__P16416.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__P16416.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__P478242_mk(s) { +function sprites_SpriteMap_neighbors__P16416_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P478242, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P16416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___491015: undefined, - layer___491017: undefined, + n___28294: undefined, + layer___28296: undefined, arg0: undefined, arg1: undefined, } } @@ -34843,7 +36505,7 @@ function sprites_SpriteMap_neighbors__P478242_mk(s) { -function sprites_SpriteMap_mergeAtKey__P478250(s) { +function sprites_SpriteMap_mergeAtKey__P16424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34853,11 +36515,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.k___491070 = undefined; - s.bucket___491075 = undefined; - s.sprite___491082 = undefined; - s.unnamed1756___U3 = undefined; - s.unnamed1757___U4 = undefined; + s.k___28349 = undefined; + s.bucket___28354 = undefined; + s.sprite___28361 = undefined; + s.unnamed140___U3 = undefined; + s.unnamed141___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34867,33 +36529,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C478241_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P478247_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P16421_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___491070 = (r0); + s.k___28349 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___491070); - s.bucket___491075 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___491075); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___28349); + s.bucket___28354 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___28354); if (!r0) { step = 7; continue; } - s.sprite___491082 = (undefined); - s.unnamed1756___U3 = (s.bucket___491075); - s.unnamed1757___U4 = (0); + s.sprite___28361 = (undefined); + s.unnamed140___U3 = (s.bucket___28354); + s.unnamed141___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1757___U4; - r0 = pxsim_Array__length(s.unnamed1756___U3); + s.tmp_0 = r0 = s.unnamed141___U4; + r0 = pxsim_Array__length(s.unnamed140___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1756___U3, s.unnamed1757___U4); - s.sprite___491082 = (r0); - r0 = s.sprite___491082.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed140___U3, s.unnamed141___U4); + s.sprite___28361 = (r0); + r0 = s.sprite___28361.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -34902,7 +36564,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___491082, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___28361, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -34910,27 +36572,27 @@ 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___491082); + r0 = pxsim_Array__push(s.arg4, s.sprite___28361); case 4: case 5: - r0 = (s.unnamed1757___U4 + 1); - s.unnamed1757___U4 = (r0); + r0 = (s.unnamed141___U4 + 1); + s.unnamed141___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed1756___U3 = (undefined); + s.unnamed140___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P478250.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__P478250.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__P16424.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__P16424.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__P478250_mk(s) { +function sprites_SpriteMap_mergeAtKey__P16424_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P478250, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P16424, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34938,11 +36600,11 @@ function sprites_SpriteMap_mergeAtKey__P478250_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___491070: undefined, - bucket___491075: undefined, - sprite___491082: undefined, - unnamed1756___U3: undefined, - unnamed1757___U4: undefined, + k___28349: undefined, + bucket___28354: undefined, + sprite___28361: undefined, + unnamed140___U3: undefined, + unnamed141___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34954,7 +36616,7 @@ function sprites_SpriteMap_mergeAtKey__P478250_mk(s) { -function sprites_SpriteMap_key__P478247(s) { +function sprites_SpriteMap_key__P16421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34964,8 +36626,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.xi___491103 = undefined; - s.yi___491115 = undefined; + s.xi___28382 = undefined; + s.yi___28394 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34973,8 +36635,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C478241_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P477513_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P15687_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -34985,8 +36647,8 @@ switch (step) { s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___491103 = (r0); - s.tmp_0 = Math_clamp__P477513_mk(s); + s.xi___28382 = (r0); + s.tmp_0 = Math_clamp__P15687_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -34997,29 +36659,29 @@ switch (step) { s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___491115 = (r0); - s.tmp_0 = r0 = s.xi___491103; + s.yi___28394 = (r0); + s.tmp_0 = r0 = s.xi___28382; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___491115 * s.tmp_2); + r0 = (s.yi___28394 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P478247.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__P478247.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__P16421.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__P16421.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__P478247_mk(s) { +function sprites_SpriteMap_key__P16421_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P478247, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P16421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___491103: undefined, - yi___491115: undefined, + xi___28382: undefined, + yi___28394: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35029,7 +36691,7 @@ function sprites_SpriteMap_key__P478247_mk(s) { -function Sprite_overlapsWith__P478228(s) { +function Sprite_overlapsWith__P16402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35045,7 +36707,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -35078,13 +36740,13 @@ switch (step) { s.tmp_5 = r0; r0 = s.arg0.fields["_image"]; s.tmp_6 = r0; - s.tmp_9 = Sprite_left__P478210_mk(s); + s.tmp_9 = Sprite_left__P16384_mk(s); s.tmp_9.arg0 = s.arg0; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = Sprite_left__P478210_mk(s); + s.tmp_11 = Sprite_left__P16384_mk(s); s.tmp_11.arg0 = s.arg1; s.pc = 9; return s.tmp_11; case 9: @@ -35092,13 +36754,13 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_8 - s.tmp_10); s.tmp_7 = r0; - s.tmp_14 = Sprite_top__P478214_mk(s); + s.tmp_14 = Sprite_top__P16388_mk(s); s.tmp_14.arg0 = s.arg0; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; - s.tmp_16 = Sprite_top__P478214_mk(s); + s.tmp_16 = Sprite_top__P16388_mk(s); s.tmp_16.arg0 = s.arg1; s.pc = 11; return s.tmp_16; case 11: @@ -35111,13 +36773,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P478228.info = {"start":23457,"length":434,"line":714,"column":4,"endLine":722,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -Sprite_overlapsWith__P478228.info = {"start":23457,"length":434,"line":714,"column":4,"endLine":722,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P16402.info = {"start":23457,"length":434,"line":714,"column":4,"endLine":722,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P16402.info = {"start":23457,"length":434,"line":714,"column":4,"endLine":722,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P478228_mk(s) { +function Sprite_overlapsWith__P16402_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P478228, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P16402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35144,7 +36806,7 @@ function Sprite_overlapsWith__P478228_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P478335(s) { +function ArcadePhysicsEngine_createMovingSprite__P16509(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35154,12 +36816,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ovx___491317 = undefined; - s.ovy___491322 = undefined; - s.dx___491355 = undefined; - s.dy___491364 = undefined; - s.xStep___491373 = undefined; - s.yStep___491375 = undefined; + s.ovx___28596 = undefined; + s.ovy___28601 = undefined; + s.dx___28634 = undefined; + s.dy___28643 = undefined; + s.xStep___28652 = undefined; + s.yStep___28654 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35168,23 +36830,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P478342_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P16516_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.ovx___491317 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P478342_mk(s); + s.ovx___28596 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P16516_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.ovy___491322 = (r0); + s.ovy___28601 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -35192,7 +36854,7 @@ switch (step) { s.tmp_0 = r0; r0 = (s.arg1).fields["_lastY"] = (s.tmp_0); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P478342_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P16516_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_3 = r0; @@ -35210,7 +36872,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P478342_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P16516_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_3 = r0; @@ -35229,29 +36891,29 @@ switch (step) { r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovx___491317); + r0 = (s.tmp_2 + s.ovx___28596); s.tmp_1 = r0; r0 = pxsim.Math_.imul(s.tmp_1, s.arg3); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); s.tmp_0 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, 1000); - s.dx___491355 = (r0); + s.dx___28634 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.ovy___491322); + r0 = (s.tmp_2 + s.ovy___28601); s.tmp_1 = r0; r0 = pxsim.Math_.imul(s.tmp_1, s.arg3); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); s.tmp_0 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, 1000); - s.dy___491364 = (r0); - s.xStep___491373 = (s.dx___491355); - s.yStep___491375 = (s.dy___491364); + s.dy___28643 = (r0); + s.xStep___28652 = (s.dx___28634); + s.yStep___28654 = (s.dy___28643); case 1: - s.tmp_2 = Fx_abs__P477560_mk(s); - s.tmp_2.arg0 = s.xStep___491373; + s.tmp_2 = Fx_abs__P15734_mk(s); + s.tmp_2.arg0 = s.xStep___28652; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -35265,8 +36927,8 @@ switch (step) { r0 = s.tmp_0; { step = 3; continue; } case 2: - s.tmp_5 = Fx_abs__P477560_mk(s); - s.tmp_5.arg0 = s.yStep___491375; + s.tmp_5 = Fx_abs__P15734_mk(s); + s.tmp_5.arg0 = s.yStep___28654; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; @@ -35279,8 +36941,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 8; continue; } - s.tmp_10 = Fx_abs__P477560_mk(s); - s.tmp_10.arg0 = s.xStep___491373; + s.tmp_10 = Fx_abs__P15734_mk(s); + s.tmp_10.arg0 = s.xStep___28652; s.pc = 15; return s.tmp_10; case 15: r0 = s.retval; @@ -35291,12 +36953,12 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 4; continue; } - r0 = pxsim.Math_.idiv(s.xStep___491373, 2); - s.xStep___491373 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___28652, 2); + s.xStep___28652 = (r0); case 4: case 5: - s.tmp_2 = Fx_abs__P477560_mk(s); - s.tmp_2.arg0 = s.yStep___491375; + s.tmp_2 = Fx_abs__P15734_mk(s); + s.tmp_2.arg0 = s.yStep___28654; s.pc = 16; return s.tmp_2; case 16: r0 = s.retval; @@ -35307,25 +36969,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = pxsim.Math_.idiv(s.yStep___491375, 2); - s.yStep___491375 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___28654, 2); + s.yStep___28654 = (r0); case 6: case 7: { step = 1; continue; } case 8: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C478320_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C16494_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P478321_mk(s); + s.tmp_1 = MovingSprite_constructor__P16495_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___491355; - s.tmp_1.arg5 = s.dy___491364; - s.tmp_1.arg6 = s.xStep___491373; - s.tmp_1.arg7 = s.yStep___491375; + s.tmp_1.arg4 = s.dx___28634; + s.tmp_1.arg5 = s.dy___28643; + s.tmp_1.arg6 = s.xStep___28652; + s.tmp_1.arg7 = s.yStep___28654; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; @@ -35333,13 +36995,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P478335.info = {"start":6497,"length":1716,"line":211,"column":4,"endLine":280,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtSec","dt2"]} -ArcadePhysicsEngine_createMovingSprite__P478335.info = {"start":6497,"length":1716,"line":211,"column":4,"endLine":280,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtSec","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P16509.info = {"start":6497,"length":1716,"line":211,"column":4,"endLine":280,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtSec","dt2"]} +ArcadePhysicsEngine_createMovingSprite__P16509.info = {"start":6497,"length":1716,"line":211,"column":4,"endLine":280,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"createMovingSprite","argumentNames":["this","sprite","dtSec","dt2"]} -function ArcadePhysicsEngine_createMovingSprite__P478335_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P16509_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P478335, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P16509, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35353,12 +37015,12 @@ function ArcadePhysicsEngine_createMovingSprite__P478335_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___491317: undefined, - ovy___491322: undefined, - dx___491355: undefined, - dy___491364: undefined, - xStep___491373: undefined, - yStep___491375: undefined, + ovx___28596: undefined, + ovy___28601: undefined, + dx___28634: undefined, + dy___28643: undefined, + xStep___28652: undefined, + yStep___28654: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35369,7 +37031,7 @@ function ArcadePhysicsEngine_createMovingSprite__P478335_mk(s) { -function ArcadePhysicsEngine_constrain__P478342(s) { +function ArcadePhysicsEngine_constrain__P16516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35385,9 +37047,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P477562_mk(s); - s.tmp_1 = Fx_min__P477561_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P15736_mk(s); + s.tmp_1 = Fx_min__P15735_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -35403,13 +37065,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P478342.info = {"start":22424,"length":191,"line":658,"column":4,"endLine":666,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -ArcadePhysicsEngine_constrain__P478342.info = {"start":22424,"length":191,"line":658,"column":4,"endLine":666,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P16516.info = {"start":22424,"length":191,"line":658,"column":4,"endLine":666,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} +ArcadePhysicsEngine_constrain__P16516.info = {"start":22424,"length":191,"line":658,"column":4,"endLine":666,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"constrain","argumentNames":["this","v"]} -function ArcadePhysicsEngine_constrain__P478342_mk(s) { +function ArcadePhysicsEngine_constrain__P16516_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P478342, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P16516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35421,7 +37083,7 @@ function ArcadePhysicsEngine_constrain__P478342_mk(s) { -function Fx_max__P477562(s) { +function Fx_max__P15736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35452,13 +37114,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P477562.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__P477562.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__P15736.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__P15736.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__P477562_mk(s) { +function Fx_max__P15736_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P477562, depth: s.depth + 1, + parent: s, fn: Fx_max__P15736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35469,7 +37131,7 @@ function Fx_max__P477562_mk(s) { -function sprites_SpriteMap_insertAABB__P478249(s) { +function sprites_SpriteMap_insertAABB__P16423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35479,31 +37141,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.left___491135 = undefined; - s.top___491138 = undefined; - s.xn___491141 = undefined; - s.yn___491152 = undefined; - s.x___491163 = undefined; - s.y___491168 = undefined; + s.left___28414 = undefined; + s.top___28417 = undefined; + s.xn___28420 = undefined; + s.yn___28431 = undefined; + s.x___28442 = undefined; + s.y___28447 = 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__C478241_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P478210_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P16384_mk(s); s.tmp_0.arg0 = s.arg1; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___491135 = (r0); - s.tmp_0 = Sprite_top__P478214_mk(s); + s.left___28414 = (r0); + s.tmp_0 = Sprite_top__P16388_mk(s); s.tmp_0.arg0 = s.arg1; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___491138 = (r0); + s.top___28417 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -35517,7 +37179,7 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___491141 = (r0); + s.xn___28420 = (r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -35531,30 +37193,30 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___491152 = (r0); - s.x___491163 = (0); + s.yn___28431 = (r0); + s.x___28442 = (0); case 1: - r0 = (s.x___491163 <= s.xn___491141); + r0 = (s.x___28442 <= s.xn___28420); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___491168 = (0); + s.y___28447 = (0); case 2: - r0 = (s.y___491168 <= s.yn___491152); + r0 = (s.y___28447 <= s.yn___28431); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P478248_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P16422_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___491135; - s.tmp_4 = Math_min__P477517_mk(s); + s.tmp_2 = r0 = s.left___28414; + s.tmp_4 = Math_min__P15691_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___491163 * s.tmp_6); + r0 = (s.x___28442 * s.tmp_6); s.tmp_4.arg1 = r0; s.pc = 8; return s.tmp_4; case 8: @@ -35562,15 +37224,15 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___491138; - s.tmp_9 = Math_min__P477517_mk(s); + s.tmp_7 = r0 = s.top___28417; + s.tmp_9 = Math_min__P15691_mk(s); r0 = s.arg1.fields["_image"]; s.tmp_10 = r0; r0 = pxsim_ImageMethods.height(s.tmp_10); s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___491168 * s.tmp_11); + r0 = (s.y___28447 * s.tmp_11); s.tmp_9.arg1 = r0; s.pc = 9; return s.tmp_9; case 9: @@ -35582,25 +37244,25 @@ switch (step) { s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = (s.y___491168 + 1); - s.y___491168 = (r0); + r0 = (s.y___28447 + 1); + s.y___28447 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___491163 + 1); - s.x___491163 = (r0); + r0 = (s.x___28442 + 1); + s.x___28442 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P478249.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__P478249.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__P16423.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__P16423.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__P478249_mk(s) { +function sprites_SpriteMap_insertAABB__P16423_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P478249, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P16423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35614,12 +37276,12 @@ function sprites_SpriteMap_insertAABB__P478249_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___491135: undefined, - top___491138: undefined, - xn___491141: undefined, - yn___491152: undefined, - x___491163: undefined, - y___491168: undefined, + left___28414: undefined, + top___28417: undefined, + xn___28420: undefined, + yn___28431: undefined, + x___28442: undefined, + y___28447: undefined, arg0: undefined, arg1: undefined, } } @@ -35628,7 +37290,7 @@ function sprites_SpriteMap_insertAABB__P478249_mk(s) { -function sprites_SpriteMap_insertAtKey__P478248(s) { +function sprites_SpriteMap_insertAtKey__P16422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35638,8 +37300,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.k___491203 = undefined; - s.bucket___491208 = undefined; + s.k___28482 = undefined; + s.bucket___28487 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35648,20 +37310,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C478241_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P478247_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P16421_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___491203 = (r0); + s.k___28482 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___491203); - s.bucket___491208 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___491208); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___28482); + s.bucket___28487 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___28487); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35669,41 +37331,41 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___491203; + s.tmp_3 = r0 = s.k___28482; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___491208 = (s.tmp_4); + s.bucket___28487 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___491208, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___28487, 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___491208, s.arg3); + r0 = pxsim_Array__push(s.bucket___28487, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P478248.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__P478248.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__P16422.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__P16422.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__P478248_mk(s) { +function sprites_SpriteMap_insertAtKey__P16422_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P478248, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P16422, 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___491203: undefined, - bucket___491208: undefined, + k___28482: undefined, + bucket___28487: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35714,7 +37376,7 @@ function sprites_SpriteMap_insertAtKey__P478248_mk(s) { -function sprites_SpriteMap_clear__P478246(s) { +function sprites_SpriteMap_clear__P16420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35729,7 +37391,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C478241_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -35738,13 +37400,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P478246.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__P478246.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__P16420.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__P16420.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__P478246_mk(s) { +function sprites_SpriteMap_clear__P16420_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P478246, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P16420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35755,7 +37417,7 @@ function sprites_SpriteMap_clear__P478246_mk(s) { -function sprites_SpriteMap_resizeBuckets__P478245(s) { +function sprites_SpriteMap_resizeBuckets__P16419(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35765,107 +37427,107 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.maxWidth___491240 = undefined; - s.maxHeight___491241 = undefined; - s.sprite___491243 = undefined; - s.unnamed1754___U3 = undefined; - s.unnamed1755___U4 = undefined; - s.tMap___491259 = undefined; - s.areaWidth___491263 = undefined; - s.areaHeight___491270 = undefined; + s.maxWidth___28519 = undefined; + s.maxHeight___28520 = undefined; + s.sprite___28522 = undefined; + s.unnamed138___U3 = undefined; + s.unnamed139___U4 = undefined; + s.tMap___28538 = undefined; + s.areaWidth___28542 = undefined; + s.areaHeight___28549 = 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__C478241_VT)) failedCast(r0); - s.maxWidth___491240 = (0); - s.maxHeight___491241 = (0); - s.sprite___491243 = (undefined); - s.unnamed1754___U3 = (s.arg1); - s.unnamed1755___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); + s.maxWidth___28519 = (0); + s.maxHeight___28520 = (0); + s.sprite___28522 = (undefined); + s.unnamed138___U3 = (s.arg1); + s.unnamed139___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1755___U4; - r0 = pxsim_Array__length(s.unnamed1754___U3); + s.tmp_0 = r0 = s.unnamed139___U4; + r0 = pxsim_Array__length(s.unnamed138___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1754___U3, s.unnamed1755___U4); - s.sprite___491243 = (r0); - r0 = s.sprite___491243.fields["_image"]; + r0 = pxsim_Array__getAt(s.unnamed138___U3, s.unnamed139___U4); + s.sprite___28522 = (r0); + r0 = s.sprite___28522.fields["_image"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___491240); + r0 = (s.tmp_3 > s.maxWidth___28519); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.sprite___491243.fields["_image"]; + r0 = s.sprite___28522.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); - s.maxWidth___491240 = (r0); + s.maxWidth___28519 = (r0); case 2: case 3: - r0 = s.sprite___491243.fields["_image"]; + r0 = s.sprite___28522.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___491241); + r0 = (s.tmp_1 > s.maxHeight___28520); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = s.sprite___491243.fields["_image"]; + r0 = s.sprite___28522.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); - s.maxHeight___491241 = (r0); + s.maxHeight___28520 = (r0); case 4: case 5: - r0 = (s.unnamed1755___U4 + 1); - s.unnamed1755___U4 = (r0); + r0 = (s.unnamed139___U4 + 1); + s.unnamed139___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed1754___U3 = (undefined); - s.tmp_0 = game_currentScene__P478375_mk(s); + s.unnamed138___U3 = (undefined); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___491259 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___491259); + s.tMap___28538 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___28538); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P478504_mk(s); - s.tmp_0.arg0 = s.tMap___491259; + s.tmp_0 = tiles_TileMap_areaWidth__P16678_mk(s); + s.tmp_0.arg0 = s.tMap___28538; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___477998); + r0 = pxsim_ImageMethods.width(globals.screen___16172); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___491263 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___491259); + s.areaWidth___28542 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___28538); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P478505_mk(s); - s.tmp_0.arg0 = s.tMap___491259; + s.tmp_0 = tiles_TileMap_areaHeight__P16679_mk(s); + s.tmp_0.arg0 = s.tMap___28538; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___477998); + r0 = pxsim_ImageMethods.height(globals.screen___16172); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___491270 = (s.tmp_1); + s.areaHeight___28549 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P477513_mk(s); + s.tmp_2 = Math_clamp__P15687_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___491263 >> 2); + r0 = (s.areaWidth___28542 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___491240 * 2); + r0 = (s.maxWidth___28519 * 2); s.tmp_2.arg2 = r0; s.pc = 14; return s.tmp_2; case 14: @@ -35873,11 +37535,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["cellWidth"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P477513_mk(s); + s.tmp_2 = Math_clamp__P15687_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___491270 >> 2); + r0 = (s.areaHeight___28549 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___491241 * 2); + r0 = (s.maxHeight___28520 * 2); s.tmp_2.arg2 = r0; s.pc = 15; return s.tmp_2; case 15: @@ -35887,26 +37549,26 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___491270, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___28549, 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___491263, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___28542, 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__P478245.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__P478245.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__P16419.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__P16419.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__P478245_mk(s) { +function sprites_SpriteMap_resizeBuckets__P16419_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P478245, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P16419, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35914,14 +37576,14 @@ function sprites_SpriteMap_resizeBuckets__P478245_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___491240: undefined, - maxHeight___491241: undefined, - sprite___491243: undefined, - unnamed1754___U3: undefined, - unnamed1755___U4: undefined, - tMap___491259: undefined, - areaWidth___491263: undefined, - areaHeight___491270: undefined, + maxWidth___28519: undefined, + maxHeight___28520: undefined, + sprite___28522: undefined, + unnamed138___U3: undefined, + unnamed139___U4: undefined, + tMap___28538: undefined, + areaWidth___28542: undefined, + areaHeight___28549: undefined, arg0: undefined, arg1: undefined, } } @@ -35930,7 +37592,7 @@ function sprites_SpriteMap_resizeBuckets__P478245_mk(s) { -function Sprite_clearObstacles__P478232(s) { +function Sprite_clearObstacles__P16406(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35945,7 +37607,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -35954,13 +37616,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P478232.info = {"start":25853,"length":54,"line":779,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -Sprite_clearObstacles__P478232.info = {"start":25853,"length":54,"line":779,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P16406.info = {"start":25853,"length":54,"line":779,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P16406.info = {"start":25853,"length":54,"line":779,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P478232_mk(s) { +function Sprite_clearObstacles__P16406_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P478232, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P16406, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35971,7 +37633,7 @@ function Sprite_clearObstacles__P478232_mk(s) { -function Fx_idiv__P477558(s) { +function Fx_idiv__P15732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35990,13 +37652,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P477558.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__P477558.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__P15732.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__P15732.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__P477558_mk(s) { +function Fx_idiv__P15732_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P477558, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P15732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36006,7 +37668,7 @@ function Fx_idiv__P477558_mk(s) { -function Fx_div__P477557(s) { +function Fx_div__P15731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36027,13 +37689,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P477557.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__P477557.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__P15731.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__P15731.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__P477557_mk(s) { +function Fx_div__P15731_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P477557, depth: s.depth + 1, + parent: s, fn: Fx_div__P15731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36044,7 +37706,7 @@ function Fx_div__P477557_mk(s) { -function helpers_arrayMap__P477497(s) { +function helpers_arrayMap__P15671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36054,59 +37716,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.res___482862 = undefined; - s.len___482864 = undefined; - s.i___482867 = undefined; + s.res___28717 = undefined; + s.len___28719 = undefined; + s.i___28722 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___482862 = (r0); + s.res___28717 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___482864 = (r0); - s.i___482867 = (0); + s.len___28719 = (r0); + s.i___28722 = (0); case 1: - r0 = (s.i___482867 < s.len___482864); + r0 = (s.i___28722 < s.len___28719); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___482862; + s.tmp_1 = r0 = s.res___28717; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___482867); + r0 = pxsim_Array__getAt(s.arg0, s.i___28722); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___482867; + s.tmp_3.arg1 = s.i___28722; setupLambda(s.tmp_3, s.tmp_3.argL); 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___482867 + 1); - s.i___482867 = (r0); + r0 = (s.i___28722 + 1); + s.i___28722 = (r0); { step = 1; continue; } case 2: - r0 = s.res___482862; + r0 = s.res___28717; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P477497.info = {"start":4670,"length":299,"line":169,"column":4,"endLine":176,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} -helpers_arrayMap__P477497.info = {"start":4670,"length":299,"line":169,"column":4,"endLine":176,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} +helpers_arrayMap__P15671.info = {"start":4670,"length":299,"line":169,"column":4,"endLine":176,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} +helpers_arrayMap__P15671.info = {"start":4670,"length":299,"line":169,"column":4,"endLine":176,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} -function helpers_arrayMap__P477497_mk(s) { +function helpers_arrayMap__P15671_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P477497, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P15671, 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___482862: undefined, - len___482864: undefined, - i___482867: undefined, + res___28717: undefined, + len___28719: undefined, + i___28722: undefined, arg0: undefined, arg1: undefined, } } @@ -36115,7 +37777,7 @@ function helpers_arrayMap__P477497_mk(s) { -function ArcadePhysicsEngine_draw__P478333(s) { +function ArcadePhysicsEngine_draw__P16507(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36130,8 +37792,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P478244_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P16418_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.pc = 1; return s.tmp_0; @@ -36141,13 +37803,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P478333.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} -ArcadePhysicsEngine_draw__P478333.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} +ArcadePhysicsEngine_draw__P16507.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} +ArcadePhysicsEngine_draw__P16507.info = {"start":2506,"length":39,"line":105,"column":4,"endLine":107,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"draw","argumentNames":["this"]} -function ArcadePhysicsEngine_draw__P478333_mk(s) { +function ArcadePhysicsEngine_draw__P16507_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P478333, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P16507, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36157,7 +37819,7 @@ function ArcadePhysicsEngine_draw__P478333_mk(s) { -function sprites_SpriteMap_draw__P478244(s) { +function sprites_SpriteMap_draw__P16418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36167,70 +37829,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.x___491447 = undefined; - s.y___491453 = undefined; - s.left___491459 = undefined; - s.top___491464 = undefined; - s.k___491469 = undefined; - s.b___491474 = undefined; + s.x___28749 = undefined; + s.y___28755 = undefined; + s.left___28761 = undefined; + s.top___28766 = undefined; + s.k___28771 = undefined; + s.b___28776 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C478241_VT)) failedCast(r0); - s.x___491447 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C16415_VT)) failedCast(r0); + s.x___28749 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___491447 < s.tmp_1); + r0 = (s.x___28749 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___491453 = (0); + s.y___28755 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___491453 < s.tmp_1); + r0 = (s.y___28755 < 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___491447 * s.tmp_2); - s.left___491459 = (r0); + r0 = (s.x___28749 * s.tmp_2); + s.left___28761 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___491453 * s.tmp_0); - s.top___491464 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P478247_mk(s); + r0 = (s.y___28755 * s.tmp_0); + s.top___28766 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P16421_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___491459; - s.tmp_0.arg2 = s.top___491464; + s.tmp_0.arg1 = s.left___28761; + s.tmp_0.arg2 = s.top___28766; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___491469 = (r0); + s.k___28771 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___491469); - s.b___491474 = (r0); - s.tmp_0 = r0 = s.b___491474; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___28771); + s.b___28776 = (r0); + s.tmp_0 = r0 = s.b___28776; 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___491474); + r0 = pxsim_Array__length(s.b___28776); 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__P477940_mk(s); - s.tmp_2.arg0 = globals.screen___477998; - s.tmp_2.arg1 = s.left___491459; - s.tmp_2.arg2 = s.top___491464; + s.tmp_2 = helpers_imageDrawRect__P16114_mk(s); + s.tmp_2.arg0 = globals.screen___16172; + s.tmp_2.arg1 = s.left___28761; + s.tmp_2.arg2 = s.top___28766; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -36241,35 +37903,35 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___491453 + 1); - s.y___491453 = (r0); + r0 = (s.y___28755 + 1); + s.y___28755 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___491447 + 1); - s.x___491447 = (r0); + r0 = (s.x___28749 + 1); + s.x___28749 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P478244.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__P478244.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__P16418.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__P16418.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__P478244_mk(s) { +function sprites_SpriteMap_draw__P16418_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P478244, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P16418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___491447: undefined, - y___491453: undefined, - left___491459: undefined, - top___491464: undefined, - k___491469: undefined, - b___491474: undefined, + x___28749: undefined, + y___28755: undefined, + left___28761: undefined, + top___28766: undefined, + k___28771: undefined, + b___28776: undefined, arg0: undefined, } } @@ -36277,7 +37939,7 @@ function sprites_SpriteMap_draw__P478244_mk(s) { -function ArcadePhysicsEngine_removeSprite__P478332(s) { +function ArcadePhysicsEngine_removeSprite__P16506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36293,7 +37955,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -36301,13 +37963,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P478332.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -ArcadePhysicsEngine_removeSprite__P478332.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_removeSprite__P16506.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_removeSprite__P16506.info = {"start":2420,"length":80,"line":101,"column":4,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"removeSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_removeSprite__P478332_mk(s) { +function ArcadePhysicsEngine_removeSprite__P16506_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P478332, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P16506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36318,7 +37980,7 @@ function ArcadePhysicsEngine_removeSprite__P478332_mk(s) { -function ArcadePhysicsEngine_addSprite__P478331(s) { +function ArcadePhysicsEngine_addSprite__P16505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36328,31 +37990,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.tm___491511 = undefined; + s.tm___28813 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C478322_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C16496_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__P478375_mk(s); + s.tmp_0 = game_currentScene__P16549_mk(s); s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___491511 = (r0); - s.tmp_0 = r0 = s.tm___491511; + s.tm___28813 = (r0); + s.tmp_0 = r0 = s.tm___28813; 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__P478520_mk(s); - s.tmp_1.arg0 = s.tm___491511; + s.tmp_1 = tiles_TileMap_isOnWall__P16694_mk(s); + s.tmp_1.arg0 = s.tm___28813; s.tmp_1.arg1 = s.arg1; s.pc = 6; return s.tmp_1; case 6: @@ -36374,13 +38036,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P478331.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -ArcadePhysicsEngine_addSprite__P478331.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_addSprite__P16505.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +ArcadePhysicsEngine_addSprite__P16505.info = {"start":2194,"length":220,"line":93,"column":4,"endLine":99,"endColumn":5,"fileName":"pxt_modules/game/physics.ts","functionName":"addSprite","argumentNames":["this","sprite"]} -function ArcadePhysicsEngine_addSprite__P478331_mk(s) { +function ArcadePhysicsEngine_addSprite__P16505_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P478331, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P16505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36388,7 +38050,7 @@ function ArcadePhysicsEngine_addSprite__P478331_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___491511: undefined, + tm___28813: undefined, arg0: undefined, arg1: undefined, } } @@ -36397,7 +38059,7 @@ function ArcadePhysicsEngine_addSprite__P478331_mk(s) { -function particles_ParticleSource___draw__P479114(s) { +function particles_ParticleSource___draw__P17288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36407,18 +38069,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.current___492043 = undefined; - s.left___492046 = undefined; - s.top___492056 = undefined; + s.current___29345 = undefined; + s.left___29348 = undefined; + s.top___29358 = 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__C479112_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___492043 = (r0); + s.current___29345 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -36436,7 +38098,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___492046 = (s.tmp_4); + s.left___29348 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -36454,50 +38116,50 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___492056 = (s.tmp_4); + s.top___29358 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___492043); + r0 = pxsim_numops_toBoolDecr(s.current___29345); if (!r0) { step = 8; continue; } - r0 = s.current___492043.fields["lifespan"]; + r0 = s.current___29345.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__P479129_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P17303_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___492043; - s.tmp_2.arg2 = s.left___492046; - s.tmp_2.arg3 = s.top___492056; + s.tmp_2.arg1 = s.current___29345; + s.tmp_2.arg2 = s.left___29348; + s.tmp_2.arg3 = s.top___29358; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___492043.fields["next"]; - s.current___492043 = (r0); + r0 = s.current___29345.fields["next"]; + s.current___29345 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P479114.info = {"start":3199,"length":468,"line":111,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} -particles_ParticleSource___draw__P479114.info = {"start":3199,"length":468,"line":111,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} +particles_ParticleSource___draw__P17288.info = {"start":3199,"length":468,"line":111,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} +particles_ParticleSource___draw__P17288.info = {"start":3199,"length":468,"line":111,"column":8,"endLine":121,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"__draw","argumentNames":["this","camera"]} -function particles_ParticleSource___draw__P479114_mk(s) { +function particles_ParticleSource___draw__P17288_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P479114, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P17288, 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___492043: undefined, - left___492046: undefined, - top___492056: undefined, + current___29345: undefined, + left___29348: undefined, + top___29358: undefined, arg0: undefined, arg1: undefined, } } @@ -36506,7 +38168,7 @@ function particles_ParticleSource___draw__P479114_mk(s) { -function particles_ParticleSource_drawParticle__P479129(s) { +function particles_ParticleSource_drawParticle__P17303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36524,8 +38186,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C479112_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C479172_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C17286_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C17346_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -36537,7 +38199,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__C479172_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C17346_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: @@ -36546,13 +38208,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P479129.info = {"start":8598,"length":174,"line":286,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} -particles_ParticleSource_drawParticle__P479129.info = {"start":8598,"length":174,"line":286,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} +particles_ParticleSource_drawParticle__P17303.info = {"start":8598,"length":174,"line":286,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} +particles_ParticleSource_drawParticle__P17303.info = {"start":8598,"length":174,"line":286,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"drawParticle","argumentNames":["this","p","screenLeft","screenTop"]} -function particles_ParticleSource_drawParticle__P479129_mk(s) { +function particles_ParticleSource_drawParticle__P17303_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P479129, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P17303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36567,7 +38229,7 @@ function particles_ParticleSource_drawParticle__P479129_mk(s) { -function particles_ParticleFactory_drawParticle__P479174(s) { +function particles_ParticleFactory_drawParticle__P17348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36585,8 +38247,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C479172_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___477998; + if (!checkSubtype(r0, particles_ParticleFactory__C17346_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___16172; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -36600,13 +38262,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P479174.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__P479174.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__P17348.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__P17348.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__P479174_mk(s) { +function particles_ParticleFactory_drawParticle__P17348_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P479174, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P17348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36623,7 +38285,7 @@ function particles_ParticleFactory_drawParticle__P479174_mk(s) { -function sprites_BaseSprite___update__P478065(s) { +function sprites_BaseSprite___update__P16239(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36640,18 +38302,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C478059_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C16233_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P478065.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__P478065.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__P16239.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__P16239.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__P478065_mk(s) { +function sprites_BaseSprite___update__P16239_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P478065, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P16239, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36662,7 +38324,7 @@ function sprites_BaseSprite___update__P478065_mk(s) { -function sprites_BaseSprite___draw__P478063(s) { +function sprites_BaseSprite___draw__P16237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36678,10 +38340,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C478059_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C478059_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C16233_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C16233_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C478059_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C16233_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: @@ -36689,10 +38351,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C478059_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C16233_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C478059_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C16233_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: @@ -36703,13 +38365,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P478063.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__P478063.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__P16237.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__P16237.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__P478063_mk(s) { +function sprites_BaseSprite___draw__P16237_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P478063, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P16237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36722,7 +38384,7 @@ function sprites_BaseSprite___draw__P478063_mk(s) { -function sprites_BaseSprite___drawCore__P478064(s) { +function sprites_BaseSprite___drawCore__P16238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36738,18 +38400,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C478059_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C16233_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P478064.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__P478064.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__P16238.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__P16238.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__P478064_mk(s) { +function sprites_BaseSprite___drawCore__P16238_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P478064, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P16238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36759,7 +38421,7 @@ function sprites_BaseSprite___drawCore__P478064_mk(s) { -function sprites_BaseSprite___visible__P478060(s) { +function sprites_BaseSprite___visible__P16234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36774,18 +38436,352 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C478059_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C16233_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P478060.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__P478060.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__P16234.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__P16234.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__P16234_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: sprites_BaseSprite___visible__P16234, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function particles_ShapeFactory_createParticle__P17371(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.p___29420 = 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__C17367_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P17359_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg1; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + s.p___29420 = (r0); + s.tmp_0 = r0 = s.p___29420; + s.tmp_2 = Math_FastRandom_randomRange__P17138_mk(s); + r0 = s.arg0.fields["galois"]; + s.tmp_2.arg0 = r0; + s.tmp_2.arg1 = 1; + s.tmp_2.arg2 = 14; + 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___29420; + return leave(s, r0) + default: oops() +} } } +particles_ShapeFactory_createParticle__P17371.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__P17371.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__P17371_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_ShapeFactory_createParticle__P17371, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + p___29420: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function particles_AreaFactory_createParticle__P17359(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.p___29433 = 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__C17357_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P17352_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg1; + s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + s.p___29433 = (r0); + s.tmp_0 = r0 = s.p___29433; + s.tmp_2 = Math_FastRandom_randomRange__P17138_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.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___29433; + s.tmp_4 = Math_FastRandom_randomRange__P17138_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.pc = 5; return s.tmp_4; + case 5: + r0 = s.retval; + s.tmp_3 = r0; + r0 = s.arg0.fields["xRange"]; + s.tmp_6 = r0; + r0 = (s.tmp_6 >> 1); + s.tmp_5 = r0; + r0 = (s.tmp_3 - s.tmp_5); + s.tmp_2 = r0; + r0 = s.p___29433.fields["_x"]; + s.tmp_7 = r0; + r0 = (s.tmp_2 << 8); + s.tmp_8 = r0; + r0 = (s.tmp_8 + s.tmp_7); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); + s.tmp_1 = if_height_1_mk(s); + s.tmp_1.arg0 = s.arg1; + if (!s.tmp_1.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "height"); + } else { + 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.pc = 6; return s.tmp_1; } + } + case 6: + r0 = s.retval; + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_3 = if_height_1_mk(s); + s.tmp_3.arg0 = s.arg1; + if (!s.tmp_3.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "height"); + } else { + 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.pc = 7; return s.tmp_3; } + } + case 7: + r0 = s.retval; + s.tmp_2 = r0; + r0 = (s.tmp_2 >> 1); + { step = 2; continue; } + case 1: + r0 = 0; + case 2: + // jmp value (already in r0) + s.tmp_4 = r0; + s.tmp_5 = r0 = s.p___29433; + s.tmp_9 = Math_FastRandom_randomRange__P17138_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.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___29433.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___29433; + return leave(s, r0) + default: oops() +} } } +particles_AreaFactory_createParticle__P17359.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__P17359.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__P17359_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_AreaFactory_createParticle__P17359, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + tmp_2: undefined, + tmp_3: undefined, + tmp_4: undefined, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + tmp_8: undefined, + tmp_9: undefined, + tmp_10: undefined, + tmp_11: undefined, + p___29433: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function particles_SprayFactory_createParticle__P17352(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + s.p___29482 = undefined; + s.angle___29486 = 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__C17350_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P17347_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_0.arg1 = s.arg1; + s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + s.p___29482 = (r0); + r0 = s.arg0.fields["minAngle"]; + s.tmp_1 = r0; + s.tmp_3 = Math_FastRandom_randomRange__P17138_mk(s); + s.tmp_3.arg0 = globals.galois___17329; + s.tmp_3.arg1 = 0; + r0 = s.arg0.fields["spread"]; + s.tmp_3.arg2 = r0; + 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___29486 = (r0); + s.tmp_0 = r0 = s.p___29482; + r0 = pxsim_Array__getAt(globals.cachedSin___17324, s.angle___29486); + s.tmp_2 = r0; + r0 = s.arg0.fields["speed"]; + s.tmp_3 = r0; + r0 = pxsim.Math_.imul(s.tmp_2, s.tmp_3); + s.tmp_4 = r0; + r0 = (s.tmp_4 >> 8); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["vx"] = (s.tmp_1); + s.tmp_0 = r0 = s.p___29482; + r0 = pxsim_Array__getAt(globals.cachedCos___17325, s.angle___29486); + s.tmp_2 = r0; + r0 = s.arg0.fields["speed"]; + s.tmp_3 = r0; + r0 = pxsim.Math_.imul(s.tmp_2, s.tmp_3); + s.tmp_4 = r0; + r0 = (s.tmp_4 >> 8); + s.tmp_1 = r0; + r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); + r0 = s.p___29482; + return leave(s, r0) + default: oops() +} } } +particles_SprayFactory_createParticle__P17352.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__P17352.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__P17352_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: particles_SprayFactory_createParticle__P17352, 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___29482: undefined, + angle___29486: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function scene_Scene_data__P16770(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, scene_Scene__C16768_VT)) failedCast(r0); + r0 = s.arg0.fields["_data"]; + return leaveAccessor(s, r0) + default: oops() +} } } +scene_Scene_data__P16770.info = {"start":6208,"length":53,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} +scene_Scene_data__P16770.isGetter = true; +scene_Scene_data__P16770.info = {"start":6208,"length":53,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -function sprites_BaseSprite___visible__P478060_mk(s) { +function scene_Scene_data__P16770_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P478060, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P16770, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -36794,7 +38790,7 @@ function sprites_BaseSprite___visible__P478060_mk(s) { -function particles_ShapeFactory_createParticle__P479197(s) { +function color_RGB_toString__P19294(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36804,184 +38800,66 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___492118 = 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__C479193_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P479185_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, color_RGB__C19287_VT)) failedCast(r0); + r0 = s.arg0.fields["_r"]; + s.tmp_6 = r0; + if ((s.tmp_6) && (s.tmp_6).vtable) { + setupResume(s, 1); + pxsim_String__stringConv(s.tmp_6); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_6) + ""; } case 1: r0 = s.retval; - s.p___492118 = (r0); - s.tmp_0 = r0 = s.p___492118; - s.tmp_2 = Math_FastRandom_randomRange__P478964_mk(s); - r0 = s.arg0.fields["galois"]; - s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = 1; - s.tmp_2.arg2 = 14; - 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___492118; - return leave(s, r0) - default: oops() -} } } -particles_ShapeFactory_createParticle__P479197.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__P479197.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__P479197_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: particles_ShapeFactory_createParticle__P479197, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - p___492118: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function particles_AreaFactory_createParticle__P479185(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; -switch (step) { - case 0: - - s.p___492131 = 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__C479183_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P479178_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - s.p___492131 = (r0); - s.tmp_0 = r0 = s.p___492131; - s.tmp_2 = Math_FastRandom_randomRange__P478964_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.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___492131; - s.tmp_4 = Math_FastRandom_randomRange__P478964_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.pc = 5; return s.tmp_4; - case 5: - r0 = s.retval; - s.tmp_3 = r0; - r0 = s.arg0.fields["xRange"]; - s.tmp_6 = r0; - r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; - r0 = (s.tmp_3 - s.tmp_5); - s.tmp_2 = r0; - r0 = s.p___492131.fields["_x"]; - s.tmp_7 = r0; - r0 = (s.tmp_2 << 8); + r0 = pxsim_String__concat("RGB(", s.tmp_5); + s.tmp_4 = r0; + r0 = pxsim_String__concat(s.tmp_4, ", "); + s.tmp_3 = r0; + r0 = s.arg0.fields["_g"]; s.tmp_8 = r0; - r0 = (s.tmp_8 + s.tmp_7); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_1 = if_height_1_mk(s); - s.tmp_1.arg0 = s.arg1; - if (!s.tmp_1.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "height"); - } else { - 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.pc = 6; return s.tmp_1; } - } - case 6: - r0 = s.retval; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_3 = if_height_1_mk(s); - s.tmp_3.arg0 = s.arg1; - if (!s.tmp_3.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "height"); - } else { - 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.pc = 7; return s.tmp_3; } - } - case 7: - r0 = s.retval; - s.tmp_2 = r0; - r0 = (s.tmp_2 >> 1); - { step = 2; continue; } - case 1: - r0 = 0; + if ((s.tmp_8) && (s.tmp_8).vtable) { + setupResume(s, 2); + pxsim_String__stringConv(s.tmp_8); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_8) + ""; } case 2: - // jmp value (already in r0) - s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___492131; - s.tmp_9 = Math_FastRandom_randomRange__P478964_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.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___492131.fields["_y"]; + r0 = pxsim_String__concat(s.tmp_3, s.tmp_7); + s.tmp_2 = r0; + r0 = pxsim_String__concat(s.tmp_2, ", "); + s.tmp_1 = r0; + r0 = s.arg0.fields["_b"]; 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___492131; + if ((s.tmp_10) && (s.tmp_10).vtable) { + setupResume(s, 3); + pxsim_String__stringConv(s.tmp_10); + checkResumeConsumed(); + return; + } else { s.retval = (s.tmp_10) + ""; } + case 3: + r0 = s.retval; + s.tmp_9 = r0; + r0 = pxsim_String__concat(s.tmp_1, s.tmp_9); + s.tmp_0 = r0; + r0 = pxsim_String__concat(s.tmp_0, ")"); return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P479185.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__P479185.info = {"start":4334,"length":426,"line":148,"column":8,"endLine":156,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +color_RGB_toString__P19294.info = {"start":1033,"length":92,"line":45,"column":8,"endLine":47,"endColumn":9,"fileName":"color.ts","functionName":"toString","argumentNames":["this"]} +color_RGB_toString__P19294.info = {"start":1033,"length":92,"line":45,"column":8,"endLine":47,"endColumn":9,"fileName":"color.ts","functionName":"toString","argumentNames":["this"]} -function particles_AreaFactory_createParticle__P479185_mk(s) { +function color_RGB_toString__P19294_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P479185, depth: s.depth + 1, + parent: s, fn: color_RGB_toString__P19294, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36994,17 +38872,14 @@ function particles_AreaFactory_createParticle__P479185_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - tmp_11: undefined, - p___492131: undefined, arg0: undefined, - arg1: undefined, } } -function particles_SprayFactory_createParticle__P479178(s) { +function controller_AnyButton_isPressed__P16302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37014,160 +38889,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.p___492180 = undefined; - s.angle___492184 = undefined; + s.ctrl___29520 = undefined; + s.b___29524 = undefined; + s.unnamed136___U2 = undefined; + s.unnamed137___U3 = 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__C479176_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P479173_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - s.p___492180 = (r0); - r0 = s.arg0.fields["minAngle"]; - s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P478964_mk(s); - s.tmp_3.arg0 = globals.galois___479155; - s.tmp_3.arg1 = 0; - r0 = s.arg0.fields["spread"]; - s.tmp_3.arg2 = r0; - 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___492184 = (r0); - s.tmp_0 = r0 = s.p___492180; - r0 = pxsim_Array__getAt(globals.cachedSin___479150, s.angle___492184); - s.tmp_2 = r0; - r0 = s.arg0.fields["speed"]; - s.tmp_3 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.tmp_3); - s.tmp_4 = r0; - r0 = (s.tmp_4 >> 8); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["vx"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___492180; - r0 = pxsim_Array__getAt(globals.cachedCos___479151, s.angle___492184); - s.tmp_2 = r0; - r0 = s.arg0.fields["speed"]; - s.tmp_3 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.tmp_3); - s.tmp_4 = r0; - r0 = (s.tmp_4 >> 8); - s.tmp_1 = r0; - r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___492180; - return leave(s, r0) - default: oops() -} } } -particles_SprayFactory_createParticle__P479178.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__P479178.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__P479178_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: particles_SprayFactory_createParticle__P479178, 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___492180: undefined, - angle___492184: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function scene_Scene_data__P478596(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C478594_VT)) failedCast(r0); - r0 = s.arg0.fields["_data"]; - return leaveAccessor(s, r0) - default: oops() -} } } -scene_Scene_data__P478596.info = {"start":6208,"length":53,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P478596.isGetter = true; -scene_Scene_data__P478596.info = {"start":6208,"length":53,"line":169,"column":8,"endLine":171,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} - -function scene_Scene_data__P478596_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_Scene_data__P478596, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function controller_AnyButton_isPressed__P478128(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; -switch (step) { - case 0: - - s.ctrl___492218 = undefined; - s.b___492222 = undefined; - s.unnamed1752___U2 = undefined; - s.unnamed1753___U3 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C478126_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P478132_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C16300_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P16306_mk(s); s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___492218 = (r0); - s.b___492222 = (undefined); - r0 = s.ctrl___492218.fields["buttons"]; - s.unnamed1752___U2 = (r0); - s.unnamed1753___U3 = (0); + s.ctrl___29520 = (r0); + s.b___29524 = (undefined); + r0 = s.ctrl___29520.fields["buttons"]; + s.unnamed136___U2 = (r0); + s.unnamed137___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1753___U3; - r0 = pxsim_Array__length(s.unnamed1752___U2); + s.tmp_0 = r0 = s.unnamed137___U3; + r0 = pxsim_Array__length(s.unnamed136___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1752___U2, s.unnamed1753___U3); - s.b___492222 = (r0); - s.tmp_3 = controller_Button__C478114_v0_1_mk(s); - s.tmp_3.arg0 = s.b___492222; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C478114_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed136___U2, s.unnamed137___U3); + s.b___29524 = (r0); + s.tmp_3 = controller_Button__C16288_v0_1_mk(s); + s.tmp_3.arg0 = s.b___29524; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C16288_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: @@ -37179,32 +38930,32 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed1753___U3 + 1); - s.unnamed1753___U3 = (r0); + r0 = (s.unnamed137___U3 + 1); + s.unnamed137___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed1752___U2 = (undefined); + s.unnamed136___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P478128.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -controller_AnyButton_isPressed__P478128.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P16302.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P16302.info = {"start":5874,"length":202,"line":185,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P478128_mk(s) { +function controller_AnyButton_isPressed__P16302_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P478128, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P16302, 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___492218: undefined, - b___492222: undefined, - unnamed1752___U2: undefined, - unnamed1753___U3: undefined, + ctrl___29520: undefined, + b___29524: undefined, + unnamed136___U2: undefined, + unnamed137___U3: undefined, arg0: undefined, } } @@ -37212,7 +38963,7 @@ function controller_AnyButton_isPressed__P478128_mk(s) { -function controller_Button_toString__P478115(s) { +function controller_Button_toString__P16289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37227,7 +38978,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C478114_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C16288_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -37267,13 +39018,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P478115.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"toString","argumentNames":["this"]} -controller_Button_toString__P478115.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"toString","argumentNames":["this"]} +controller_Button_toString__P16289.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"toString","argumentNames":["this"]} +controller_Button_toString__P16289.info = {"start":1479,"length":100,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"toString","argumentNames":["this"]} -function controller_Button_toString__P478115_mk(s) { +function controller_Button_toString__P16289_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P478115, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P16289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37289,7 +39040,7 @@ function controller_Button_toString__P478115_mk(s) { -function tiles_Location_y__P478470(s) { +function tiles_Location_y__P16644(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37299,22 +39050,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scale___492260 = undefined; + s.scale___29562 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C478468_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C16642_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___492260 = (r0); + s.scale___29562 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___492260); + r0 = (s.tmp_1 << s.scale___29562); s.tmp_0 = r0; - r0 = (s.scale___492260 - 1); + r0 = (s.scale___29562 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -37322,20 +39073,20 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P478470.info = {"start":714,"length":135,"line":30,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} -tiles_Location_y__P478470.isGetter = true; -tiles_Location_y__P478470.info = {"start":714,"length":135,"line":30,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P16644.info = {"start":714,"length":135,"line":30,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} +tiles_Location_y__P16644.isGetter = true; +tiles_Location_y__P16644.info = {"start":714,"length":135,"line":30,"column":8,"endLine":33,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"y","argumentNames":["this"]} -function tiles_Location_y__P478470_mk(s) { +function tiles_Location_y__P16644_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P478470, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P16644, 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___492260: undefined, + scale___29562: undefined, arg0: undefined, } } @@ -37343,7 +39094,7 @@ function tiles_Location_y__P478470_mk(s) { -function tiles_Location_x__P478469(s) { +function tiles_Location_x__P16643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37353,22 +39104,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.scale___492277 = undefined; + s.scale___29579 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C478468_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C16642_VT)) failedCast(r0); r0 = s.arg0.fields["tileMap"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___492277 = (r0); + s.scale___29579 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___492277); + r0 = (s.tmp_1 << s.scale___29579); s.tmp_0 = r0; - r0 = (s.scale___492277 - 1); + r0 = (s.scale___29579 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -37376,20 +39127,20 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P478469.info = {"start":569,"length":135,"line":25,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} -tiles_Location_x__P478469.isGetter = true; -tiles_Location_x__P478469.info = {"start":569,"length":135,"line":25,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P16643.info = {"start":569,"length":135,"line":25,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} +tiles_Location_x__P16643.isGetter = true; +tiles_Location_x__P16643.info = {"start":569,"length":135,"line":25,"column":8,"endLine":28,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"x","argumentNames":["this"]} -function tiles_Location_x__P478469_mk(s) { +function tiles_Location_x__P16643_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P478469, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P16643, 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___492277: undefined, + scale___29579: undefined, arg0: undefined, } } @@ -37397,7 +39148,7 @@ function tiles_Location_x__P478469_mk(s) { -function sprites_StaticObstacle_width__P478290(s) { +function sprites_StaticObstacle_width__P16464(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37412,21 +39163,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C478286_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C16460_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__P478290.info = {"start":1084,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"width","argumentNames":["this"]} -sprites_StaticObstacle_width__P478290.isGetter = true; -sprites_StaticObstacle_width__P478290.info = {"start":1084,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"width","argumentNames":["this"]} +sprites_StaticObstacle_width__P16464.info = {"start":1084,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"width","argumentNames":["this"]} +sprites_StaticObstacle_width__P16464.isGetter = true; +sprites_StaticObstacle_width__P16464.info = {"start":1084,"length":68,"line":48,"column":8,"endLine":50,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"width","argumentNames":["this"]} -function sprites_StaticObstacle_width__P478290_mk(s) { +function sprites_StaticObstacle_width__P16464_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P478290, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P16464, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37436,7 +39187,7 @@ function sprites_StaticObstacle_width__P478290_mk(s) { -function sprites_StaticObstacle_height__P478289(s) { +function sprites_StaticObstacle_height__P16463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37451,21 +39202,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C478286_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C16460_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__P478289.info = {"start":1004,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"height","argumentNames":["this"]} -sprites_StaticObstacle_height__P478289.isGetter = true; -sprites_StaticObstacle_height__P478289.info = {"start":1004,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"height","argumentNames":["this"]} +sprites_StaticObstacle_height__P16463.info = {"start":1004,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"height","argumentNames":["this"]} +sprites_StaticObstacle_height__P16463.isGetter = true; +sprites_StaticObstacle_height__P16463.info = {"start":1004,"length":70,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"height","argumentNames":["this"]} -function sprites_StaticObstacle_height__P478289_mk(s) { +function sprites_StaticObstacle_height__P16463_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P478289, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P16463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37475,7 +39226,7 @@ function sprites_StaticObstacle_height__P478289_mk(s) { -function sprites_StaticObstacle_y__P478288(s) { +function sprites_StaticObstacle_y__P16462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37490,7 +39241,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C478286_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C16460_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_1 = r0; r0 = s.arg0.fields["image"]; @@ -37503,14 +39254,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P478288.info = {"start":919,"length":75,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"y","argumentNames":["this"]} -sprites_StaticObstacle_y__P478288.isGetter = true; -sprites_StaticObstacle_y__P478288.info = {"start":919,"length":75,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"y","argumentNames":["this"]} +sprites_StaticObstacle_y__P16462.info = {"start":919,"length":75,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"y","argumentNames":["this"]} +sprites_StaticObstacle_y__P16462.isGetter = true; +sprites_StaticObstacle_y__P16462.info = {"start":919,"length":75,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"y","argumentNames":["this"]} -function sprites_StaticObstacle_y__P478288_mk(s) { +function sprites_StaticObstacle_y__P16462_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P478288, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P16462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37523,7 +39274,7 @@ function sprites_StaticObstacle_y__P478288_mk(s) { -function sprites_StaticObstacle_x__P478287(s) { +function sprites_StaticObstacle_x__P16461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37538,7 +39289,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C478286_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C16460_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_1 = r0; r0 = s.arg0.fields["image"]; @@ -37551,14 +39302,14 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P478287.info = {"start":834,"length":75,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"x","argumentNames":["this"]} -sprites_StaticObstacle_x__P478287.isGetter = true; -sprites_StaticObstacle_x__P478287.info = {"start":834,"length":75,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"x","argumentNames":["this"]} +sprites_StaticObstacle_x__P16461.info = {"start":834,"length":75,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"x","argumentNames":["this"]} +sprites_StaticObstacle_x__P16461.isGetter = true; +sprites_StaticObstacle_x__P16461.info = {"start":834,"length":75,"line":36,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/obstacle.ts","functionName":"x","argumentNames":["this"]} -function sprites_StaticObstacle_x__P478287_mk(s) { +function sprites_StaticObstacle_x__P16461_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P478287, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P16461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37571,7 +39322,7 @@ function sprites_StaticObstacle_x__P478287_mk(s) { -function scene_Renderable___drawCore__P478545(s) { +function scene_Renderable___drawCore__P16719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37587,10 +39338,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C478542_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C16716_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___477998; + s.tmp_0.arg1 = globals.screen___16172; 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); @@ -37607,13 +39358,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P478545.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__P478545.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__P16719.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__P16719.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__P478545_mk(s) { +function scene_Renderable___drawCore__P16719_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P478545, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P16719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37624,7 +39375,7 @@ function scene_Renderable___drawCore__P478545_mk(s) { -function scene_Renderable___visible__P478544(s) { +function scene_Renderable___visible__P16718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37639,7 +39390,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C478542_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C16716_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -37656,13 +39407,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P478544.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__P478544.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__P16718.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__P16718.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__P478544_mk(s) { +function scene_Renderable___visible__P16718_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P478544, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P16718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -37672,7 +39423,7 @@ function scene_Renderable___visible__P478544_mk(s) { -function Sprite___drawCore__P478225(s) { +function Sprite___drawCore__P16399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37682,21 +39433,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.ox___492304 = undefined; - s.oy___492312 = undefined; - s.l___492320 = undefined; - s.t___492324 = undefined; - s.font___492340 = undefined; - s.tx___492344 = undefined; - s.ty___492346 = undefined; + s.ox___29606 = undefined; + s.oy___29614 = undefined; + s.l___29622 = undefined; + s.t___29626 = undefined; + s.font___29642 = undefined; + s.tx___29646 = undefined; + s.ty___29648 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); - s.tmp_1 = Sprite_isOutOfScreen__P478224_mk(s); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); + s.tmp_1 = Sprite_isOutOfScreen__P16398_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.pc = 20; return s.tmp_1; @@ -37721,7 +39472,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___492304 = (s.tmp_4); + s.ox___29606 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -37735,35 +39486,35 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___492312 = (s.tmp_2); - s.tmp_1 = Sprite_left__P478210_mk(s); + s.oy___29614 = (s.tmp_2); + s.tmp_1 = Sprite_left__P16384_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.ox___492304); - s.l___492320 = (r0); - s.tmp_1 = Sprite_top__P478214_mk(s); + r0 = (s.tmp_0 - s.ox___29606); + s.l___29622 = (r0); + s.tmp_1 = Sprite_top__P16388_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.oy___492312); - s.t___492324 = (r0); + r0 = (s.tmp_0 - s.oy___29614); + s.t___29626 = (r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___477998, s.tmp_0, s.l___492320, s.t___492324); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___16172, s.tmp_0, s.l___29622, s.t___29626); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 64); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.font___492340 = (globals.font5___477957); - s.tx___492344 = (s.l___492320); - s.tmp_1 = r0 = s.t___492324; + s.font___29642 = (globals.font5___16131); + s.tx___29646 = (s.l___29622); + s.tmp_1 = r0 = s.t___29626; r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -37771,12 +39522,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___492346 = (r0); - s.tmp_0 = helpers_imagePrint__P477961_mk(s); - s.tmp_0.arg0 = globals.screen___477998; + s.ty___29648 = (r0); + s.tmp_0 = helpers_imagePrint__P16135_mk(s); + s.tmp_0.arg0 = globals.screen___16172; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P478190_mk(s); + s.tmp_7 = Sprite_x__P16364_mk(s); s.tmp_7.arg0 = s.arg0; s.pc = 24; return s.tmp_7; case 24: @@ -37797,7 +39548,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P478192_mk(s); + s.tmp_11 = Sprite_y__P16366_mk(s); s.tmp_11.arg0 = s.arg0; s.pc = 26; return s.tmp_11; case 26: @@ -37816,17 +39567,17 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_8); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___492344; - s.tmp_0.arg3 = s.ty___492346; + s.tmp_0.arg2 = s.tx___29646; + s.tmp_0.arg3 = s.ty___29648; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___492340; + s.tmp_0.arg5 = s.font___29642; s.tmp_0.arg6 = undefined; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = r0 = s.tx___492344; + s.tmp_0 = r0 = s.tx___29646; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___492340; + s.tmp_2.arg0 = s.font___29642; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -37839,8 +39590,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___492344 = (r0); - s.tmp_1 = Sprite_vx__P478194_mk(s); + s.tx___29646 = (r0); + s.tmp_1 = Sprite_vx__P16368_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 29; return s.tmp_1; case 29: @@ -37851,7 +39602,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_2 = Sprite_vy__P478196_mk(s); + s.tmp_2 = Sprite_vy__P16370_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 30; return s.tmp_2; case 30: @@ -37861,9 +39612,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 9; continue; } - s.tmp_4 = r0 = s.ty___492346; + s.tmp_4 = r0 = s.ty___29648; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___492340; + s.tmp_7.arg0 = s.font___29642; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -37878,10 +39629,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___492346 = (r0); - s.tmp_0 = helpers_imagePrint__P477961_mk(s); - s.tmp_0.arg0 = globals.screen___477998; - s.tmp_6 = Sprite_vx__P478194_mk(s); + s.ty___29648 = (r0); + s.tmp_0 = helpers_imagePrint__P16135_mk(s); + s.tmp_0.arg0 = globals.screen___16172; + s.tmp_6 = Sprite_vx__P16368_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 33; return s.tmp_6; case 33: @@ -37902,7 +39653,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P478196_mk(s); + s.tmp_10 = Sprite_vy__P16370_mk(s); s.tmp_10.arg0 = s.arg0; s.pc = 35; return s.tmp_10; case 35: @@ -37921,17 +39672,17 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___492344; - s.tmp_0.arg3 = s.ty___492346; + s.tmp_0.arg2 = s.tx___29646; + s.tmp_0.arg3 = s.ty___29648; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___492340; + s.tmp_0.arg5 = s.font___29642; s.tmp_0.arg6 = undefined; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 9: case 10: - s.tmp_1 = Sprite_ax__P478198_mk(s); + s.tmp_1 = Sprite_ax__P16372_mk(s); s.tmp_1.arg0 = s.arg0; s.pc = 37; return s.tmp_1; case 37: @@ -37942,7 +39693,7 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_2 = Sprite_ay__P478200_mk(s); + s.tmp_2 = Sprite_ay__P16374_mk(s); s.tmp_2.arg0 = s.arg0; s.pc = 38; return s.tmp_2; case 38: @@ -37952,9 +39703,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 13; continue; } - s.tmp_4 = r0 = s.ty___492346; + s.tmp_4 = r0 = s.ty___29648; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___492340; + s.tmp_7.arg0 = s.font___29642; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -37969,10 +39720,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___492346 = (r0); - s.tmp_0 = helpers_imagePrint__P477961_mk(s); - s.tmp_0.arg0 = globals.screen___477998; - s.tmp_6 = Sprite_ax__P478198_mk(s); + s.ty___29648 = (r0); + s.tmp_0 = helpers_imagePrint__P16135_mk(s); + s.tmp_0.arg0 = globals.screen___16172; + s.tmp_6 = Sprite_ax__P16372_mk(s); s.tmp_6.arg0 = s.arg0; s.pc = 41; return s.tmp_6; case 41: @@ -37993,7 +39744,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P478200_mk(s); + s.tmp_10 = Sprite_ay__P16374_mk(s); s.tmp_10.arg0 = s.arg0; s.pc = 43; return s.tmp_10; case 43: @@ -38012,10 +39763,10 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___492344; - s.tmp_0.arg3 = s.ty___492346; + s.tmp_0.arg2 = s.tx___29646; + s.tmp_0.arg3 = s.ty___29648; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___492340; + s.tmp_0.arg5 = s.font___29642; s.tmp_0.arg6 = undefined; s.pc = 40; return s.tmp_0; case 40: @@ -38024,11 +39775,11 @@ switch (step) { case 14: case 15: case 16: - r0 = pxsim_numops_toBoolDecr(globals.debug___478666); + r0 = pxsim_numops_toBoolDecr(globals.debug___16840); if (!r0) { step = 17; continue; } - s.tmp_0 = helpers_imageDrawRect__P477940_mk(s); - s.tmp_0.arg0 = globals.screen___477998; - s.tmp_3 = game_Hitbox_left__P478175_mk(s); + s.tmp_0 = helpers_imageDrawRect__P16114_mk(s); + s.tmp_0.arg0 = globals.screen___16172; + s.tmp_3 = game_Hitbox_left__P16349_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.pc = 46; return s.tmp_3; @@ -38039,9 +39790,9 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___492304); + r0 = (s.tmp_1 - s.ox___29606); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P478176_mk(s); + s.tmp_7 = game_Hitbox_top__P16350_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.pc = 47; return s.tmp_7; @@ -38052,7 +39803,7 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___492312); + r0 = (s.tmp_5 - s.oy___29614); s.tmp_0.arg2 = r0; r0 = s.arg0.fields["_hitbox"]; r0 = r0.fields["width"]; @@ -38079,13 +39830,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P478225.info = {"start":19845,"length":1383,"line":608,"column":4,"endLine":646,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -Sprite___drawCore__P478225.info = {"start":19845,"length":1383,"line":608,"column":4,"endLine":646,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P16399.info = {"start":19845,"length":1383,"line":608,"column":4,"endLine":646,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} +Sprite___drawCore__P16399.info = {"start":19845,"length":1383,"line":608,"column":4,"endLine":646,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__drawCore","argumentNames":["this","camera"]} -function Sprite___drawCore__P478225_mk(s) { +function Sprite___drawCore__P16399_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P478225, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P16399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38100,13 +39851,13 @@ function Sprite___drawCore__P478225_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___492304: undefined, - oy___492312: undefined, - l___492320: undefined, - t___492324: undefined, - font___492340: undefined, - tx___492344: undefined, - ty___492346: undefined, + ox___29606: undefined, + oy___29614: undefined, + l___29622: undefined, + t___29626: undefined, + font___29642: undefined, + tx___29646: undefined, + ty___29648: undefined, arg0: undefined, arg1: undefined, } } @@ -38115,7 +39866,7 @@ function Sprite___drawCore__P478225_mk(s) { -function Sprite___visible__P478207(s) { +function Sprite___visible__P16381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38130,7 +39881,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C478188_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C16362_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -38141,13 +39892,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P478207.info = {"start":7440,"length":72,"line":270,"column":4,"endLine":272,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -Sprite___visible__P478207.info = {"start":7440,"length":72,"line":270,"column":4,"endLine":272,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P16381.info = {"start":7440,"length":72,"line":270,"column":4,"endLine":272,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} +Sprite___visible__P16381.info = {"start":7440,"length":72,"line":270,"column":4,"endLine":272,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"__visible","argumentNames":["this"]} -function Sprite___visible__P478207_mk(s) { +function Sprite___visible__P16381_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P478207, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P16381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38159,7 +39910,7 @@ function Sprite___visible__P478207_mk(s) { -function particles_ShapeFactory_drawParticle__P479196(s) { +function particles_ShapeFactory_drawParticle__P17370(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38169,7 +39920,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.pImage___492465 = undefined; + s.pImage___29767 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38178,8 +39929,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C479193_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P478965_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C17367_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P17139_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -38189,12 +39940,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___492465 = (r0); + s.pImage___29767 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___492465, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___477998; - s.tmp_1 = r0 = s.pImage___492465; + r0 = pxsim_ImageMethods.replace(s.pImage___29767, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___16172; + s.tmp_1 = r0 = s.pImage___29767; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -38216,13 +39967,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P479196.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__P479196.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__P17370.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__P17370.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__P479196_mk(s) { +function particles_ShapeFactory_drawParticle__P17370_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P479196, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P17370, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38234,7 +39985,7 @@ function particles_ShapeFactory_drawParticle__P479196_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___492465: undefined, + pImage___29767: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38245,7 +39996,7 @@ function particles_ShapeFactory_drawParticle__P479196_mk(s) { -function Math_FastRandom_pickRandom__P478965(s) { +function Math_FastRandom_pickRandom__P17139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38261,7 +40012,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C478962_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C17136_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -38284,7 +40035,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P478964_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P17138_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -38300,13 +40051,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P478965.info = {"start":2325,"length":192,"line":69,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} -Math_FastRandom_pickRandom__P478965.info = {"start":2325,"length":192,"line":69,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} +Math_FastRandom_pickRandom__P17139.info = {"start":2325,"length":192,"line":69,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} +Math_FastRandom_pickRandom__P17139.info = {"start":2325,"length":192,"line":69,"column":8,"endLine":74,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"pickRandom","argumentNames":["this","list"]} -function Math_FastRandom_pickRandom__P478965_mk(s) { +function Math_FastRandom_pickRandom__P17139_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P478965, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P17139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38324,7 +40075,7 @@ function Math_FastRandom_pickRandom__P478965_mk(s) { -function particles_AreaFactory_drawParticle__P479186(s) { +function particles_AreaFactory_drawParticle__P17360(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38334,7 +40085,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0)) return null; switch (step) { case 0: - s.col___492512 = undefined; + s.col___29814 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38343,7 +40094,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C479183_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C17357_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -38370,8 +40121,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___492512 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___477998; + s.col___29814 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___16172; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -38380,18 +40131,18 @@ 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___492512); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___29814); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P479186.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__P479186.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__P17360.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__P17360.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__P479186_mk(s) { +function particles_AreaFactory_drawParticle__P17360_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P479186, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P17360, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38399,7 +40150,7 @@ function particles_AreaFactory_drawParticle__P479186_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___492512: undefined, + col___29814: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38410,7 +40161,7 @@ function particles_AreaFactory_drawParticle__P479186_mk(s) { -function particles_SprayFactory_drawParticle__P479179(s) { +function particles_SprayFactory_drawParticle__P17353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38428,8 +40179,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C479176_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___477998; + if (!checkSubtype(r0, particles_SprayFactory__C17350_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___16172; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -38443,13 +40194,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P479179.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__P479179.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__P17353.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__P17353.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__P479179_mk(s) { +function particles_SprayFactory_drawParticle__P17353_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P479179, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P17353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38465,7 +40216,7 @@ function particles_SprayFactory_drawParticle__P479179_mk(s) { -function if_handler_1_mk(s) { +function lambda_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38479,7 +40230,7 @@ function if_handler_1_mk(s) { } } -function lambda_3_mk(s) { +function if_handler_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38490,12 +40241,10 @@ function lambda_3_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, } } -function if_flags_1_mk(s) { +function if_condition_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38509,7 +40258,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C479172_v0_2_mk(s) { +function lambda_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38521,10 +40270,11 @@ function particles_ParticleFactory__C479172_v0_2_mk(s) { tmp_4: undefined, arg0: undefined, arg1: undefined, + arg2: undefined, } } -function particles_ParticleSource__C479112_v4_3_mk(s) { +function if_flags_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38535,12 +40285,10 @@ function particles_ParticleSource__C479112_v4_3_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, - arg1: undefined, - arg2: undefined, } } -function if_x_1_mk(s) { +function particles_ParticleFactory__C17346_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38551,10 +40299,11 @@ function if_x_1_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, + arg1: undefined, } } -function if_y_1_mk(s) { +function particles_ParticleSource__C17286_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38565,10 +40314,12 @@ function if_y_1_mk(s) { tmp_3: undefined, tmp_4: undefined, arg0: undefined, + arg1: undefined, + arg2: undefined, } } -function lambda_1_mk(s) { +function if_x_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38582,7 +40333,7 @@ function lambda_1_mk(s) { } } -function if_condition_1_mk(s) { +function if_y_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38611,7 +40362,7 @@ function if_id_2_mk(s) { } } -function PhysicsEngine__C478294_v4_2_mk(s) { +function PhysicsEngine__C16468_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38657,7 +40408,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C478294_v3_1_mk(s) { +function PhysicsEngine__C16468_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38798,7 +40549,7 @@ function if_id_1_mk(s) { } } -function controller_Button__C478114_v0_1_mk(s) { +function controller_Button__C16288_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -38886,7 +40637,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C478294_v1_2_mk(s) { +function PhysicsEngine__C16468_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -39101,7 +40852,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C478294_v2_4_mk(s) { +function PhysicsEngine__C16468_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -39175,7 +40926,7 @@ function if_z_2_mk(s) { } } -function PhysicsEngine__C478294_v0_2_mk(s) { +function PhysicsEngine__C16468_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -39236,7 +40987,7 @@ function if_tileIndex_1_mk(s) { } } -function particles_ParticleFactory__C479172_v1_4_mk(s) { +function particles_ParticleFactory__C17346_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -39253,7 +41004,7 @@ function particles_ParticleFactory__C479172_v1_4_mk(s) { } } -function sprites_BaseSprite__C478059_v0_1_mk(s) { +function sprites_BaseSprite__C16233_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -39267,7 +41018,7 @@ function sprites_BaseSprite__C478059_v0_1_mk(s) { } } -function sprites_BaseSprite__C478059_v2_2_mk(s) { +function sprites_BaseSprite__C16233_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -39409,14 +41160,14 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Button__C478114_VT = mkVTable({ +const controller_Button__C16288_VT = mkVTable({ name: "Button", numFields: 7, classNo: 16, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P478121, + "isPressed": controller_Button_isPressed__P16295, }, iface: { "_owner": null, @@ -39433,26 +41184,26 @@ const controller_Button__C478114_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "toString": controller_Button_toString__P478115, - "raiseButtonUp": controller_Button_raiseButtonUp__P478116, - "raiseButtonDown": controller_Button_raiseButtonDown__P478117, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P478118, - "onEvent": controller_Button_onEvent__P478119, - "isPressed": controller_Button_isPressed__P478121, - "pressureLevel": controller_Button_pressureLevel__P478122, - "setPressed": controller_Button_setPressed__P478123, - "__update": controller_Button___update__P478124, + "toString": controller_Button_toString__P16289, + "raiseButtonUp": controller_Button_raiseButtonUp__P16290, + "raiseButtonDown": controller_Button_raiseButtonDown__P16291, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P16292, + "onEvent": controller_Button_onEvent__P16293, + "isPressed": controller_Button_isPressed__P16295, + "pressureLevel": controller_Button_pressureLevel__P16296, + "setPressed": controller_Button_setPressed__P16297, + "__update": controller_Button___update__P16298, }, - toStringMethod: controller_Button_toString__P478115, + toStringMethod: controller_Button_toString__P16289, }); -const controller_AnyButton__C478126_VT = mkVTable({ +const controller_AnyButton__C16300_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 17, lastSubtypeNo: 17, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P478128, + "isPressed": controller_AnyButton_isPressed__P16302, }, iface: { "_owner": null, @@ -39469,18 +41220,18 @@ const controller_AnyButton__C478126_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P478128, - "toString": controller_Button_toString__P478115, - "raiseButtonUp": controller_Button_raiseButtonUp__P478116, - "raiseButtonDown": controller_Button_raiseButtonDown__P478117, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P478118, - "onEvent": controller_Button_onEvent__P478119, - "pressureLevel": controller_Button_pressureLevel__P478122, - "setPressed": controller_Button_setPressed__P478123, - "__update": controller_Button___update__P478124, + "isPressed": controller_AnyButton_isPressed__P16302, + "toString": controller_Button_toString__P16289, + "raiseButtonUp": controller_Button_raiseButtonUp__P16290, + "raiseButtonDown": controller_Button_raiseButtonDown__P16291, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P16292, + "onEvent": controller_Button_onEvent__P16293, + "pressureLevel": controller_Button_pressureLevel__P16296, + "setPressed": controller_Button_setPressed__P16297, + "__update": controller_Button___update__P16298, }, }); -const Math_FastRandom__C478962_VT = mkVTable({ +const Math_FastRandom__C17136_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 18, @@ -39493,12 +41244,12 @@ const Math_FastRandom__C478962_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P478963, - "randomRange": Math_FastRandom_randomRange__P478964, - "pickRandom": Math_FastRandom_pickRandom__P478965, + "next": Math_FastRandom_next__P17137, + "randomRange": Math_FastRandom_randomRange__P17138, + "pickRandom": Math_FastRandom_pickRandom__P17139, }, }); -const texteffects_TextEffect__C479304_VT = mkVTable({ +const texteffects_TextEffect__C17478_VT = mkVTable({ name: "TextEffect", numFields: 1, classNo: 19, @@ -39511,7 +41262,7 @@ const texteffects_TextEffect__C479304_VT = mkVTable({ "set/getState": null, }, }); -const color_FadeState__C482139_VT = mkVTable({ +const color_FadeState__C19352_VT = mkVTable({ name: "FadeState", numFields: 2, classNo: 20, @@ -39526,7 +41277,7 @@ const color_FadeState__C482139_VT = mkVTable({ "set/scene": null, }, }); -const color_FadeEffect__C496052_VT = mkVTable({ +const color_FadeEffect__C19313_VT = mkVTable({ name: "FadeEffect", numFields: 2, classNo: 21, @@ -39539,15 +41290,48 @@ const color_FadeEffect__C496052_VT = mkVTable({ "set/currentFade": null, "fadeFactory": null, "set/fadeFactory": null, - "startScreenEffect": color_FadeEffect_startScreenEffect__P496053, - "stop": color_FadeEffect_stop__P496054, + "startScreenEffect": color_FadeEffect_startScreenEffect__P19314, + "stop": color_FadeEffect_stop__P19315, }, }); -const color_ColorBuffer__C481093_VT = mkVTable({ +const color_Fade__C19333_VT = mkVTable({ + name: "Fade", + numFields: 4, + classNo: 22, + lastSubtypeNo: 22, + maxBgInstances: null, + methods: { + }, + iface: { + "startTime": null, + "set/startTime": null, + "duration": null, + "set/duration": null, + "_startPalette": null, + "set/_startPalette": null, + "_endPalette": null, + "set/_endPalette": null, + "startPalette": color_Fade_startPalette__P19334, + "endPalette": color_Fade_endPalette__P19335, + "isActive": color_Fade_isActive__P19336, + "start": color_Fade_start__P19337, + "startUntilDone": color_Fade_startUntilDone__P19338, + "stop": color_Fade_stop__P19339, + "setStartPalette": color_Fade_setStartPalette__P19340, + "setEndPalette": color_Fade_setEndPalette__P19342, + "setEndColor": color_Fade_setEndColor__P19343, + "step": color_Fade_step__P19344, + "pauseUntilDone": color_Fade_pauseUntilDone__P19346, + "reverse": color_Fade_reverse__P19347, + "clone": color_Fade_clone__P19348, + "mapEndRGB": color_Fade_mapEndRGB__P19349, + }, +}); +const color_ColorBuffer__C19267_VT = mkVTable({ name: "ColorBuffer", numFields: 2, - classNo: 22, - lastSubtypeNo: 23, + classNo: 23, + lastSubtypeNo: 24, maxBgInstances: null, methods: { }, @@ -39556,42 +41340,44 @@ const color_ColorBuffer__C481093_VT = mkVTable({ "set/layout": null, "buf": null, "set/buf": null, - "stride": color_ColorBuffer_stride__P481095, - "length": color_ColorBuffer_length__P481096, - "color": color_ColorBuffer_color__P481097, - "setColor": color_ColorBuffer_setColor__P481098, + "stride": color_ColorBuffer_stride__P19269, + "length": color_ColorBuffer_length__P19270, + "color": color_ColorBuffer_color__P19271, + "setColor": color_ColorBuffer_setColor__P19272, }, }); -const color_Fade__C481817_VT = mkVTable({ - name: "Fade", - numFields: 4, - classNo: 24, - lastSubtypeNo: 24, +const color_RGB__C19287_VT = mkVTable({ + name: "RGB", + numFields: 3, + classNo: 25, + lastSubtypeNo: 25, maxBgInstances: null, methods: { }, iface: { - "startTime": null, - "set/startTime": null, - "duration": null, - "set/duration": null, - "_startPalette": null, - "set/_startPalette": null, - "_endPalette": null, - "set/_endPalette": null, - "startPalette": color_Fade_startPalette__P481818, - "isActive": color_Fade_isActive__P481820, - "start": color_Fade_start__P481502, - "stop": color_Fade_stop__P481514, - "setEndPalette": color_Fade_setEndPalette__P481824, - "step": color_Fade_step__P481826, + "_r": null, + "set/_r": null, + "_g": null, + "set/_g": null, + "_b": null, + "set/_b": null, + "red": color_RGB_red__P19288, + "set/red": color_RGB_red__P19289, + "green": color_RGB_green__P19290, + "set/green": color_RGB_green__P19291, + "blue": color_RGB_blue__P19292, + "set/blue": color_RGB_blue__P19293, + "toString": color_RGB_toString__P19294, + "hexValue": color_RGB_hexValue__P19295, + "fromHexValue": color_RGB_fromHexValue__P19296, }, + toStringMethod: color_RGB_toString__P19294, }); -const color_Palette__C496048_VT = mkVTable({ +const color_Palette__C19309_VT = mkVTable({ name: "Palette", numFields: 2, - classNo: 23, - lastSubtypeNo: 23, + classNo: 24, + lastSubtypeNo: 24, maxBgInstances: null, methods: { }, @@ -39600,17 +41386,17 @@ const color_Palette__C496048_VT = mkVTable({ "set/layout": null, "buf": null, "set/buf": null, - "stride": color_ColorBuffer_stride__P481095, - "length": color_ColorBuffer_length__P481096, - "color": color_ColorBuffer_color__P481097, - "setColor": color_ColorBuffer_setColor__P481098, + "stride": color_ColorBuffer_stride__P19269, + "length": color_ColorBuffer_length__P19270, + "color": color_ColorBuffer_color__P19271, + "setColor": color_ColorBuffer_setColor__P19272, }, }); -const scene_Scene__C478594_VT = mkVTable({ +const scene_Scene__C16768_VT = mkVTable({ name: "Scene", numFields: 23, - classNo: 25, - lastSubtypeNo: 25, + classNo: 26, + lastSubtypeNo: 26, maxBgInstances: null, methods: { }, @@ -39661,18 +41447,98 @@ const scene_Scene__C478594_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P478595, - "data": scene_Scene_data__P478596, - "millis": scene_Scene_millis__P478597, - "addSprite": scene_Scene_addSprite__P478598, - "render": scene_Scene_render__P478600, + "init": scene_Scene_init__P16769, + "data": scene_Scene_data__P16770, + "millis": scene_Scene_millis__P16771, + "addSprite": scene_Scene_addSprite__P16772, + "render": scene_Scene_render__P16774, + }, +}); +const control_PollEvent__C15831_VT = mkVTable({ + name: "PollEvent", + numFields: 6, + classNo: 27, + lastSubtypeNo: 27, + maxBgInstances: null, + methods: { + }, + iface: { + "eid": null, + "set/eid": null, + "vid": null, + "set/vid": null, + "start": null, + "set/start": null, + "timeOut": null, + "set/timeOut": null, + "condition": null, + "set/condition": null, + "once": null, + "set/once": null, + }, +}); +const control_EventContext__C15894_VT = mkVTable({ + name: "EventContext", + numFields: 9, + classNo: 28, + lastSubtypeNo: 28, + maxBgInstances: null, + methods: { + }, + iface: { + "handlers": null, + "set/handlers": null, + "frameCallbacks": null, + "set/frameCallbacks": null, + "frameWorker": null, + "set/frameWorker": null, + "framesInSample": null, + "set/framesInSample": null, + "timeInSample": null, + "set/timeInSample": null, + "deltaTimeMillis": null, + "set/deltaTimeMillis": null, + "prevTimeMillis": null, + "set/prevTimeMillis": null, + "idleCallbacks": null, + "set/idleCallbacks": null, + "runningCallbacks": null, + "set/runningCallbacks": null, + "deltaTime": control_EventContext_deltaTime__P15895, + "runCallbacks": control_EventContext_runCallbacks__P15896, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P15897, + "register": control_EventContext_register__P15898, + "unregister": control_EventContext_unregister__P15899, + "registerFrameHandler": control_EventContext_registerFrameHandler__P15900, + "registerHandler": control_EventContext_registerHandler__P15901, + }, +}); +const control_EventHandler__C15889_VT = mkVTable({ + name: "EventHandler", + numFields: 4, + classNo: 29, + lastSubtypeNo: 29, + maxBgInstances: null, + methods: { + }, + iface: { + "src": null, + "set/src": null, + "value": null, + "set/value": null, + "handler": null, + "set/handler": null, + "flags": null, + "set/flags": null, + "register": control_EventHandler_register__P15890, + "unregister": control_EventHandler_unregister__P15891, }, }); -const scene_GameForeverHandler__C478556_VT = mkVTable({ +const scene_GameForeverHandler__C16730_VT = mkVTable({ name: "GameForeverHandler", numFields: 2, - classNo: 26, - lastSubtypeNo: 26, + classNo: 30, + lastSubtypeNo: 30, maxBgInstances: null, methods: { }, @@ -39683,11 +41549,11 @@ const scene_GameForeverHandler__C478556_VT = mkVTable({ "set/handler": null, }, }); -const scene_Background__C478458_VT = mkVTable({ +const scene_Background__C16632_VT = mkVTable({ name: "Background", numFields: 4, - classNo: 27, - lastSubtypeNo: 27, + classNo: 31, + lastSubtypeNo: 31, maxBgInstances: null, methods: { }, @@ -39700,16 +41566,16 @@ const scene_Background__C478458_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P478460, - "set/image": scene_Background_image__P478461, - "draw": scene_Background_draw__P478463, + "image": scene_Background_image__P16634, + "set/image": scene_Background_image__P16635, + "draw": scene_Background_draw__P16637, }, }); -const effects_ImageEffect__C479290_VT = mkVTable({ +const effects_ImageEffect__C17464_VT = mkVTable({ name: "ImageEffect", numFields: 4, - classNo: 28, - lastSubtypeNo: 28, + classNo: 32, + lastSubtypeNo: 32, maxBgInstances: null, methods: { }, @@ -39722,15 +41588,15 @@ const effects_ImageEffect__C479290_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P479291, - "change": effects_ImageEffect_change__P479292, + "applyTo": effects_ImageEffect_applyTo__P17465, + "change": effects_ImageEffect_change__P17466, }, }); -const effects_ParticleEffect__C479239_VT = mkVTable({ +const effects_ParticleEffect__C17413_VT = mkVTable({ name: "ParticleEffect", numFields: 3, - classNo: 29, - lastSubtypeNo: 30, + classNo: 33, + lastSubtypeNo: 34, maxBgInstances: null, methods: { }, @@ -39741,15 +41607,15 @@ const effects_ParticleEffect__C479239_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P479240, - "destroy": effects_ParticleEffect_destroy__P479241, + "start": effects_ParticleEffect_start__P17414, + "destroy": effects_ParticleEffect_destroy__P17415, }, }); -const effects_ScreenEffect__C479249_VT = mkVTable({ +const effects_ScreenEffect__C17423_VT = mkVTable({ name: "ScreenEffect", numFields: 5, - classNo: 30, - lastSubtypeNo: 30, + classNo: 34, + lastSubtypeNo: 34, maxBgInstances: null, methods: { }, @@ -39764,34 +41630,34 @@ const effects_ScreenEffect__C479249_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P479240, - "destroy": effects_ParticleEffect_destroy__P479241, + "start": effects_ParticleEffect_start__P17414, + "destroy": effects_ParticleEffect_destroy__P17415, }, }); -const particles_ParticleFactory__C479172_VT = mkVTable({ +const particles_ParticleFactory__C17346_VT = mkVTable({ name: "ParticleFactory", numFields: 0, - classNo: 31, - lastSubtypeNo: 35, + classNo: 35, + lastSubtypeNo: 39, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P479173, - "drawParticle": particles_ParticleFactory_drawParticle__P479174, + "createParticle": particles_ParticleFactory_createParticle__P17347, + "drawParticle": particles_ParticleFactory_drawParticle__P17348, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P479173, - "drawParticle": particles_ParticleFactory_drawParticle__P479174, + "createParticle": particles_ParticleFactory_createParticle__P17347, + "drawParticle": particles_ParticleFactory_drawParticle__P17348, }, }); -const particles_SprayFactory__C479176_VT = mkVTable({ +const particles_SprayFactory__C17350_VT = mkVTable({ name: "SprayFactory", numFields: 3, - classNo: 32, - lastSubtypeNo: 35, + classNo: 36, + lastSubtypeNo: 39, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P479178, - "drawParticle": particles_SprayFactory_drawParticle__P479179, + "createParticle": particles_SprayFactory_createParticle__P17352, + "drawParticle": particles_SprayFactory_drawParticle__P17353, }, iface: { "speed": null, @@ -39800,21 +41666,21 @@ const particles_SprayFactory__C479176_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P479178, - "drawParticle": particles_SprayFactory_drawParticle__P479179, - "setSpeed": particles_SprayFactory_setSpeed__P479180, - "setDirection": particles_SprayFactory_setDirection__P479181, + "createParticle": particles_SprayFactory_createParticle__P17352, + "drawParticle": particles_SprayFactory_drawParticle__P17353, + "setSpeed": particles_SprayFactory_setSpeed__P17354, + "setDirection": particles_SprayFactory_setDirection__P17355, }, }); -const particles_AreaFactory__C479183_VT = mkVTable({ +const particles_AreaFactory__C17357_VT = mkVTable({ name: "AreaFactory", numFields: 8, - classNo: 33, - lastSubtypeNo: 35, + classNo: 37, + lastSubtypeNo: 39, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P479185, - "drawParticle": particles_AreaFactory_drawParticle__P479186, + "createParticle": particles_AreaFactory_createParticle__P17359, + "drawParticle": particles_AreaFactory_drawParticle__P17360, }, iface: { "speed": null, @@ -39833,21 +41699,21 @@ const particles_AreaFactory__C479183_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P479185, - "drawParticle": particles_AreaFactory_drawParticle__P479186, - "setSpeed": particles_SprayFactory_setSpeed__P479180, - "setDirection": particles_SprayFactory_setDirection__P479181, + "createParticle": particles_AreaFactory_createParticle__P17359, + "drawParticle": particles_AreaFactory_drawParticle__P17360, + "setSpeed": particles_SprayFactory_setSpeed__P17354, + "setDirection": particles_SprayFactory_setDirection__P17355, }, }); -const particles_ShapeFactory__C479193_VT = mkVTable({ +const particles_ShapeFactory__C17367_VT = mkVTable({ name: "ShapeFactory", numFields: 11, - classNo: 34, - lastSubtypeNo: 35, + classNo: 38, + lastSubtypeNo: 39, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P479197, - "drawParticle": particles_ShapeFactory_drawParticle__P479196, + "createParticle": particles_ShapeFactory_createParticle__P17371, + "drawParticle": particles_ShapeFactory_drawParticle__P17370, }, iface: { "speed": null, @@ -39872,22 +41738,22 @@ const particles_ShapeFactory__C479193_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P479195, - "drawParticle": particles_ShapeFactory_drawParticle__P479196, - "createParticle": particles_ShapeFactory_createParticle__P479197, - "setSpeed": particles_SprayFactory_setSpeed__P479180, - "setDirection": particles_SprayFactory_setDirection__P479181, + "addShape": particles_ShapeFactory_addShape__P17369, + "drawParticle": particles_ShapeFactory_drawParticle__P17370, + "createParticle": particles_ShapeFactory_createParticle__P17371, + "setSpeed": particles_SprayFactory_setSpeed__P17354, + "setDirection": particles_SprayFactory_setDirection__P17355, }, }); -const particles_ConfettiFactory__C479199_VT = mkVTable({ +const particles_ConfettiFactory__C17373_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, - classNo: 35, - lastSubtypeNo: 35, + classNo: 39, + lastSubtypeNo: 39, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P479197, - "drawParticle": particles_ShapeFactory_drawParticle__P479196, + "createParticle": particles_ShapeFactory_createParticle__P17371, + "drawParticle": particles_ShapeFactory_drawParticle__P17370, }, iface: { "speed": null, @@ -39912,50 +41778,50 @@ const particles_ConfettiFactory__C479199_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P479195, - "drawParticle": particles_ShapeFactory_drawParticle__P479196, - "createParticle": particles_ShapeFactory_createParticle__P479197, - "setSpeed": particles_SprayFactory_setSpeed__P479180, - "setDirection": particles_SprayFactory_setDirection__P479181, + "addShape": particles_ShapeFactory_addShape__P17369, + "drawParticle": particles_ShapeFactory_drawParticle__P17370, + "createParticle": particles_ShapeFactory_createParticle__P17371, + "setSpeed": particles_SprayFactory_setSpeed__P17354, + "setDirection": particles_SprayFactory_setDirection__P17355, }, }); -const sprites_BaseSprite__C478059_VT = mkVTable({ +const sprites_BaseSprite__C16233_VT = mkVTable({ name: "BaseSprite", numFields: 2, - classNo: 36, - lastSubtypeNo: 39, + classNo: 40, + lastSubtypeNo: 43, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P478060, - "__draw": sprites_BaseSprite___draw__P478063, - "__drawCore": sprites_BaseSprite___drawCore__P478064, - "__update": sprites_BaseSprite___update__P478065, + "__visible": sprites_BaseSprite___visible__P16234, + "__draw": sprites_BaseSprite___draw__P16237, + "__drawCore": sprites_BaseSprite___drawCore__P16238, + "__update": sprites_BaseSprite___update__P16239, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P478060, - "z": sprites_BaseSprite_z__P478061, - "set/z": sprites_BaseSprite_z__P478062, - "__draw": sprites_BaseSprite___draw__P478063, - "__drawCore": sprites_BaseSprite___drawCore__P478064, - "__update": sprites_BaseSprite___update__P478065, + "__visible": sprites_BaseSprite___visible__P16234, + "z": sprites_BaseSprite_z__P16235, + "set/z": sprites_BaseSprite_z__P16236, + "__draw": sprites_BaseSprite___draw__P16237, + "__drawCore": sprites_BaseSprite___drawCore__P16238, + "__update": sprites_BaseSprite___update__P16239, }, }); -const particles_ParticleSource__C479112_VT = mkVTable({ +const particles_ParticleSource__C17286_VT = mkVTable({ name: "ParticleSource", numFields: 13, - classNo: 37, - lastSubtypeNo: 37, + classNo: 41, + lastSubtypeNo: 41, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P478060, - "__draw": particles_ParticleSource___draw__P479114, - "__drawCore": sprites_BaseSprite___drawCore__P478064, - "__update": sprites_BaseSprite___update__P478065, - "updateParticle": particles_ParticleSource_updateParticle__P479128, + "__visible": sprites_BaseSprite___visible__P16234, + "__draw": particles_ParticleSource___draw__P17288, + "__drawCore": sprites_BaseSprite___drawCore__P16238, + "__update": sprites_BaseSprite___update__P16239, + "updateParticle": particles_ParticleSource_updateParticle__P17302, }, iface: { "_z": null, @@ -39984,32 +41850,32 @@ const particles_ParticleSource__C479112_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P479114, - "_update": particles_ParticleSource__update__P479115, - "_prune": particles_ParticleSource__prune__P479116, - "setAcceleration": particles_ParticleSource_setAcceleration__P479117, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P479119, - "enabled": particles_ParticleSource_enabled__P479120, - "set/enabled": particles_ParticleSource_enabled__P479121, - "destroy": particles_ParticleSource_destroy__P479122, - "clear": particles_ParticleSource_clear__P479123, - "setAnchor": particles_ParticleSource_setAnchor__P479124, - "setRate": particles_ParticleSource_setRate__P479125, - "setFactory": particles_ParticleSource_setFactory__P479127, - "updateParticle": particles_ParticleSource_updateParticle__P479128, - "drawParticle": particles_ParticleSource_drawParticle__P479129, - "__visible": sprites_BaseSprite___visible__P478060, - "z": sprites_BaseSprite_z__P478061, - "set/z": sprites_BaseSprite_z__P478062, - "__drawCore": sprites_BaseSprite___drawCore__P478064, - "__update": sprites_BaseSprite___update__P478065, + "__draw": particles_ParticleSource___draw__P17288, + "_update": particles_ParticleSource__update__P17289, + "_prune": particles_ParticleSource__prune__P17290, + "setAcceleration": particles_ParticleSource_setAcceleration__P17291, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P17293, + "enabled": particles_ParticleSource_enabled__P17294, + "set/enabled": particles_ParticleSource_enabled__P17295, + "destroy": particles_ParticleSource_destroy__P17296, + "clear": particles_ParticleSource_clear__P17297, + "setAnchor": particles_ParticleSource_setAnchor__P17298, + "setRate": particles_ParticleSource_setRate__P17299, + "setFactory": particles_ParticleSource_setFactory__P17301, + "updateParticle": particles_ParticleSource_updateParticle__P17302, + "drawParticle": particles_ParticleSource_drawParticle__P17303, + "__visible": sprites_BaseSprite___visible__P16234, + "z": sprites_BaseSprite_z__P16235, + "set/z": sprites_BaseSprite_z__P16236, + "__drawCore": sprites_BaseSprite___drawCore__P16238, + "__update": sprites_BaseSprite___update__P16239, }, }); -const particles_Particle__C479110_VT = mkVTable({ +const particles_Particle__C17284_VT = mkVTable({ name: "Particle", numFields: 8, - classNo: 40, - lastSubtypeNo: 40, + classNo: 44, + lastSubtypeNo: 44, maxBgInstances: 200, methods: { }, @@ -40032,47 +41898,11 @@ const particles_Particle__C479110_VT = mkVTable({ "set/color": null, }, }); -const control_EventContext__C477720_VT = mkVTable({ - name: "EventContext", - numFields: 9, - classNo: 41, - lastSubtypeNo: 41, - maxBgInstances: null, - methods: { - }, - iface: { - "handlers": null, - "set/handlers": null, - "frameCallbacks": null, - "set/frameCallbacks": null, - "frameWorker": null, - "set/frameWorker": null, - "framesInSample": null, - "set/framesInSample": null, - "timeInSample": null, - "set/timeInSample": null, - "deltaTimeMillis": null, - "set/deltaTimeMillis": null, - "prevTimeMillis": null, - "set/prevTimeMillis": null, - "idleCallbacks": null, - "set/idleCallbacks": null, - "runningCallbacks": null, - "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P477721, - "runCallbacks": control_EventContext_runCallbacks__P477722, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P477723, - "register": control_EventContext_register__P477724, - "unregister": control_EventContext_unregister__P477725, - "registerFrameHandler": control_EventContext_registerFrameHandler__P477726, - "registerHandler": control_EventContext_registerHandler__P477727, - }, -}); -const control_FrameCallback__C477714_VT = mkVTable({ +const control_FrameCallback__C15888_VT = mkVTable({ name: "FrameCallback", numFields: 2, - classNo: 42, - lastSubtypeNo: 42, + classNo: 45, + lastSubtypeNo: 45, maxBgInstances: null, methods: { }, @@ -40083,83 +41913,39 @@ const control_FrameCallback__C477714_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C477657_VT = mkVTable({ - name: "PollEvent", - numFields: 6, - classNo: 43, - lastSubtypeNo: 43, - maxBgInstances: null, - methods: { - }, - iface: { - "eid": null, - "set/eid": null, - "vid": null, - "set/vid": null, - "start": null, - "set/start": null, - "timeOut": null, - "set/timeOut": null, - "condition": null, - "set/condition": null, - "once": null, - "set/once": null, - }, -}); -const control_EventHandler__C477715_VT = mkVTable({ - name: "EventHandler", - numFields: 4, - classNo: 44, - lastSubtypeNo: 44, - maxBgInstances: null, - methods: { - }, - iface: { - "src": null, - "set/src": null, - "value": null, - "set/value": null, - "handler": null, - "set/handler": null, - "flags": null, - "set/flags": null, - "register": control_EventHandler_register__P477716, - "unregister": control_EventHandler_unregister__P477717, - }, -}); -const PhysicsEngine__C478294_VT = mkVTable({ +const PhysicsEngine__C16468_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, - classNo: 45, - lastSubtypeNo: 46, + classNo: 46, + lastSubtypeNo: 47, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P478295, - "removeSprite": PhysicsEngine_removeSprite__P478296, - "moveSprite": PhysicsEngine_moveSprite__P478297, - "draw": PhysicsEngine_draw__P478298, - "move": PhysicsEngine_move__P478299, + "addSprite": PhysicsEngine_addSprite__P16469, + "removeSprite": PhysicsEngine_removeSprite__P16470, + "moveSprite": PhysicsEngine_moveSprite__P16471, + "draw": PhysicsEngine_draw__P16472, + "move": PhysicsEngine_move__P16473, }, iface: { - "addSprite": PhysicsEngine_addSprite__P478295, - "removeSprite": PhysicsEngine_removeSprite__P478296, - "moveSprite": PhysicsEngine_moveSprite__P478297, - "draw": PhysicsEngine_draw__P478298, - "move": PhysicsEngine_move__P478299, + "addSprite": PhysicsEngine_addSprite__P16469, + "removeSprite": PhysicsEngine_removeSprite__P16470, + "moveSprite": PhysicsEngine_moveSprite__P16471, + "draw": PhysicsEngine_draw__P16472, + "move": PhysicsEngine_move__P16473, }, }); -const ArcadePhysicsEngine__C478322_VT = mkVTable({ +const ArcadePhysicsEngine__C16496_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, - classNo: 46, - lastSubtypeNo: 46, + classNo: 47, + lastSubtypeNo: 47, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P478331, - "removeSprite": ArcadePhysicsEngine_removeSprite__P478332, - "moveSprite": ArcadePhysicsEngine_moveSprite__P478340, - "draw": ArcadePhysicsEngine_draw__P478333, - "move": ArcadePhysicsEngine_move__P478334, + "addSprite": ArcadePhysicsEngine_addSprite__P16505, + "removeSprite": ArcadePhysicsEngine_removeSprite__P16506, + "moveSprite": ArcadePhysicsEngine_moveSprite__P16514, + "draw": ArcadePhysicsEngine_draw__P16507, + "move": ArcadePhysicsEngine_move__P16508, }, iface: { "sprites": null, @@ -40174,30 +41960,30 @@ const ArcadePhysicsEngine__C478322_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P478324, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P478325, - "minStep": ArcadePhysicsEngine_minStep__P478326, - "set/minStep": ArcadePhysicsEngine_minStep__P478327, - "maxStep": ArcadePhysicsEngine_maxStep__P478328, - "set/maxStep": ArcadePhysicsEngine_maxStep__P478329, - "addSprite": ArcadePhysicsEngine_addSprite__P478331, - "removeSprite": ArcadePhysicsEngine_removeSprite__P478332, - "draw": ArcadePhysicsEngine_draw__P478333, - "move": ArcadePhysicsEngine_move__P478334, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P478335, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P478336, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P478337, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P478338, - "moveSprite": ArcadePhysicsEngine_moveSprite__P478340, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P478341, - "constrain": ArcadePhysicsEngine_constrain__P478342, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P16498, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P16499, + "minStep": ArcadePhysicsEngine_minStep__P16500, + "set/minStep": ArcadePhysicsEngine_minStep__P16501, + "maxStep": ArcadePhysicsEngine_maxStep__P16502, + "set/maxStep": ArcadePhysicsEngine_maxStep__P16503, + "addSprite": ArcadePhysicsEngine_addSprite__P16505, + "removeSprite": ArcadePhysicsEngine_removeSprite__P16506, + "draw": ArcadePhysicsEngine_draw__P16507, + "move": ArcadePhysicsEngine_move__P16508, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P16509, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P16510, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P16511, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P16512, + "moveSprite": ArcadePhysicsEngine_moveSprite__P16514, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P16515, + "constrain": ArcadePhysicsEngine_constrain__P16516, }, }); -const scene_Camera__C478534_VT = mkVTable({ +const scene_Camera__C16708_VT = mkVTable({ name: "Camera", numFields: 8, - classNo: 47, - lastSubtypeNo: 47, + classNo: 48, + lastSubtypeNo: 48, maxBgInstances: null, methods: { }, @@ -40218,18 +42004,18 @@ const scene_Camera__C478534_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P478535, - "set/offsetX": scene_Camera_offsetX__P478536, - "offsetY": scene_Camera_offsetY__P478537, - "set/offsetY": scene_Camera_offsetY__P478538, - "update": scene_Camera_update__P478540, + "offsetX": scene_Camera_offsetX__P16709, + "set/offsetX": scene_Camera_offsetX__P16710, + "offsetY": scene_Camera_offsetY__P16711, + "set/offsetY": scene_Camera_offsetY__P16712, + "update": scene_Camera_update__P16714, }, }); -const sprites_SpriteMap__C478241_VT = mkVTable({ +const sprites_SpriteMap__C16415_VT = mkVTable({ name: "SpriteMap", numFields: 5, - classNo: 48, - lastSubtypeNo: 48, + classNo: 49, + lastSubtypeNo: 49, maxBgInstances: null, methods: { }, @@ -40244,24 +42030,24 @@ const sprites_SpriteMap__C478241_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P478242, - "overlaps": sprites_SpriteMap_overlaps__P478243, - "draw": sprites_SpriteMap_draw__P478244, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P478245, - "clear": sprites_SpriteMap_clear__P478246, - "key": sprites_SpriteMap_key__P478247, - "insertAtKey": sprites_SpriteMap_insertAtKey__P478248, - "insertAABB": sprites_SpriteMap_insertAABB__P478249, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P478250, - "toString": sprites_SpriteMap_toString__P478251, + "neighbors": sprites_SpriteMap_neighbors__P16416, + "overlaps": sprites_SpriteMap_overlaps__P16417, + "draw": sprites_SpriteMap_draw__P16418, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P16419, + "clear": sprites_SpriteMap_clear__P16420, + "key": sprites_SpriteMap_key__P16421, + "insertAtKey": sprites_SpriteMap_insertAtKey__P16422, + "insertAABB": sprites_SpriteMap_insertAABB__P16423, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P16424, + "toString": sprites_SpriteMap_toString__P16425, }, - toStringMethod: sprites_SpriteMap_toString__P478251, + toStringMethod: sprites_SpriteMap_toString__P16425, }); -const scene_BackgroundLayer__C478465_VT = mkVTable({ +const scene_BackgroundLayer__C16639_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, - classNo: 49, - lastSubtypeNo: 49, + classNo: 50, + lastSubtypeNo: 50, maxBgInstances: null, methods: { }, @@ -40278,20 +42064,20 @@ const scene_BackgroundLayer__C478465_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P478466, + "draw": scene_BackgroundLayer_draw__P16640, }, }); -const Sprite__C478188_VT = mkVTable({ +const Sprite__C16362_VT = mkVTable({ name: "Sprite", numFields: 24, - classNo: 38, - lastSubtypeNo: 38, + classNo: 42, + lastSubtypeNo: 42, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P478207, - "__draw": sprites_BaseSprite___draw__P478063, - "__drawCore": Sprite___drawCore__P478225, - "__update": Sprite___update__P478226, + "__visible": Sprite___visible__P16381, + "__draw": sprites_BaseSprite___draw__P16237, + "__drawCore": Sprite___drawCore__P16399, + "__update": Sprite___update__P16400, }, iface: { "_z": null, @@ -40342,56 +42128,56 @@ const Sprite__C478188_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P478190, - "set/x": Sprite_x__P478191, - "y": Sprite_y__P478192, - "set/y": Sprite_y__P478193, - "vx": Sprite_vx__P478194, - "set/vx": Sprite_vx__P478195, - "vy": Sprite_vy__P478196, - "set/vy": Sprite_vy__P478197, - "ax": Sprite_ax__P478198, - "set/ax": Sprite_ax__P478199, - "ay": Sprite_ay__P478200, - "set/ay": Sprite_ay__P478201, - "data": Sprite_data__P478202, - "set/data": Sprite_data__P478203, - "image": Sprite_image__P478205, - "setImage": Sprite_setImage__P478206, - "__visible": Sprite___visible__P478207, - "width": Sprite_width__P478208, - "height": Sprite_height__P478209, - "left": Sprite_left__P478210, - "set/left": Sprite_left__P478211, - "right": Sprite_right__P478212, - "set/right": Sprite_right__P478213, - "top": Sprite_top__P478214, - "set/top": Sprite_top__P478215, - "bottom": Sprite_bottom__P478216, - "set/bottom": Sprite_bottom__P478217, - "kind": Sprite_kind__P478218, - "setKind": Sprite_setKind__P478219, - "isOutOfScreen": Sprite_isOutOfScreen__P478224, - "__drawCore": Sprite___drawCore__P478225, - "__update": Sprite___update__P478226, - "setFlag": Sprite_setFlag__P478227, - "overlapsWith": Sprite_overlapsWith__P478228, - "clearObstacles": Sprite_clearObstacles__P478232, - "registerObstacle": Sprite_registerObstacle__P478233, - "destroy": Sprite_destroy__P478235, - "_destroyCore": Sprite__destroyCore__P478236, - "toString": Sprite_toString__P478238, - "z": sprites_BaseSprite_z__P478061, - "set/z": sprites_BaseSprite_z__P478062, - "__draw": sprites_BaseSprite___draw__P478063, + "x": Sprite_x__P16364, + "set/x": Sprite_x__P16365, + "y": Sprite_y__P16366, + "set/y": Sprite_y__P16367, + "vx": Sprite_vx__P16368, + "set/vx": Sprite_vx__P16369, + "vy": Sprite_vy__P16370, + "set/vy": Sprite_vy__P16371, + "ax": Sprite_ax__P16372, + "set/ax": Sprite_ax__P16373, + "ay": Sprite_ay__P16374, + "set/ay": Sprite_ay__P16375, + "data": Sprite_data__P16376, + "set/data": Sprite_data__P16377, + "image": Sprite_image__P16379, + "setImage": Sprite_setImage__P16380, + "__visible": Sprite___visible__P16381, + "width": Sprite_width__P16382, + "height": Sprite_height__P16383, + "left": Sprite_left__P16384, + "set/left": Sprite_left__P16385, + "right": Sprite_right__P16386, + "set/right": Sprite_right__P16387, + "top": Sprite_top__P16388, + "set/top": Sprite_top__P16389, + "bottom": Sprite_bottom__P16390, + "set/bottom": Sprite_bottom__P16391, + "kind": Sprite_kind__P16392, + "setKind": Sprite_setKind__P16393, + "isOutOfScreen": Sprite_isOutOfScreen__P16398, + "__drawCore": Sprite___drawCore__P16399, + "__update": Sprite___update__P16400, + "setFlag": Sprite_setFlag__P16401, + "overlapsWith": Sprite_overlapsWith__P16402, + "clearObstacles": Sprite_clearObstacles__P16406, + "registerObstacle": Sprite_registerObstacle__P16407, + "destroy": Sprite_destroy__P16409, + "_destroyCore": Sprite__destroyCore__P16410, + "toString": Sprite_toString__P16412, + "z": sprites_BaseSprite_z__P16235, + "set/z": sprites_BaseSprite_z__P16236, + "__draw": sprites_BaseSprite___draw__P16237, }, - toStringMethod: Sprite_toString__P478238, + toStringMethod: Sprite_toString__P16412, }); -const tiles_TileMap__C478498_VT = mkVTable({ +const tiles_TileMap__C16672_VT = mkVTable({ name: "TileMap", numFields: 3, - classNo: 50, - lastSubtypeNo: 50, + classNo: 51, + lastSubtypeNo: 51, maxBgInstances: null, methods: { }, @@ -40402,29 +42188,29 @@ const tiles_TileMap__C478498_VT = mkVTable({ "set/_layer": null, "_map": null, "set/_map": null, - "scale": tiles_TileMap_scale__P478499, - "set/scale": tiles_TileMap_scale__P478500, - "data": tiles_TileMap_data__P478501, - "offsetX": tiles_TileMap_offsetX__P478502, - "offsetY": tiles_TileMap_offsetY__P478503, - "areaWidth": tiles_TileMap_areaWidth__P478504, - "areaHeight": tiles_TileMap_areaHeight__P478505, - "layer": tiles_TileMap_layer__P478506, - "enabled": tiles_TileMap_enabled__P478508, - "getTile": tiles_TileMap_getTile__P478510, - "getTileIndex": tiles_TileMap_getTileIndex__P478511, - "draw": tiles_TileMap_draw__P478517, - "isObstacle": tiles_TileMap_isObstacle__P478518, - "getObstacle": tiles_TileMap_getObstacle__P478519, - "isOnWall": tiles_TileMap_isOnWall__P478520, - "getTileImage": tiles_TileMap_getTileImage__P478521, + "scale": tiles_TileMap_scale__P16673, + "set/scale": tiles_TileMap_scale__P16674, + "data": tiles_TileMap_data__P16675, + "offsetX": tiles_TileMap_offsetX__P16676, + "offsetY": tiles_TileMap_offsetY__P16677, + "areaWidth": tiles_TileMap_areaWidth__P16678, + "areaHeight": tiles_TileMap_areaHeight__P16679, + "layer": tiles_TileMap_layer__P16680, + "enabled": tiles_TileMap_enabled__P16682, + "getTile": tiles_TileMap_getTile__P16684, + "getTileIndex": tiles_TileMap_getTileIndex__P16685, + "draw": tiles_TileMap_draw__P16691, + "isObstacle": tiles_TileMap_isObstacle__P16692, + "getObstacle": tiles_TileMap_getObstacle__P16693, + "isOnWall": tiles_TileMap_isOnWall__P16694, + "getTileImage": tiles_TileMap_getTileImage__P16695, }, }); -const tiles_TileMapData__C478485_VT = mkVTable({ +const tiles_TileMapData__C16659_VT = mkVTable({ name: "TileMapData", numFields: 7, - classNo: 51, - lastSubtypeNo: 51, + classNo: 52, + lastSubtypeNo: 52, maxBgInstances: null, methods: { }, @@ -40443,21 +42229,21 @@ const tiles_TileMapData__C478485_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P478486, - "height": tiles_TileMapData_height__P478487, - "scale": tiles_TileMapData_scale__P478488, - "set/scale": tiles_TileMapData_scale__P478489, - "getTile": tiles_TileMapData_getTile__P478490, - "getTileImage": tiles_TileMapData_getTileImage__P478493, - "isWall": tiles_TileMapData_isWall__P478495, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P478496, + "width": tiles_TileMapData_width__P16660, + "height": tiles_TileMapData_height__P16661, + "scale": tiles_TileMapData_scale__P16662, + "set/scale": tiles_TileMapData_scale__P16663, + "getTile": tiles_TileMapData_getTile__P16664, + "getTileImage": tiles_TileMapData_getTileImage__P16667, + "isWall": tiles_TileMapData_isWall__P16669, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P16670, }, }); -const controller_Controller__C478137_VT = mkVTable({ +const controller_Controller__C16311_VT = mkVTable({ name: "Controller", numFields: 5, - classNo: 52, - lastSubtypeNo: 52, + classNo: 53, + lastSubtypeNo: 53, maxBgInstances: null, methods: { }, @@ -40472,25 +42258,25 @@ const controller_Controller__C478137_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P478138, - "set/_controlledSprites": controller_Controller__controlledSprites__P478139, - "id": controller_Controller_id__P478140, - "left": controller_Controller_left__P478142, - "right": controller_Controller_right__P478143, - "up": controller_Controller_up__P478144, - "down": controller_Controller_down__P478145, - "button": controller_Controller_button__P478150, - "connected": controller_Controller_connected__P478153, - "set/connected": controller_Controller_connected__P478154, - "__preUpdate": controller_Controller___preUpdate__P478158, - "__update": controller_Controller___update__P478159, + "_controlledSprites": controller_Controller__controlledSprites__P16312, + "set/_controlledSprites": controller_Controller__controlledSprites__P16313, + "id": controller_Controller_id__P16314, + "left": controller_Controller_left__P16316, + "right": controller_Controller_right__P16317, + "up": controller_Controller_up__P16318, + "down": controller_Controller_down__P16319, + "button": controller_Controller_button__P16324, + "connected": controller_Controller_connected__P16327, + "set/connected": controller_Controller_connected__P16328, + "__preUpdate": controller_Controller___preUpdate__P16332, + "__update": controller_Controller___update__P16333, }, }); -const music_Melody__C477865_VT = mkVTable({ +const music_Melody__C16039_VT = mkVTable({ name: "Melody", numFields: 2, - classNo: 53, - lastSubtypeNo: 53, + classNo: 54, + lastSubtypeNo: 54, maxBgInstances: null, methods: { }, @@ -40499,15 +42285,15 @@ const music_Melody__C477865_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P477875, + "toString": music_Melody_toString__P16049, }, - toStringMethod: music_Melody_toString__P477875, + toStringMethod: music_Melody_toString__P16049, }); -const scene_systemMenu_PauseMenu__C478982_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C17156_VT = mkVTable({ name: "PauseMenu", numFields: 7, - classNo: 54, - lastSubtypeNo: 54, + classNo: 55, + lastSubtypeNo: 55, maxBgInstances: null, methods: { }, @@ -40526,19 +42312,19 @@ const scene_systemMenu_PauseMenu__C478982_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P478983, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P478984, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P478985, - "drawText": scene_systemMenu_PauseMenu_drawText__P478986, - "dispose": scene_systemMenu_PauseMenu_dispose__P478987, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P478988, + "show": scene_systemMenu_PauseMenu_show__P17157, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P17158, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P17159, + "drawText": scene_systemMenu_PauseMenu_drawText__P17160, + "dispose": scene_systemMenu_PauseMenu_dispose__P17161, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P17162, }, }); -const scene_systemMenu_MenuOption__C478973_VT = mkVTable({ +const scene_systemMenu_MenuOption__C17147_VT = mkVTable({ name: "MenuOption", numFields: 8, - classNo: 55, - lastSubtypeNo: 55, + classNo: 56, + lastSubtypeNo: 56, maxBgInstances: null, methods: { }, @@ -40559,20 +42345,20 @@ const scene_systemMenu_MenuOption__C478973_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P478974, - "position": scene_systemMenu_MenuOption_position__P478975, - "setOffset": scene_systemMenu_MenuOption_setOffset__P478976, - "setTheme": scene_systemMenu_MenuOption_setTheme__P478977, - "setState": scene_systemMenu_MenuOption_setState__P478978, - "dispose": scene_systemMenu_MenuOption_dispose__P478979, - "updateCard": scene_systemMenu_MenuOption_updateCard__P478980, + "show": scene_systemMenu_MenuOption_show__P17148, + "position": scene_systemMenu_MenuOption_position__P17149, + "setOffset": scene_systemMenu_MenuOption_setOffset__P17150, + "setTheme": scene_systemMenu_MenuOption_setTheme__P17151, + "setState": scene_systemMenu_MenuOption_setState__P17152, + "dispose": scene_systemMenu_MenuOption_dispose__P17153, + "updateCard": scene_systemMenu_MenuOption_updateCard__P17154, }, }); -const game_Hitbox__C478174_VT = mkVTable({ +const game_Hitbox__C16348_VT = mkVTable({ name: "Hitbox", numFields: 5, - classNo: 56, - lastSubtypeNo: 56, + classNo: 57, + lastSubtypeNo: 57, maxBgInstances: null, methods: { }, @@ -40587,42 +42373,42 @@ const game_Hitbox__C478174_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P478175, - "top": game_Hitbox_top__P478176, - "right": game_Hitbox_right__P478177, - "bottom": game_Hitbox_bottom__P478178, + "left": game_Hitbox_left__P16349, + "top": game_Hitbox_top__P16350, + "right": game_Hitbox_right__P16351, + "bottom": game_Hitbox_bottom__P16352, }, }); -const sprites_SpriteSet__C478258_VT = mkVTable({ +const sprites_SpriteSet__C16432_VT = mkVTable({ name: "SpriteSet", numFields: 1, - classNo: 57, - lastSubtypeNo: 57, + classNo: 58, + lastSubtypeNo: 58, maxBgInstances: null, methods: { }, iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P478260, - "add": sprites_SpriteSet_add__P478262, - "remove": sprites_SpriteSet_remove__P478264, - "contains": sprites_SpriteSet_contains__P478265, - "toString": sprites_SpriteSet_toString__P478268, + "length": sprites_SpriteSet_length__P16434, + "add": sprites_SpriteSet_add__P16436, + "remove": sprites_SpriteSet_remove__P16438, + "contains": sprites_SpriteSet_contains__P16439, + "toString": sprites_SpriteSet_toString__P16442, }, - toStringMethod: sprites_SpriteSet_toString__P478268, + toStringMethod: sprites_SpriteSet_toString__P16442, }); -const scene_Renderable__C478542_VT = mkVTable({ +const scene_Renderable__C16716_VT = mkVTable({ name: "Renderable", numFields: 4, - classNo: 39, - lastSubtypeNo: 39, + classNo: 43, + lastSubtypeNo: 43, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P478544, - "__draw": sprites_BaseSprite___draw__P478063, - "__drawCore": scene_Renderable___drawCore__P478545, - "__update": sprites_BaseSprite___update__P478065, + "__visible": scene_Renderable___visible__P16718, + "__draw": sprites_BaseSprite___draw__P16237, + "__drawCore": scene_Renderable___drawCore__P16719, + "__update": sprites_BaseSprite___update__P16239, }, iface: { "_z": null, @@ -40633,19 +42419,19 @@ const scene_Renderable__C478542_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P478544, - "__drawCore": scene_Renderable___drawCore__P478545, - "z": sprites_BaseSprite_z__P478061, - "set/z": sprites_BaseSprite_z__P478062, - "__draw": sprites_BaseSprite___draw__P478063, - "__update": sprites_BaseSprite___update__P478065, + "__visible": scene_Renderable___visible__P16718, + "__drawCore": scene_Renderable___drawCore__P16719, + "z": sprites_BaseSprite_z__P16235, + "set/z": sprites_BaseSprite_z__P16236, + "__draw": sprites_BaseSprite___draw__P16237, + "__update": sprites_BaseSprite___update__P16239, }, }); -const MovingSprite__C478320_VT = mkVTable({ +const MovingSprite__C16494_VT = mkVTable({ name: "MovingSprite", numFields: 7, - classNo: 58, - lastSubtypeNo: 58, + classNo: 59, + lastSubtypeNo: 59, maxBgInstances: null, methods: { }, @@ -40666,11 +42452,11 @@ const MovingSprite__C478320_VT = mkVTable({ "set/yStep": null, }, }); -const sprites_StaticObstacle__C478286_VT = mkVTable({ +const sprites_StaticObstacle__C16460_VT = mkVTable({ name: "StaticObstacle", numFields: 5, - classNo: 59, - lastSubtypeNo: 59, + classNo: 60, + lastSubtypeNo: 60, maxBgInstances: null, methods: { }, @@ -40685,17 +42471,17 @@ const sprites_StaticObstacle__C478286_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P478287, - "y": sprites_StaticObstacle_y__P478288, - "height": sprites_StaticObstacle_height__P478289, - "width": sprites_StaticObstacle_width__P478290, + "x": sprites_StaticObstacle_x__P16461, + "y": sprites_StaticObstacle_y__P16462, + "height": sprites_StaticObstacle_height__P16463, + "width": sprites_StaticObstacle_width__P16464, }, }); -const tiles_Location__C478468_VT = mkVTable({ +const tiles_Location__C16642_VT = mkVTable({ name: "Location", numFields: 3, - classNo: 60, - lastSubtypeNo: 60, + classNo: 61, + lastSubtypeNo: 61, maxBgInstances: null, methods: { }, @@ -40706,13 +42492,13 @@ const tiles_Location__C478468_VT = mkVTable({ "set/_col": null, "tileMap": null, "set/tileMap": null, - "x": tiles_Location_x__P478469, - "y": tiles_Location_y__P478470, - "tileSet": tiles_Location_tileSet__P478471, + "x": tiles_Location_x__P16643, + "y": tiles_Location_y__P16644, + "tileSet": tiles_Location_tileSet__P16645, }, }); -const breakpoints = setupDebugger(1, ["currentScene___482144","FadeStack___482145","activeFade___481888","RotatePalette___482379","currentColors___495682","originalPalette___481543","lastEffect___496051","lastPaletteBeforeFade___496050"]) +const breakpoints = setupDebugger(1, ["currentScene___19355","FadeStack___19356","activeFade___19354","Adafruit___19417","FadeToBlack___19452","RotatePalette___19460","Black___19447","Arcade___19444","Matte___19420","GrayScale___19423","White___19450","currentColors___19286","originalPalette___19414","lastEffect___19312","lastPaletteBeforeFade___19311"]) -return _main___P496870 +return _main___P36808 }) diff --git a/assets/version.txt b/assets/version.txt index 8294c18..7693c96 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.1.2 \ No newline at end of file +0.1.3 \ No newline at end of file diff --git a/pxt.json b/pxt.json index cf4b242..5fea639 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "Color Fading", - "version": "0.1.2", + "version": "0.1.3", "description": "", "dependencies": { "device": "*",